33 #ifndef __H__UG__PLUGINS__NAVIER_STOKES__INCOMPRESSIBLE__INCOMPRESSIBLE_NAVIER_STOKES_BASE__
34 #define __H__UG__PLUGINS__NAVIER_STOKES__INCOMPRESSIBLE__INCOMPRESSIBLE_NAVIER_STOKES_BASE__
45 #include "../navier_stokes_base.h"
143 template<
typename TDomain>
function NavierStokes(fcts, subsets, discType)
Finite Volume Element Discretization for the incompressible Navier-Stokes Equation.
Definition: incompressible_navier_stokes_base.h:146
void set_grad_div(number factor)
flag if using Peclet Blending
Definition: incompressible_navier_stokes_base.h:227
SmartPtr< DataExport< MathMatrix< dim, dim >, dim > > m_exVelocityGrad
Export for the velocity gradient.
Definition: incompressible_navier_stokes_base.h:262
SmartPtr< CplUserData< MathVector< dim >, dim > > velocity()
returns the export of the velocity
Definition: incompressible_navier_stokes_base.h:237
void set_peclet_blend(bool pecletBlend)
sets if peclet blending is used in momentum equation
Definition: incompressible_navier_stokes_base.h:225
NavierStokesBase< TDomain > base_type
Base class type.
Definition: incompressible_navier_stokes_base.h:149
void set_stokes(bool Stokes)
switches the convective terms off (to solve the Stokes equation)
Definition: incompressible_navier_stokes_base.h:206
virtual bool requests_local_time_series()
returns if local time series is needed
Definition: incompressible_navier_stokes_base.h:231
virtual void set_kinematic_viscosity(SmartPtr< CplUserData< number, dim > > user)=0
sets the kinematic viscosity
SmartPtr< CplUserData< MathMatrix< dim, dim >, dim > > velocity_grad()
returns the export of the velocity gradient
Definition: incompressible_navier_stokes_base.h:240
bool m_bLaplace
flag if using only laplace term
Definition: incompressible_navier_stokes_base.h:256
SmartPtr< DataExport< MathVector< dim >, dim > > m_exVelocity
Export for the velocity.
Definition: incompressible_navier_stokes_base.h:259
bool m_bStokes
flag if solving the Stokes equation
Definition: incompressible_navier_stokes_base.h:253
virtual void set_source(SmartPtr< CplUserData< MathVector< dim >, dim > > user)=0
sets the source function
bool m_bPecletBlend
flag if using Peclet Blending
Definition: incompressible_navier_stokes_base.h:244
virtual SmartPtr< CplUserData< number, dim > > density()=0
returns density
virtual std::string disc_type() const =0
returns string identifying disc type
bool stokes()
flag if using Peclet Blending
Definition: incompressible_navier_stokes_base.h:207
IncompressibleNavierStokesBase(const char *functions, const char *subsets)
Definition: incompressible_navier_stokes_base.cpp:54
number m_gradDivFactor
factor for div grad stabilization
Definition: incompressible_navier_stokes_base.h:250
virtual void set_density(SmartPtr< CplUserData< number, dim > > user)=0
sets the density
bool laplace()
flag if using Peclet Blending
Definition: incompressible_navier_stokes_base.h:222
void set_laplace(bool bLaplace)
sets assembling of diffusive term to laplace
Definition: incompressible_navier_stokes_base.h:221
static const int dim
World dimension.
Definition: incompressible_navier_stokes_base.h:156
IncompressibleNavierStokesBase< TDomain > this_type
own type
Definition: incompressible_navier_stokes_base.h:152
virtual SmartPtr< CplUserData< number, dim > > kinematic_viscosity()=0
returns kinematic viscosity
Finite Volume Element Discretization for the incompressible Navier-Stokes Equation.
Definition: navier_stokes_base.h:144
static const int dim
World dimension.
Definition: navier_stokes_base.h:154
number m_bFullNewtonFactor
factor for exact jacobian, (1 for exact jacobian, 0 for fix point)
Definition: navier_stokes_base.h:207