23 params.
addParam<MooseFunctorName>(
"alpha_name",
25 "The name of the thermal expansion coefficient" 26 "this is of the form rho = rho*(1-alpha (T-T_ref))");
38 _alpha(getFunctor<
ADReal>(
"alpha_name")),
39 _ref_temperature(getParam<
Real>(
"ref_temperature")),
42 if (!
_rho.isConstant() && !getParam<bool>(
"_override_constant_check"))
Moose::StateArg determineState() const
static const std::string alpha_boussinesq
const unsigned int _index
index x|y|z
static const std::string density
DualNumber< Real, DNDerivativeType, true > ADReal
const Moose::Functor< ADReal > & _temperature
Fluid temperature.
const Moose::Functor< ADReal > & _rho
the density
Moose::ElemArg makeElemArg(const Elem *elem, bool correct_skewnewss=false) const
static const std::string T_fluid
const Elem *const & _current_elem
static InputParameters validParams()
void paramError(const std::string ¶m, Args... args) const
Imposes a Boussinesq force on the momentum equation.
All objects that contribute to pressure-based (e.g.
static InputParameters validParams()
const Moose::Functor< ADReal > & _alpha
The thermal expansion coefficient.
const Real _ref_temperature
Reference temperature at which the value of _rho was measured.
DIE A HORRIBLE DEATH HERE typedef LIBMESH_DEFAULT_SCALAR_TYPE Real
const RealVectorValue _gravity
The gravity vector.
static InputParameters validParams()
ADReal computeQpResidual() override
INSFVMomentumBoussinesq(const InputParameters ¶ms)
registerMooseObject("NavierStokesApp", INSFVMomentumBoussinesq)