Main Page   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Namespace Members   Compound Members   File Members  

csfl::IEquationMomentumV Class Reference

#include <momentum_v.h>

Inheritance diagram for csfl::IEquationMomentumV::

csfl::IEquationSinflow csfl::IEquation csfl::ISFLObject List of all members.

Public Methods

 IEquationMomentumV (const IString &_name, IGrid *_grid, IContainerBCond *_contBCond, IContainerParameter *_contParam, IFieldScalar *_pre=NULL, IFieldVector *_vel=NULL, IFieldScalar *_T=NULL, TEquationType _et=etMomV, bool _isThermal=false, bool _isCompressible=false)
 IEquationMomentumV (IEquationMomentumV *_e)
 ~IEquationMomentumV ()
void SetTemperature (IFieldScalar *)
void SetTReference (double _v)
void SetTReferenceasAverageT (bool _b)
IFieldScalarPressure ()
void SetPressure (IFieldScalar *_pre)
void SetVelocity (Vector *_v)
void SetFieldVelocity (IFieldVector *)
void SetBoundaryConditions ()
void SetCoefficients (double)
double AverageTemperature ()
IParamPhysicalMi ()
IParamPhysicalRho ()
void SetProblemType (bool _v)
bool IsThermalProblem ()
void SetFaceVelBCondInlet (IFieldVectorFace *_fvel, IFieldVector *_vel)

Protected Methods

void SetupParameters ()
void SetupParametersSolidBlocks ()
void CalculateSourceTerm (double, int, int)
double Phi (const IPoint &)
double GammaPhi (const IPoint &, TDirection=diNULL)
void SetBCondEdges ()
void SetBCondNorth ()
void SetBCondSouth ()
void SetBCondEast ()
void SetBCondWest ()

Protected Attributes

IParamPhysicalmi
IParamPhysicalrho
IParamPhysicalg
IParamPhysicalbeta
IFieldScalarpre
IFieldScalarT
IFieldScalarT0
double Tref
bool isThermal
bool calculateTref
bool isCompressible

Detailed Description

Classe responsável pela manipulação da equação da conservação da quantidade de movimento na direção v.


Constructor & Destructor Documentation

csfl::IEquationMomentumV::IEquationMomentumV ( const IString & _name,
IGrid * _grid,
IContainerBCond * _contBCond,
IContainerParameter * _contParam,
IFieldScalar * _pre = NULL,
IFieldVector * _vel = NULL,
IFieldScalar * _T = NULL,
TEquationType _et = etMomV,
bool _isThermal = false,
bool _isCompressible = false )
 

O argumento “_grid“ representa a malha sobre a qual se aplica a equação, “_contBCond“ representa o conjunto de condições de contorno da equação, “_contParam“ representa o conjunto de parâmetros físicos e numéricos, “_pre“ representa o campo de pressão inicial, “_vel“ representa o campo de velocidade inicial, “_T“ representa o campo de temperatura inicial, “_isThermal“ define se o problema é um problema térmico, ou seja, se utilizará da aprox. de Boussinesq.

csfl::IEquationMomentumV::IEquationMomentumV ( IEquationMomentumV * _e )
 

csfl::IEquationMomentumV::~IEquationMomentumV ( )
 


Member Function Documentation

double csfl::IEquationMomentumV::AverageTemperature ( )
 

Calcula a temperatura média (ponderada pela área dos volumes de controle).

void csfl::IEquationMomentumV::CalculateSourceTerm ( double,
int,
int ) [protected]
 

double csfl::IEquationMomentumV::GammaPhi ( const IPoint &,
TDirection = diNULL ) [protected, virtual]
 

Reimplemented from csfl::IEquationSinflow.

bool csfl::IEquationMomentumV::IsThermalProblem ( ) [inline]
 

Retorna verdadeiro se a equação utiliza aproximação de Boussinesq.

IParamPhysical * csfl::IEquationMomentumV::Mi ( ) [inline]
 

Retorna um ponteiro para o local da memória aonde está alocado o campo de valores da viscosidade absoluta.

double csfl::IEquationMomentumV::Phi ( const IPoint & ) [protected]
 

IFieldScalar * csfl::IEquationMomentumV::Pressure ( ) [inline]
 

Retorna um ponteiro para o local da memória aonde está alocado o campo de pressão da equação.

IParamPhysical * csfl::IEquationMomentumV::Rho ( ) [inline]
 

Retorna um ponteiro para o local da memória aonde está alocado o campo de valores da massa específica.

void csfl::IEquationMomentumV::SetBCondEast ( ) [protected, virtual]
 

Reimplemented from csfl::IEquationSinflow.

void csfl::IEquationMomentumV::SetBCondEdges ( ) [protected, virtual]
 

Reimplemented from csfl::IEquationSinflow.

void csfl::IEquationMomentumV::SetBCondNorth ( ) [protected, virtual]
 

Reimplemented from csfl::IEquationSinflow.

void csfl::IEquationMomentumV::SetBCondSouth ( ) [protected, virtual]
 

Reimplemented from csfl::IEquationSinflow.

void csfl::IEquationMomentumV::SetBCondWest ( ) [protected, virtual]
 

Reimplemented from csfl::IEquationSinflow.

void csfl::IEquationMomentumV::SetBoundaryConditions ( ) [virtual]
 

Impõe as condições de contorno para os volumes fictícios.

Reimplemented from csfl::IEquationSinflow.

void csfl::IEquationMomentumV::SetCoefficients ( double _timestep ) [virtual]
 

Define os coeficientes da matriz A do sistema linear A.X = B.

Reimplemented from csfl::IEquationSinflow.

void csfl::IEquationMomentumV::SetFaceVelBCondInlet ( IFieldVectorFace * _fvel,
IFieldVector * _vel )
 

Define a velocidade em cada fronteira do domínio (no campo “_fvel“) de acordo com a condição de contorno Inlet (se houver).

void csfl::IEquationMomentumV::SetFieldVelocity ( IFieldVector * _v ) [virtual]
 

Define um novo campo de velocidade.

Reimplemented from csfl::IEquationSinflow.

void csfl::IEquationMomentumV::SetPressure ( IFieldScalar * _pre )
 

Muda o campo de pressão atual. O argumento “_pre” define o novo campo de pressão.

void csfl::IEquationMomentumV::SetProblemType ( bool _v ) [inline]
 

Define se a equação utiliza aproximação de Boussinesq.

void csfl::IEquationMomentumV::SetTReference ( double _v ) [inline]
 

Define uma temperatura de referência utilizada na aproximação de Boussinesq.

void csfl::IEquationMomentumV::SetTReferenceasAverageT ( bool _b ) [inline]
 

Define a temperatura de referência utilizada na aproximação de Boussinesq como sendo a média (ponderada pela área dos volumes de controle) das temperaturas do domínio.

void csfl::IEquationMomentumV::SetTemperature ( IFieldScalar * )
 

Atualiza o campo de temperaturas.

void csfl::IEquationMomentumV::SetVelocity ( Vector * _v ) [virtual]
 

Define um novo valor de velocidades v a partir do vetor “_v” solução do sistema linear.

Reimplemented from csfl::IEquationSinflow.

void csfl::IEquationMomentumV::SetupParameters ( ) [protected, virtual]
 

Reimplemented from csfl::IEquationSinflow.

void csfl::IEquationMomentumV::SetupParametersSolidBlocks ( ) [protected, virtual]
 

Reimplemented from csfl::IEquationSinflow.


Member Data Documentation

IFieldScalar * csfl::IEquationMomentumV::T [protected]
 

IFieldScalar * csfl::IEquationMomentumV::T0 [protected]
 

double csfl::IEquationMomentumV::Tref [protected]
 

IParamPhysical * csfl::IEquationMomentumV::beta [protected]
 

bool csfl::IEquationMomentumV::calculateTref [protected]
 

IParamPhysical * csfl::IEquationMomentumV::g [protected]
 

bool csfl::IEquationMomentumV::isCompressible [protected]
 

bool csfl::IEquationMomentumV::isThermal [protected]
 

IParamPhysical * csfl::IEquationMomentumV::mi [protected]
 

IFieldScalar * csfl::IEquationMomentumV::pre [protected]
 

IParamPhysical * csfl::IEquationMomentumV::rho [protected]
 


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

 

CFD Project | Documents | Downloads | Contact us | Use Terms

 

© SINMEC/EMC/UFSC, 2001.

All rights reserved.

Last Update: Jan. 18, 2002

 Webmaster