hexed 0.3.0
 
Loading...
Searching...
No Matches
hexed::Prescribed_energy Class Reference

prescribes the specific energy but doesn't touch the heat flux More...

#include <Boundary_condition.hpp>

Inheritance diagram for hexed::Prescribed_energy:
hexed::Thermal_bc

Public Member Functions

 Prescribed_energy (double e)
 
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<>, double heat_flux) override
 prescribes the wall heat flux as a function of the state and current heat flux
 

Public Attributes

double energy_per_mass
 

Detailed Description

prescribes the specific energy but doesn't touch the heat flux

can be used as an isothermal BC

Member Function Documentation

◆ ghost_energy()

double hexed::Prescribed_energy::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::Prescribed_energy::ghost_heat_flux ( Mat<> state,
double heat_flux )
inlineoverridevirtual

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