Nektar++
|
#include <ALEHelper.h>
Protected Attributes | |
Array< OneD, MultiRegions::ExpListSharedPtr > | m_fieldsALE |
Array< OneD, Array< OneD, NekDouble > > | m_gridVelocity |
Array< OneD, Array< OneD, NekDouble > > | m_gridVelocityTrace |
std::vector< ALEBaseShPtr > | m_ALEs |
bool | m_ALESolver = false |
bool | m_ImplicitALESolver = false |
NekDouble | m_prevStageTime = 0.0 |
int | m_spaceDim |
Definition at line 50 of file ALEHelper.h.
|
virtualdefault |
void Nektar::SolverUtils::ALEHelper::ALEDoElmtInvMass | ( | Array< OneD, Array< OneD, NekDouble > > & | traceNormals, |
Array< OneD, Array< OneD, NekDouble > > & | fields, | ||
NekDouble | time | ||
) |
Update m_fields with u^n by multiplying by inverse mass matrix. That's then used in e.g. checkpoint output and L^2 error calculation.
Definition at line 131 of file ALEHelper.cpp.
References m_fieldsALE.
Referenced by Nektar::SolverUtils::UnsteadySystem::v_DoSolve().
void Nektar::SolverUtils::ALEHelper::ALEDoElmtInvMassBwdTrans | ( | const Array< OneD, const Array< OneD, NekDouble > > & | inarray, |
Array< OneD, Array< OneD, NekDouble > > & | outarray | ||
) |
Definition at line 149 of file ALEHelper.cpp.
References m_fieldsALE.
Referenced by Nektar::CFSImplicit::DoImplicitSolve(), Nektar::UnsteadyAdvection::DoOdeRhs(), Nektar::UnsteadyAdvectionDiffusion::DoOdeRhs(), Nektar::CompressibleFlowSystem::DoOdeRhs(), and Nektar::CompressibleFlowSystem::SetBoundaryConditions().
void Nektar::SolverUtils::ALEHelper::ExtraFldOutputGridVelocity | ( | std::vector< Array< OneD, NekDouble > > & | fieldcoeffs, |
std::vector< std::string > & | variables | ||
) |
Definition at line 392 of file ALEHelper.cpp.
References m_fieldsALE, m_gridVelocity, and m_spaceDim.
Referenced by Nektar::UnsteadyAdvection::v_ExtraFldOutput(), Nektar::UnsteadyAdvectionDiffusion::v_ExtraFldOutput(), and Nektar::CompressibleFlowSystem::v_ExtraFldOutput().
|
inline |
Definition at line 77 of file ALEHelper.h.
References m_gridVelocity.
const Array< OneD, const Array< OneD, NekDouble > > & Nektar::SolverUtils::ALEHelper::GetGridVelocityTrace | ( | ) |
Definition at line 289 of file ALEHelper.cpp.
References m_gridVelocityTrace.
Referenced by Nektar::CompressibleFlowSystem::InitAdvection().
void Nektar::SolverUtils::ALEHelper::InitObject | ( | int | spaceDim, |
Array< OneD, MultiRegions::ExpListSharedPtr > & | fields | ||
) |
Definition at line 48 of file ALEHelper.cpp.
References Nektar::SpatialDomains::eFixed, Nektar::SpatialDomains::eNone, Nektar::SpatialDomains::eRotate, Nektar::SpatialDomains::eTranslate, m_ALEs, m_ALESolver, v_UpdateGridVelocity(), and WARNINGL0.
Referenced by Nektar::UnsteadyAdvection::v_ALEInitObject(), Nektar::UnsteadyAdvectionDiffusion::v_ALEInitObject(), Nektar::CompressibleFlowSystem::v_ALEInitObject(), and Nektar::CFSImplicit::v_ALEInitObject().
void Nektar::SolverUtils::ALEHelper::MoveMesh | ( | const NekDouble & | time, |
Array< OneD, Array< OneD, NekDouble > > & | traceNormals | ||
) |
Definition at line 169 of file ALEHelper.cpp.
References Nektar::LibUtilities::Timer::AccumulateRegion(), Nektar::Collections::eNoCollection, FilterPython_Function::field, m_fieldsALE, m_gridVelocity, m_gridVelocityTrace, m_prevStageTime, Nektar::LibUtilities::Timer::Start(), Nektar::LibUtilities::Timer::Stop(), and v_UpdateGridVelocity().
Referenced by Nektar::UnsteadyAdvection::DoOdeProjection(), and Nektar::CompressibleFlowSystem::DoOdeProjection().
|
virtual |
Reimplemented in Nektar::UnsteadyAdvection, Nektar::UnsteadyAdvectionDiffusion, Nektar::CompressibleFlowSystem, and Nektar::CFSImplicit.
Definition at line 42 of file ALEHelper.cpp.
Referenced by Nektar::SolverUtils::UnsteadySystem::v_InitObject().
|
virtual |
Definition at line 108 of file ALEHelper.cpp.
References Nektar::StdRegions::eMass, m_ALESolver, and m_fieldsALE.
Referenced by Nektar::SolverUtils::UnsteadySystem::v_DoSolve().
Definition at line 90 of file ALEHelper.cpp.
References m_ALEs, m_ALESolver, m_fieldsALE, m_gridVelocity, and m_spaceDim.
Referenced by InitObject(), MoveMesh(), and Nektar::SolverUtils::UnsteadySystem::v_DoInitialise().
|
protected |
Definition at line 92 of file ALEHelper.h.
Referenced by InitObject(), and v_UpdateGridVelocity().
|
protected |
Definition at line 93 of file ALEHelper.h.
Referenced by Nektar::CompressibleFlowSystem::DoAdvection(), Nektar::CFSImplicit::DoImplicitSolve(), Nektar::UnsteadyAdvection::DoOdeProjection(), Nektar::CompressibleFlowSystem::DoOdeProjection(), Nektar::UnsteadyAdvection::DoOdeRhs(), Nektar::UnsteadyAdvectionDiffusion::DoOdeRhs(), Nektar::CompressibleFlowSystem::DoOdeRhs(), Nektar::CompressibleFlowSystem::GetFluxVector(), Nektar::CompressibleFlowSystem::InitAdvection(), InitObject(), Nektar::CompressibleFlowSystem::SetBoundaryConditions(), v_ALEPreMultiplyMass(), Nektar::NavierStokesCFE::v_DoDiffusion(), Nektar::SolverUtils::UnsteadySystem::v_DoSolve(), Nektar::UnsteadyAdvection::v_ExtraFldOutput(), Nektar::UnsteadyAdvectionDiffusion::v_ExtraFldOutput(), Nektar::CompressibleFlowSystem::v_ExtraFldOutput(), and v_UpdateGridVelocity().
|
protected |
Definition at line 89 of file ALEHelper.h.
Referenced by ALEDoElmtInvMass(), ALEDoElmtInvMassBwdTrans(), ExtraFldOutputGridVelocity(), MoveMesh(), Nektar::UnsteadyAdvection::v_ALEInitObject(), Nektar::UnsteadyAdvectionDiffusion::v_ALEInitObject(), Nektar::CompressibleFlowSystem::v_ALEInitObject(), Nektar::CFSImplicit::v_ALEInitObject(), v_ALEPreMultiplyMass(), and v_UpdateGridVelocity().
Definition at line 90 of file ALEHelper.h.
Referenced by ExtraFldOutputGridVelocity(), Nektar::UnsteadyAdvection::GetFluxVector(), Nektar::CompressibleFlowSystem::GetFluxVector(), GetGridVelocity(), Nektar::UnsteadyAdvection::GetNormalVel(), MoveMesh(), Nektar::UnsteadyAdvection::v_ALEInitObject(), Nektar::UnsteadyAdvectionDiffusion::v_ALEInitObject(), Nektar::CompressibleFlowSystem::v_ALEInitObject(), Nektar::CFSImplicit::v_ALEInitObject(), Nektar::CompressibleFlowSystem::v_GetMaxStdVelocity(), and v_UpdateGridVelocity().
Definition at line 91 of file ALEHelper.h.
Referenced by GetGridVelocityTrace(), Nektar::NavierStokesCFE::InitObject_Explicit(), MoveMesh(), Nektar::UnsteadyAdvection::v_ALEInitObject(), Nektar::UnsteadyAdvectionDiffusion::v_ALEInitObject(), Nektar::CompressibleFlowSystem::v_ALEInitObject(), Nektar::CFSImplicit::v_ALEInitObject(), and Nektar::CompressibleFlowSystem::v_InitObject().
|
protected |
Definition at line 94 of file ALEHelper.h.
Referenced by Nektar::CompressibleFlowSystem::SetBoundaryConditions(), and Nektar::CFSImplicit::v_ALEInitObject().
|
protected |
Definition at line 95 of file ALEHelper.h.
Referenced by MoveMesh().
|
protected |
Definition at line 96 of file ALEHelper.h.
Referenced by ExtraFldOutputGridVelocity(), Nektar::UnsteadyAdvection::v_ALEInitObject(), Nektar::UnsteadyAdvectionDiffusion::v_ALEInitObject(), Nektar::CompressibleFlowSystem::v_ALEInitObject(), Nektar::CFSImplicit::v_ALEInitObject(), and v_UpdateGridVelocity().