hexed 0.4.0
 
Loading...
Searching...
No Matches
hexed::Thermal_equilibrium Class Reference

stipulates that the wall is in thermal equilibrium based on a 1D heat equation More...

#include <Boundary_condition.hpp>

Inheritance diagram for hexed::Thermal_equilibrium:
hexed::Thermal_bc

Public Member Functions

double ghost_energy (Mat<> scalar_state) override
 Prescribes the total energy at the wall as a function of the current state.
 
double ghost_heat_flux (Mat<> scalar_state, double) override
 prescribes the wall heat flux as a function of the state and current heat flux
 

Public Attributes

double emissivity = 0.
 
double heat_transfer_coef = 0.
 
double temperature = 0.
 
double heat_rat = std::nan("")
 

Detailed Description

stipulates that the wall is in thermal equilibrium based on a 1D heat equation

The default values of all zeros gives you an adiabatic wall.

See also
thermal equilibrium BC

Member Function Documentation

◆ ghost_energy()

double hexed::Thermal_equilibrium::ghost_energy ( Mat<> scalar_state)
inlineoverridevirtual

Prescribes the total energy at the wall as a function of the current state.

scalar_state should include all the state variables from density onwards (skipping the momentum).

Note
might give you back the current energy if this is a Neumann BC

Implements hexed::Thermal_bc.

◆ ghost_heat_flux()

double hexed::Thermal_equilibrium::ghost_heat_flux ( Mat<> scalar_state,
double heat_flux )
overridevirtual

prescribes the wall heat flux as a function of the state and current heat flux

Note
might give you back the current heat flux if this is a Dirichlet BC

Implements hexed::Thermal_bc.


The documentation for this class was generated from the following files: