Nektar++
|
Pressure inflow boundary conditions for compressible flow problems where either the density and the velocities are assigned from a file or the full state is assigned from a file (depending on the problem type, either subsonic or supersonic). More...
#include <PressureInflowFileBC.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... | |
Private Member Functions | |
PressureInflowFileBC (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 | ~PressureInflowFileBC (void) |
Private Attributes | |
Array< OneD, Array< OneD, NekDouble > > | m_fieldStorage |
Friends | |
class | MemoryManager< PressureInflowFileBC > |
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... | |
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... | |
Pressure inflow boundary conditions for compressible flow problems where either the density and the velocities are assigned from a file or the full state is assigned from a file (depending on the problem type, either subsonic or supersonic).
Definition at line 51 of file PressureInflowFileBC.h.
|
private |
Definition at line 48 of file PressureInflowFileBC.cpp.
References Nektar::CFSBndCond::m_bcRegion, Nektar::CFSBndCond::m_fields, m_fieldStorage, and Vmath::Vcopy().
|
inlineprivatevirtual |
Definition at line 88 of file PressureInflowFileBC.h.
|
inlinestatic |
Creates an instance of this class.
Definition at line 58 of file PressureInflowFileBC.h.
References Nektar::MemoryManager< DataType >::AllocateSharedPtr(), and CellMLToNektar.cellml_metadata::p.
|
protectedvirtual |
Implements Nektar::CFSBndCond.
Definition at line 72 of file PressureInflowFileBC.cpp.
References Nektar::CFSBndCond::m_bcRegion, Nektar::CFSBndCond::m_fields, m_fieldStorage, Nektar::CFSBndCond::m_gamma, Nektar::CFSBndCond::m_offset, Nektar::CFSBndCond::m_spacedim, Nektar::CFSBndCond::m_traceNormals, Nektar::CFSBndCond::m_varConv, npts, Vmath::Vabs(), Vmath::Vdiv(), and Vmath::Vvtvp().
|
friend |
Definition at line 55 of file PressureInflowFileBC.h.
|
static |
Name of the class.
Definition at line 71 of file PressureInflowFileBC.h.
Definition at line 88 of file PressureInflowFileBC.h.
Referenced by PressureInflowFileBC(), and v_Apply().