LifeV
|
#include <NavierStokesEthierSteinman.hpp>
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 |
Definition at line 49 of file NavierStokesEthierSteinman.hpp.
Empty constructor.
Definition at line 76 of file NavierStokesEthierSteinman.cpp.
|
virtual |
Destructor.
Definition at line 85 of file NavierStokesEthierSteinman.cpp.
|
virtual |
Returns true if the problem has an exact solution.
Reimplemented from NavierStokesProblem< esMesh_Type >.
Definition at line 91 of file NavierStokesEthierSteinman.cpp.
|
virtual |
Returns the value of the exact solution.
Reimplemented from NavierStokesProblem< esMesh_Type >.
Definition at line 97 of file NavierStokesEthierSteinman.cpp.
|
virtual |
Returns the value of the exact solution (velocity components only)
Reimplemented from NavierStokesProblem< esMesh_Type >.
Definition at line 103 of file NavierStokesEthierSteinman.cpp.
|
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.
|
virtual |
Returns the value of the exact solution (pressure component only)
Reimplemented from NavierStokesProblem< esMesh_Type >.
Definition at line 115 of file NavierStokesEthierSteinman.cpp.
|
virtual |
Display general information about the problem.
output | specify the output stream (std::cout by default) |
Implements NavierStokesProblem< esMesh_Type >.
Definition at line 121 of file NavierStokesEthierSteinman.cpp.
void setBoundaryConditions | ( | std::shared_ptr< BCHandler > | bcHandler | ) | const |
|
virtual |
Set the viscosity of the fluid.
viscosity | viscosity of the fluid |
Reimplemented from NavierStokesProblem< esMesh_Type >.
Definition at line 127 of file NavierStokesEthierSteinman.cpp.
|
virtual |
Set the density of the fluid.
density | density of the fluid |
Reimplemented from NavierStokesProblem< esMesh_Type >.
Definition at line 134 of file NavierStokesEthierSteinman.cpp.
|
virtual |
Getter for the problem mesh.
Implements NavierStokesProblem< esMesh_Type >.
Definition at line 141 of file NavierStokesEthierSteinman.cpp.
|
virtual |
Getter for the boundary conditions in the provided BCHandler.
bcHandler | shared pointer on a BCHandler object |
Implements NavierStokesProblem< esMesh_Type >.
Definition at line 156 of file NavierStokesEthierSteinman.cpp.
|
virtual |
Returns the name of the problem.
Implements NavierStokesProblem< esMesh_Type >.
Definition at line 191 of file NavierStokesEthierSteinman.cpp.
|
staticprivate |
Definition at line 55 of file NavierStokesEthierSteinman.hpp.
|
staticprivate |
Definition at line 56 of file NavierStokesEthierSteinman.hpp.
|
staticprivate |
Definition at line 57 of file NavierStokesEthierSteinman.hpp.
|
staticprivate |
Definition at line 58 of file NavierStokesEthierSteinman.hpp.
|
staticprivate |
Definition at line 59 of file NavierStokesEthierSteinman.hpp.
|
staticprivate |
Definition at line 60 of file NavierStokesEthierSteinman.hpp.
|
staticprivate |
Definition at line 62 of file NavierStokesEthierSteinman.hpp.
|
staticprivate |
Definition at line 63 of file NavierStokesEthierSteinman.hpp.
|
staticprivate |
Definition at line 64 of file NavierStokesEthierSteinman.hpp.
|
staticprivate |
Definition at line 65 of file NavierStokesEthierSteinman.hpp.
|
staticprivate |
Definition at line 66 of file NavierStokesEthierSteinman.hpp.
|
staticprivate |
Definition at line 67 of file NavierStokesEthierSteinman.hpp.
|
staticprivate |
Definition at line 68 of file NavierStokesEthierSteinman.hpp.
|
staticprivate |
Definition at line 69 of file NavierStokesEthierSteinman.hpp.
|
staticprivate |
Definition at line 70 of file NavierStokesEthierSteinman.hpp.
|
staticprivate |
Definition at line 71 of file NavierStokesEthierSteinman.hpp.
|
staticprivate |
Definition at line 72 of file NavierStokesEthierSteinman.hpp.
|
staticprivate |
Definition at line 73 of file NavierStokesEthierSteinman.hpp.
|
staticprivate |
Definition at line 75 of file NavierStokesEthierSteinman.hpp.
|
staticprivate |
Definition at line 76 of file NavierStokesEthierSteinman.hpp.
|
staticprivate |
Definition at line 77 of file NavierStokesEthierSteinman.hpp.
|
staticprivate |
Definition at line 78 of file NavierStokesEthierSteinman.hpp.
|
staticprivate |
Definition at line 79 of file NavierStokesEthierSteinman.hpp.
|
staticprivate |
Definition at line 80 of file NavierStokesEthierSteinman.hpp.
|
staticprivate |
Definition at line 81 of file NavierStokesEthierSteinman.hpp.
|
staticprivate |
Definition at line 82 of file NavierStokesEthierSteinman.hpp.