33 #ifndef __H__UG__NAVIER_STOKES__BND__WALL_IMPL__
34 #define __H__UG__NAVIER_STOKES__BND__WALL_IMPL__
44 template <
typename TDomain,
typename TAlgebra>
52 UG_THROW(
"NavierStokesWall::set_functions: This Boundary "
53 "Condition works on exactly dim+1 (velocity+pressure) "
54 "components, but "<<
m_vFctName.size()<<
"components given.");
57 template <
typename TDomain,
typename TAlgebra>
59 add(
const char* subsetsBND)
61 if(m_vFctName.empty())
62 UG_THROW(
"NavierStokesWall::add: Symbolic names for"
63 " velocity and pressure not set. Please set them first.");
67 m_spDirichletConstraint->add(0.0, m_vFctName[i].c_str(), subsetsBND);
function NavierStokes(fcts, subsets, discType)
Finite Volume Element Discretization for the incompressible Navier-Stokes Equation.
Definition: incompressible_navier_stokes_base.h:146
NavierStokesWall(SmartPtr< IncompressibleNavierStokesBase< TDomain > > spMaster)
Constructor.
Definition: wall_impl.h:46
std::vector< std::string > m_vFctName
name of velocity+pressure components
Definition: wall.h:72
void add(const char *subsetsBND)
sets the velocity to a given value
Definition: wall_impl.h:59
function ProblemDisc new(problemDesc, dom)