LifeV
NavierStokesEthierSteinman Class Reference

#include <NavierStokesEthierSteinman.hpp>

+ Inheritance diagram for NavierStokesEthierSteinman:
+ Collaboration diagram for NavierStokesEthierSteinman:

Static Private Attributes

static const Int LEFTWALL = 4
 
static const Int RIGHTWALL = 2
 
static const Int FRONTWALL = 1
 
static const Int BACKWALL = 3
 
static const Int TOPWALL = 6
 
static const Int BOTTOMWALL = 5
 
static const Int BOTTOMEDGE1 = 7
 
static const Int BOTTOMEDGE2 = 8
 
static const Int BOTTOMEDGE3 = 9
 
static const Int BOTTOMEDGE4 = 10
 
static const Int SIDEEDGE1 = 11
 
static const Int SIDEEDGE2 = 12
 
static const Int SIDEEDGE3 = 13
 
static const Int SIDEEDGE4 = 14
 
static const Int TOPEDGE1 = 15
 
static const Int TOPEDGE2 = 16
 
static const Int TOPEDGE3 = 17
 
static const Int TOPEDGE4 = 18
 
static const Int BOTTOMCORNER1 = 19
 
static const Int BOTTOMCORNER2 = 20
 
static const Int BOTTOMCORNER3 = 21
 
static const Int BOTTOMCORNER4 = 22
 
static const Int TOPCORNER1 = 23
 
static const Int TOPCORNER2 = 24
 
static const Int TOPCORNER3 = 25
 
static const Int TOPCORNER4 = 26
 

Constructors, destructor

 NavierStokesEthierSteinman ()
 Empty constructor. More...
 
virtual ~NavierStokesEthierSteinman ()
 Destructor. More...
 

Methods

bool hasExactSolution () const
 Returns true if the problem has an exact solution. More...
 
NavierStokesProblem< esMesh_Type >::function_Type xexact ()
 Returns the value of the exact solution. More...
 
NavierStokesProblem< esMesh_Type >::function_Type uexact ()
 Returns the value of the exact solution (velocity components only) More...
 
NavierStokesProblem< esMesh_Type >::function_Type uderexact ()
 Returns the value of the derivative of the exact solution with respect to the time (velocity components only) More...
 
NavierStokesProblem< esMesh_Type >::function_Type pexact ()
 Returns the value of the exact solution (pressure component only) More...
 
void showMe (std::ostream &output=std::cout) const
 Display general information about the problem. More...
 

Set Methods

void setBoundaryConditions (std::shared_ptr< BCHandler > bcHandler) const
 Setup the boundary conditions in the provided BCHandler. More...
 
void setViscosity (const Real &viscosity)
 Set the viscosity of the fluid. More...
 
void setDensity (const Real &density)
 Set the density of the fluid. More...
 

Get Methods

void mesh (std::shared_ptr< esMesh_Type > &meshPart) const
 Getter for the problem mesh. More...
 
void boundaryConditions (std::shared_ptr< BCHandler > bcHandler) const
 Getter for the boundary conditions in the provided BCHandler. More...
 
std::string name () const
 Returns the name of the problem. More...
 

Additional Inherited Members

- Public Types inherited from NavierStokesProblem< esMesh_Type >
typedef Real(* function_Type) (const Real &, const Real &, const Real &, const Real &, const ID &)
 
- Public Member Functions inherited from NavierStokesProblem< esMesh_Type >
 NavierStokesProblem ()
 
virtual ~NavierStokesProblem ()
 
void setMesh (const UInt &refinement, const std::string &ressourcesPath="./Ressources/")
 Setup the problem mesh. More...
 
Real viscosity () const
 Returns the viscosity. More...
 
Real density () const
 Returns the density. More...
 
virtual function_Type force ()
 Returns the value of the forces. More...
 
- Static Public Member Functions inherited from NavierStokesProblem< esMesh_Type >
static Real nullFunction (const Real &, const Real &, const Real &, const Real &, const ID &)
 
- Protected Attributes inherited from NavierStokesProblem< esMesh_Type >
UInt M_refinement
 
std::string M_resourcesPath
 
Real M_viscosity
 
Real M_density
 

Detailed Description

Definition at line 49 of file NavierStokesEthierSteinman.hpp.

Constructor & Destructor Documentation

◆ NavierStokesEthierSteinman()

Empty constructor.

Definition at line 76 of file NavierStokesEthierSteinman.cpp.

◆ ~NavierStokesEthierSteinman()

Destructor.

Definition at line 85 of file NavierStokesEthierSteinman.cpp.

Member Function Documentation

◆ hasExactSolution()

bool hasExactSolution ( ) const
virtual

Returns true if the problem has an exact solution.

Reimplemented from NavierStokesProblem< esMesh_Type >.

Definition at line 91 of file NavierStokesEthierSteinman.cpp.

◆ xexact()

NavierStokesProblem< esMesh_Type >::function_Type xexact ( )
virtual

Returns the value of the exact solution.

Reimplemented from NavierStokesProblem< esMesh_Type >.

Definition at line 97 of file NavierStokesEthierSteinman.cpp.

◆ uexact()

NavierStokesProblem< esMesh_Type >::function_Type uexact ( )
virtual

Returns the value of the exact solution (velocity components only)

Reimplemented from NavierStokesProblem< esMesh_Type >.

Definition at line 103 of file NavierStokesEthierSteinman.cpp.

◆ uderexact()

NavierStokesProblem< esMesh_Type >::function_Type uderexact ( )
virtual

Returns the value of the derivative of the exact solution with respect to the time (velocity components only)

Reimplemented from NavierStokesProblem< esMesh_Type >.

Definition at line 109 of file NavierStokesEthierSteinman.cpp.

◆ pexact()

NavierStokesProblem< esMesh_Type >::function_Type pexact ( )
virtual

Returns the value of the exact solution (pressure component only)

Reimplemented from NavierStokesProblem< esMesh_Type >.

Definition at line 115 of file NavierStokesEthierSteinman.cpp.

◆ showMe()

void showMe ( std::ostream &  output = std::cout) const
virtual

Display general information about the problem.

Parameters
outputspecify the output stream (std::cout by default)

Implements NavierStokesProblem< esMesh_Type >.

Definition at line 121 of file NavierStokesEthierSteinman.cpp.

◆ setBoundaryConditions()

void setBoundaryConditions ( std::shared_ptr< BCHandler bcHandler) const

Setup the boundary conditions in the provided BCHandler.

Parameters
bcHandlershared pointer on a BCHandler object

◆ setViscosity()

void setViscosity ( const Real viscosity)
virtual

Set the viscosity of the fluid.

Parameters
viscosityviscosity of the fluid

Reimplemented from NavierStokesProblem< esMesh_Type >.

Definition at line 127 of file NavierStokesEthierSteinman.cpp.

◆ setDensity()

void setDensity ( const Real density)
virtual

Set the density of the fluid.

Parameters
densitydensity of the fluid

Reimplemented from NavierStokesProblem< esMesh_Type >.

Definition at line 134 of file NavierStokesEthierSteinman.cpp.

◆ mesh()

void mesh ( std::shared_ptr< esMesh_Type > &  meshPart) const
virtual

Getter for the problem mesh.

Implements NavierStokesProblem< esMesh_Type >.

Definition at line 141 of file NavierStokesEthierSteinman.cpp.

◆ boundaryConditions()

void boundaryConditions ( std::shared_ptr< BCHandler bcHandler) const
virtual

Getter for the boundary conditions in the provided BCHandler.

Parameters
bcHandlershared pointer on a BCHandler object

Implements NavierStokesProblem< esMesh_Type >.

Definition at line 156 of file NavierStokesEthierSteinman.cpp.

◆ name()

std::string name ( ) const
virtual

Returns the name of the problem.

Implements NavierStokesProblem< esMesh_Type >.

Definition at line 191 of file NavierStokesEthierSteinman.cpp.

Field Documentation

◆ LEFTWALL

const Int LEFTWALL = 4
staticprivate

Definition at line 55 of file NavierStokesEthierSteinman.hpp.

◆ RIGHTWALL

const Int RIGHTWALL = 2
staticprivate

Definition at line 56 of file NavierStokesEthierSteinman.hpp.

◆ FRONTWALL

const Int FRONTWALL = 1
staticprivate

Definition at line 57 of file NavierStokesEthierSteinman.hpp.

◆ BACKWALL

const Int BACKWALL = 3
staticprivate

Definition at line 58 of file NavierStokesEthierSteinman.hpp.

◆ TOPWALL

const Int TOPWALL = 6
staticprivate

Definition at line 59 of file NavierStokesEthierSteinman.hpp.

◆ BOTTOMWALL

const Int BOTTOMWALL = 5
staticprivate

Definition at line 60 of file NavierStokesEthierSteinman.hpp.

◆ BOTTOMEDGE1

const Int BOTTOMEDGE1 = 7
staticprivate

Definition at line 62 of file NavierStokesEthierSteinman.hpp.

◆ BOTTOMEDGE2

const Int BOTTOMEDGE2 = 8
staticprivate

Definition at line 63 of file NavierStokesEthierSteinman.hpp.

◆ BOTTOMEDGE3

const Int BOTTOMEDGE3 = 9
staticprivate

Definition at line 64 of file NavierStokesEthierSteinman.hpp.

◆ BOTTOMEDGE4

const Int BOTTOMEDGE4 = 10
staticprivate

Definition at line 65 of file NavierStokesEthierSteinman.hpp.

◆ SIDEEDGE1

const Int SIDEEDGE1 = 11
staticprivate

Definition at line 66 of file NavierStokesEthierSteinman.hpp.

◆ SIDEEDGE2

const Int SIDEEDGE2 = 12
staticprivate

Definition at line 67 of file NavierStokesEthierSteinman.hpp.

◆ SIDEEDGE3

const Int SIDEEDGE3 = 13
staticprivate

Definition at line 68 of file NavierStokesEthierSteinman.hpp.

◆ SIDEEDGE4

const Int SIDEEDGE4 = 14
staticprivate

Definition at line 69 of file NavierStokesEthierSteinman.hpp.

◆ TOPEDGE1

const Int TOPEDGE1 = 15
staticprivate

Definition at line 70 of file NavierStokesEthierSteinman.hpp.

◆ TOPEDGE2

const Int TOPEDGE2 = 16
staticprivate

Definition at line 71 of file NavierStokesEthierSteinman.hpp.

◆ TOPEDGE3

const Int TOPEDGE3 = 17
staticprivate

Definition at line 72 of file NavierStokesEthierSteinman.hpp.

◆ TOPEDGE4

const Int TOPEDGE4 = 18
staticprivate

Definition at line 73 of file NavierStokesEthierSteinman.hpp.

◆ BOTTOMCORNER1

const Int BOTTOMCORNER1 = 19
staticprivate

Definition at line 75 of file NavierStokesEthierSteinman.hpp.

◆ BOTTOMCORNER2

const Int BOTTOMCORNER2 = 20
staticprivate

Definition at line 76 of file NavierStokesEthierSteinman.hpp.

◆ BOTTOMCORNER3

const Int BOTTOMCORNER3 = 21
staticprivate

Definition at line 77 of file NavierStokesEthierSteinman.hpp.

◆ BOTTOMCORNER4

const Int BOTTOMCORNER4 = 22
staticprivate

Definition at line 78 of file NavierStokesEthierSteinman.hpp.

◆ TOPCORNER1

const Int TOPCORNER1 = 23
staticprivate

Definition at line 79 of file NavierStokesEthierSteinman.hpp.

◆ TOPCORNER2

const Int TOPCORNER2 = 24
staticprivate

Definition at line 80 of file NavierStokesEthierSteinman.hpp.

◆ TOPCORNER3

const Int TOPCORNER3 = 25
staticprivate

Definition at line 81 of file NavierStokesEthierSteinman.hpp.

◆ TOPCORNER4

const Int TOPCORNER4 = 26
staticprivate

Definition at line 82 of file NavierStokesEthierSteinman.hpp.


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