|
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 | |
| 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 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 int pSpaceDim, const int bcRegion, const int cnt) | |
| ~PressureInflowFileBC (void) override | |
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... | |
| void | ApplyBwdWeight () |
| Apply the Weight of 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_diffusionAveWeight |
| Weight for average calculation of diffusion term. More... | |
| NekDouble | m_gamma |
| Parameters of the flow. More... | |
| NekDouble | m_rhoInf |
| NekDouble | m_pInf |
| NekDouble | m_pOut |
| 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 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 82 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 69 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 68 of file PressureInflowFileBC.h.
Definition at line 85 of file PressureInflowFileBC.h.
Referenced by PressureInflowFileBC(), and v_Apply().