33 #ifndef __H__UG__PLUGINS__NAVIER_STOKES__INCOMPRESSIBLE__FV__BND__NO_NORMAL_STRESS_OUTFLOW_FV_
34 #define __H__UG__PLUGINS__NAVIER_STOKES__INCOMPRESSIBLE__FV__BND__NO_NORMAL_STRESS_OUTFLOW_FV_
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 VGeom,
typename PGeom>
107 template<
typename TElem,
typename VGeom,
typename PGeom>
111 template<
typename TElem,
typename VGeom,
typename PGeom>
115 template<
typename TElem,
typename VGeom,
typename PGeom>
119 template<
typename TElem,
typename VGeom,
typename PGeom>
125 template<
typename TElem,
typename VGeom,
typename PGeom>
127 template<
typename TElem,
typename VGeom,
typename PGeom>
129 template<
typename TElem,
typename VGeom,
typename PGeom>
135 template <
typename BF>
145 template <
typename BF>
155 template <
typename BF>
165 template <
typename BF>
206 template<
typename TElem,
typename VGeom,
typename PGeom>
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_fv.h:72
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_fv.cpp:449
virtual void prepare_setting(const std::vector< LFEID > &vLfeID, bool bNonRegularGrid)
type of trial space for each function used
Definition: no_normal_stress_outflow_fv.cpp:66
std::vector< MathVector< dim > > m_vLocIPp
Definition: no_normal_stress_outflow_fv.h:192
int m_quadOrder
quadrature order
Definition: no_normal_stress_outflow_fv.h:201
DataImport< number, dim > m_imDensityP
Definition: no_normal_stress_outflow_fv.h:187
void add_jac_M_elem(LocalMatrix &J, const LocalVector &u, GridObject *elem, const MathVector< dim > vCornerCoords[])
Definition: no_normal_stress_outflow_fv.h:126
NavierStokesNoNormalStressOutflowFV(SmartPtr< IncompressibleNavierStokesBase< TDomain > > spMaster)
Constructor (setting default values)
Definition: no_normal_stress_outflow_fv.cpp:47
void prep_elem_loop(const ReferenceObjectID roid, const int si)
prepares the element loop
Definition: no_normal_stress_outflow_fv.cpp:100
static const size_t _P_
abbreviation for pressure
Definition: no_normal_stress_outflow_fv.h:177
NavierStokesNoNormalStressOutflowFV< TDomain > this_type
own type
Definition: no_normal_stress_outflow_fv.h:78
static const int dim
World dimension.
Definition: no_normal_stress_outflow_fv.h:82
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_fv.cpp:163
std::vector< MathVector< dim > > m_vGloIPv
Definition: no_normal_stress_outflow_fv.h:191
void register_all_funcs(const LFEID &vLfeID, const LFEID &pLfeID)
register util
void convective_flux_Jac(const size_t i, 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_fv.cpp:336
LFEID m_vLFEID
current shape function set
Definition: no_normal_stress_outflow_fv.h:197
DataImport< number, dim > m_imKinViscosity
Data import for kinematic viscosity.
Definition: no_normal_stress_outflow_fv.h:183
void diffusive_flux_Jac(const size_t i, 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_fv.cpp:238
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_fv.cpp:400
void add_def_M_elem(LocalVector &d, const LocalVector &u, GridObject *elem, const MathVector< dim > vCornerCoords[])
Definition: no_normal_stress_outflow_fv.h:128
void fsh_elem_loop()
finishes the element loop
Definition: no_normal_stress_outflow_fv.cpp:142
LFEID m_pLFEID
Definition: no_normal_stress_outflow_fv.h:198
virtual void set_kinematic_viscosity(SmartPtr< CplUserData< number, dim > > data)
sets the kinematic viscosity
Definition: no_normal_stress_outflow_fv.h:90
void convective_flux_defect(const size_t i, 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_fv.cpp:371
void register_func()
Definition: no_normal_stress_outflow_fv.cpp:541
void diffusive_flux_defect(const size_t i, 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_fv.cpp:287
std::vector< MathVector< dim > > m_vGloIPp
Definition: no_normal_stress_outflow_fv.h:193
virtual void set_density(SmartPtr< CplUserData< number, dim > > data)
sets the density
Definition: no_normal_stress_outflow_fv.h:94
std::vector< std::vector< number > > m_vvVShape
Definition: no_normal_stress_outflow_fv.h:209
NavierStokesNoNormalStressOutflowBase< TDomain > base_type
Base class type.
Definition: no_normal_stress_outflow_fv.h:75
void add_rhs_elem(LocalVector &d, GridObject *elem, const MathVector< dim > vCornerCoords[])
Definition: no_normal_stress_outflow_fv.h:130
DataImport< number, dim > m_imDensity
Data import for density.
Definition: no_normal_stress_outflow_fv.h:186
std::vector< MathVector< dim > > m_vLocIPv
Boundary integration points of the viscosity and the density.
Definition: no_normal_stress_outflow_fv.h:190