72 virtual bool enabled()
const override final;
121 std::vector<std::vector<FaceCenteredMapFunctor<Real, std::unordered_map<dof_id_type, Real>>>>
129 std::vector<std::vector<FaceCenteredMapFunctor<Real, std::unordered_map<dof_id_type, Real>>>>
std::vector< unsigned int > _cht_system_numbers
The solid (0) and fluid (1) system numbers.
void updateCHTBoundaryCouplingFields(const NS::CHTSide side)
Update the coupling fields for.
This class provides an interface for managing conjugate heat transfer (CHT) between fluid and solid d...
std::vector< BoundaryID > _cht_boundary_ids
The IDs of the CHT boundaries.
FEProblemBase & _problem
Reference to FEProblem.
void resetIntegratedFluxes()
Reset the heat fluxes to 0.
const InputParameters & parameters() const
void printIntegratedFluxes() const
Print the integrated heat fluxes.
void initializeCHTCouplingFields()
Initialize the coupling fields for the conjugate heat transfer routines.
SystemBase * _energy_system
The energy system.
void setupConjugateHeatTransferContainers()
Set up the boundary condition pairs, functor maps, and every other necessary structure for the conjug...
std::vector< std::vector< FaceCenteredMapFunctor< Real, std::unordered_map< dof_id_type, Real > > > > _boundary_temperature
Functors describing the heat flux on the conjugate heat transfer interfaces.
void resetCHTConvergence()
Reset the convergence data.
std::vector< std::vector< Real > > _integrated_boundary_heat_flux
Integrated flux for the boundaries, first index is the boundary second is solid/fluid.
void incrementCHTIterators()
Increment CHT iterators in the loop.
CHTSide
CHT side options, we want to make sure these can be used as integers so we are avoiding the enum clas...
unsigned int _fpi_it
CHT fixed point iteration counter.
void linkEnergySystems(SystemBase *solid_energy_system, SystemBase *fluid_energy_system)
Link energy systems.
bool converged() const
Check if CHT iteration converged.
std::vector< std::vector< const FaceInfo * > > _cht_face_info
The subset of the FaceInfo objects that belong to the given boundaries.
std::vector< std::vector< Real > > _cht_temperature_relaxation_factor
The relaxation factors for temperature fields for the CHT boundaries first index is solid/fluid secon...
const Real _cht_heat_flux_tolerance
Tolerance for heat flux at the CHT interfaces.
void sumIntegratedFluxes()
Sum the integrated fluxes over all processors.
SystemBase * _solid_energy_system
The solid energy system.
std::vector< std::vector< FaceCenteredMapFunctor< Real, std::unordered_map< dof_id_type, Real > > > > _boundary_heat_flux
Functors describing the heat flux on the conjugate heat transfer interfaces.
DIE A HORRIBLE DEATH HERE typedef LIBMESH_DEFAULT_SCALAR_TYPE Real
std::vector< BoundaryName > _cht_boundary_names
The names of the CHT boundaries.
void deduceCHTBoundaryCoupling()
Run error checks and make sure everything works.
virtual bool enabled() const override final
Check if CHT treatment is needed.
static InputParameters validParams()
std::vector< std::vector< LinearFVBoundaryCondition * > > _cht_boundary_conditions
Vector of boundary conditions that describe the conjugate heat transfer from each side...
std::vector< std::vector< Real > > _cht_flux_relaxation_factor
The relaxation factors for flux fields for the CHT boundaries first index is solid/fluid second is th...
std::vector< LinearFVFluxKernel * > _cht_conduction_kernels
The conduction kernels from the solid/fluid domains. Can't be const, considering we are updating the ...
const unsigned int _max_cht_fpi
Maximum number of CHT fixed point iterations.
CHTHandler(const InputParameters ¶meters)
Constructor with initialization parameters.