hexed 0.3.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<> state) override
 prescribes the total energy at the wall as a function of the current state
 
double ghost_heat_flux (Mat<> 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.
 

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<> state)
inlineoverridevirtual

prescribes the total energy at the wall as a function of the current state

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