Memosa-FVM  0.2
COMETBC< T > Struct Template Reference

#include <COMETBC.h>

Inheritance diagram for COMETBC< T >:
Collaboration diagram for COMETBC< T >:

Public Member Functions

 COMETBC ()
 
 COMETBC ()
 
- Public Member Functions inherited from FloatVarDict< T >
bool hasVar (const string varName) const
 
operator[] (const string varName) const
 
bool isField (const string varName) const
 
FieldgetField (const string varName) const
 
FloatVal< T > getVal (const string varName) const
 

Public Attributes

string bcType
 
string InterfaceModel
 

Additional Inherited Members

- Public Types inherited from FloatVarDict< T >
typedef map< string, FloatVal
< T > > 
T_Parent
 
- Protected Member Functions inherited from FloatVarDict< T >
void defineVar (const string varName, const T defaultValue)
 

Detailed Description

template<class T>
struct COMETBC< T >

Definition at line 13 of file esbgkbase/COMETBC.h.

Constructor & Destructor Documentation

template<class T>
COMETBC< T >::COMETBC ( )
inline

Definition at line 15 of file esbgkbase/COMETBC.h.

References FloatVarDict< T >::defineVar().

16  {
17  this->defineVar("specifiedXVelocity",T(0.00));
18  this->defineVar("specifiedYVelocity",T(0.0));
19  this->defineVar("specifiedZVelocity",T(0.0));
20  this->defineVar("specifiedPressure",T(1.0));
21  this->defineVar("specifiedDensity",T(1.0));
22  this->defineVar("specifiedTemperature",T(1.0));
23  this->defineVar("accommodationCoefficient",T(1.0));
24  this->defineVar("specifiedMassFlowRate",T(1.0));
25  this->defineVar("specifiedTauxx",T(1.0));
26  this->defineVar("specifiedTauyy",T(1.0));
27  this->defineVar("specifiedTauzz",T(1.0));
28  this->defineVar("specifiedTauxy",T(0.0));
29  this->defineVar("specifiedTauyz",T(0.0));
30  this->defineVar("specifiedTauzx",T(0.0));
31  }
void defineVar(const string varName, const T defaultValue)
Definition: FloatVarDict.h:94
template<class T>
COMETBC< T >::COMETBC ( )
inline

Definition at line 15 of file phononbase/COMETBC.h.

References COMETBC< T >::bcType, FloatVarDict< T >::defineVar(), and COMETBC< T >::InterfaceModel.

16  {
17  this->defineVar("specifiedTemperature",T(300.0));
18  this->defineVar("specifiedReflection",T(0.0));
19  this->defineVar("FullyImplicit",false);
20  this->InterfaceModel="DMM";
21  this->bcType="temperature"; //-- if it is not specified, default is interface
22  }
void defineVar(const string varName, const T defaultValue)
Definition: FloatVarDict.h:94
string InterfaceModel
string bcType

Member Data Documentation

template<class T>
string COMETBC< T >::InterfaceModel

Definition at line 24 of file phononbase/COMETBC.h.

Referenced by COMETBC< T >::COMETBC().


The documentation for this struct was generated from the following file: