Nektar++
|
#include <MappingExtrapolate.h>
Static Public Member Functions | |
static ExtrapolateSharedPtr | create (const LibUtilities::SessionReaderSharedPtr &pSession, Array< OneD, MultiRegions::ExpListSharedPtr > &pFields, MultiRegions::ExpListSharedPtr &pPressure, const Array< OneD, int > &pVel, const SolverUtils::AdvectionSharedPtr &advObject) |
Creates an instance of this class. More... | |
Static Public Member Functions inherited from Nektar::StandardExtrapolate | |
static ExtrapolateSharedPtr | create (const LibUtilities::SessionReaderSharedPtr &pSession, Array< OneD, MultiRegions::ExpListSharedPtr > &pFields, MultiRegions::ExpListSharedPtr &pPressure, const Array< OneD, int > &pVel, const SolverUtils::AdvectionSharedPtr &advObject) |
Creates an instance of this class. More... | |
Static Public Attributes | |
static std::string | className |
Name of class. More... | |
Static Public Attributes inherited from Nektar::StandardExtrapolate | |
static std::string | className |
Name of class. More... | |
Protected Attributes | |
GlobalMapping::MappingSharedPtr | m_mapping |
Array< OneD, NekDouble > | m_bcCorrection |
bool | m_implicitPressure |
bool | m_implicitViscous |
NekDouble | m_pressureRelaxation |
Protected Attributes inherited from Nektar::Extrapolate | |
LibUtilities::SessionReaderSharedPtr | m_session |
LibUtilities::CommSharedPtr | m_comm |
Array< OneD, MultiRegions::ExpListSharedPtr > | m_fields |
MultiRegions::ExpListSharedPtr | m_pressure |
Pointer to field holding pressure field. More... | |
Array< OneD, int > | m_velocity |
int which identifies which components of m_fields contains the velocity (u,v,w); More... | |
SolverUtils::AdvectionSharedPtr | m_advObject |
Array< OneD, Array< OneD, NekDouble > > | m_previousVelFields |
int | m_curl_dim |
Curl-curl dimensionality. More... | |
int | m_bnd_dim |
bounday dimensionality More... | |
Array< OneD, const SpatialDomains::BoundaryConditionShPtr > | m_PBndConds |
pressure boundary conditions container More... | |
Array< OneD, MultiRegions::ExpListSharedPtr > | m_PBndExp |
pressure boundary conditions expansion container More... | |
int | m_pressureCalls |
number of times the high-order pressure BCs have been called More... | |
int | m_pressureBCsMaxPts |
Maximum points used in pressure BC evaluation. More... | |
int | m_pressureBCsElmtMaxPts |
Maximum points used in Element adjacent to pressure BC evaluation. More... | |
int | m_intSteps |
Maximum points used in pressure BC evaluation. More... | |
NekDouble | m_timestep |
bool | m_SingleMode |
Flag to determine if single homogeneous mode is used. More... | |
bool | m_HalfMode |
Flag to determine if half homogeneous mode is used. More... | |
bool | m_MultipleModes |
Flag to determine if use multiple homogenenous modes are used. More... | |
NekDouble | m_LhomZ |
physical length in Z direction (if homogeneous) More... | |
int | m_npointsX |
number of points in X direction (if homogeneous) More... | |
int | m_npointsY |
number of points in Y direction (if homogeneous) More... | |
int | m_npointsZ |
number of points in Z direction (if homogeneous) More... | |
Array< OneD, int > | m_pressureBCtoElmtID |
Id of element to which pressure boundary condition belongs. More... | |
Array< OneD, int > | m_pressureBCtoTraceID |
Id of edge (2D) or face (3D) to which pressure boundary condition belongs. More... | |
Array< OneD, Array< OneD, NekDouble > > | m_pressureHBCs |
Storage for current and previous levels of high order pressure boundary conditions. More... | |
Array< OneD, Array< OneD, NekDouble > > | m_acceleration |
Storage for current and previous levels of the acceleration term. More... | |
Array< OneD, HBCInfo > | m_HBCdata |
data structure to old all the information regarding High order pressure BCs More... | |
Array< OneD, NekDouble > | m_wavenumber |
wave number 2 pi k /Lz More... | |
Array< OneD, NekDouble > | m_negWavenumberSq |
minus Square of wavenumber More... | |
Array< OneD, Array< OneD, Array< OneD, NekDouble > > > | m_outflowVel |
Storage for current and previous velocity fields at the otuflow for high order outflow BCs. More... | |
Array< OneD, Array< OneD, NekDouble > > | m_traceNormals |
Array< OneD, Array< OneD, Array< OneD, NekDouble > > > | m_PhyoutfVel |
Storage for current and previous velocity fields in physical space at the otuflow for high order outflow BCs. More... | |
Array< OneD, NekDouble > | m_nonlinearterm_phys |
(if homogeneous) More... | |
Array< OneD, NekDouble > | m_nonlinearterm_coeffs |
(if homogeneous) More... | |
Array< OneD, unsigned int > | m_expsize_per_plane |
(if homogeneous) More... | |
Array< OneD, NekDouble > | m_PBndCoeffs |
(if homogeneous) More... | |
Array< OneD, Array< OneD, NekDouble > > | m_UBndCoeffs |
(if homogeneous) More... | |
int | m_totexps_per_plane |
(if homogeneous) More... | |
Definition at line 52 of file MappingExtrapolate.h.
Nektar::MappingExtrapolate::MappingExtrapolate | ( | const LibUtilities::SessionReaderSharedPtr | pSession, |
Array< OneD, MultiRegions::ExpListSharedPtr > | pFields, | ||
MultiRegions::ExpListSharedPtr | pPressure, | ||
const Array< OneD, int > | pVel, | ||
const SolverUtils::AdvectionSharedPtr | advObject | ||
) |
Definition at line 49 of file MappingExtrapolate.cpp.
References Nektar::GlobalMapping::Mapping::Load(), Nektar::Extrapolate::m_fields, m_implicitPressure, m_implicitViscous, m_mapping, m_pressureRelaxation, and Nektar::Extrapolate::m_session.
|
virtual |
Definition at line 68 of file MappingExtrapolate.cpp.
|
inlinestatic |
Creates an instance of this class.
Definition at line 57 of file MappingExtrapolate.h.
References Nektar::MemoryManager< DataType >::AllocateSharedPtr().
|
virtual |
Unified routine for calculation high-oder terms
Casting the boundary expansion to the specific case
Picking up the element where the HOPBc is located
Assigning
Casting the boundary expansion to the specific case
Picking up the element where the HOPBc is located
Assigning
Calculating the curl-curl and storing it in Q
Reimplemented from Nektar::Extrapolate.
Definition at line 229 of file MappingExtrapolate.cpp.
References ASSERTL0, Nektar::MultiRegions::DirCartesianMap, Nektar::MultiRegions::e2D, Nektar::MultiRegions::e3D, Nektar::MultiRegions::e3DH1D, Nektar::MultiRegions::e3DH2D, m_bcCorrection, Nektar::Extrapolate::m_bnd_dim, Nektar::Extrapolate::m_fields, Nektar::Extrapolate::m_HBCdata, m_implicitPressure, m_implicitViscous, m_mapping, Nektar::Extrapolate::m_PBndExp, Nektar::Extrapolate::m_pressure, Nektar::Extrapolate::m_pressureBCsElmtMaxPts, Nektar::Extrapolate::m_pressureBCsMaxPts, Nektar::Extrapolate::m_pressureHBCs, m_pressureRelaxation, Nektar::Extrapolate::MountHOPBCs(), Vmath::Smul(), Nektar::Extrapolate::v_CalcNeumannPressureBCs(), Vmath::Vadd(), Vmath::Vcopy(), Vmath::Vdiv(), and Vmath::Vmul().
|
virtual |
Casting the boundary expansion to the specific case
Picking up the element where the HOPBc is located
Assigning
Reimplemented from Nektar::Extrapolate.
Definition at line 75 of file MappingExtrapolate.cpp.
References ASSERTL0, Nektar::MultiRegions::DirCartesianMap, Nektar::MultiRegions::e2D, Nektar::MultiRegions::e3D, Nektar::MultiRegions::e3DH1D, m_bcCorrection, Nektar::Extrapolate::m_bnd_dim, Nektar::Extrapolate::m_fields, Nektar::Extrapolate::m_HBCdata, m_mapping, Nektar::Extrapolate::m_PBndConds, Nektar::Extrapolate::m_PBndExp, Nektar::Extrapolate::m_pressure, Nektar::Extrapolate::m_pressureBCsMaxPts, m_pressureRelaxation, Vmath::Smul(), Vmath::Vadd(), Vmath::Vcopy(), Vmath::Vmul(), and Vmath::Vsub().
|
static |
Name of class.
Registers the class with the Factory.
Definition at line 70 of file MappingExtrapolate.h.
Definition at line 92 of file MappingExtrapolate.h.
Referenced by v_CalcNeumannPressureBCs(), and v_CorrectPressureBCs().
|
protected |
Definition at line 96 of file MappingExtrapolate.h.
Referenced by MappingExtrapolate(), and v_CalcNeumannPressureBCs().
|
protected |
Definition at line 97 of file MappingExtrapolate.h.
Referenced by MappingExtrapolate(), and v_CalcNeumannPressureBCs().
|
protected |
Definition at line 90 of file MappingExtrapolate.h.
Referenced by MappingExtrapolate(), v_CalcNeumannPressureBCs(), and v_CorrectPressureBCs().
|
protected |
Definition at line 100 of file MappingExtrapolate.h.
Referenced by MappingExtrapolate(), v_CalcNeumannPressureBCs(), and v_CorrectPressureBCs().