35#ifndef NEKTAR_SOLVERS_COMPRESSIBLEFLOWSOLVER_BNDCOND_CFSBNDCOND
36#define NEKTAR_SOLVERS_COMPRESSIBLEFLOWSOLVER_BNDCOND_CFSBNDCOND
122 const int pSpaceDim,
const int bcRegion,
const int cnt);
Encapsulates the user-defined boundary conditions for compressible flow solver.
virtual void v_Apply(Array< OneD, Array< OneD, NekDouble > > &Fwd, Array< OneD, Array< OneD, NekDouble > > &physarray, const NekDouble &time)=0
NekDouble m_diffusionAveWeight
Weight for average calculation of diffusion term.
void Apply(Array< OneD, Array< OneD, NekDouble > > &Fwd, Array< OneD, Array< OneD, NekDouble > > &physarray, const NekDouble &time=0)
Apply the boundary condition.
LibUtilities::SessionReaderSharedPtr m_session
Session reader.
int m_spacedim
Space dimension.
Array< OneD, Array< OneD, NekDouble > > m_gridVelocityTrace
Grid Velocity.
Array< OneD, Array< OneD, NekDouble > > m_traceNormals
Trace normals.
Array< OneD, NekDouble > m_velInf
void ApplyBwdWeight()
Apply the Weight of boundary condition.
NekDouble m_gamma
Parameters of the flow.
int m_bcRegion
Id of the boundary region.
VariableConverterSharedPtr m_varConv
Auxiliary object to convert variables.
CFSBndCond(const LibUtilities::SessionReaderSharedPtr &pSession, const Array< OneD, MultiRegions::ExpListSharedPtr > &pFields, const Array< OneD, Array< OneD, NekDouble > > &pTraceNormals, const Array< OneD, Array< OneD, NekDouble > > &pGridVelocity, const int pSpaceDim, const int bcRegion, const int cnt)
Constructor.
Array< OneD, MultiRegions::ExpListSharedPtr > m_fields
Array of fields.
virtual void v_ApplyBwdWeight()
Provides a generic Factory class.
std::shared_ptr< SessionReader > SessionReaderSharedPtr
CFSBndCondFactory & GetCFSBndCondFactory()
Declaration of the boundary condition factory singleton.
std::shared_ptr< VariableConverter > VariableConverterSharedPtr
std::shared_ptr< CFSBndCond > CFSBndCondSharedPtr
A shared pointer to a boundary condition object.
LibUtilities::NekFactory< std::string, CFSBndCond, const LibUtilities::SessionReaderSharedPtr &, const Array< OneD, MultiRegions::ExpListSharedPtr > &, const Array< OneD, Array< OneD, NekDouble > > &, const Array< OneD, Array< OneD, NekDouble > > &, const int, const int, const int > CFSBndCondFactory
Declaration of the boundary condition factory.