14#include <gsPde/gsStokesPde.h>
41 using Base::m_viscosity;
74 virtual std::ostream &
print(std::ostream &os)
const
76 os <<
"Incompressible Navier-Stokes equation:\n"
77 <<
"u\u00B7\u2207u-\u03BD\u0394u-\u2207p = f,\n"
78 <<
" \u2207\u00B7u=0\n"
80 os <<
"viscosity = " << m_viscosity <<
".\n";
82 os<<
"Force function f = "<< *m_force <<
".\n";
84 os<<
"Source function g = "<< *m_source <<
".\n";
Class containing a set of boundary conditions.
Definition gsBoundaryConditions.h:342
A function from a n-dimensional domain to an m-dimensional image.
Definition gsFunction.h:60
Container class for a set of geometry patches and their topology, that is, the interface connections ...
Definition gsMultiPatch.h:100
An incompressible Navier-Stokes PDE.
Definition gsNavStokesPde.h:33
virtual std::ostream & print(std::ostream &os) const
Print a short description of the PDE.
Definition gsNavStokesPde.h:74
gsMultiPatch< T > & domain()
Returns a reference to the Pde domain.
Definition gsPde.h:66
A stationary Stokes PDE.
Definition gsStokesPde.h:24
The G+Smo namespace, containing all definitions for the library.