https://mooseframework.inl.gov
Loading...
Searching...
No Matches
SaturationPressureFunction.h
Go to the documentation of this file.
1//* This file is part of the MOOSE framework
2//* https://mooseframework.inl.gov
3//*
4//* All rights reserved, see COPYRIGHT for full restrictions
5//* https://github.com/idaholab/moose/blob/master/COPYRIGHT
6//*
7//* Licensed under LGPL 2.1, please see LICENSE for details
8//* https://www.gnu.org/licenses/lgpl-2.1.html
9
10#pragma once
11
12#include "Function.h"
13#include "FunctionInterface.h"
14
16
21{
22public:
24
26
27 // To retrieve the fluid properties
28 virtual void initialSetup() override;
29
30 using Function::value;
31 virtual Real value(Real t, const Point & p) const override;
32 virtual RealVectorValue gradient(Real t, const Point & p) const override;
33
34protected:
36 const Function & _T_fn;
39};
const Real p
virtual Real value(Real t, const Point &p) const
const InputParameters & parameters() const
Computes saturation pressure from temperature function and 2-phase fluid properties object.
const TwoPhaseFluidProperties * _fp_2phase
2-phase fluid properties object
virtual Real value(Real t, const Point &p) const override
const Function & _T_fn
Temperature function.
virtual RealVectorValue gradient(Real t, const Point &p) const override
static InputParameters validParams()
Base class for fluid properties used with two-phase flow.