![]() |
LifeV
|
#include <NavierStokesProblem.hpp>
Collaboration diagram for NavierStokesProblem< mesh_Type >:Public Types | |
| typedef Real(* | function_Type) (const Real &, const Real &, const Real &, const Real &, const ID &) |
Static Public Member Functions | |
| static Real | nullFunction (const Real &, const Real &, const Real &, const Real &, const ID &) |
Protected Attributes | |
| UInt | M_refinement |
| std::string | M_resourcesPath |
| Real | M_viscosity |
| Real | M_density |
Constructors, destructor | |
| NavierStokesProblem () | |
| virtual | ~NavierStokesProblem () |
Methods | |
| virtual bool | hasExactSolution () const |
| Returns true if the problem has an exact solution. More... | |
| virtual function_Type | xexact () |
| Returns the value of the exact solution. More... | |
| virtual function_Type | uexact () |
| Returns the value of the exact solution (velocity components only) More... | |
| virtual function_Type | uderexact () |
| Returns the value of the derivative of the exact solution with respect to the time (velocity components only) More... | |
| virtual function_Type | pexact () |
| Returns the value of the exact solution (pressure component only) More... | |
| virtual void | showMe (std::ostream &output=std::cout) const =0 |
| Display general information about the problem. More... | |
Set Methods | |
| void | setMesh (const UInt &refinement, const std::string &ressourcesPath="./Ressources/") |
| Setup the problem mesh. More... | |
| virtual void | setViscosity (const Real &viscosity) |
| Set the viscosity of the fluid. More... | |
| virtual void | setDensity (const Real &density) |
| Set the density of the fluid. More... | |
Get Methods | |
| virtual void | mesh (std::shared_ptr< mesh_Type > &mesh) const =0 |
| Getter for the problem mesh. More... | |
| virtual void | boundaryConditions (std::shared_ptr< BCHandler > bcHandler) const =0 |
| Getter for the boundary conditions in the provided BCHandler. More... | |
| virtual std::string | name () const =0 |
| Returns the name of the problem. 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... | |
Definition at line 49 of file NavierStokesProblem.hpp.
Definition at line 53 of file NavierStokesProblem.hpp.
|
virtual |
Definition at line 166 of file NavierStokesProblem.hpp.
|
virtual |
Returns true if the problem has an exact solution.
Reimplemented in NavierStokesEthierSteinman.
Definition at line 173 of file NavierStokesProblem.hpp.
|
virtual |
Returns the value of the exact solution.
Reimplemented in NavierStokesEthierSteinman.
Definition at line 180 of file NavierStokesProblem.hpp.
|
virtual |
Returns the value of the exact solution (velocity components only)
Reimplemented in NavierStokesEthierSteinman.
Definition at line 187 of file NavierStokesProblem.hpp.
|
virtual |
Returns the value of the derivative of the exact solution with respect to the time (velocity components only)
Reimplemented in NavierStokesEthierSteinman.
Definition at line 194 of file NavierStokesProblem.hpp.
|
virtual |
Returns the value of the exact solution (pressure component only)
Reimplemented in NavierStokesEthierSteinman.
Definition at line 201 of file NavierStokesProblem.hpp.
|
pure virtual |
Display general information about the problem.
| output | specify the output stream (std::cout by default) |
Implemented in NavierStokesEthierSteinman, and NavierStokesCavity.
| void setMesh | ( | const UInt & | refinement, |
| const std::string & | ressourcesPath = "./Ressources/" |
||
| ) |
Setup the problem mesh.
Definition at line 208 of file NavierStokesProblem.hpp.
|
virtual |
Set the viscosity of the fluid.
| viscosity | viscosity of the fluid |
Reimplemented in NavierStokesEthierSteinman.
Definition at line 217 of file NavierStokesProblem.hpp.
|
virtual |
Set the density of the fluid.
| density | density of the fluid |
Reimplemented in NavierStokesEthierSteinman.
Definition at line 224 of file NavierStokesProblem.hpp.
|
pure virtual |
Getter for the problem mesh.
Implemented in NavierStokesEthierSteinman, and NavierStokesCavity.
|
pure virtual |
Getter for the boundary conditions in the provided BCHandler.
| bcHandler | shared pointer on a BCHandler object |
Implemented in NavierStokesEthierSteinman, and NavierStokesCavity.
|
pure virtual |
Returns the name of the problem.
Implemented in NavierStokesEthierSteinman, and NavierStokesCavity.
| Real viscosity | ( | ) | const |
Returns the viscosity.
Definition at line 231 of file NavierStokesProblem.hpp.
| Real density | ( | ) | const |
Returns the density.
Definition at line 238 of file NavierStokesProblem.hpp.
|
virtual |
Returns the value of the forces.
Definition at line 245 of file NavierStokesProblem.hpp.
|
protected |
Definition at line 143 of file NavierStokesProblem.hpp.
|
protected |
Definition at line 144 of file NavierStokesProblem.hpp.
|
protected |
Definition at line 145 of file NavierStokesProblem.hpp.
|
protected |
Definition at line 146 of file NavierStokesProblem.hpp.