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

Go to the source code of this file.

Data Structures

class  HeavisideFct
 
class  ViscosityFct
 
class  DensityFct
 
class  NormalizeFct
 
class  NormFct
 
class  SignFct
 
class  SmoothDeltaFct
 

Namespaces

 anonymous_namespace{main.cpp}
 

Macros

#define NORMAL_CORRECTION   1
 
#define VISCOSITY   eval(viscosity, value(ETlsFESpace,LSSolutionOld))
 
#define DENSITY   eval(density, value(ETlsFESpace,LSSolutionOld))
 
#define BOTTOM_LINE   1
 
#define TOP_LINE   2
 
#define BOTTOM   3
 
#define WALL   4
 
#define TOP   5
 
#define SUPG_TEST   value(NSSupg)*h_K * (grad(phi_i)*eval(normalize,value(ETuFESpace,velocitySolutionOld)))
 
#define PSPG_TEST   value(NSPspg)*h_K * grad(phi_i)
 
#define DIVDIV_TEST   value(NSdivdiv)*h_K*div(phi_i)
 
#define BETA   ( eval(sign, value(ETlsFESpace,LSSolutionOld) ) * eval(normalization, grad(ETlsFESpace,HJSolutionOld) ) )
 

Typedefs

typedef RegionMesh< LinearTetramesh_Type
 
typedef MatrixEpetraStructured< Realmatrix_block_type
 
typedef VectorBlockMonolithicEpetra vector_block_type
 
typedef MatrixEpetra< Realmatrix_type
 
typedef VectorEpetra vector_type
 

Functions

Real viscosityPlus (1e-3)
 
Real viscosityMinus (2e-5)
 
Real densityPlus (1000.0)
 
Real densityMinus (1.0)
 
Real liquidHeight (0.1)
 
Real cylinderRadius (0.144)
 
Real cylinderHeight (0.4)
 
Real alphaBL (3.0)
 
Real thetaInit (0.0)
 
Real omegaInit (0.0)
 
Real tRise (6.0)
 
Real omegaMax (2 *M_PI)
 
Real shakeRadius (0.1)
 
Real slipLength (0.05)
 
Real noSlipCoef (1e6)
 
Real viscosityRatio (50.0)
 
Real slipFriction (0.0)
 
Real NSSupg (1.0e-3)
 
Real NSPspg (1.0e-3)
 
Real NSdivdiv (5.0e2)
 
bool NormalizeCorrection (true)
 
Real LSSupg (5e-2)
 
UInt HJeach (1)
 
Real HJdt (2e-2)
 
Real HJtime (0.0)
 
Real HJfinalTime (HJdt)
 
Real HJsupg (5e-1)
 
Real HJpenal (1e5)
 
Real volumeRelaxation (0.5)
 
Real epsilonArea (0.05)
 
UInt exportEach (1)
 
Real initLSFct (const Real &, const Real &, const Real &, const Real &z, const ID &)
 
Real initVelocity (const Real &, const Real &, const Real &, const Real &, const ID &i)
 
Real zeroFct (const Real &, const Real &, const Real &, const Real &, const ID &)
 
Real oneFct (const Real &, const Real &, const Real &, const Real &, const ID &)
 
Real volumeForce (const Real &t, const Real &, const Real &, const Real &, const ID &i)
 
void displayMotionParameters (const Real &t)
 
Real volumeForce0 (const Real &t, const Real &x, const Real &y, const Real &z, const ID &)
 
Real volumeForce1 (const Real &t, const Real &x, const Real &y, const Real &z, const ID &)
 
Real volumeForce2 (const Real &t, const Real &x, const Real &y, const Real &z, const ID &)
 
Real normalDirection (const Real &, const Real &x, const Real &y, const Real &, const ID &i)
 
Real slipFct (Real ls)
 
void meshMap (Real &x, Real &y, Real &z)
 
int main (int argc, char **argv)
 

Variables

static bool regIF = (PRECFactory::instance().registerProduct ( "Ifpack", &createIfpack ) )
 
static bool regML = (PRECFactory::instance().registerProduct ( "ML", &createML ) )
 

Macro Definition Documentation

◆ NORMAL_CORRECTION

#define NORMAL_CORRECTION   1

Definition at line 90 of file lifev/eta/examples/example_biPhasic/main.cpp.

◆ VISCOSITY

#define VISCOSITY   eval(viscosity, value(ETlsFESpace,LSSolutionOld))

◆ DENSITY

#define DENSITY   eval(density, value(ETlsFESpace,LSSolutionOld))

◆ BOTTOM_LINE

#define BOTTOM_LINE   1

◆ TOP_LINE

#define TOP_LINE   2

◆ BOTTOM

#define BOTTOM   3

◆ WALL

#define WALL   4

◆ TOP

#define TOP   5

◆ SUPG_TEST

#define SUPG_TEST   value(NSSupg)*h_K * (grad(phi_i)*eval(normalize,value(ETuFESpace,velocitySolutionOld)))

◆ PSPG_TEST

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

◆ DIVDIV_TEST

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

◆ BETA

#define BETA   ( eval(sign, value(ETlsFESpace,LSSolutionOld) ) * eval(normalization, grad(ETlsFESpace,HJSolutionOld) ) )

Typedef Documentation

◆ mesh_Type

◆ matrix_block_type

◆ vector_block_type

◆ matrix_type

◆ vector_type

Function Documentation

◆ viscosityPlus()

Real viscosityPlus ( 1e-  3)
+ Here is the caller graph for this function:

◆ viscosityMinus()

Real viscosityMinus ( 2e-  5)
+ Here is the caller graph for this function:

◆ densityPlus()

Real densityPlus ( 1000.  0)
+ Here is the caller graph for this function:

◆ densityMinus()

Real densityMinus ( 1.  0)
+ Here is the caller graph for this function:

◆ liquidHeight()

Real liquidHeight ( 0.  1)
+ Here is the caller graph for this function:

◆ cylinderRadius()

Real cylinderRadius ( 0.  144)
+ Here is the caller graph for this function:

◆ cylinderHeight()

Real cylinderHeight ( 0.  4)
+ Here is the caller graph for this function:

◆ alphaBL()

Real alphaBL ( 3.  0)
+ Here is the caller graph for this function:

◆ thetaInit()

Real thetaInit ( 0.  0)
+ Here is the caller graph for this function:

◆ omegaInit()

Real omegaInit ( 0.  0)
+ Here is the caller graph for this function:

◆ tRise()

Real tRise ( 6.  0)
+ Here is the caller graph for this function:

◆ omegaMax()

Real omegaMax ( 2 *  M_PI)
+ Here is the caller graph for this function:

◆ shakeRadius()

Real shakeRadius ( 0.  1)
+ Here is the caller graph for this function:

◆ slipLength()

Real slipLength ( 0.  05)
+ Here is the caller graph for this function:

◆ noSlipCoef()

Real noSlipCoef ( 1e6  )
+ Here is the caller graph for this function:

◆ viscosityRatio()

Real viscosityRatio ( 50.  0)
+ Here is the caller graph for this function:

◆ slipFriction()

Real slipFriction ( 0.  0)
+ Here is the caller graph for this function:

◆ NSSupg()

Real NSSupg ( 1.0e-  3)

◆ NSPspg()

Real NSPspg ( 1.0e-  3)

◆ NSdivdiv()

Real NSdivdiv ( 5.  0e2)

◆ NormalizeCorrection()

bool NormalizeCorrection ( true  )

◆ LSSupg()

Real LSSupg ( 5e-  2)

◆ HJeach()

UInt HJeach ( )

◆ HJdt()

Real HJdt ( 2e-  2)

◆ HJtime()

Real HJtime ( 0.  0)

◆ HJfinalTime()

Real HJfinalTime ( HJdt  )

◆ HJsupg()

Real HJsupg ( 5e-  1)

◆ HJpenal()

Real HJpenal ( 1e5  )

◆ volumeRelaxation()

Real volumeRelaxation ( 0.  5)

◆ epsilonArea()

Real epsilonArea ( 0.  05)
+ Here is the caller graph for this function:

◆ exportEach()

UInt exportEach ( )

◆ initLSFct()

Real initLSFct ( const Real ,
const Real ,
const Real ,
const Real z,
const ID  
)

◆ initVelocity()

Real initVelocity ( const Real ,
const Real ,
const Real ,
const Real ,
const ID i 
)

◆ zeroFct()

Real zeroFct ( const Real ,
const Real ,
const Real ,
const Real ,
const ID  
)

◆ oneFct()

Real oneFct ( const Real ,
const Real ,
const Real ,
const Real ,
const ID  
)

◆ volumeForce()

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

Definition at line 176 of file lifev/eta/examples/example_biPhasic/main.cpp.

+ Here is the caller graph for this function:

◆ displayMotionParameters()

void displayMotionParameters ( const Real t)

◆ volumeForce0()

Real volumeForce0 ( const Real t,
const Real x,
const Real y,
const Real z,
const ID  
)

◆ volumeForce1()

Real volumeForce1 ( const Real t,
const Real x,
const Real y,
const Real z,
const ID  
)

◆ volumeForce2()

Real volumeForce2 ( const Real t,
const Real x,
const Real y,
const Real z,
const ID  
)

◆ normalDirection()

Real normalDirection ( const Real ,
const Real x,
const Real y,
const Real ,
const ID i 
)

◆ slipFct()

Real slipFct ( Real  ls)

◆ meshMap()

void meshMap ( Real x,
Real y,
Real z 
)

◆ main()

int main ( int  argc,
char **  argv 
)