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

#include <dv_rho_mf.h>

Inheritance diagram for dv_rho_mf:
Inheritance graph
[legend]

Public Member Functions

virtual void setVar (const int ipt=-1)
 
virtual void merge2cells (const int imrg, const double m2, const double m1, const bool LconstVolume=false)
 
 dv_rho_mf ()
 
 dv_rho_mf (domain *line, const string s, const bool Lt, const bool Lo=true)
 
virtual ~dv_rho_mf ()
 
- Public Member Functions inherited from dv
virtual void splitCell (const int isplt, const int nsplt, const vector< double > &cellFaces)
 
virtual void getRhsSrc (const int ipt=-1)
 
virtual void getRhsMix (const vector< double > &gf, const vector< double > &dxc)
 
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 Attributes

double rho0
 read from input file (streams section)
 
double rho1
 read from input file (streams section)
 
double temp0
 read from input file (streams section)
 
double temp1
 read from input file (streams section)
 
double tempFlame
 read from input file (streams section)
 
double Zst
 read from input file (streams section)
 

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_rho_mf of parent lv object. Density is based on simple mixing between two streams with densities rho0, rho1 (Assumes ideal gas mixing with const MW, cp.)

Author
David O. Lignell

Definition at line 25 of file dv_rho_mf.h.

Constructor & Destructor Documentation

◆ dv_rho_mf() [1/2]

dv_rho_mf::dv_rho_mf ( )
inline

Definition at line 57 of file dv_rho_mf.h.

◆ dv_rho_mf() [2/2]

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

dv_rho_mf constructor function

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

Definition at line 17 of file dv_rho_mf.cc.

◆ ~dv_rho_mf()

virtual dv_rho_mf::~dv_rho_mf ( )
inlinevirtual

Definition at line 63 of file dv_rho_mf.h.

Member Function Documentation

◆ merge2cells()

void dv_rho_mf::merge2cells ( const int imrg,
const double m1,
const double m2,
const bool LconstVolume = false )
virtual

dv_rho_mf merger2cells function

Parameters
imrginput: merge cells imrg and imrg+1
imrginput: merge cells imrg and imrg+1
m1input: mass in cell imrg
m2input: mass in cell imrg
LconstVolumeinput: (for posf, default is false)

Reimplemented from dv.

Definition at line 60 of file dv_rho_mf.cc.

◆ setVar()

void dv_rho_mf::setVar ( const int ipt = -1)
virtual

dv_rho_mf setVar function

Parameters
iptinput: optional point to compute at

Reimplemented from dv.

Definition at line 74 of file dv_rho_mf.cc.

Member Data Documentation

◆ rho0

double dv_rho_mf::rho0
private

read from input file (streams section)

Definition at line 32 of file dv_rho_mf.h.

◆ rho1

double dv_rho_mf::rho1
private

read from input file (streams section)

Definition at line 33 of file dv_rho_mf.h.

◆ temp0

double dv_rho_mf::temp0
private

read from input file (streams section)

Definition at line 34 of file dv_rho_mf.h.

◆ temp1

double dv_rho_mf::temp1
private

read from input file (streams section)

Definition at line 35 of file dv_rho_mf.h.

◆ tempFlame

double dv_rho_mf::tempFlame
private

read from input file (streams section)

Definition at line 36 of file dv_rho_mf.h.

◆ Zst

double dv_rho_mf::Zst
private

read from input file (streams section)

Definition at line 37 of file dv_rho_mf.h.


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