https://mooseframework.inl.gov
GeneralFunctorFluidProps.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 "FunctorMaterial.h"
14 #include "Function.h"
15 
17 class Function;
18 
22 template <bool is_ad>
25 {
26 public:
29 
30 protected:
32 
35 
41 
49  const Point _gravity_vec;
50 
55 
58 
61 
64 
67 
69  const MooseFunctorName & _density_name;
71  const MooseFunctorName & _dynamic_viscosity_name;
73  const MooseFunctorName & _specific_heat_name;
75  const MooseFunctorName & _thermal_conductivity_name;
76 
79 };
80 
const Real _reference_pressure_value
The value of pressure at that point.
static InputParameters validParams()
const Moose::Functor< GenericReal< is_ad > > & _rho
Density as a functor, which could be from the variable set or the property.
const bool _neglect_derivatives_of_density_time_derivative
Whether to neglect the contributions to the Jacobian of the density time derivative.
const Moose::Functor< Real > & _d
Characteristic length $d$ used in computing the Reynolds number $Re=/$.
const MaterialPropertyName derivativePropertyNameFirst(const MaterialPropertyName &base, const SymbolName &c1) const
GeneralFunctorFluidPropsTempl< true > GeneralFunctorFluidProps
const Moose::Functor< GenericReal< is_ad > > & _pressure
variables
const bool _force_define_density
A parameter to force definition of a functor material property for density.
const SinglePhaseFluidProperties & _fluid
Computes fluid properties in (P, T) formulation using functor material properties.
const MooseFunctorName & _specific_heat_name
Name to use for the specific heat functor.
const Point _reference_pressure_point
Where the static pressure rho*g*(z-z0) term is 0.
const bool _pressure_is_dynamic
Whether the input pressure is the dynamic pressure.
GeneralFunctorFluidPropsTempl(const InputParameters &parameters)
Common class for single phase fluid properties.
const MooseFunctorName & _thermal_conductivity_name
Name to use for the thermal conductivity functor.
const T & getUserObject(const std::string &param_name, bool is_dependency=true) const
const Function & _mu_rampdown
Function to ramp down the viscosity, useful for relaxation transient.
const Moose::Functor< GenericReal< is_ad > > & _speed
DIE A HORRIBLE DEATH HERE typedef LIBMESH_DEFAULT_SCALAR_TYPE Real
const MooseFunctorName & _density_name
Name to use for density functor.
GeneralFunctorFluidPropsTempl< false > NonADGeneralFunctorFluidProps
const Moose::Functor< GenericReal< is_ad > > & _T_fluid
const InputParameters & parameters() const
const MooseFunctorName & _dynamic_viscosity_name
Name to use for the dynamic viscosity functor.
const Point _gravity_vec
The gravity vector.
const Moose::Functor< GenericReal< is_ad > > & _eps
Porosity.