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;
const VariableValue & _u_vel
const VariableTestValue & _test
INSFEFluidMassBC(const InputParameters ¶meters)
const MooseArray< Point > & _normals
unsigned mapVarNumber(unsigned var)
const VariablePhiValue & _phi
A specific BC for the mass (pressure) equation.
static InputParameters validParams()
static InputParameters validParams()
This class couples together all the variables for the 3D fluid equations to allow them to be used in ...
const VariableValue & _v_vel
const MooseArray< Point > & _q_point
registerMooseObject("NavierStokesApp", INSFEFluidMassBC)
const SinglePhaseFluidProperties & _eos
const VariableValue & _temperature
virtual Real computeQpOffDiagJacobian(unsigned int jvar) override
virtual const PostprocessorValue & getPostprocessorValueByName(const PostprocessorName &name) const
DIE A HORRIBLE DEATH HERE typedef LIBMESH_DEFAULT_SCALAR_TYPE Real
const MaterialProperty< Real > & _rho
void mooseError(Args &&... args) const
virtual Real computeQpResidual() override
registerMooseObjectRenamed("NavierStokesApp", MDFluidMassBC, "02/01/2024 00:00", INSFEFluidMassBC)
virtual Real value(Real t, const Point &p) const
virtual Real computeQpJacobian() override
const VariableValue & _w_vel
const Function * _velocity_fn