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

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

#include <Boundary_condition.hpp>

Inheritance diagram for hexed::Prescribed_heat_flux:
hexed::Thermal_bc

Public Member Functions

 Prescribed_heat_flux (double h=0.)
 
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<>, double) override
 prescribes the wall heat flux as a function of the state and current heat flux
 

Public Attributes

double heat_flux
 

Detailed Description

prescribes the heat flux but doesn't touch the energy

setting the heat flux to 0 gives you an adiabatic BC

Member Function Documentation

◆ ghost_energy()

double hexed::Prescribed_heat_flux::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::Prescribed_heat_flux::ghost_heat_flux ( Mat<> scalar_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: