Nektar++
|
Boundary condition in terms of pressure, Mach number and temperature. P should be defined in the "rho" entry, T in the "E" entry and the Mach number in each direction in the corresponding momentum variable. This state is converted to conserved variables and a Dirichlet condition is applied. More...
#include <PressureMachTemperatureBC.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) |
![]() | |
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 | |
PressureMachTemperatureBC (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 | ~PressureMachTemperatureBC (void) |
Private Attributes | |
Array< OneD, Array< OneD, NekDouble > > | m_bcStorage |
Friends | |
class | MemoryManager< PressureMachTemperatureBC > |
Additional Inherited Members | |
![]() | |
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... | |
![]() | |
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... | |
Boundary condition in terms of pressure, Mach number and temperature. P should be defined in the "rho" entry, T in the "E" entry and the Mach number in each direction in the corresponding momentum variable. This state is converted to conserved variables and a Dirichlet condition is applied.
Definition at line 52 of file PressureMachTemperatureBC.h.
|
private |
Definition at line 50 of file PressureMachTemperatureBC.cpp.
References Nektar::CFSBndCond::m_bcRegion, m_bcStorage, Nektar::CFSBndCond::m_fields, Nektar::CFSBndCond::m_spacedim, Nektar::CFSBndCond::m_varConv, CG_Iterations::pressure, Vmath::Smul(), Vmath::Vadd(), Vmath::Vcopy(), and Vmath::Vmul().
|
inlineprivatevirtual |
|
inlinestatic |
Creates an instance of this class.
Definition at line 59 of file PressureMachTemperatureBC.h.
References Nektar::MemoryManager< DataType >::AllocateSharedPtr(), and CellMLToNektar.cellml_metadata::p.
|
protectedvirtual |
Implements Nektar::CFSBndCond.
Definition at line 130 of file PressureMachTemperatureBC.cpp.
References Nektar::CFSBndCond::m_bcRegion, m_bcStorage, Nektar::CFSBndCond::m_fields, and Vmath::Vcopy().
|
friend |
Definition at line 56 of file PressureMachTemperatureBC.h.
|
static |
Name of the class.
Definition at line 72 of file PressureMachTemperatureBC.h.
Definition at line 90 of file PressureMachTemperatureBC.h.
Referenced by PressureMachTemperatureBC(), v_Apply(), and ~PressureMachTemperatureBC().