https://mooseframework.inl.gov
Loading...
Searching...
No Matches
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
17class Function;
18
22template <bool is_ad>
80
GeneralFunctorFluidPropsTempl< true > GeneralFunctorFluidProps
GeneralFunctorFluidPropsTempl< false > NonADGeneralFunctorFluidProps
const MaterialPropertyName derivativePropertyNameFirst(const MaterialPropertyName &base, const SymbolName &c1) const
Computes fluid properties in (P, T) formulation using functor material properties.
const MooseFunctorName & _thermal_conductivity_name
Name to use for the thermal conductivity functor.
const bool _force_define_density
A parameter to force definition of a functor material property for density.
const Point _gravity_vec
The gravity vector.
const MooseFunctorName & _density_name
Name to use for density functor.
const Function & _mu_rampdown
Function to ramp down the viscosity, useful for relaxation transient.
const Moose::Functor< GenericReal< is_ad > > & _pressure
variables
const bool _pressure_is_dynamic
Whether the input pressure is the dynamic pressure.
const MooseFunctorName & _specific_heat_name
Name to use for the specific heat functor.
const bool _neglect_derivatives_of_density_time_derivative
Whether to neglect the contributions to the Jacobian of the density time derivative.
const Moose::Functor< GenericReal< is_ad > > & _T_fluid
const Moose::Functor< GenericReal< is_ad > > & _speed
const SinglePhaseFluidProperties & _fluid
const Real _reference_pressure_value
The value of pressure at that point.
const Moose::Functor< GenericReal< is_ad > > & _eps
Porosity.
const Moose::Functor< Real > & _d
Characteristic length $d$ used in computing the Reynolds number $Re=\rho_fVd/\mu_f$.
const Moose::Functor< GenericReal< is_ad > > & _rho
Density as a functor, which could be from the variable set or the property.
const MooseFunctorName & _dynamic_viscosity_name
Name to use for the dynamic viscosity functor.
const Point _reference_pressure_point
Where the static pressure rho*g*(z-z0) term is 0.
const InputParameters & parameters() const
Common class for single phase fluid properties.
const T & getUserObject(const std::string &param_name, bool is_dependency=true) const