ODT
Loading...
Searching...
No Matches
Public Member Functions | Private Member Functions | Private Attributes | List of all members
dv_enth Class Reference

#include <dv_enth.h>

Inheritance diagram for dv_enth:
Inheritance graph
[legend]

Public Member Functions

virtual void getRhsSrc (const int ipt=-1)
 
virtual void getRhsMix (const vector< double > &gf, const vector< double > &dxc)
 
 dv_enth ()
 
 dv_enth (domain *line, const string s, const bool Lt, const bool Lo=true)
 
virtual ~dv_enth ()
 
- Public Member Functions inherited from dv
virtual void setVar (const int ipt=-1)
 
virtual void merge2cells (const int imrg, const double m2, const double m1, const bool LconstVolume=false)
 
virtual void splitCell (const int isplt, const int nsplt, const vector< double > &cellFaces)
 
virtual void interpVarToFacesHarmonic (const vector< double > &cvar, vector< double > &fvar)
 
virtual double linearInterpToFace (const int &iface, const vector< double > &vec)
 
virtual void setDvFromRegion (const int i1, const int i2)
 
virtual void resize ()
 
 dv ()
 
 dv (domain *line, const string s, const bool Lt, const bool Lo=true)
 
virtual ~dv ()
 

Private Member Functions

void setFlux (const vector< double > &gf, const vector< double > &dxc)
 

Private Attributes

int nspc
 
int iMe
 
radiation * rad
 
bool LdoSpeciesFlux
 

Additional Inherited Members

- Public Attributes inherited from dv
string var_name
 name of variable
 
vector< double > d
 the data
 
bool L_transported
 flag true if var is transported
 
bool L_output
 flag true if included in output
 
bool LagSrc
 flag to lag source term in implicit solve (initially put in for enthalpy radiation)
 
domaindomn
 pointer to domain object (parent)
 
vector< double > rhsSrc
 the data
 
vector< double > rhsMix
 the data
 
vector< double > flux
 

Detailed Description

Class implementing child dv_enth of parent lv object.

Author
David O. Lignell

Definition at line 24 of file dv_enth.h.

Constructor & Destructor Documentation

◆ dv_enth() [1/2]

dv_enth::dv_enth ( )
inline

Definition at line 52 of file dv_enth.h.

◆ dv_enth() [2/2]

dv_enth::dv_enth ( domain * line,
const string s,
const bool Lt,
const bool Lo = true )

dv_enth constructor function

Parameters
p_domninput: set domain pointer with.
p_phiinput: set vector pointer with.

Definition at line 22 of file dv_enth.cc.

◆ ~dv_enth()

virtual dv_enth::~dv_enth ( )
inlinevirtual

Definition at line 58 of file dv_enth.h.

Member Function Documentation

◆ getRhsMix()

void dv_enth::getRhsMix ( const vector< double > & gf,
const vector< double > & dxc )
virtual

lv mixing term part of the rhs function

Parameters
gfinput: grid geometric factor for derivatives
dxcinput: = \abs{\Delta(x^c)} Note: temperature variable should be set already. Note: species mass fluxes should be set already.

Reimplemented from dv.

Definition at line 111 of file dv_enth.cc.

◆ getRhsSrc()

void dv_enth::getRhsSrc ( const int ipt = -1)
virtual

lv source term part of the rhs function

Parameters
iptinput: optional point to compute source at. todo: add in pressure term: unsteady, and nonuniform.

Reimplemented from dv.

Definition at line 60 of file dv_enth.cc.

◆ setFlux()

void dv_enth::setFlux ( const vector< double > & gf,
const vector< double > & dxc )
private

lv set face fluxes

Parameters
gfinput: grid geometric factor for derivatives
dxcinput: = \abs{\Delta(x^c)}

Definition at line 139 of file dv_enth.cc.

Member Data Documentation

◆ iMe

int dv_enth::iMe
private

Definition at line 31 of file dv_enth.h.

◆ LdoSpeciesFlux

bool dv_enth::LdoSpeciesFlux
private

Definition at line 33 of file dv_enth.h.

◆ nspc

int dv_enth::nspc
private

Definition at line 30 of file dv_enth.h.

◆ rad

radiation* dv_enth::rad
private

Definition at line 32 of file dv_enth.h.


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