https://mooseframework.inl.gov
Loading...
Searching...
No Matches
PNSFVSolidHeatTransferPhysics.h
Go to the documentation of this file.
1//* This file is part of the MOOSE framework
2//* https://mooseframework.inl.gov
3//*
4//* All rights reserved, see COPYRIGHT for full restrictions
5//* https://github.com/idaholab/moose/blob/master/COPYRIGHT
6//*
7//* Licensed under LGPL 2.1, please see LICENSE for details
8//* https://www.gnu.org/licenses/lgpl-2.1.html
9
10#pragma once
11
12#include "HeatConductionFV.h"
13#include "NS.h"
14
19{
20public:
22
24
25protected:
26 virtual void addSolverVariables() override;
27 virtual void addFVKernels() override;
28 virtual void addMaterials() override;
29
30 // Note that we inherit:
31 // - addInitialConditions from HeatConductionPhysicsBase
32 // - addPreconditioning from HeatConductionPhysicsBase
33 // - addFVBCs from HeatConductionFV
34
35 virtual InputParameters getAdditionalRMParams() const override;
36
40
43
46
48 const NonlinearVariableName _solid_temperature_name;
50 const NonlinearVariableName _fluid_temperature_name;
52 const MooseFunctorName _porosity_name;
54 const MooseFunctorName _density_name;
56 const MooseFunctorName _specific_heat_name;
58 std::vector<std::vector<SubdomainName>> _thermal_conductivity_blocks;
60 std::vector<MooseFunctorName> _thermal_conductivity_name;
61
63 std::vector<std::vector<SubdomainName>> _ambient_convection_blocks;
65 std::vector<MooseFunctorName> _ambient_convection_alpha;
67 std::vector<MooseFunctorName> _ambient_temperature;
68
69private:
77};
Creates all the objects needed to solve the heat conduction equations with a finite volume discretiza...
const InputParameters & parameters() const
Creates all the objects needed to solve the porous media solid energy equation.
const MooseFunctorName _porosity_name
Name of the porosity functor (usually material property)
const NonlinearVariableName _fluid_temperature_name
Fluid temperature name.
std::vector< MooseFunctorName > _thermal_conductivity_name
Name of the thermal conductivity functor for each block-group.
std::vector< MooseFunctorName > _ambient_temperature
Name of the solid domain temperature for each block-group.
std::vector< std::vector< SubdomainName > > _ambient_convection_blocks
Vector of subdomain groups where we want to have different ambient convection.
bool processThermalConductivity()
Process thermal conductivity (multiple functor input options are available).
std::vector< std::vector< SubdomainName > > _thermal_conductivity_blocks
Vector of subdomain groups where we want to have different thermal conduction.
virtual InputParameters getAdditionalRMParams() const override
const NonlinearVariableName _solid_temperature_name
Solid temperature name.
const MooseFunctorName _specific_heat_name
Name of the specific heat functor (usually material property)
std::vector< MooseFunctorName > _ambient_convection_alpha
Name of the ambient convection heat transfer coefficients for each block-group.
const MooseFunctorName _density_name
Name of the density functor (usually material property)
void addPINSSolidEnergyTimeKernels()
Functions adding kernels for the solid energy equation.
void checkAmbientConvectionParameters() const
Check the number of ambient convection heat transfer coefficients against the blocks.
void checkFluidAndSolidHeatTransferPhysicsParameters() const
Battery of additional checks on parameters.