20 params.
addClassDescription(
"This material computes properties needed for stabilized formulations "
21 "of the mass, momentum, and energy equations.");
23 params.
addParam<MaterialPropertyName>(
"cp_name",
"cp",
"The name of the specific heat capacity");
29 _temperature(adCoupledValue(
"temperature")),
30 _grad_temperature(adCoupledGradient(
"temperature")),
31 _cp(getADMaterialProperty<Real>(
"cp_name")),
32 _temperature_advective_strong_residual(
33 declareADProperty<Real>(
"temperature_advective_strong_residual")),
34 _temperature_td_strong_residual(declareADProperty<Real>(
"temperature_td_strong_residual")),
35 _temperature_ambient_convection_strong_residual(
36 declareADProperty<Real>(
"temperature_ambient_convection_strong_residual")),
37 _temperature_source_strong_residual(
38 declareADProperty<Real>(
"temperature_source_strong_residual")),
39 _temperature_advected_mesh_strong_residual(
40 declareADProperty<Real>(
"temperature_advected_mesh_strong_residual"))
124 "Either the heat source var or the heat source function must be non-null in "
registerMooseObject("NavierStokesApp", INSAD3Eqn)
const ADVariableValue & adCoupledDot(const std::string &var_name, unsigned int comp=0) const
virtual Function & getFunction(const std::string &name, const THREAD_ID tid=0)
virtual Real value(Real t, const Point &p) const
Computes properties needed for stabilized formulations of the mass, momentum, and energy equations.
const ADVariableValue * _temperature_dot
INSAD3Eqn(const InputParameters ¶meters)
const Function * _heat_source_function
static InputParameters validParams()
ADMaterialProperty< Real > & _temperature_advective_strong_residual
void subdomainSetup() override
const ADVariableValue & _temperature
ADMaterialProperty< Real > & _temperature_td_strong_residual
Real _ambient_temperature
ADMaterialProperty< Real > & _temperature_source_strong_residual
bool _has_ambient_convection
Real _ambient_convection_alpha
const ADVariableGradient & _grad_temperature
bool _has_energy_transient
Whether the energy equation is transient.
ADMaterialProperty< Real > & _temperature_advected_mesh_strong_residual
The strong residual for the temperature transport term corresponding to mesh velocity in an ALE simul...
void computeQpProperties() override
const ADVariableValue * _heat_source_var
ADMaterialProperty< Real > & _temperature_ambient_convection_strong_residual
const ADMaterialProperty< Real > & _cp
const INSADObjectTracker * _object_tracker
A user object that consumes information from INSAD residual objects and feeds it into this material.
virtual void computeQpProperties() override
ADMaterialProperty< RealVectorValue > & _mesh_velocity
The mesh velocity.
static InputParameters validParams()
virtual void subdomainSetup() override
bool _has_advected_mesh
Whether we have mesh convection.
const ADMaterialProperty< Real > & _rho
density
const ADVectorVariableValue & _velocity
velocity
bool isTrackerParamValid(const std::string &name, SubdomainID sub_id) const
const T & get(const std::string &name, SubdomainID sub_id) const
Get the internal parameter name.
FEProblemBase & _fe_problem
const SubdomainID & _current_subdomain_id
const MooseArray< Point > & _q_point
virtual MooseVariable & getStandardVariable(const THREAD_ID tid, const std::string &var_name)=0