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

#include <dv_ygas.h>

Inheritance diagram for dv_ygas:
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_ygas ()
 
 dv_ygas (domain *line, const string s, const bool Lt, const bool Lo=true)
 
virtual ~dv_ygas ()
 
- 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 kMe
 index of this spc in list: 0 to nspc-1; set from var_name
 
double aP
 
double aP_x
 

Static Private Attributes

static int nspc
 number of gas species
 

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_ygas of parent lv object.

Author
David O. Lignell

Definition at line 23 of file dv_ygas.h.

Constructor & Destructor Documentation

◆ dv_ygas() [1/2]

dv_ygas::dv_ygas ( )
inline

Definition at line 55 of file dv_ygas.h.

◆ dv_ygas() [2/2]

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

dv_ygas constructor function

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

Definition at line 29 of file dv_ygas.cc.

◆ ~dv_ygas()

virtual dv_ygas::~dv_ygas ( )
inlinevirtual

Definition at line 61 of file dv_ygas.h.

Member Function Documentation

◆ getRhsMix()

void dv_ygas::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 117 of file dv_ygas.cc.

◆ getRhsSrc()

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

lv source term part of the rhs function

Parameters
iptinput: optional point to compute source at. Gas temperature needs to be set to use problem specific RR

Reimplemented from dv.

Reimplemented in dv_ygas_noRxn.

Definition at line 57 of file dv_ygas.cc.

◆ setFlux()

void dv_ygas::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 145 of file dv_ygas.cc.

Member Data Documentation

◆ aP

double dv_ygas::aP
private

Definition at line 34 of file dv_ygas.h.

◆ aP_x

double dv_ygas::aP_x
private

Definition at line 35 of file dv_ygas.h.

◆ kMe

int dv_ygas::kMe
private

index of this spc in list: 0 to nspc-1; set from var_name

Definition at line 32 of file dv_ygas.h.

◆ nspc

int dv_ygas::nspc
staticprivate

number of gas species

Definition at line 30 of file dv_ygas.h.


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