https://mooseframework.inl.gov
TestConservedVarFluidProperties.C
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 
11 
13 
16 {
18  return params;
19 }
20 
22  : IdealGasFluidProperties(parameters)
23 {
24 }
25 
26 ADReal
28 {
29  return 1 / v;
30 }
31 
32 ADReal
33 TestConservedVarFluidProperties::T_from_v_e(const ADReal & /*v*/, const ADReal & /*e*/) const
34 {
35  return 1;
36 }
registerMooseObject("NavierStokesTestApp", TestConservedVarFluidProperties)
DualNumber< Real, DNDerivativeType, true > ADReal
ADReal p_from_v_e(const ADReal &v, const ADReal &) const override
ADReal T_from_v_e(const ADReal &, const ADReal &) const override
static InputParameters validParams()
static const std::string v
Definition: NS.h:84
TestConservedVarFluidProperties(const InputParameters &parameters)
Ideal gas fluid properties Default parameters are for air at atmospheric pressure and temperature...