GeneralFunctorFluidProps

Creates functor fluid properties using a (P, T) formulation

Overview

This object uses a SinglePhaseFluidProperties derived-object to compute the following properties:

  • specific heat at constant volume,

  • specific heat at constant pressure,

  • dynamic viscosity,

  • thermal conductivity,

  • Prandtl number,

  • pore/particle Reynolds number

  • hydraulic Reynolds number

  • interstitial Reynolds number

the time derivatives of the:

  • specific heat at constant pressure,

  • density

and the pressure and temperature derivatives of the:

  • specific heat at constant pressure,

  • density

  • dynamic viscosity,

  • thermal conductivity,

  • Prandtl number,

  • pore Reynolds number

commentnote

In order to use this with some fluid properties that do not compute the AD version of the density derivatives, such as the Spline Base Table Lookup fluid properties, you can use the "neglect_derivatives_of_density_time_derivative" to neglect the derivatives with regards to the nonlinear variables (usually pressure, temperature) of the time derivative of the density.

Input Parameters

  • T_fluidFluid temperature. A functor is any of the following: a variable, a functor material property, a function, a post-processor, or a number.

    C++ Type:MooseFunctorName

    Unit:(no unit assumed)

    Controllable:No

    Description:Fluid temperature. A functor is any of the following: a variable, a functor material property, a function, a post-processor, or a number.

  • characteristic_lengthcharacteristic length for Reynolds number calculation. A functor is any of the following: a variable, a functor material property, a function, a post-processor, or a number.

    C++ Type:MooseFunctorName

    Unit:(no unit assumed)

    Controllable:No

    Description:characteristic length for Reynolds number calculation. A functor is any of the following: a variable, a functor material property, a function, a post-processor, or a number.

  • fpFluid properties functor userobject

    C++ Type:UserObjectName

    Controllable:No

    Description:Fluid properties functor userobject

  • porosityporosity. A functor is any of the following: a variable, a functor material property, a function, a post-processor, or a number.

    C++ Type:MooseFunctorName

    Unit:(no unit assumed)

    Controllable:No

    Description:porosity. A functor is any of the following: a variable, a functor material property, a function, a post-processor, or a number.

  • pressurePressure. A functor is any of the following: a variable, a functor material property, a function, a post-processor, or a number.

    C++ Type:MooseFunctorName

    Unit:(no unit assumed)

    Controllable:No

    Description:Pressure. A functor is any of the following: a variable, a functor material property, a function, a post-processor, or a number.

  • speedVelocity norm. A functor is any of the following: a variable, a functor material property, a function, a post-processor, or a number.

    C++ Type:MooseFunctorName

    Unit:(no unit assumed)

    Controllable:No

    Description:Velocity norm. A functor is any of the following: a variable, a functor material property, a function, a post-processor, or a number.

Required Parameters

  • blockThe list of blocks (ids or names) that this object will be applied

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

    Controllable:No

    Description:The list of blocks (ids or names) that this object will be applied

  • declare_suffixAn optional suffix parameter that can be appended to any declared properties. The suffix will be prepended with a '_' character.

    C++ Type:MaterialPropertyName

    Unit:(no unit assumed)

    Controllable:No

    Description:An optional suffix parameter that can be appended to any declared properties. The suffix will be prepended with a '_' character.

  • execute_onALWAYSThe list of flag(s) indicating when this object should be executed. For a description of each flag, see https://mooseframework.inl.gov/source/interfaces/SetupInterface.html.

    Default:ALWAYS

    C++ Type:ExecFlagEnum

    Options:NONE, INITIAL, LINEAR, NONLINEAR_CONVERGENCE, NONLINEAR, POSTCHECK, TIMESTEP_END, TIMESTEP_BEGIN, MULTIAPP_FIXED_POINT_END, MULTIAPP_FIXED_POINT_BEGIN, FINAL, CUSTOM, ALWAYS

    Controllable:No

    Description:The list of flag(s) indicating when this object should be executed. For a description of each flag, see https://mooseframework.inl.gov/source/interfaces/SetupInterface.html.

  • force_define_densityFalseWhether to force the definition of a density functor from the fluid properties

    Default:False

    C++ Type:bool

    Controllable:No

    Description:Whether to force the definition of a density functor from the fluid properties

  • gravity0 0 -9.81Gravity vector

    Default:0 0 -9.81

    C++ Type:libMesh::Point

    Controllable:No

    Description:Gravity vector

  • mu_rampdown1A function describing a ramp down of viscosity over time

    Default:1

    C++ Type:FunctionName

    Unit:(no unit assumed)

    Controllable:No

    Description:A function describing a ramp down of viscosity over time

  • neglect_derivatives_of_density_time_derivativeTrueWhether to neglect the derivatives with regards to nonlinear variables of the density time derivatives

    Default:True

    C++ Type:bool

    Controllable:No

    Description:Whether to neglect the derivatives with regards to nonlinear variables of the density time derivatives

  • rhoDensity. A functor is any of the following: a variable, a functor material property, a function, a post-processor, or a number.

    C++ Type:MooseFunctorName

    Unit:(no unit assumed)

    Controllable:No

    Description:Density. A functor is any of the following: a variable, a functor material property, a function, a post-processor, or a number.

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:Yes

    Description:Set the enabled status of the MooseObject.

  • implicitTrueDetermines whether this object is calculated using an implicit or explicit form

    Default:True

    C++ Type:bool

    Controllable:No

    Description:Determines whether this object is calculated using an implicit or explicit form

  • seed0The seed for the master random number generator

    Default:0

    C++ Type:unsigned int

    Controllable:No

    Description:The seed for the master random number generator

Advanced Parameters

  • density_namerhoName to give to the density functor. A functor is any of the following: a variable, a functor material property, a function, a post-processor, or a number.

    Default:rho

    C++ Type:MooseFunctorName

    Unit:(no unit assumed)

    Controllable:No

    Description:Name to give to the density functor. A functor is any of the following: a variable, a functor material property, a function, a post-processor, or a number.

  • dynamic_viscosity_namemuName to give to the dynamic viscosity functor. A functor is any of the following: a variable, a functor material property, a function, a post-processor, or a number.

    Default:mu

    C++ Type:MooseFunctorName

    Unit:(no unit assumed)

    Controllable:No

    Description:Name to give to the dynamic viscosity functor. A functor is any of the following: a variable, a functor material property, a function, a post-processor, or a number.

  • specific_heat_namecpName to give to the specific heat (cp) functor. A functor is any of the following: a variable, a functor material property, a function, a post-processor, or a number.

    Default:cp

    C++ Type:MooseFunctorName

    Unit:(no unit assumed)

    Controllable:No

    Description:Name to give to the specific heat (cp) functor. A functor is any of the following: a variable, a functor material property, a function, a post-processor, or a number.

  • thermal_conductivity_namekName to give to the thermal conductivity functor. A functor is any of the following: a variable, a functor material property, a function, a post-processor, or a number.

    Default:k

    C++ Type:MooseFunctorName

    Unit:(no unit assumed)

    Controllable:No

    Description:Name to give to the thermal conductivity functor. A functor is any of the following: a variable, a functor material property, a function, a post-processor, or a number.

Functor Property Names Parameters

  • output_propertiesList of material properties, from this material, to output (outputs must also be defined to an output type)

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

    Controllable:No

    Description:List of material properties, from this material, to output (outputs must also be defined to an output type)

  • outputsnone Vector of output names where you would like to restrict the output of variables(s) associated with this object

    Default:none

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

    Controllable:No

    Description:Vector of output names where you would like to restrict the output of variables(s) associated with this object

Outputs Parameters

  • reference_pressure100000Total pressure at the reference point

    Default:100000

    C++ Type:double

    Unit:(no unit assumed)

    Controllable:No

    Description:Total pressure at the reference point

  • reference_pressure_point0 0 0Point at which the gravity term for the static pressure is zero

    Default:0 0 0

    C++ Type:libMesh::Point

    Controllable:No

    Description:Point at which the gravity term for the static pressure is zero

  • solving_for_dynamic_pressureFalseWhether to solve for the dynamic pressure instead of the total pressure

    Default:False

    C++ Type:bool

    Controllable:No

    Description:Whether to solve for the dynamic pressure instead of the total pressure

Dynamic Pressure Parameters