|
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_meshDistorted = false |
| bool | m_implicitALESolver = false |
| bool | m_updateNormals = false |
| NekDouble | m_prevStageTime = 0.0 |
| int | m_spaceDim |
Definition at line 86 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 135 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 152 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::ExtraFldOutputGrid | ( | std::vector< Array< OneD, NekDouble > > & | fieldcoeffs, |
| std::vector< std::string > & | variables | ||
| ) |
Definition at line 497 of file ALEHelper.cpp.
References m_fieldsALE, and m_spaceDim.
Referenced by Nektar::CompressibleFlowSystem::v_ExtraFldOutput(), and Nektar::NavierStokesCFE::v_ExtraFldOutput().
| void Nektar::SolverUtils::ALEHelper::ExtraFldOutputGridVelocity | ( | std::vector< Array< OneD, NekDouble > > & | fieldcoeffs, |
| std::vector< std::string > & | variables | ||
| ) |
Definition at line 480 of file ALEHelper.cpp.
References m_fieldsALE, m_gridVelocity, and m_spaceDim.
Referenced by Nektar::UnsteadyAdvection::v_ExtraFldOutput(), Nektar::UnsteadyAdvectionDiffusion::v_ExtraFldOutput(), Nektar::CompressibleFlowSystem::v_ExtraFldOutput(), and Nektar::NavierStokesCFE::v_ExtraFldOutput().
|
inline |
Definition at line 119 of file ALEHelper.h.
References m_gridVelocity.
| const Array< OneD, const Array< OneD, NekDouble > > & Nektar::SolverUtils::ALEHelper::GetGridVelocityTrace | ( | ) |
Definition at line 232 of file ALEHelper.cpp.
References m_gridVelocityTrace.
Referenced by Nektar::CompressibleFlowSystem::InitAdvection().
|
inline |
Definition at line 124 of file ALEHelper.h.
References m_updateNormals.
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, m_fieldsALE, m_gridVelocity, m_gridVelocityTrace, 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 172 of file ALEHelper.cpp.
References Nektar::LibUtilities::Timer::AccumulateRegion(), m_fieldsALE, m_gridVelocity, m_gridVelocityTrace, m_prevStageTime, ResetMatricesNormal(), Nektar::LibUtilities::Timer::Start(), Nektar::LibUtilities::Timer::Stop(), UpdateNormalsFlag(), and v_UpdateGridVelocity().
Referenced by Nektar::UnsteadyAdvection::DoOdeProjection(), and Nektar::CompressibleFlowSystem::DoOdeProjection().
| void Nektar::SolverUtils::ALEHelper::ResetMatricesNormal | ( | Array< OneD, Array< OneD, NekDouble > > & | traceNormals | ) |
Definition at line 209 of file ALEHelper.cpp.
References m_ALEs, and m_fieldsALE.
Referenced by MoveMesh().
| void Nektar::SolverUtils::ALEHelper::UpdateNormalsFlag | ( | ) |
Definition at line 219 of file ALEHelper.cpp.
References m_ALEs, and m_updateNormals.
Referenced by MoveMesh().
|
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 115 of file ALEHelper.cpp.
References Nektar::StdRegions::eMass, and m_fieldsALE.
Referenced by Nektar::SolverUtils::UnsteadySystem::v_DoSolve().
Definition at line 97 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 143 of file ALEHelper.h.
Referenced by InitObject(), ResetMatricesNormal(), UpdateNormalsFlag(), and v_UpdateGridVelocity().
|
protected |
Definition at line 146 of file ALEHelper.h.
Referenced by Nektar::UnsteadyAdvection::DoOdeProjection(), Nektar::CompressibleFlowSystem::DoOdeProjection(), Nektar::CompressibleFlowSystem::GetFluxVector(), Nektar::CompressibleFlowSystem::InitAdvection(), InitObject(), Nektar::UnsteadyAdvection::v_ExtraFldOutput(), Nektar::UnsteadyAdvectionDiffusion::v_ExtraFldOutput(), Nektar::CompressibleFlowSystem::v_ExtraFldOutput(), Nektar::NavierStokesCFE::v_ExtraFldOutput(), and v_UpdateGridVelocity().
|
protected |
Definition at line 140 of file ALEHelper.h.
Referenced by ALEDoElmtInvMass(), ALEDoElmtInvMassBwdTrans(), ExtraFldOutputGrid(), ExtraFldOutputGridVelocity(), InitObject(), MoveMesh(), ResetMatricesNormal(), Nektar::UnsteadyAdvection::v_ALEInitObject(), Nektar::UnsteadyAdvectionDiffusion::v_ALEInitObject(), Nektar::CompressibleFlowSystem::v_ALEInitObject(), Nektar::CFSImplicit::v_ALEInitObject(), v_ALEPreMultiplyMass(), and v_UpdateGridVelocity().
Definition at line 141 of file ALEHelper.h.
Referenced by ExtraFldOutputGridVelocity(), Nektar::UnsteadyAdvection::GetFluxVector(), Nektar::CompressibleFlowSystem::GetFluxVector(), GetGridVelocity(), Nektar::UnsteadyAdvection::GetNormalVel(), InitObject(), 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 142 of file ALEHelper.h.
Referenced by GetGridVelocityTrace(), InitObject(), 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 150 of file ALEHelper.h.
Referenced by Nektar::CFSImplicit::v_ALEInitObject().
|
protected |
Definition at line 148 of file ALEHelper.h.
Referenced by Nektar::CompressibleFlowSystem::DoAdvection(), Nektar::CFSImplicit::DoImplicitSolve(), Nektar::UnsteadyAdvection::DoOdeRhs(), Nektar::UnsteadyAdvectionDiffusion::DoOdeRhs(), Nektar::CompressibleFlowSystem::DoOdeRhs(), Nektar::CompressibleFlowSystem::SetBoundaryConditions(), Nektar::CompressibleFlowSystem::v_ALEInitObject(), Nektar::CFSImplicit::v_ALEInitObject(), Nektar::NavierStokesCFE::v_DoDiffusion(), and Nektar::SolverUtils::UnsteadySystem::v_DoSolve().
|
protected |
Definition at line 154 of file ALEHelper.h.
Referenced by MoveMesh().
|
protected |
Definition at line 155 of file ALEHelper.h.
Referenced by ExtraFldOutputGrid(), ExtraFldOutputGridVelocity(), Nektar::UnsteadyAdvection::v_ALEInitObject(), Nektar::UnsteadyAdvectionDiffusion::v_ALEInitObject(), Nektar::CompressibleFlowSystem::v_ALEInitObject(), Nektar::CFSImplicit::v_ALEInitObject(), and v_UpdateGridVelocity().
|
protected |
Definition at line 152 of file ALEHelper.h.
Referenced by GetUpdateNormalsFlag(), and UpdateNormalsFlag().