40 #include <boost/algorithm/string.hpp>
46 string VCSWeakPressure::className =
49 VCSWeakPressure::create);
57 VCSWeakPressure::VCSWeakPressure(
91 dealias += (dealias ==
"" ?
"" :
" + ") +
string(
"spectral/hp");
101 smoothing += (smoothing ==
"" ?
"" :
" + ") +
string(
"Homogeneous1D");
106 s,
"Smoothing",
"SVV (" + smoothing +
" SVV (cut-off = "
122 int ncoeffs =
m_fields[0]->GetNcoeffs();
virtual void v_SetUpPressureForcing(const Array< OneD, const Array< OneD, NekDouble > > &fields, Array< OneD, Array< OneD, NekDouble > > &Forcing, const NekDouble aii_Dt)
static Array< OneD, NekDouble > NullNekDouble1DArray
NekDouble m_kinvis
Kinematic viscosity.
std::vector< std::pair< std::string, std::string > > SummaryList
bool m_useHomo1DSpecVanVisc
bool to identify if spectral vanishing viscosity is active.
NekDouble m_sVVDiffCoeff
Diffusion coefficient of SVV modes.
ExtrapolateSharedPtr m_extrapolation
bool m_specHP_dealiasing
Flag to determine if dealisising is usde for the Spectral/hp element discretisation.
std::map< ConstFactorType, NekDouble > ConstFactorMap
const char *const TimeIntegrationMethodMap[]
boost::shared_ptr< SessionReader > SessionReaderSharedPtr
virtual ~VCSWeakPressure()
virtual SOLVER_UTILS_EXPORT void v_GenerateSummary(SummaryList &s)
Print a summary of time stepping parameters.
void Smul(int n, const T alpha, const T *x, const int incx, T *y, const int incy)
Scalar multiply y = alpha*y.
virtual void v_GenerateSummary(SolverUtils::SummaryList &s)
Print a summary of time stepping parameters.
Base class for unsteady solvers.
void AddSummaryItem(SummaryList &l, const std::string &name, const std::string &value)
Adds a summary item to the summary info list.
virtual void v_SolvePressure(const Array< OneD, NekDouble > &Forcing)
bool m_homogen_dealiasing
Flag to determine if dealiasing is used for homogeneous simulations.
EquationSystemFactory & GetEquationSystemFactory()
NekDouble m_sVVCutoffRatio
cutt off ratio from which to start decayhing modes
Array< OneD, MultiRegions::ExpListSharedPtr > m_fields
Array holding all dependent variables.
bool m_useSpecVanVisc
bool to identify if spectral vanishing viscosity is active.
MultiRegions::ExpListSharedPtr m_pressure
Pointer to field holding pressure field.
Defines a forcing term to be explicitly applied.
enum HomogeneousType m_HomogeneousType
static FlagList NullFlagList
An empty flag list.
static VarCoeffMap NullVarCoeffMap
tKey RegisterCreatorFunction(tKey idKey, CreatorFunction classCreator, tDescription pDesc="")
Register a class with the factory.