27 _gravity_strong_residual(getADMaterialProperty<
RealVectorValue>(
"gravity_strong_residual"))
33 for (
const auto block_id :
blockIDs())
35 obj_tracker.
set(
"has_gravity",
true, block_id);
36 obj_tracker.set(
"gravity", getParam<RealVectorValue>(
"gravity"), block_id);
T & getUserObject(const std::string &name, unsigned int tid=0) const
static InputParameters validParams()
void set(const std::string &name, const T &value, SubdomainID sub_id)
Set the internal parameter name to value.
ADRealVectorValue precomputeQpResidual() override
virtual const std::set< SubdomainID > & blockIDs() const
static InputParameters validParams()
INSADGravityForce(const InputParameters ¶meters)
FEProblemBase & _fe_problem
Computes a body force due to gravity.
registerMooseObject("NavierStokesApp", INSADGravityForce)
const ADMaterialProperty< RealVectorValue > & _gravity_strong_residual
Object for tracking what kernels have been added to an INSAD simulation.