Nektar++
|
Encapsulates the user-defined boundary conditions for compressible flow solver. More...
#include <CFSBndCond.h>
Public Member Functions | |
virtual | ~CFSBndCond () |
void | Apply (Array< OneD, Array< OneD, NekDouble > > &Fwd, Array< OneD, Array< OneD, NekDouble > > &physarray, const NekDouble &time=0) |
Apply the boundary condition. More... | |
Protected Member Functions | |
CFSBndCond (const LibUtilities::SessionReaderSharedPtr &pSession, const Array< OneD, MultiRegions::ExpListSharedPtr > &pFields, const Array< OneD, Array< OneD, NekDouble > > &pTraceNormals, const int pSpaceDim, const int bcRegion, const int cnt) | |
Constructor. More... | |
virtual void | v_Apply (Array< OneD, Array< OneD, NekDouble > > &Fwd, Array< OneD, Array< OneD, NekDouble > > &physarray, const NekDouble &time)=0 |
Protected Attributes | |
LibUtilities::SessionReaderSharedPtr | m_session |
Session reader. More... | |
Array< OneD, MultiRegions::ExpListSharedPtr > | m_fields |
Array of fields. More... | |
Array< OneD, Array< OneD, NekDouble > > | m_traceNormals |
Trace normals. More... | |
int | m_spacedim |
Space dimension. More... | |
VariableConverterSharedPtr | m_varConv |
Auxiliary object to convert variables. More... | |
NekDouble | m_gamma |
Parameters of the flow. More... | |
NekDouble | m_rhoInf |
NekDouble | m_pInf |
Array< OneD, NekDouble > | m_velInf |
int | m_bcRegion |
Id of the boundary region. More... | |
int | m_offset |
Offset. More... | |
Encapsulates the user-defined boundary conditions for compressible flow solver.
Definition at line 71 of file CFSBndCond.h.
|
inlinevirtual |
Definition at line 74 of file CFSBndCond.h.
|
protected |
Constructor.
Definition at line 51 of file CFSBndCond.cpp.
References Nektar::MemoryManager< DataType >::AllocateSharedPtr(), m_gamma, m_pInf, m_rhoInf, m_session, m_spacedim, m_varConv, and m_velInf.
void Nektar::CFSBndCond::Apply | ( | Array< OneD, Array< OneD, NekDouble > > & | Fwd, |
Array< OneD, Array< OneD, NekDouble > > & | physarray, | ||
const NekDouble & | time = 0 |
||
) |
Apply the boundary condition.
bcRegion | id of the boundary region |
cnt | |
Fwd | |
physarray | |
time |
Definition at line 90 of file CFSBndCond.cpp.
References v_Apply().
|
protectedpure virtual |
Implemented in Nektar::PressureInflowFileBC, Nektar::PressureOutflowNonReflectiveBC, Nektar::ExtrapOrder0BC, Nektar::PressureOutflowBC, Nektar::PressureOutflowFileBC, Nektar::RiemannInvariantBC, Nektar::WallViscousBC, Nektar::IsentropicVortexBC, Nektar::RinglebFlowBC, Nektar::SymmetryBC, Nektar::TimeDependentBC, and Nektar::WallBC.
Referenced by Apply().
|
protected |
Id of the boundary region.
Definition at line 101 of file CFSBndCond.h.
Referenced by Nektar::PressureInflowFileBC::PressureInflowFileBC(), Nektar::PressureOutflowFileBC::PressureOutflowFileBC(), Nektar::RinglebFlowBC::v_Apply(), Nektar::SymmetryBC::v_Apply(), Nektar::IsentropicVortexBC::v_Apply(), Nektar::WallBC::v_Apply(), Nektar::ExtrapOrder0BC::v_Apply(), Nektar::PressureOutflowFileBC::v_Apply(), Nektar::RiemannInvariantBC::v_Apply(), Nektar::WallViscousBC::v_Apply(), Nektar::PressureOutflowBC::v_Apply(), Nektar::PressureOutflowNonReflectiveBC::v_Apply(), and Nektar::PressureInflowFileBC::v_Apply().
|
protected |
Array of fields.
Definition at line 86 of file CFSBndCond.h.
Referenced by Nektar::PressureInflowFileBC::PressureInflowFileBC(), Nektar::PressureOutflowFileBC::PressureOutflowFileBC(), Nektar::RiemannInvariantBC::RiemannInvariantBC(), Nektar::TimeDependentBC::v_Apply(), Nektar::RinglebFlowBC::v_Apply(), Nektar::IsentropicVortexBC::v_Apply(), Nektar::SymmetryBC::v_Apply(), Nektar::WallBC::v_Apply(), Nektar::WallViscousBC::v_Apply(), Nektar::RiemannInvariantBC::v_Apply(), Nektar::ExtrapOrder0BC::v_Apply(), Nektar::PressureOutflowFileBC::v_Apply(), Nektar::PressureOutflowBC::v_Apply(), Nektar::PressureOutflowNonReflectiveBC::v_Apply(), and Nektar::PressureInflowFileBC::v_Apply().
|
protected |
Parameters of the flow.
Definition at line 95 of file CFSBndCond.h.
Referenced by CFSBndCond(), Nektar::IsentropicVortexBC::EvaluateIsentropicVortex(), Nektar::RinglebFlowBC::v_Apply(), Nektar::PressureOutflowBC::v_Apply(), Nektar::PressureOutflowFileBC::v_Apply(), Nektar::RiemannInvariantBC::v_Apply(), Nektar::PressureOutflowNonReflectiveBC::v_Apply(), and Nektar::PressureInflowFileBC::v_Apply().
|
protected |
Offset.
Definition at line 103 of file CFSBndCond.h.
Referenced by Nektar::IsentropicVortexBC::v_Apply(), Nektar::RinglebFlowBC::v_Apply(), Nektar::SymmetryBC::v_Apply(), Nektar::WallBC::v_Apply(), Nektar::PressureOutflowBC::v_Apply(), Nektar::ExtrapOrder0BC::v_Apply(), Nektar::WallViscousBC::v_Apply(), Nektar::PressureOutflowFileBC::v_Apply(), Nektar::RiemannInvariantBC::v_Apply(), Nektar::PressureOutflowNonReflectiveBC::v_Apply(), and Nektar::PressureInflowFileBC::v_Apply().
|
protected |
Definition at line 97 of file CFSBndCond.h.
Referenced by CFSBndCond(), Nektar::RiemannInvariantBC::v_Apply(), Nektar::PressureOutflowBC::v_Apply(), and Nektar::PressureOutflowNonReflectiveBC::v_Apply().
|
protected |
Definition at line 96 of file CFSBndCond.h.
Referenced by CFSBndCond(), and Nektar::RiemannInvariantBC::v_Apply().
|
protected |
Session reader.
Definition at line 84 of file CFSBndCond.h.
Referenced by CFSBndCond(), Nektar::RinglebFlowBC::RinglebFlowBC(), Nektar::RinglebFlowBC::v_Apply(), and Nektar::TimeDependentBC::v_Apply().
|
protected |
Space dimension.
Definition at line 90 of file CFSBndCond.h.
Referenced by CFSBndCond(), Nektar::IsentropicVortexBC::EvaluateIsentropicVortex(), Nektar::RiemannInvariantBC::RiemannInvariantBC(), Nektar::WallBC::v_Apply(), Nektar::SymmetryBC::v_Apply(), Nektar::RiemannInvariantBC::v_Apply(), Nektar::ExtrapOrder0BC::v_Apply(), Nektar::PressureOutflowFileBC::v_Apply(), Nektar::PressureOutflowBC::v_Apply(), Nektar::WallViscousBC::v_Apply(), Nektar::PressureOutflowNonReflectiveBC::v_Apply(), and Nektar::PressureInflowFileBC::v_Apply().
Trace normals.
Definition at line 88 of file CFSBndCond.h.
Referenced by Nektar::RiemannInvariantBC::RiemannInvariantBC(), Nektar::WallBC::v_Apply(), Nektar::SymmetryBC::v_Apply(), Nektar::RiemannInvariantBC::v_Apply(), Nektar::PressureOutflowBC::v_Apply(), Nektar::PressureOutflowFileBC::v_Apply(), Nektar::PressureOutflowNonReflectiveBC::v_Apply(), and Nektar::PressureInflowFileBC::v_Apply().
|
protected |
Auxiliary object to convert variables.
Definition at line 92 of file CFSBndCond.h.
Referenced by CFSBndCond(), Nektar::PressureOutflowFileBC::PressureOutflowFileBC(), Nektar::RiemannInvariantBC::v_Apply(), Nektar::PressureOutflowFileBC::v_Apply(), Nektar::PressureOutflowBC::v_Apply(), Nektar::PressureOutflowNonReflectiveBC::v_Apply(), and Nektar::PressureInflowFileBC::v_Apply().
Definition at line 98 of file CFSBndCond.h.
Referenced by CFSBndCond(), Nektar::RiemannInvariantBC::RiemannInvariantBC(), and Nektar::RiemannInvariantBC::v_Apply().