HydrostaticPressureFunction

This function computes the hydrostatic pressure distribution in a continuous fluid, given a reference point and pressure value:

where

  • is the reference point,

  • is the pressure at that point,

  • is the temperature at that point,

  • is the reference density, and

  • is the gravity acceleration vector.

warningwarning

Note that this formulation is only exact if the density does not change between and .

Input Parameters

  • fluid_propertiesName of the SinglePhaseFluidProperties user object

    C++ Type:UserObjectName

    Controllable:No

    Description:Name of the SinglePhaseFluidProperties user object

  • reference_pointReference point where pressure is specified [m]

    C++ Type:libMesh::Point

    Controllable:No

    Description:Reference point where pressure is specified [m]

  • reference_pressurePressure at the reference point [Pa]

    C++ Type:double

    Unit:(no unit assumed)

    Controllable:No

    Description:Pressure at the reference point [Pa]

  • reference_temperatureReference temperature for density evaluation [K]

    C++ Type:double

    Unit:(no unit assumed)

    Controllable:No

    Description:Reference temperature for density evaluation [K]

Required Parameters

  • gravity_directionDirection of gravitational acceleration. This will be normalized and multiplied by 'gravity_magnitude'. This parameter is mutually exclusive with 'gravity_vector'.

    C++ Type:libMesh::VectorValue<double>

    Unit:(no unit assumed)

    Controllable:No

    Description:Direction of gravitational acceleration. This will be normalized and multiplied by 'gravity_magnitude'. This parameter is mutually exclusive with 'gravity_vector'.

  • gravity_magnitude9.80665Magnitude of the gravitational acceleration [m/s^2]

    Default:9.80665

    C++ Type:double

    Unit:(no unit assumed)

    Controllable:No

    Description:Magnitude of the gravitational acceleration [m/s^2]

  • gravity_vectorGravitational acceleration vector [m/s^2]. This parameter is mutually exclusive with 'gravity_direction'.

    C++ Type:libMesh::VectorValue<double>

    Unit:(no unit assumed)

    Controllable:No

    Description:Gravitational acceleration vector [m/s^2]. This parameter is mutually exclusive with 'gravity_direction'.

Optional Parameters

  • control_tagsAdds user-defined labels for accessing object parameters via control logic.

    C++ Type:std::vector<std::string>

    Controllable:No

    Description:Adds user-defined labels for accessing object parameters via control logic.

  • enableTrueSet the enabled status of the MooseObject.

    Default:True

    C++ Type:bool

    Controllable:No

    Description:Set the enabled status of the MooseObject.

Advanced Parameters

Input Files