Convection diffusion settings. This class contains information to be used by the convection diffusion solver, all the variables that will be needed by the solver.
More...
|
|
| KRATOS_CLASS_POINTER_DEFINITION (ConvectionDiffusionSettings) |
| Pointer definition of ConvectionDiffusionSettings. More...
|
|
|
| ConvectionDiffusionSettings ()=default |
| Default constructor. More...
|
|
| ConvectionDiffusionSettings (const ConvectionDiffusionSettings &rOther) |
|
virtual | ~ConvectionDiffusionSettings () |
| Destructor. More...
|
|
|
void | SetDensityVariable (const Variable< double > &rvar) |
|
const Variable< double > & | GetDensityVariable () const |
|
bool | IsDefinedDensityVariable () const |
|
void | SetDiffusionVariable (const Variable< double > &rvar) |
|
const Variable< double > & | GetDiffusionVariable () const |
|
bool | IsDefinedDiffusionVariable () const |
|
void | SetUnknownVariable (const Variable< double > &rvar) |
|
const Variable< double > & | GetUnknownVariable () const |
|
bool | IsDefinedUnknownVariable () const |
|
void | SetVolumeSourceVariable (const Variable< double > &rvar) |
|
const Variable< double > & | GetVolumeSourceVariable () const |
|
bool | IsDefinedVolumeSourceVariable () const |
|
void | SetSurfaceSourceVariable (const Variable< double > &rvar) |
|
const Variable< double > & | GetSurfaceSourceVariable () const |
|
bool | IsDefinedSurfaceSourceVariable () const |
|
void | SetProjectionVariable (const Variable< double > &rvar) |
|
const Variable< double > & | GetProjectionVariable () const |
|
bool | IsDefinedProjectionVariable () const |
|
void | SetConvectionVariable (const Variable< array_1d< double, 3 > > &rvar) |
|
const Variable< array_1d< double, 3 > > & | GetConvectionVariable () const |
|
bool | IsDefinedConvectionVariable () const |
|
void | SetGradientVariable (const Variable< array_1d< double, 3 > > &rvar) |
|
const Variable< array_1d< double, 3 > > & | GetGradientVariable () const |
|
bool | IsDefinedGradientVariable () const |
|
void | SetMeshVelocityVariable (const Variable< array_1d< double, 3 > > &rvar) |
|
const Variable< array_1d< double, 3 > > & | GetMeshVelocityVariable () const |
|
bool | IsDefinedMeshVelocityVariable () const |
|
void | SetTransferCoefficientVariable (const Variable< double > &rvar) |
|
const Variable< double > & | GetTransferCoefficientVariable () const |
|
bool | IsDefinedTransferCoefficientVariable () const |
|
void | SetVelocityVariable (const Variable< array_1d< double, 3 > > &rvar) |
|
const Variable< array_1d< double, 3 > > & | GetVelocityVariable () const |
|
bool | IsDefinedVelocityVariable () const |
|
void | SetSpecificHeatVariable (const Variable< double > &rvar) |
|
const Variable< double > & | GetSpecificHeatVariable () const |
|
bool | IsDefinedSpecificHeatVariable () const |
|
void | SetReactionVariable (const Variable< double > &rvar) |
|
const Variable< double > & | GetReactionVariable () const |
|
bool | IsDefinedReactionVariable () const |
|
void | SetReactionGradientVariable (const Variable< array_1d< double, 3 >> &rVar) |
|
const Variable< array_1d< double, 3 > > & | GetReactionGradientVariable () const |
|
bool | IsDefinedReactionGradientVariable () const |
|
|
|
ConvectionDiffusionSettings & | operator= (ConvectionDiffusionSettings const &rOther) |
|
|
virtual std::string | Info () const |
| Turn back information as a string. More...
|
|
virtual void | PrintInfo (std::ostream &rOStream) const |
| Print information about this object. More...
|
|
virtual void | PrintData (std::ostream &rOStream) const |
| Print object's data. More...
|
|
Convection diffusion settings. This class contains information to be used by the convection diffusion solver, all the variables that will be needed by the solver.
All the variables needed by any convection diffusion problem are included here. However, many problems do not require such a large amount of variables. For those cases, variables that are not defined will be set to either zero or one (depending on the variable) For this purpose, there are flags to ask whether a variable has been defined or not. For each variable, there are three main functions. SetVariableforXuse: we assign the variable for this use. When doing that we also set the flag that now this variable has been defined. GetVariableforXuse: we return the variable for this use. IsDefinedVariableforXuse: tells whether that variable has been defined or not.