33 #ifndef __H__UG__PLUGINS__NAVIER_STOKES__INCOMPRESSIBLE__FE__NAVIER_STOKES_FE__
34 #define __H__UG__PLUGINS__NAVIER_STOKES__INCOMPRESSIBLE__FE__NAVIER_STOKES_FE__
45 #include "../incompressible_navier_stokes_base.h"
54 template<
typename TDomain>
73 NavierStokesFE(
const std::vector<std::string>& vFct,
const std::vector<std::string>& vSubset);
99 void prepare_setting(
const std::vector<LFEID>& vLfeID,
bool bNonRegularGrid);
140 template<
typename TElem,
typename VGeom,
typename PGeom>
143 template<
typename TElem,
typename VGeom,
typename PGeom>
147 template<
typename TElem,
typename VGeom,
typename PGeom>
151 template<
typename TElem,
typename VGeom,
typename PGeom>
155 template<
typename TElem,
typename VGeom,
typename PGeom>
159 template<
typename TElem,
typename VGeom,
typename PGeom>
163 template<
typename TElem,
typename VGeom,
typename PGeom>
167 template<
typename TElem,
typename VGeom,
typename PGeom>
172 template<
typename TElem,
typename VGeom,
typename PGeom>
void register_func();
function NavierStokes(fcts, subsets, discType)
SmartPtr< CplUserData< number, dim > > user_data()
Finite Volume Element Discretization for the incompressible Navier-Stokes Equation.
Definition: incompressible_navier_stokes_base.h:146
number m_bFullNewtonFactor
factor for exact jacobian, (1 for exact jacobian, 0 for fix point)
Definition: navier_stokes_base.h:207
bool m_bLaplace
flag if using only laplace term
Definition: incompressible_navier_stokes_base.h:256
bool m_bStokes
flag if solving the Stokes equation
Definition: incompressible_navier_stokes_base.h:253
bool m_bPecletBlend
flag if using Peclet Blending
Definition: incompressible_navier_stokes_base.h:244
static const int dim
World dimension.
Definition: incompressible_navier_stokes_base.h:156
Finite Element Discretization for the incompressible Navier-Stokes Equation.
Definition: navier_stokes_fe.h:57
void init()
Definition: navier_stokes_fe.cpp:63
DataImport< number, dim > m_imKinViscosity
Data import for kinematic viscosity.
Definition: navier_stokes_fe.h:126
static const size_t _P_
abbreviation for pressure
Definition: navier_stokes_fe.h:132
GridObject * m_pElem
current element
Definition: navier_stokes_fe.h:117
virtual std::string disc_type() const
returns string identifying disc type
Definition: navier_stokes_fe.h:102
void add_jac_M_elem(LocalMatrix &J, const LocalVector &u, GridObject *elem, const MathVector< dim > vCornerCoords[])
assembles the local mass matrix using a finite volume scheme
Definition: navier_stokes_fe.cpp:482
void prep_elem_loop(const ReferenceObjectID roid, const int si)
Definition: navier_stokes_fe.cpp:150
void add_jac_A_elem(LocalMatrix &J, const LocalVector &u, GridObject *elem, const MathVector< dim > vCornerCoords[])
assembles the local stiffness matrix using a finite volume scheme
Definition: navier_stokes_fe.cpp:206
void add_def_M_elem(LocalVector &d, const LocalVector &u, GridObject *elem, const MathVector< dim > vCornerCoords[])
assembles the mass part of the local defect
Definition: navier_stokes_fe.cpp:507
void prep_elem(const LocalVector &u, GridObject *elem, const ReferenceObjectID roid, const MathVector< dim > vCornerCoords[])
Definition: navier_stokes_fe.cpp:184
void set_kinematic_viscosity(SmartPtr< CplUserData< number, dim > > user)
sets the kinematic viscosity
Definition: navier_stokes_fe.cpp:124
bool m_bQuadOrderUserDef
quadrature order
Definition: navier_stokes_fe.h:109
void fsh_elem_loop()
finishes the loop over all elements
Definition: navier_stokes_fe.cpp:177
void set_stabilization(number alpha)
sets the stabilization parameter
Definition: navier_stokes_fe.h:95
IncompressibleNavierStokesBase< TDomain > base_type
Base class type.
Definition: navier_stokes_fe.h:60
void prepare_setting(const std::vector< LFEID > &vLfeID, bool bNonRegularGrid)
type of trial space for each function used
Definition: navier_stokes_fe.cpp:98
void set_density(SmartPtr< CplUserData< number, dim > > user)
sets the density
Definition: navier_stokes_fe.cpp:131
LFEID m_vLFEID
current shape function set
Definition: navier_stokes_fe.h:113
SmartPtr< CplUserData< number, dim > > kinematic_viscosity()
returns kinematic viscosity
Definition: navier_stokes_fe.h:83
int m_quadOrder
Definition: navier_stokes_fe.h:110
NavierStokesFE< TDomain > this_type
own type
Definition: navier_stokes_fe.h:63
LFEID m_pLFEID
Definition: navier_stokes_fe.h:114
void register_all_funcs(const LFEID &vLfeID, const LFEID &pLfeID, const int quadOrder)
void set_source(SmartPtr< CplUserData< MathVector< dim >, dim > > user)
sets the source function
Definition: navier_stokes_fe.cpp:138
DataImport< number, dim > m_imDensity
Data import for density.
Definition: navier_stokes_fe.h:129
void add_def_A_elem(LocalVector &d, const LocalVector &u, GridObject *elem, const MathVector< dim > vCornerCoords[])
assembles the stiffness part of the local defect
Definition: navier_stokes_fe.cpp:350
DataImport< MathVector< dim >, dim > m_imSource
Data import for source.
Definition: navier_stokes_fe.h:123
NavierStokesFE(const char *functions, const char *subsets)
Definition: navier_stokes_fe.cpp:46
void set_quad_order(size_t order)
sets the quad order
Definition: navier_stokes_fe.cpp:89
number m_stabParam
stabilization parameter
Definition: navier_stokes_fe.h:102
SmartPtr< CplUserData< number, dim > > density()
returns density
Definition: navier_stokes_fe.h:89
static const int dim
World dimension.
Definition: navier_stokes_fe.h:67
void add_rhs_elem(LocalVector &d, GridObject *elem, const MathVector< dim > vCornerCoords[])
assembles the local right hand side
Definition: navier_stokes_fe.cpp:536
void register_func()
Definition: navier_stokes_fe.cpp:590