33 #ifndef __H__UG__PLUGINS__NAVIER_STOKES__INCOMPRESSIBLE__FV1__BND__NO_NORMAL_STRESS_OUTFLOW_FV1_
34 #define __H__UG__PLUGINS__NAVIER_STOKES__INCOMPRESSIBLE__FV1__BND__NO_NORMAL_STRESS_OUTFLOW_FV1_
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>
191 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_fv1.h:72
static const size_t _P_
abbreviation for pressure
Definition: no_normal_stress_outflow_fv1.h:174
virtual void set_kinematic_viscosity(SmartPtr< CplUserData< number, dim > > data)
sets the kinematic viscosity
Definition: no_normal_stress_outflow_fv1.h:90
DataImport< number, dim > m_imDensity
Data import for density.
Definition: no_normal_stress_outflow_fv1.h:183
NavierStokesNoNormalStressOutflowFV1< TDomain > this_type
own type
Definition: no_normal_stress_outflow_fv1.h:78
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_fv1.cpp:194
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_fv1.cpp:343
void add_jac_M_elem(LocalMatrix &J, const LocalVector &u, GridObject *elem, const MathVector< dim > vCornerCoords[])
Definition: no_normal_stress_outflow_fv1.h:126
NavierStokesNoNormalStressOutflowBase< TDomain > base_type
Base class type.
Definition: no_normal_stress_outflow_fv1.h:75
DataImport< number, dim > m_imKinViscosity
Data import for kinematic viscosity.
Definition: no_normal_stress_outflow_fv1.h:180
NavierStokesNoNormalStressOutflowFV1(SmartPtr< IncompressibleNavierStokesBase< TDomain > > spMaster)
Constructor (setting default values)
Definition: no_normal_stress_outflow_fv1.cpp:48
virtual void set_density(SmartPtr< CplUserData< number, dim > > data)
sets the density
Definition: no_normal_stress_outflow_fv1.h:94
void add_rhs_elem(LocalVector &d, GridObject *elem, const MathVector< dim > vCornerCoords[])
Definition: no_normal_stress_outflow_fv1.h:130
std::vector< MathVector< dim > > m_vLocIP
Boundary integration points of the viscosity and the density.
Definition: no_normal_stress_outflow_fv1.h:186
void add_def_M_elem(LocalVector &d, const LocalVector &u, GridObject *elem, const MathVector< dim > vCornerCoords[])
Definition: no_normal_stress_outflow_fv1.h:128
virtual void prepare_setting(const std::vector< LFEID > &vLfeID, bool bNonRegularGrid)
type of trial space for each function used
Definition: no_normal_stress_outflow_fv1.cpp:66
void fsh_elem_loop()
finishes the element loop
Definition: no_normal_stress_outflow_fv1.cpp:132
void register_func()
Definition: no_normal_stress_outflow_fv1.cpp:493
void prep_elem_loop(const ReferenceObjectID roid, const int si)
prepares the element loop
Definition: no_normal_stress_outflow_fv1.cpp:95
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_fv1.cpp:242
void convective_flux_defect(const size_t ip, const BF &bf, LocalVector &d, const LocalVector &u, const MathVector< dim > &StdVel)
adds the convective part of the local defect of the momentum equation
Definition: no_normal_stress_outflow_fv1.cpp:320
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_fv1.cpp:386
static const int dim
World dimension.
Definition: no_normal_stress_outflow_fv1.h:82
void register_all_funcs(bool bHang)
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_fv1.cpp:150
std::vector< MathVector< dim > > m_vGloIP
Definition: no_normal_stress_outflow_fv1.h:187
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_fv1.cpp:287