Navier Stokes Solid Heat Transfer Segregated / PNSLinearFVSolidHeatTransferPhysics

Define the Navier Stokes porous media solid energy equation with the linear finite volume discretization

Equation

This Physics object creates the kernels and boundary conditions to solve the energy equation of the solid phase of a porous medium with the linear finite volume discretization, for the segregated solvers such as SIMPLE:

where:

  • is the porosity

  • is the solid density

  • is the solid specific heat

  • is the solid temperature

  • is the fluid temperature

  • is the effective solid thermal conductivity, which accounts for the solid fraction

  • is the ambient convection volumetric heat transfer coefficient

  • is the heat source deposited in the solid, per unit total volume

The solid is stationary, so the porosity and the solid density must be constant in time. The specific heat may depend on the temperature: since , the time derivative above is the rate of change of the solid enthalpy .

The parameters are the same as Navier Stokes Solid Heat Transfer / PNSFVSolidHeatTransfer, to facilitate the transition between discretizations. The kernels created are:

Faces of the solid domain without a boundary condition are insulated.

Automatically created variables

The PNSLinearFVSolidHeatTransferPhysics creates a linear finite volume variable for the solid temperature, named by default:

static const std::string T_solidus = "T_solidus";
(modules/navier_stokes/include/base/NS.h)

Coupling with other Physics

The fluid phase is solved by the Navier Stokes Flow Segregated / WCNSLinearFVFlowPhysics with the porous medium treatment and the Navier Stokes Fluid Heat Transfer / WCNSLinearFVFluidHeatTransferPhysics. The volumetric heat exchange between the phases is defined in both Physics with the same heat transfer coefficients. The following input couples the fluid and solid energy equations in a porous block bounded by two pressure baffles (porosity change interfaces):

[Physics<<<{"href": "../../syntax/Physics/index.html"}>>>]
  [NavierStokes<<<{"href": "../../syntax/Physics/NavierStokes/index.html"}>>>]
    [FlowSegregated<<<{"href": "../../syntax/Physics/NavierStokes/FlowSegregated/index.html"}>>>]
      [flow]
        velocity_variable<<<{"description": "If supplied, the system checks for available velocity variables. Otherwise, they are created within the action."}>>> = 'superficial_u superficial_v'
        pressure_variable<<<{"description": "If supplied, the system checks for available pressure variable. Otherwise, it is created within the action."}>>> = 'pressure'

        density<<<{"description": "The name of the density. A functor is any of the following: a variable, a functor material property, a function, a postprocessor or a number."}>>> = ${rho}
        dynamic_viscosity<<<{"description": "The name of the dynamic viscosity. A functor is any of the following: a variable, a functor material property, a function, a postprocessor or a number."}>>> = ${mu}

        porous_medium_treatment<<<{"description": "Whether to use porous medium kernels or not."}>>> = true
        porosity<<<{"description": "The name of the auxiliary variable for the porosity field. A functor is any of the following: a variable, a functor material property, a function, a postprocessor or a number. A functor is any of the following: a variable, a functor material property, a function, a postprocessor or a number."}>>> = porosity
        porosity_interface_pressure_treatment<<<{"description": "How to treat pressure at a porosity interface"}>>> = bernoulli
        pressure_drop_sidesets<<<{"description": "Internal sidesets carrying a pressure-jump baffle with the Bernoulli pressure jump and an optional irreversible form loss. Used when 'porosity_interface_pressure_treatment' is 'bernoulli'."}>>> = 'baffle baffle2'
        pressure_drop_form_factors<<<{"description": "User-supplied form loss coefficients to be applied over the sidesets listed above"}>>> = '0 0'
        pressure_drop_reference_velocity_side<<<{"description": "Reference-velocity sides for each the pressure-jump boundaries. The default is lower_porosity."}>>> = 'lower_porosity higher_porosity'
        pressure_jump_relaxation<<<{"description": "Under-relaxation factor for pressure jump updates."}>>> = 0.1
        pressure_gradient_relaxation<<<{"description": "Relaxation factor applied when updating the reconstructed pressure-coupling gradient."}>>> = 1.0

        friction_blocks<<<{"description": "The blocks where the friction factors are applied to emulate flow resistances."}>>> = '2'
        friction_types<<<{"description": "The types of friction forces for every block in 'friction_blocks'."}>>> = 'Forchheimer'
        friction_coeffs<<<{"description": "The friction coefficients for every item in 'friction_types'. Note that if 'porous_medium_treatment' is enabled, the coefficients already contain a velocity multiplier but they are not multiplied with density yet!"}>>> = 'forch'

        initial_velocity<<<{"description": "The initial velocity, assumed constant everywhere"}>>> = '${u_in} 0 0'
        initial_pressure<<<{"description": "The initial pressure, assumed constant everywhere"}>>> = 0

        inlet_boundaries<<<{"description": "Names of inlet boundaries"}>>> = 'left'
        momentum_inlet_types<<<{"description": "Types of inlet boundaries for the momentum equation."}>>> = 'fixed-velocity'
        momentum_inlet_functors<<<{"description": "Functions for inlet boundary velocities or pressures (for fixed-pressure option). Provide a double vector where the leading dimension corresponds to the number of fixed-velocity and fixed-pressure entries in momentum_inlet_types and the second index runs either over dimensions for fixed-velocity boundaries or is a single function name for pressure inlets. A functor is any of the following: a variable, a functor material property, a function, a postprocessor or a number."}>>> = '${u_in} 0'
        outlet_boundaries<<<{"description": "Names of outlet boundaries"}>>> = 'right'
        momentum_outlet_types<<<{"description": "Types of outlet boundaries for the momentum equation"}>>> = 'fixed-pressure'
        pressure_functors<<<{"description": "Functions for boundary pressures at outlets. A functor is any of the following: a variable, a functor material property, a function, a postprocessor or a number."}>>> = '0'
        wall_boundaries<<<{"description": "Names of wall boundaries"}>>> = 'top_to_1 top_to_2 top_to_3 bottom_to_1 bottom_to_2 bottom_to_3'
        momentum_wall_types<<<{"description": "Types of wall boundaries for the momentum equation"}>>> = 'symmetry symmetry symmetry symmetry symmetry symmetry'

        momentum_advection_interpolation<<<{"description": "The numerical scheme to use for interpolating momentum/velocity, as an advected quantity, to the face."}>>> = 'upwind'
        momentum_two_term_bc_expansion<<<{"description": "If a two-term Taylor expansion is needed for the determination of the boundary valuesof the velocity/momentum."}>>> = false
        # No extrapolated pressure at the fixed-velocity inlet, as in the explicit setup
        pressure_two_term_bc_expansion<<<{"description": "If a two-term Taylor expansion is needed for the determination of the boundary valuesof the pressure."}>>> = false
        orthogonality_correction = false
      []
    []
    [FluidHeatTransferSegregated<<<{"href": "../../syntax/Physics/NavierStokes/FluidHeatTransferSegregated/index.html"}>>>]
      [fluid]
        fluid_temperature_variable<<<{"description": "Name of the fluid temperature variable"}>>> = 'T_fluid'
        solve_for_enthalpy<<<{"description": "Whether to solve for the enthalpy or the temperature of the fluid"}>>> = true
        specific_heat<<<{"description": "The name of the specific heat. A functor is any of the following: a variable, a functor material property, a function, a postprocessor or a number."}>>> = 'cp_fluid'
        thermal_conductivity<<<{"description": "The name of the fluid thermal conductivity for each block. A functor is any of the following: a variable, a functor material property, a function, a postprocessor or a number."}>>> = ${k_fluid}
        # Matches the explicit setup, which uses k / cp without a porosity factor
        effective_conductivity<<<{"description": "Whether the conductivity should be multiplied by porosity, or whether the provided conductivity is an effective conductivity taking porosity effects into account"}>>> = true
        initial_temperature<<<{"description": "The initial temperature, assumed constant everywhere"}>>> = ${T_initial}

        energy_inlet_types<<<{"description": "Types for the inlet boundaries for the energy equation."}>>> = 'fixed-temperature'
        energy_inlet_functors<<<{"description": "Functions for fixed-value boundaries in the energy equation. A functor is any of the following: a variable, a functor material property, a function, a postprocessor or a number."}>>> = '${T_inlet}'
        energy_wall_types<<<{"description": "Types for the wall boundaries for the energy equation."}>>> = 'heatflux heatflux heatflux heatflux heatflux heatflux'
        energy_wall_functors<<<{"description": "Functions for Dirichlet/Neumann boundaries in the energy equation. For wall types requiring multiple functions, the syntax is <function_1>:<function_2>:... So, 'convection' types are '<Tinf_function>:<htc_function>'. A functor is any of the following: a variable, a functor material property, a function, a postprocessor or a number."}>>> = '0 0 0 0 0 0'

        ambient_convection_blocks<<<{"description": "The blocks where the ambient convection is present."}>>> = '2'
        ambient_convection_alpha<<<{"description": "The heat exchange coefficients for each block in 'ambient_convection_blocks'. A functor is any of the following: a variable, a functor material property, a function, a postprocessor or a number."}>>> = 'h_vol'
        ambient_temperature<<<{"description": "The ambient temperature for each block in 'ambient_convection_blocks'. A functor is any of the following: a variable, a functor material property, a function, a postprocessor or a number."}>>> = 'T_solid'

        energy_advection_interpolation<<<{"description": "The numerical scheme to use for interpolating energy/temperature, as an advected quantity, to the face."}>>> = 'upwind'
        energy_two_term_bc_expansion<<<{"description": "If a two-term Taylor expansion is needed for the determination of the boundary valuesof the temperature/energy."}>>> = false
        use_nonorthogonal_correction<<<{"description": "Whether to use a non-orthogonal correction. This can potentially slow down convergence , but reduces numerical dispersion on non-orthogonal meshes. Can be safely turned off on orthogonal meshes."}>>> = false
      []
    []
    [SolidHeatTransferSegregated<<<{"href": "../../syntax/Physics/NavierStokes/SolidHeatTransferSegregated/index.html"}>>>]
      [solid]
        block<<<{"description": "Blocks (subdomains) that this Physics is active on."}>>> = 2
        porosity<<<{"description": "The name of the auxiliary variable for the porosity field. A functor is any of the following: a variable, a functor material property, a function, a postprocessor or a number. A functor is any of the following: a variable, a functor material property, a function, a postprocessor or a number."}>>> = porosity
        solid_temperature_variable<<<{"description": "Name of the solid phase temperature variable"}>>> = 'T_solid'
        fluid_temperature_variable<<<{"description": "Name of the fluid temperature variable"}>>> = 'T_fluid'
        rho_solid<<<{"description": "Density functor. A functor is any of the following: a variable, a functor material property, a function, a postprocessor or a number."}>>> = 2000
        cp_solid<<<{"description": "Specific heat functor. A functor is any of the following: a variable, a functor material property, a function, a postprocessor or a number."}>>> = 500
        thermal_conductivity_solid<<<{"description": "Thermal conductivity, which may have different names depending on the subdomain. A functor is any of the following: a variable, a functor material property, a function, a postprocessor or a number."}>>> = ${k_solid}
        initial_temperature<<<{"description": "Initial value of the temperature variable"}>>> = ${T_initial}

        ambient_convection_blocks<<<{"description": "The blocks where the ambient convection is present."}>>> = '2'
        ambient_convection_alpha<<<{"description": "The heat exchange coefficients for each block in 'ambient_convection_blocks'. A functor is any of the following: a variable, a functor material property, a function, a postprocessor or a number."}>>> = 'h_vol'
        ambient_convection_temperature<<<{"description": "The fluid temperature for each block in 'ambient_convection_blocks'. A functor is any of the following: a variable, a functor material property, a function, a postprocessor or a number."}>>> = 'T_fluid'

        external_heat_source<<<{"description": "The name of a functor which contains the external heat source for the energy equation. A functor is any of the following: a variable, a functor material property, a function, a postprocessor or a number."}>>> = 'q_solid_scaled'

        use_nonorthogonal_correction<<<{"description": "Whether to use a non-orthogonal correction. This can potentially slow down convergence, but reduces numerical dispersion on non-orthogonal meshes. Can be safely turned off on orthogonal meshes."}>>> = false
      []
    []
  []
[]
(modules/navier_stokes/test/tests/finite_volume/pins/channel-flow/linear-segregated/2d-simple-channel-enthalpy/porous-baffle-2d-enthalpy-physics.i)

Input Parameters

  • blockBlocks (subdomains) that this Physics is active on.

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

    Controllable:No

    Description:Blocks (subdomains) that this Physics is active on.

  • fluid_temperature_variableT_fluidName of the fluid temperature variable

    Default:T_fluid

    C++ Type:NonlinearVariableName

    Unit:(no unit assumed)

    Controllable:No

    Description:Name of the fluid temperature variable

  • initial_temperature300Initial value of the temperature variable

    Default:300

    C++ Type:FunctionName

    Unit:(no unit assumed)

    Controllable:No

    Description:Initial value of the temperature variable

  • porosityporosityThe name of the auxiliary variable for the porosity field. A functor is any of the following: a variable, a functor material property, a function, a postprocessor or a number. A functor is any of the following: a variable, a functor material property, a function, a postprocessor or a number.

    Default:porosity

    C++ Type:MooseFunctorName

    Unit:(no unit assumed)

    Controllable:No

    Description:The name of the auxiliary variable for the porosity field. A functor is any of the following: a variable, a functor material property, a function, a postprocessor or a number. A functor is any of the following: a variable, a functor material property, a function, a postprocessor or a number.

  • solid_temperature_variableT_solidName of the solid phase temperature variable

    Default:T_solid

    C++ Type:VariableName

    Unit:(no unit assumed)

    Controllable:No

    Description:Name of the solid phase temperature variable

  • transientsame_as_problemWhether the physics is to be solved as a transient

    Default:same_as_problem

    C++ Type:MooseEnum

    Options:true, false, same_as_problem

    Controllable:No

    Description:Whether the physics is to be solved as a transient

  • verboseFalseFlag to facilitate debugging a Physics

    Default:False

    C++ Type:bool

    Controllable:No

    Description:Flag to facilitate debugging a Physics

Optional Parameters

  • active__all__ If specified only the blocks named will be visited and made active

    Default:__all__

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

    Controllable:No

    Description:If specified only the blocks named will be visited and made active

  • 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.

  • ghost_layers2Number of layers of elements to ghost near process domain boundaries

    Default:2

    C++ Type:unsigned short

    Controllable:No

    Description:Number of layers of elements to ghost near process domain boundaries

  • inactiveIf specified blocks matching these identifiers will be skipped.

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

    Controllable:No

    Description:If specified blocks matching these identifiers will be skipped.

Advanced Parameters

  • ambient_convection_alphaThe heat exchange coefficients for each block in 'ambient_convection_blocks'. A functor is any of the following: a variable, a functor material property, a function, a postprocessor or a number.

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

    Unit:(no unit assumed)

    Controllable:No

    Description:The heat exchange coefficients for each block in 'ambient_convection_blocks'. A functor is any of the following: a variable, a functor material property, a function, a postprocessor or a number.

  • ambient_convection_blocksThe blocks where the ambient convection is present.

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

    Controllable:No

    Description:The blocks where the ambient convection is present.

  • ambient_convection_temperatureT_fluid The fluid temperature for each block in 'ambient_convection_blocks'. A functor is any of the following: a variable, a functor material property, a function, a postprocessor or a number.

    Default:T_fluid

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

    Unit:(no unit assumed)

    Controllable:No

    Description:The fluid temperature for each block in 'ambient_convection_blocks'. A functor is any of the following: a variable, a functor material property, a function, a postprocessor or a number.

Ambient Convection Parameters

  • boundary_heat_fluxesFunctors to compute the heat flux on each boundary in 'heat_flux_boundaries'. A functor is any of the following: a variable, a functor material property, a function, a postprocessor or a number.

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

    Unit:(no unit assumed)

    Controllable:No

    Description:Functors to compute the heat flux on each boundary in 'heat_flux_boundaries'. A functor is any of the following: a variable, a functor material property, a function, a postprocessor or a number.

  • boundary_temperaturesFunctors to compute the heat flux on each boundary in 'fixed_temperature_boundaries'. A functor is any of the following: a variable, a functor material property, a function, a postprocessor or a number.

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

    Unit:(no unit assumed)

    Controllable:No

    Description:Functors to compute the heat flux on each boundary in 'fixed_temperature_boundaries'. A functor is any of the following: a variable, a functor material property, a function, a postprocessor or a number.

  • fixed_temperature_boundariesBoundaries on which to apply a fixed temperature

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

    Controllable:No

    Description:Boundaries on which to apply a fixed temperature

  • heat_flux_boundariesBoundaries on which to apply a heat flux

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

    Controllable:No

    Description:Boundaries on which to apply a heat flux

  • insulated_boundariesBoundaries on which to apply a zero heat flux

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

    Controllable:No

    Description:Boundaries on which to apply a zero heat flux

Thermal Boundaries Parameters

  • cp_solidcp_solidSpecific heat functor. A functor is any of the following: a variable, a functor material property, a function, a postprocessor or a number.

    Default:cp_solid

    C++ Type:MooseFunctorName

    Unit:(no unit assumed)

    Controllable:No

    Description:Specific heat functor. A functor is any of the following: a variable, a functor material property, a function, a postprocessor or a number.

  • rho_solidrho_solidDensity functor. A functor is any of the following: a variable, a functor material property, a function, a postprocessor or a number.

    Default:rho_solid

    C++ Type:MooseFunctorName

    Unit:(no unit assumed)

    Controllable:No

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

  • thermal_conductivity_blocksBlocks which each thermal conductivity is defined

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

    Controllable:No

    Description:Blocks which each thermal conductivity is defined

  • thermal_conductivity_solidThermal conductivity, which may have different names depending on the subdomain. A functor is any of the following: a variable, a functor material property, a function, a postprocessor or a number.

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

    Unit:(no unit assumed)

    Controllable:No

    Description:Thermal conductivity, which may have different names depending on the subdomain. A functor is any of the following: a variable, a functor material property, a function, a postprocessor or a number.

Material Properties Parameters

  • density_functorDensity functor. A functor is any of the following: a variable, a functor material property, a function, a postprocessor or a number.

    C++ Type:MooseFunctorName

    Unit:(no unit assumed)

    Controllable:No

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

  • specific_heat_functorSpecific heat functor. A functor is any of the following: a variable, a functor material property, a function, a postprocessor or a number.

    C++ Type:MooseFunctorName

    Unit:(no unit assumed)

    Controllable:No

    Description:Specific heat functor. A functor is any of the following: a variable, a functor material property, a function, a postprocessor or a number.

Thermal Properties Parameters

  • dont_create_aux_kernelsFalseWhether to skip the 'add_aux_kernel' task

    Default:False

    C++ Type:bool

    Controllable:No

    Description:Whether to skip the 'add_aux_kernel' task

  • dont_create_aux_variablesFalseWhether to skip the 'add_aux_variable' task

    Default:False

    C++ Type:bool

    Controllable:No

    Description:Whether to skip the 'add_aux_variable' task

  • dont_create_bcsFalseWhether to skip the 'add_bc' task for each boundary condition type

    Default:False

    C++ Type:bool

    Controllable:No

    Description:Whether to skip the 'add_bc' task for each boundary condition type

  • dont_create_correctorsFalseWhether to skip the 'add_correctors' task

    Default:False

    C++ Type:bool

    Controllable:No

    Description:Whether to skip the 'add_correctors' task

  • dont_create_functionsFalseWhether to skip the 'add_function' task

    Default:False

    C++ Type:bool

    Controllable:No

    Description:Whether to skip the 'add_function' task

  • dont_create_icsFalseWhether to skip the 'add_ic'/'add_fv_ic/add_ics_physics' task(s)

    Default:False

    C++ Type:bool

    Controllable:No

    Description:Whether to skip the 'add_ic'/'add_fv_ic/add_ics_physics' task(s)

  • dont_create_kernelsFalseWhether to skip the 'add_kernel' task for each kernel type

    Default:False

    C++ Type:bool

    Controllable:No

    Description:Whether to skip the 'add_kernel' task for each kernel type

  • dont_create_materialsFalseWhether to skip the 'add_material'/'add_materials_physics' task(s) for each material type

    Default:False

    C++ Type:bool

    Controllable:No

    Description:Whether to skip the 'add_material'/'add_materials_physics' task(s) for each material type

  • dont_create_postprocessorsFalseWhether to skip the 'add_postprocessors' task

    Default:False

    C++ Type:bool

    Controllable:No

    Description:Whether to skip the 'add_postprocessors' task

  • dont_create_solver_variablesFalseWhether to skip the 'add_variable'/'add_variables_physics' task(s)

    Default:False

    C++ Type:bool

    Controllable:No

    Description:Whether to skip the 'add_variable'/'add_variables_physics' task(s)

  • dont_create_user_objectsFalseWhether to skip the 'add_user_object' task. This does not apply to UserObject derived classes being created on a different task (for example: postprocessors, VPPs, correctors)

    Default:False

    C++ Type:bool

    Controllable:No

    Description:Whether to skip the 'add_user_object' task. This does not apply to UserObject derived classes being created on a different task (for example: postprocessors, VPPs, correctors)

  • dont_create_vectorpostprocessorsFalseWhether to skip the 'add_vectorpostprocessors' task

    Default:False

    C++ Type:bool

    Controllable:No

    Description:Whether to skip the 'add_vectorpostprocessors' task

Reduce Physics Object Creation Parameters

  • external_heat_sourceThe name of a functor which contains the external heat source for the energy equation. A functor is any of the following: a variable, a functor material property, a function, a postprocessor or a number.

    C++ Type:MooseFunctorName

    Unit:(no unit assumed)

    Controllable:No

    Description:The name of a functor which contains the external heat source for the energy equation. A functor is any of the following: a variable, a functor material property, a function, a postprocessor or a number.

  • external_heat_source_blocksThe blocks where the heat source is present.

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

    Controllable:No

    Description:The blocks where the heat source is present.

  • external_heat_source_coeff1Multiplier for the coupled heat source term.

    Default:1

    C++ Type:Real

    Unit:(no unit assumed)

    Controllable:No

    Description:Multiplier for the coupled heat source term.

Solid Porous Medium Heat Source Parameters

  • initial_from_file_timestepLATESTGives the time step number (or "LATEST") for which to read the Exodus solution

    Default:LATEST

    C++ Type:std::string

    Controllable:No

    Description:Gives the time step number (or "LATEST") for which to read the Exodus solution

  • initialize_variables_from_mesh_fileFalseDetermines if the variables that are added by the action are initializedfrom the mesh file (only for Exodus format)

    Default:False

    C++ Type:bool

    Controllable:No

    Description:Determines if the variables that are added by the action are initializedfrom the mesh file (only for Exodus format)

Restart From Exodus Parameters

  • system_namessolid_energy_system Name of the solver system(s) for the variables. If a single name is specified, that system is used for all solver variables.

    Default:solid_energy_system

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

    Controllable:No

    Description:Name of the solver system(s) for the variables. If a single name is specified, that system is used for all solver variables.

  • use_nonorthogonal_correctionTrueWhether to use a non-orthogonal correction. This can potentially slow down convergence, but reduces numerical dispersion on non-orthogonal meshes. Can be safely turned off on orthogonal meshes.

    Default:True

    C++ Type:bool

    Controllable:No

    Description:Whether to use a non-orthogonal correction. This can potentially slow down convergence, but reduces numerical dispersion on non-orthogonal meshes. Can be safely turned off on orthogonal meshes.

Numerical Scheme Parameters