39#include <SolverCore/EquationSystems/UnsteadySystem.h>
40#include <SolverCore/TraceFlux/TraceFluxOp.hpp>
44template <
typename TData>
class CFLVelocityCFEOp;
48template <
typename TData>
class IProductWRTBaseOp;
49template <
typename TData>
class MultiplyByElmtInvMassOp;
57using namespace SolverCore;
58using namespace MultiRegions;
99 [[maybe_unused]]
const double &time,
100 [[maybe_unused]]
const double &factor);
A Field represents expansion data to be operated on.
General purpose memory allocation routines with the ability to allocate from thread specific memory p...
static std::shared_ptr< DataType > AllocateSharedPtr(const Args &...args)
Allocate a shared pointer from the memory pool.
static std::string className
Name of class.
NavierStokesCFE(const LibUtilities::SessionReaderSharedPtr &pSession, const SpatialDomains::MeshGraphSharedPtr &pGraph)
std::shared_ptr< IProductWRTBaseOp< double > > m_iProductWRTBaseOp
std::shared_ptr< MultiplyByElmtInvMassOp< double > > m_multiplyByElmtInvMassOp
void LoadSessionParameters()
CoefficientFieldViews v_GetOutputFieldViews() override
Project the solution to coefficients and return views of them.
CFLVelocity v_GetCFLVelocity() override
Supply the Courant estimate with the compressible wave speed.
LibUtilities::Field< double, FieldState::Phys > m_cflVelocity
SolverCore::TraceFluxOp< double >::ViscousTraceForm ReadViscousTraceForm()
The viscous trace form SOLVERINFO ViscousTraceFlux selects.
void DoOdeRhs(LibUtilities::Field< double, FieldState::Phys > &in, LibUtilities::Field< double, FieldState::Phys > &out, const double &time, const double &factor)
Assemble the explicit Navier-Stokes increment.
void v_GenerateSummary(SummaryList &s) override
Print a summary of time stepping parameters.
std::shared_ptr< CFLVelocityCFEOp< double > > m_cflVelocityOp
std::shared_ptr< AdvWeakDGDiffusionIPOp< double > > m_advDiffusionOp
void SetUpBoundaryConditions()
Attach the boundary conditions this system supports.
~NavierStokesCFE() override=default
static EquationSystemSharedPtr create(const LibUtilities::SessionReaderSharedPtr &pSession, const SpatialDomains::MeshGraphSharedPtr &pGraph)
Creates an instance of this class.
void v_InitialiseOperators() override
void v_InitObject(bool declareExpansionLists=true) override
Initialization object for CompressibleFlowSystem class.
void DoProjection(LibUtilities::Field< double, FieldState::Phys > &in, LibUtilities::Field< double, FieldState::Phys > &out, const double &time)
Project onto the solution space, which for DG is a copy.
Base class for unsteady solvers.
std::shared_ptr< SessionReader > SessionReaderSharedPtr
std::vector< std::pair< std::string, std::string > > SummaryList
std::shared_ptr< EquationSystem > EquationSystemSharedPtr
A shared pointer to an EquationSystem object.
std::shared_ptr< MeshGraph > MeshGraphSharedPtr