33 #ifndef __H__UG__PLUGINS__NAVIER_STOKES__INCOMPRESSIBLE__FVCR__NO_NORMAL_STRESS_OUTFLOW_FVCR__
34 #define __H__UG__PLUGINS__NAVIER_STOKES__INCOMPRESSIBLE__FVCR__NO_NORMAL_STRESS_OUTFLOW_FVCR__
45 #include "../../bnd/no_normal_stress_outflow_base.h"
69 template<
typename TDomain>
99 virtual void prepare_setting(
const std::vector<LFEID>& vLfeID,
bool bNonRegularGrid);
103 template <
typename TElem,
typename TFVGeom>
107 template <
typename TElem,
typename TFVGeom>
111 template <
typename TElem,
typename TFVGeom>
115 template <
typename TElem,
typename TFVGeom>
119 template <
typename TElem,
typename TFVGeom>
125 template <
typename TElem,
typename TFVGeom>
127 template <
typename TElem,
typename TFVGeom>
129 template <
typename TElem,
typename TFVGeom>
135 template <
typename BF>
144 template <
typename BF>
153 template <
typename BF>
162 template <
typename BF>
190 template<
typename TElem,
typename TFVGeom>
function NavierStokes(fcts, subsets, discType)
void set_data(SmartPtr< CplUserData< number, dim > > spData)
Finite Volume Element Discretization for the incompressible Navier-Stokes Equation.
Definition: incompressible_navier_stokes_base.h:146
The zero-stress (neutral) outflow boundary condition for the incompressible NS equation.
Definition: no_normal_stress_outflow_base.h:72
static const int dim
World dimension.
Definition: no_normal_stress_outflow_base.h:82
std::vector< int > m_vBndSubSetIndex
Definition: no_normal_stress_outflow_base.h:108
SmartPtr< IncompressibleNavierStokesBase< TDomain > > m_spMaster
The master discretization:
Definition: no_normal_stress_outflow_base.h:104
The zero-stress (neutral) outflow boundary condition for the incompressible NS equation.
Definition: no_normal_stress_outflow_fvcr.h:72
void add_jac_M_elem(LocalMatrix &J, const LocalVector &u, GridObject *elem, const MathVector< dim > vCornerCoords[])
Definition: no_normal_stress_outflow_fvcr.h:126
virtual void set_kinematic_viscosity(SmartPtr< CplUserData< number, dim > > data)
sets the kinematic viscosity
Definition: no_normal_stress_outflow_fvcr.h:90
void register_func()
Definition: no_normal_stress_outflow_fvcr.cpp:499
NavierStokesNoNormalStressOutflowBase< TDomain > base_type
Base class type.
Definition: no_normal_stress_outflow_fvcr.h:75
std::vector< MathVector< dim > > m_vLocIP
Boundary integration points of the viscosity and the density.
Definition: no_normal_stress_outflow_fvcr.h:185
void add_def_M_elem(LocalVector &d, const LocalVector &u, GridObject *elem, const MathVector< dim > vCornerCoords[])
Definition: no_normal_stress_outflow_fvcr.h:128
void fsh_elem_loop()
finishes the element loop
Definition: no_normal_stress_outflow_fvcr.cpp:137
void convective_flux_Jac(const size_t ip, const BF &bf, LocalMatrix &J, const LocalVector &u)
adds the convective part of the local Jacobian of the momentum equation
Definition: no_normal_stress_outflow_fvcr.cpp:289
DataImport< number, dim > m_imKinViscosity
Data import for kinematic viscosity.
Definition: no_normal_stress_outflow_fvcr.h:179
void add_rhs_elem(LocalVector &d, GridObject *elem, const MathVector< dim > vCornerCoords[])
Definition: no_normal_stress_outflow_fvcr.h:130
void convective_flux_defect(const size_t ip, const BF &bf, LocalVector &d, const LocalVector &u)
adds the convective part of the local defect of the momentum equation
Definition: no_normal_stress_outflow_fvcr.cpp:324
NavierStokesNoNormalStressOutflowFVCR< TDomain > this_type
own type
Definition: no_normal_stress_outflow_fvcr.h:78
void prep_elem_loop(const ReferenceObjectID roid, const int si)
prepares the element loop
Definition: no_normal_stress_outflow_fvcr.cpp:100
std::vector< MathVector< dim > > m_vGloIP
Definition: no_normal_stress_outflow_fvcr.h:186
static const int dim
World dimension.
Definition: no_normal_stress_outflow_fvcr.h:82
DataImport< number, dim > m_imDensity
Data import for density.
Definition: no_normal_stress_outflow_fvcr.h:182
NavierStokesNoNormalStressOutflowFVCR(SmartPtr< IncompressibleNavierStokesBase< TDomain > > spMaster)
Constructor (setting default values)
Definition: no_normal_stress_outflow_fvcr.cpp:47
static const size_t _P_
abbreviation for pressure
Definition: no_normal_stress_outflow_fvcr.h:173
void prep_elem(const LocalVector &u, GridObject *elem, const ReferenceObjectID roid, const MathVector< dim > vCornerCoords[])
prepares the element for evaluation
Definition: no_normal_stress_outflow_fvcr.cpp:155
void register_all_funcs(bool bHang)
void diffusive_flux_defect(const size_t ip, const BF &bf, LocalVector &d, const LocalVector &u)
adds the diffusive part of the local defect of the momentum equation
Definition: no_normal_stress_outflow_fvcr.cpp:244
void diffusive_flux_Jac(const size_t ip, const BF &bf, LocalMatrix &J, const LocalVector &u)
adds the diffusive part of the local Jacobian of the momentum equation
Definition: no_normal_stress_outflow_fvcr.cpp:199
void add_def_A_elem(LocalVector &d, const LocalVector &u, GridObject *elem, const MathVector< dim > vCornerCoords[])
adds the stiffness part to the local defect
Definition: no_normal_stress_outflow_fvcr.cpp:399
virtual void set_density(SmartPtr< CplUserData< number, dim > > data)
sets the density
Definition: no_normal_stress_outflow_fvcr.h:94
virtual void prepare_setting(const std::vector< LFEID > &vLfeID, bool bNonRegularGrid)
type of trial space for each function used
Definition: no_normal_stress_outflow_fvcr.cpp:66
void add_jac_A_elem(LocalMatrix &J, const LocalVector &u, GridObject *elem, const MathVector< dim > vCornerCoords[])
adds the stiffness part to the local jacobian
Definition: no_normal_stress_outflow_fvcr.cpp:353