https://mooseframework.inl.gov
Loading...
Searching...
No Matches
TestTVFluidProperties.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
13
14#pragma GCC diagnostic push
15#pragma GCC diagnostic ignored "-Woverloaded-virtual"
16
24{
25public:
27
29
30 virtual Real p_from_T_v(Real T, Real v) const override;
31 virtual void p_from_T_v(Real T, Real v, Real & p, Real & dp_dT, Real & dp_dv) const override;
32
33 virtual Real h_from_T_v(Real T, Real v) const override;
34 virtual void h_from_T_v(Real T, Real v, Real & h, Real & dh_dT, Real & dh_dv) const override;
35
36 virtual Real e_from_T_v(Real T, Real v) const override;
37
38 virtual Real mu_from_v_e(Real v, Real e) const override;
39 virtual Real k_from_v_e(Real v, Real e) const override;
40
41 virtual Real molarMass() const override { return 0.02; }
42
43protected:
44 const Real _a;
45 const Real _b;
46 const Real _c;
47 const Real _d;
48};
49
50#pragma GCC diagnostic pop
const InputParameters & parameters() const
Common class for single phase fluid properties.
e e e e s T T T T T rho v v T e h
Analytic fluid defined in terms of (T, v) whose enthalpy depends on the specific volume,...
static InputParameters validParams()
virtual Real mu_from_v_e(Real v, Real e) const override
virtual Real molarMass() const override
Molar mass [kg/mol].
virtual Real h_from_T_v(Real T, Real v) const override
virtual Real p_from_T_v(Real T, Real v) const override
virtual Real e_from_T_v(Real T, Real v) const override
virtual Real k_from_v_e(Real v, Real e) const override