38 #ifndef __H__UG__PLUGINS__NAVIER_STOKES__COMPRESSIBLE__COMPRESSIBLE_NAVIER_STOKES_FV1_H__
39 #define __H__UG__PLUGINS__NAVIER_STOKES__COMPRESSIBLE__COMPRESSIBLE_NAVIER_STOKES_FV1_H__
50 #include "../compressible_navier_stokes_base.h"
51 #include "../../upwind_interface.h"
129 template<
typename TDomain>
179 void prepare_setting(
const std::vector<LFEID>& vLfeID,
bool bNonRegularGrid);
190 template<
typename TElem,
typename TFVGeom>
203 template <
typename TElem,
typename TFVGeom>
218 template <
typename TElem,
typename TFVGeom>
222 template <
typename TElem,
typename TFVGeom>
289 template <
typename TElem,
typename TFVGeom>
359 template <
typename TElem,
typename TFVGeom>
385 template <
typename TElem,
typename TFVGeom>
413 template <
typename TElem,
typename TFVGeom>
436 template <
typename TElem,
typename TFVGeom>
471 template <
typename TFVGeom>
512 template <
typename TElem,
typename TFVGeom>
void register_func();
function NavierStokes(fcts, subsets, discType)
SmartPtr< CplUserData< number, dim > > user_data()
Finite Volume Element Discretization for the compressible Navier-Stokes Equation.
Definition: compressible_navier_stokes_base.h:126
number m_bFullNewtonFactor
factor for exact jacobian, (1 for exact jacobian, 0 for fix point)
Definition: navier_stokes_base.h:207
static const int dim
World dimension.
Definition: compressible_navier_stokes_base.h:136
bool m_bMachNrBlend
flag if using Mach-number Blending
Definition: compressible_navier_stokes_base.h:187
Finite Volume Element Discretization for the compressible Navier-Stokes Equation.
Definition: compressible_navier_stokes_fv1.h:132
virtual std::string disc_type() const
returns string identifying disc type
Definition: compressible_navier_stokes_fv1.h:182
void add_rhs_elem(LocalVector &d, GridObject *elem, const MathVector< dim > vCornerCoords[])
adds the source part to the local defect
Definition: compressible_navier_stokes_fv1.cpp:837
void set_upwind(const std::string &name)
sets the upwind based on a string identifier
Definition: compressible_navier_stokes_fv1.h:174
void prepare_setting(const std::vector< LFEID > &vLfeID, bool bNonRegularGrid)
type of trial space for each function used
Definition: compressible_navier_stokes_fv1.cpp:93
void prep_elem_loop(const ReferenceObjectID roid, const int si)
prepares the element loop
Definition: compressible_navier_stokes_fv1.cpp:177
void add_def_M_elem(LocalVector &d, const LocalVector &u, GridObject *elem, const MathVector< dim > vCornerCoords[])
adds the mass part to the local defect
Definition: compressible_navier_stokes_fv1.cpp:794
CompressibleNavierStokesBase< TDomain > base_type
Base class type.
Definition: compressible_navier_stokes_fv1.h:135
void register_func()
Definition: compressible_navier_stokes_fv1.cpp:955
static const size_t _P_
abbreviation for pressure
Definition: compressible_navier_stokes_fv1.h:490
static const int dim
World dimension.
Definition: compressible_navier_stokes_fv1.h:142
void register_all_funcs(bool bHang)
SmartPtr< INavierStokesUpwind< dim > > m_spConvUpwind
Upwinding for velocity in convective term of momentum equation.
Definition: compressible_navier_stokes_fv1.h:487
number m_maxPressure
Definition: compressible_navier_stokes_fv1.h:501
static const size_t _Rho_
abbreviation for density
Definition: compressible_navier_stokes_fv1.h:492
CompressibleNavierStokesFV1< TDomain > this_type
own type
Definition: compressible_navier_stokes_fv1.h:138
void set_upwind(SmartPtr< INavierStokesUpwind< dim > > spUpwind)
sets an upwinding for the convective term of momentum equation
Definition: compressible_navier_stokes_fv1.h:170
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: compressible_navier_stokes_fv1.cpp:279
DataImport< MathVector< dim >, dim > m_imSourceSCVF
Definition: compressible_navier_stokes_fv1.h:478
void set_adiabatic_index(SmartPtr< CplUserData< number, dim > > user)
sets the adiabatic index
Definition: compressible_navier_stokes_fv1.cpp:120
void prep_elem(const LocalVector &u, GridObject *elem, const ReferenceObjectID roid, const MathVector< dim > vCornerCoords[])
prepares the element for evaluation
Definition: compressible_navier_stokes_fv1.cpp:240
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: compressible_navier_stokes_fv1.cpp:552
SmartPtr< CplUserData< number, dim > > kinematic_viscosity()
returns kinematic viscosity
Definition: compressible_navier_stokes_fv1.h:155
number m_maxDensity
Definition: compressible_navier_stokes_fv1.h:502
number m_refMachNrSq
Definition: compressible_navier_stokes_fv1.h:505
void prep_timestep_elem(const number time, const LocalVector &u, GridObject *elem, const MathVector< dim > vCornerCoords[])
prepares the element loop
Definition: compressible_navier_stokes_fv1.cpp:142
void set_source(SmartPtr< CplUserData< MathVector< dim >, dim > > user)
sets the source function
Definition: compressible_navier_stokes_fv1.cpp:127
SmartPtr< CplUserData< number, dim > > adiabatic_index()
returns adiabatic index
Definition: compressible_navier_stokes_fv1.h:161
number m_maxVel
reference quantities for getting dimensionless equations
Definition: compressible_navier_stokes_fv1.h:500
DataImport< MathVector< dim >, dim > sourceSCVF()
returns scvf source
Definition: compressible_navier_stokes_fv1.h:167
DataImport< number, dim > m_imAdiabaticIndex
Data import for adiabatic index.
Definition: compressible_navier_stokes_fv1.h:484
void fsh_elem_loop()
finishes the element loop
Definition: compressible_navier_stokes_fv1.cpp:233
void set_kinematic_viscosity(SmartPtr< CplUserData< number, dim > > user)
sets the kinematic viscosity
Definition: compressible_navier_stokes_fv1.cpp:113
DataImport< MathVector< dim >, dim > m_imSourceSCV
Data import for source.
Definition: compressible_navier_stokes_fv1.h:477
void init()
Definition: compressible_navier_stokes_fv1.cpp:68
CompressibleNavierStokesFV1(const char *functions, const char *subsets)
Definition: compressible_navier_stokes_fv1.cpp:51
DataImport< number, dim > m_imKinViscosity
Data import for kinematic viscosity.
Definition: compressible_navier_stokes_fv1.h:481
void add_jac_M_elem(LocalMatrix &J, const LocalVector &u, GridObject *elem, const MathVector< dim > vCornerCoords[])
adds the mass part to the local jacobian
Definition: compressible_navier_stokes_fv1.cpp:760
number mach_number_blending(MathVector< dim > &UpwindVel, const TFVGeom &geo, size_t ip, const MathVector< dim > &StdVel, number kinVisco)
computes the Mach-number blended Upwind velocity
Definition: compressible_navier_stokes_fv1.cpp:871
number m_numeratorOfRefReynoldsNr
Definition: compressible_navier_stokes_fv1.h:506
number m_refLength
Definition: compressible_navier_stokes_fv1.h:503
Definition: upwind_interface.h:57