20 "Specifies flow of mass through a boundary given a velocity function or postprocessor");
21 params.
addParam<FunctionName>(
"v_fn",
"Velocity function with time at the boundary");
22 params.
addParam<std::string>(
"v_pps",
23 "The Postprocessor name to setup the velocity boundary value.");
30 _has_vfn(parameters.isParamValid(
"v_fn")),
31 _has_vpps(parameters.isParamValid(
"v_pps")),
32 _velocity_fn(_has_vfn ? &getFunction(
"v_fn") : NULL),
33 _v_pps_name(_has_vpps ? getParam<
std::string>(
"v_pps") :
"")
36 mooseError(
"'v_fn' and 'v_pps' cannot be BOTH specified in INSFEFluidMassBC.");
81 Real
rho, drho_dp, drho_dT;
registerMooseObjectRenamed("NavierStokesApp", MDFluidMassBC, "02/01/2024 00:00", INSFEFluidMassBC)
registerMooseObject("NavierStokesApp", INSFEFluidMassBC)
virtual Real value(Real t, const Point &p) const
This class couples together all the variables for the 3D fluid equations to allow them to be used in ...
const VariableValue & _w_vel
static InputParameters validParams()
const MaterialProperty< Real > & _rho
const SinglePhaseFluidProperties & _eos
const VariableValue & _v_vel
const VariableValue & _u_vel
const VariableValue & _temperature
unsigned mapVarNumber(unsigned var)
A specific BC for the mass (pressure) equation.
const Function * _velocity_fn
INSFEFluidMassBC(const InputParameters ¶meters)
static InputParameters validParams()
virtual Real computeQpResidual() override
virtual Real computeQpOffDiagJacobian(unsigned int jvar) override
virtual Real computeQpJacobian() override
const MooseArray< Point > & _q_point
const VariablePhiValue & _phi
const MooseArray< Point > & _normals
const VariableTestValue & _test
void mooseError(Args &&... args) const
virtual const PostprocessorValue & getPostprocessorValueByName(const PostprocessorName &name) const