LifeV
lifev/eta/examples/vortex_shedding/main.cpp File Reference
+ Include dependency graph for lifev/eta/examples/vortex_shedding/main.cpp:

Go to the source code of this file.

Data Structures

class  NormalizeFct
 
class  NormFct
 

Namespaces

 anonymous_namespace{main.cpp}
 

Macros

#define SUPG_TEST   value(TauM) * h_K * (grad(phi_i) * value(ETuFESpace, *velocityExtrapolated))
 
#define VMS_TEST   value(TauM) * h_K * (transpose(grad(phi_i)) * value(ETuFESpace, *velocityExtrapolated))
 
#define PSPG_TEST   value(TauM) * h_K * grad(phi_i)
 
#define DIVDIV_TEST   value(TauC) * h_K * div(phi_i)
 
#define RES_MOMENTUM   grad(phi_j) * value(ETuFESpace, *velocityExtrapolated) * density + value(alpha) * density * phi_j
 
#define RES_MASS   div(phi_j)
 
#define RES_PRESSURE   grad(phi_j)
 
#define RESIDUAL_EXPLICIT   value(TauM) * h_K * value(ETuFESpace, *residualVector)
 

Typedefs

typedef MatrixEpetraStructured< Realmatrix_block_type
 
typedef VectorBlockMonolithicEpetra vector_block_type
 
typedef std::shared_ptr< VectorBlockMonolithicEpetravector_blockPtr_type
 
typedef ETFESpace< mesh_Type, MapEpetra, 3, 3 > etaUspace_Type
 
typedef std::shared_ptr< ETFESpace< mesh_Type, MapEpetra, 3, 3 > > etaUspacePtr_Type
 
typedef ETFESpace< mesh_Type, MapEpetra, 3, 1 > etaPspace_Type
 
typedef std::shared_ptr< ETFESpace< mesh_Type, MapEpetra, 3, 1 > > etaPspacePtr_Type
 

Enumerations

enum  DiffusionType { ViscousStress, StiffStrain, ViscousStress, StiffStrain }
 
enum  MeshType { RegularMesh, File, RegularMesh, File }
 
enum  InitType { Interpolation, Projection, Interpolation, Projection }
 
enum  ConvectionType { Explicit, Explicit, KIO91 }
 
enum  StabilizationType { None, VMS, IP }
 

Functions

Real fluxFunction (const Real &t, const Real &, const Real &, const Real &, const ID &)
 
Real zeroFunction (const Real &, const Real &, const Real &, const Real &, const ID &)
 
Real inflowFunction (const Real &t, const Real &, const Real &, const Real &, const ID &i)
 
int main (int argc, char **argv)
 

Detailed Description

Macro Definition Documentation

◆ SUPG_TEST

#define SUPG_TEST   value(TauM) * h_K * (grad(phi_i) * value(ETuFESpace, *velocityExtrapolated))

◆ VMS_TEST

#define VMS_TEST   value(TauM) * h_K * (transpose(grad(phi_i)) * value(ETuFESpace, *velocityExtrapolated))

◆ PSPG_TEST

#define PSPG_TEST   value(TauM) * h_K * grad(phi_i)

◆ DIVDIV_TEST

#define DIVDIV_TEST   value(TauC) * h_K * div(phi_i)

◆ RES_MOMENTUM

#define RES_MOMENTUM   grad(phi_j) * value(ETuFESpace, *velocityExtrapolated) * density + value(alpha) * density * phi_j

◆ RES_MASS

#define RES_MASS   div(phi_j)

◆ RES_PRESSURE

#define RES_PRESSURE   grad(phi_j)

◆ RESIDUAL_EXPLICIT

#define RESIDUAL_EXPLICIT   value(TauM) * h_K * value(ETuFESpace, *residualVector)

Function Documentation

◆ fluxFunction()

Real fluxFunction ( const Real t,
const Real ,
const Real ,
const Real ,
const ID  
)

Definition at line 114 of file lifev/eta/examples/vortex_shedding/main.cpp.

◆ zeroFunction()

Real zeroFunction ( const Real ,
const Real ,
const Real ,
const Real ,
const ID  
)

Definition at line 119 of file lifev/eta/examples/vortex_shedding/main.cpp.

◆ inflowFunction()

Real inflowFunction ( const Real t,
const Real ,
const Real ,
const Real ,
const ID i 
)

Definition at line 124 of file lifev/eta/examples/vortex_shedding/main.cpp.

◆ main()

int main ( int  argc,
char **  argv 
)

Definition at line 180 of file lifev/eta/examples/vortex_shedding/main.cpp.