Nektar++
|
Outflow characteristic boundary conditions for compressible flow problems. More...
#include <RiemannInvariantBC.h>
Static Public Member Functions | |
static CFSBndCondSharedPtr | create (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) |
Creates an instance of this class. More... | |
Static Public Attributes | |
static std::string | className |
Name of the class. More... | |
Protected Member Functions | |
virtual void | v_Apply (Array< OneD, Array< OneD, NekDouble > > &Fwd, Array< OneD, Array< OneD, NekDouble > > &physarray, const NekDouble &time) |
Protected Member Functions inherited from Nektar::CFSBndCond | |
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... | |
Protected Attributes | |
Array< OneD, NekDouble > | m_VnInf |
Reference normal velocity. More... | |
Protected Attributes inherited from Nektar::CFSBndCond | |
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... | |
Private Member Functions | |
RiemannInvariantBC (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) | |
virtual | ~RiemannInvariantBC (void) |
Friends | |
class | MemoryManager< RiemannInvariantBC > |
Additional Inherited Members | |
Public Member Functions inherited from Nektar::CFSBndCond | |
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... | |
Outflow characteristic boundary conditions for compressible flow problems.
Definition at line 49 of file RiemannInvariantBC.h.
|
private |
Definition at line 48 of file RiemannInvariantBC.cpp.
References Nektar::CFSBndCond::m_fields, Nektar::CFSBndCond::m_spacedim, Nektar::CFSBndCond::m_traceNormals, Nektar::CFSBndCond::m_velInf, m_VnInf, and Vmath::Svtvp().
|
inlineprivatevirtual |
Definition at line 89 of file RiemannInvariantBC.h.
|
inlinestatic |
Creates an instance of this class.
Definition at line 56 of file RiemannInvariantBC.h.
References Nektar::MemoryManager< DataType >::AllocateSharedPtr(), and CellMLToNektar.cellml_metadata::p.
|
protectedvirtual |
Implements Nektar::CFSBndCond.
Definition at line 72 of file RiemannInvariantBC.cpp.
References Nektar::CFSBndCond::m_bcRegion, Nektar::CFSBndCond::m_fields, Nektar::CFSBndCond::m_gamma, Nektar::CFSBndCond::m_offset, Nektar::CFSBndCond::m_pInf, Nektar::CFSBndCond::m_rhoInf, Nektar::CFSBndCond::m_spacedim, Nektar::CFSBndCond::m_traceNormals, Nektar::CFSBndCond::m_varConv, Nektar::CFSBndCond::m_velInf, m_VnInf, Vmath::Vabs(), Vmath::Vdiv(), and Vmath::Vvtvp().
|
friend |
Definition at line 53 of file RiemannInvariantBC.h.
|
static |
Name of the class.
Definition at line 69 of file RiemannInvariantBC.h.
Reference normal velocity.
Definition at line 79 of file RiemannInvariantBC.h.
Referenced by RiemannInvariantBC(), and v_Apply().