|
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. | |
Static Public Attributes | |
| static std::string | className |
| Name of the class. | |
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. | |
| virtual | ~CFSBndCond ()=default |
| 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=default | |
Private Attributes | |
| Array< OneD, Array< OneD, NekDouble > > | m_bcStorage |
Friends | |
| class | MemoryManager< PressureMachTemperatureBC > |
Additional Inherited Members | |
Public Member Functions inherited from Nektar::CFSBndCond | |
| void | Apply (Array< OneD, Array< OneD, NekDouble > > &Fwd, Array< OneD, Array< OneD, NekDouble > > &physarray, const NekDouble &time=0) |
| Apply the boundary condition. | |
| void | ApplyBwdWeight () |
| Apply the Weight of boundary condition. | |
Protected Attributes inherited from Nektar::CFSBndCond | |
| LibUtilities::SessionReaderSharedPtr | m_session |
| Session reader. | |
| Array< OneD, MultiRegions::ExpListSharedPtr > | m_fields |
| Array of fields. | |
| Array< OneD, Array< OneD, NekDouble > > | m_traceNormals |
| Trace normals. | |
| Array< OneD, Array< OneD, NekDouble > > | m_gridVelocityTrace |
| Grid Velocity. | |
| int | m_spacedim |
| Space dimension. | |
| VariableConverterSharedPtr | m_varConv |
| Auxiliary object to convert variables. | |
| NekDouble | m_diffusionAveWeight |
| Weight for average calculation of diffusion term. | |
| NekDouble | m_gamma |
| Parameters of the flow. | |
| NekDouble | m_rhoInf |
| NekDouble | m_pInf |
| NekDouble | m_pOut |
| Array< OneD, NekDouble > | m_velInf |
| NekDouble | m_angVel |
| int | m_bcRegion |
| Id of the boundary region. | |
| int | m_offset |
| Offset. | |
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 46 of file PressureMachTemperatureBC.cpp.
References Nektar::CFSBndCond::m_bcRegion, m_bcStorage, Nektar::CFSBndCond::m_fields, Nektar::CFSBndCond::m_spacedim, Nektar::CFSBndCond::m_varConv, Vmath::Smul(), Vmath::Vadd(), Vmath::Vcopy(), and Vmath::Vmul().
|
overrideprivatedefault |
|
inlinestatic |
Creates an instance of this class.
Definition at line 57 of file PressureMachTemperatureBC.h.
References Nektar::MemoryManager< DataType >::AllocateSharedPtr().
|
overrideprotectedvirtual |
Implements Nektar::CFSBndCond.
Definition at line 113 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().