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 Array< OneD, Array< OneD, NekDouble > > &pGridVelocity, 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 | |
void | v_Apply (Array< OneD, Array< OneD, NekDouble > > &Fwd, Array< OneD, Array< OneD, NekDouble > > &physarray, const NekDouble &time) override |
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 Array< OneD, Array< OneD, NekDouble > > &pGridVelocity, 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 |
virtual void | v_ApplyBwdWeight () |
Private Member Functions | |
PressureInflowFileBC (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) | |
~PressureInflowFileBC (void) override | |
Private Attributes | |
Array< OneD, Array< OneD, NekDouble > > | m_fieldStorage |
Friends | |
class | MemoryManager< PressureInflowFileBC > |
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 49 of file PressureInflowFileBC.h.
|
private |
Definition at line 47 of file PressureInflowFileBC.cpp.
References Nektar::CFSBndCond::m_bcRegion, Nektar::CFSBndCond::m_fields, m_fieldStorage, and Vmath::Vcopy().
|
inlineoverrideprivate |
Definition at line 85 of file PressureInflowFileBC.h.
|
inlinestatic |
Creates an instance of this class.
Definition at line 55 of file PressureInflowFileBC.h.
References Nektar::MemoryManager< DataType >::AllocateSharedPtr(), and CellMLToNektar.cellml_metadata::p.
|
overrideprotectedvirtual |
Implements Nektar::CFSBndCond.
Definition at line 71 of file PressureInflowFileBC.cpp.
References Nektar::CFSBndCond::m_bcRegion, Nektar::CFSBndCond::m_fields, m_fieldStorage, Nektar::CFSBndCond::m_offset, Nektar::CFSBndCond::m_spacedim, Nektar::CFSBndCond::m_traceNormals, Nektar::CFSBndCond::m_varConv, CG_Iterations::pressure, Vmath::Vabs(), Vmath::Vdiv(), and Vmath::Vvtvp().
|
friend |
Definition at line 1 of file PressureInflowFileBC.h.
|
static |
Name of the class.
Definition at line 70 of file PressureInflowFileBC.h.
Definition at line 88 of file PressureInflowFileBC.h.
Referenced by PressureInflowFileBC(), and v_Apply().