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 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 | |
PressureMachTemperatureBC (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) | |
~PressureMachTemperatureBC (void) override | |
Private Attributes | |
Array< OneD, Array< OneD, NekDouble > > | m_bcStorage |
Friends | |
class | MemoryManager< PressureMachTemperatureBC > |
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 51 of file PressureMachTemperatureBC.h.
|
private |
Definition at line 48 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().
|
inlineoverrideprivate |
Definition at line 87 of file PressureMachTemperatureBC.h.
|
inlinestatic |
Creates an instance of this class.
Definition at line 57 of file PressureMachTemperatureBC.h.
References Nektar::MemoryManager< DataType >::AllocateSharedPtr(), and CellMLToNektar.cellml_metadata::p.
|
overrideprotectedvirtual |
Implements Nektar::CFSBndCond.
Definition at line 115 of file PressureMachTemperatureBC.cpp.
References Nektar::CFSBndCond::m_bcRegion, m_bcStorage, Nektar::CFSBndCond::m_fields, and Vmath::Vcopy().
|
friend |
Definition at line 1 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(), and v_Apply().