Nektar++
|
#include <VortexWaveInteraction.h>
Definition at line 72 of file VortexWaveInteraction.h.
Nektar::VortexWaveInteraction::VortexWaveInteraction | ( | int | argc, |
char * | argv[] | ||
) |
Definition at line 45 of file VortexWaveInteraction.cpp.
References ASSERTL0, Nektar::LibUtilities::SessionReader::CreateInstance(), Nektar::LibUtilities::NekFactory< tKey, tBase, >::CreateInstance(), Nektar::eFixedAlpha, Nektar::eFixedAlphaWaveForcing, Nektar::eFixedWaveForcing, Nektar::eVWIIterationTypeSize, Nektar::SolverUtils::GetEquationSystemFactory(), m_alpha, m_alphaStep, m_dAlphaDWaveForceMag, m_deltaFcnApprox, m_deltaFcnDecay, m_eigRelTol, m_iterEnd, m_iterinterface, m_iterStart, m_leading_imag_evl, m_leading_real_evl, m_maxOuterIterations, m_maxWaveForceMagIter, m_minInnerIterations, m_moveMeshToCriticalLayer, m_neutralPointTol, m_nOuterIterations, m_rollForceScale, m_sessionName, m_sessionRoll, m_sessionStreak, m_sessionVWI, m_sessionWave, m_solverRoll, m_useLinfPressureNorm, m_vwiForcing, m_VWIIterationType, m_vwiRelaxation, m_waveForceMag, m_waveForceMagStep, UpdateAlpha(), and Nektar::VWIIterationTypeMap.
Nektar::VortexWaveInteraction::~VortexWaveInteraction | ( | void | ) |
Definition at line 346 of file VortexWaveInteraction.cpp.
References m_sessionVWI.
void Nektar::VortexWaveInteraction::AppendEvlToFile | ( | std::string | file, |
int | n | ||
) |
Definition at line 1060 of file VortexWaveInteraction.cpp.
References m_alpha, m_leading_imag_evl, and m_leading_real_evl.
Referenced by DoFixedForcingIteration(), and main().
Definition at line 1068 of file VortexWaveInteraction.cpp.
References m_alpha, m_leading_imag_evl, and m_leading_real_evl.
Definition at line 963 of file VortexWaveInteraction.cpp.
References ExecuteWave(), Vmath::Fill(), m_wavePressure, m_waveVelocities, npts, Vmath::Vmax(), Vmath::Vmul(), Vmath::Vsqrt(), and Vmath::Vvtvp().
Referenced by main().
Definition at line 558 of file VortexWaveInteraction.cpp.
References ASSERTL0, Nektar::SpatialDomains::eNeumann, Vmath::Fill(), GetReflectionIndex(), m_alpha, m_deltaFcnApprox, m_deltaFcnDecay, m_sessionName, m_sessionRoll, m_sessionVWI, m_solverRoll, m_streakField, m_useLinfPressureNorm, m_vwiForcing, m_vwiRelaxation, m_waveForceMag, m_wavePressure, m_waveVelocities, Vmath::Neg(), npts, Vmath::Sadd(), Vmath::Smul(), Vmath::Svtvp(), Vmath::Vadd(), Vmath::Vcopy(), Vmath::Vmax(), Vmath::Vmul(), Vmath::Vsqrt(), Vmath::Vsub(), and Vmath::Vvtvp().
Referenced by DoFixedForcingIteration(), ExecuteLoop(), and main().
bool Nektar::VortexWaveInteraction::CheckEigIsStationary | ( | bool | reset = false | ) |
Definition at line 1603 of file VortexWaveInteraction.cpp.
References m_eigRelTol, m_leading_imag_evl, m_leading_real_evl, and m_minInnerIterations.
Referenced by DoFixedForcingIteration().
bool Nektar::VortexWaveInteraction::CheckIfAtNeutralPoint | ( | void | ) |
Definition at line 1651 of file VortexWaveInteraction.cpp.
References m_leading_imag_evl, m_leading_real_evl, m_neutralPointTol, m_sessionRoll, and m_sessionVWI.
Referenced by DoFixedForcingIteration().
void Nektar::VortexWaveInteraction::CopyFile | ( | string | file1end, |
string | file2end | ||
) |
Definition at line 1048 of file VortexWaveInteraction.cpp.
References ASSERTL0, and m_sessionName.
Referenced by ExecuteRoll(), ExecuteStreak(), and ExecuteWave().
void Nektar::VortexWaveInteraction::ExecuteLoop | ( | bool | CalcWaveForce = true | ) |
Definition at line 1096 of file VortexWaveInteraction.cpp.
References ASSERTL0, CalcNonLinearWaveForce(), Nektar::LibUtilities::NekManager< KeyType, ValueT, opLessCreator >::DisableManagement(), Nektar::eFixedWaveForcingWithSubIterationOnAlpha, Nektar::LibUtilities::NekManager< KeyType, ValueT, opLessCreator >::EnableManagement(), ExecuteRoll(), ExecuteStreak(), ExecuteWave(), GetVWIIterationType(), m_alpha, m_leading_imag_evl, m_moveMeshToCriticalLayer, m_sessionName, m_sessionRoll, and m_sessionVWI.
Referenced by DoFixedForcingIteration(), and main().
Definition at line 351 of file VortexWaveInteraction.cpp.
References Nektar::IncNavierStokes::AddForcing(), CopyFile(), Nektar::LibUtilities::NekFactory< tKey, tBase, >::CreateInstance(), Nektar::SolverUtils::GetEquationSystemFactory(), Nektar::SolverUtils::GetForcingFactory(), m_moveMeshToCriticalLayer, m_rollField, m_rollForceScale, m_sessionName, m_sessionRoll, m_solverRoll, m_vwiForcing, m_vwiForcingObj, Vmath::Smul(), and Vmath::Vcopy().
Referenced by ExecuteLoop().
Definition at line 457 of file VortexWaveInteraction.cpp.
References CopyFile(), Nektar::LibUtilities::NekFactory< tKey, tBase, >::CreateInstance(), Nektar::SolverUtils::GetDriverFactory(), Nektar::SolverUtils::GetEquationSystemFactory(), m_sessionStreak, m_sessionVWI, and m_streakField.
Referenced by ExecuteLoop().
Do linearised NavierStokes Session with Modified Arnoldi
Definition at line 496 of file VortexWaveInteraction.cpp.
References CopyFile(), Nektar::LibUtilities::NekFactory< tKey, tBase, >::CreateInstance(), Nektar::SolverUtils::GetDriverFactory(), m_alpha, m_leading_imag_evl, m_leading_real_evl, m_sessionVWI, m_sessionWave, m_wavePressure, and m_waveVelocities.
Referenced by CalcL2ToLinfPressure(), DoFixedForcingIteration(), ExecuteLoop(), and main().
void Nektar::VortexWaveInteraction::FileRelaxation | ( | int | reg | ) |
====================================================
Definition at line 2003 of file VortexWaveInteraction.cpp.
References Nektar::MemoryManager< DataType >::AllocateSharedPtr(), m_bcsForcing, m_rollField, m_sessionName, m_sessionVWI, m_vwiRelaxation, Nektar::SpatialDomains::MeshGraph::Read(), Vmath::Smul(), Vmath::Svtvp(), and Vmath::Vcopy().
Definition at line 130 of file VortexWaveInteraction.h.
Referenced by DoFixedForcingIteration(), and main().
Definition at line 136 of file VortexWaveInteraction.h.
Referenced by main().
Definition at line 151 of file VortexWaveInteraction.h.
Definition at line 162 of file VortexWaveInteraction.h.
Referenced by DoFixedForcingIteration().
|
inline |
|
inline |
|
inline |
Definition at line 125 of file VortexWaveInteraction.h.
Referenced by DoFixedForcingIteration().
|
inline |
Definition at line 156 of file VortexWaveInteraction.h.
Referenced by main().
|
inline |
Definition at line 168 of file VortexWaveInteraction.h.
Referenced by DoFixedForcingIteration().
|
inline |
Definition at line 120 of file VortexWaveInteraction.h.
Referenced by DoFixedForcingIteration().
Definition at line 173 of file VortexWaveInteraction.h.
Referenced by DoFixedForcingIteration().
Definition at line 1923 of file VortexWaveInteraction.cpp.
References ASSERTL0, Nektar::LibUtilities::eTriangle, m_sessionVWI, m_waveVelocities, npts, and Vmath::Vmax().
Referenced by CalcNonLinearWaveForce().
|
inline |
Definition at line 115 of file VortexWaveInteraction.h.
Referenced by DoFixedForcingIteration(), ExecuteLoop(), and main().
Definition at line 141 of file VortexWaveInteraction.h.
Referenced by main().
Definition at line 146 of file VortexWaveInteraction.h.
Referenced by main().
|
inline |
Definition at line 209 of file VortexWaveInteraction.h.
Referenced by DoFixedForcingIteration().
void Nektar::VortexWaveInteraction::MoveFile | ( | string | fileend, |
string | dir, | ||
int | n | ||
) |
Definition at line 1027 of file VortexWaveInteraction.cpp.
References ASSERTL0.
Referenced by DoFixedForcingIteration().
void Nektar::VortexWaveInteraction::SaveFile | ( | string | fileend, |
string | dir, | ||
int | n | ||
) |
Definition at line 1003 of file VortexWaveInteraction.cpp.
References ASSERTL0.
Referenced by SaveLoopDetails().
void Nektar::VortexWaveInteraction::SaveLoopDetails | ( | std::string | SaveDir, |
int | i | ||
) |
Definition at line 1076 of file VortexWaveInteraction.cpp.
References m_sessionName, m_sessionVWI, and SaveFile().
Referenced by DoFixedForcingIteration().
Definition at line 178 of file VortexWaveInteraction.h.
Referenced by main().
Definition at line 194 of file VortexWaveInteraction.h.
Definition at line 189 of file VortexWaveInteraction.h.
Referenced by DoFixedForcingIteration().
|
inline |
Definition at line 199 of file VortexWaveInteraction.h.
Referenced by DoFixedForcingIteration().
Definition at line 204 of file VortexWaveInteraction.h.
Referenced by main().
Definition at line 184 of file VortexWaveInteraction.h.
Referenced by main().
void Nektar::VortexWaveInteraction::UpdateAlpha | ( | int | n | ) |
Definition at line 1810 of file VortexWaveInteraction.cpp.
References Vmath::Imin(), m_alpha, m_alphaStep, m_leading_imag_evl, m_leading_real_evl, and Vmath::Vcopy().
Referenced by DoFixedForcingIteration(), and VortexWaveInteraction().
Definition at line 1805 of file VortexWaveInteraction.cpp.
References m_alpha, m_dAlphaDWaveForceMag, and m_waveForceMagStep.
Referenced by DoFixedForcingIteration().
void Nektar::VortexWaveInteraction::UpdateWaveForceMag | ( | int | n | ) |
Definition at line 1691 of file VortexWaveInteraction.cpp.
References Vmath::Imin(), m_leading_imag_evl, m_leading_real_evl, m_waveForceMag, m_waveForceMagStep, and Vmath::Vcopy().
Referenced by DoFixedForcingIteration().
< Leading imaginary eigenvalue
Definition at line 244 of file VortexWaveInteraction.h.
Referenced by AppendEvlToFile(), CalcNonLinearWaveForce(), ExecuteLoop(), ExecuteWave(), UpdateAlpha(), UpdateDAlphaDWaveForceMag(), and VortexWaveInteraction().
|
private |
Definition at line 246 of file VortexWaveInteraction.h.
Referenced by UpdateAlpha(), and VortexWaveInteraction().
Definition at line 263 of file VortexWaveInteraction.h.
Referenced by FileRelaxation().
|
private |
Definition at line 250 of file VortexWaveInteraction.h.
Referenced by UpdateDAlphaDWaveForceMag(), and VortexWaveInteraction().
|
private |
Definition at line 229 of file VortexWaveInteraction.h.
Referenced by CalcNonLinearWaveForce(), and VortexWaveInteraction().
|
private |
Definition at line 234 of file VortexWaveInteraction.h.
Referenced by CalcNonLinearWaveForce(), and VortexWaveInteraction().
|
private |
Definition at line 248 of file VortexWaveInteraction.h.
Referenced by CheckEigIsStationary(), and VortexWaveInteraction().
|
private |
Definition at line 222 of file VortexWaveInteraction.h.
Referenced by VortexWaveInteraction().
|
private |
Definition at line 253 of file VortexWaveInteraction.h.
Referenced by VortexWaveInteraction().
|
private |
Definition at line 221 of file VortexWaveInteraction.h.
Referenced by VortexWaveInteraction().
< Leading real eigenvalue
Definition at line 242 of file VortexWaveInteraction.h.
Referenced by AppendEvlToFile(), CheckEigIsStationary(), CheckIfAtNeutralPoint(), ExecuteLoop(), ExecuteWave(), UpdateAlpha(), UpdateWaveForceMag(), and VortexWaveInteraction().
Definition at line 241 of file VortexWaveInteraction.h.
Referenced by AppendEvlToFile(), CheckEigIsStationary(), CheckIfAtNeutralPoint(), ExecuteWave(), UpdateAlpha(), UpdateWaveForceMag(), and VortexWaveInteraction().
|
private |
Definition at line 225 of file VortexWaveInteraction.h.
Referenced by VortexWaveInteraction().
|
private |
Definition at line 227 of file VortexWaveInteraction.h.
Referenced by VortexWaveInteraction().
|
private |
Definition at line 226 of file VortexWaveInteraction.h.
Referenced by CheckEigIsStationary(), and VortexWaveInteraction().
|
private |
Definition at line 232 of file VortexWaveInteraction.h.
Referenced by ExecuteLoop(), ExecuteRoll(), and VortexWaveInteraction().
|
private |
Definition at line 247 of file VortexWaveInteraction.h.
Referenced by CheckIfAtNeutralPoint(), and VortexWaveInteraction().
|
private |
Definition at line 224 of file VortexWaveInteraction.h.
Referenced by VortexWaveInteraction().
|
private |
Definition at line 251 of file VortexWaveInteraction.h.
|
private |
Definition at line 267 of file VortexWaveInteraction.h.
Referenced by ExecuteRoll(), and FileRelaxation().
|
private |
Definition at line 239 of file VortexWaveInteraction.h.
Referenced by ExecuteRoll(), and VortexWaveInteraction().
|
private |
Definition at line 269 of file VortexWaveInteraction.h.
Referenced by CalcNonLinearWaveForce(), CopyFile(), ExecuteLoop(), ExecuteRoll(), FileRelaxation(), SaveLoopDetails(), and VortexWaveInteraction().
|
private |
Definition at line 272 of file VortexWaveInteraction.h.
Referenced by CalcNonLinearWaveForce(), CheckIfAtNeutralPoint(), ExecuteLoop(), ExecuteRoll(), and VortexWaveInteraction().
|
private |
Definition at line 275 of file VortexWaveInteraction.h.
Referenced by ExecuteStreak(), and VortexWaveInteraction().
|
private |
Definition at line 270 of file VortexWaveInteraction.h.
Referenced by CalcNonLinearWaveForce(), CheckIfAtNeutralPoint(), ExecuteLoop(), ExecuteStreak(), ExecuteWave(), FileRelaxation(), GetReflectionIndex(), SaveLoopDetails(), VortexWaveInteraction(), and ~VortexWaveInteraction().
|
private |
Definition at line 276 of file VortexWaveInteraction.h.
Referenced by ExecuteWave(), and VortexWaveInteraction().
|
private |
Definition at line 273 of file VortexWaveInteraction.h.
Referenced by CalcNonLinearWaveForce(), ExecuteRoll(), and VortexWaveInteraction().
|
private |
Definition at line 265 of file VortexWaveInteraction.h.
Referenced by CalcNonLinearWaveForce(), and ExecuteStreak().
|
private |
Definition at line 230 of file VortexWaveInteraction.h.
Referenced by CalcNonLinearWaveForce(), and VortexWaveInteraction().
Definition at line 260 of file VortexWaveInteraction.h.
Referenced by CalcNonLinearWaveForce(), ExecuteRoll(), and VortexWaveInteraction().
|
private |
Definition at line 261 of file VortexWaveInteraction.h.
Referenced by ExecuteRoll().
|
private |
Definition at line 255 of file VortexWaveInteraction.h.
Referenced by VortexWaveInteraction().
|
private |
Definition at line 249 of file VortexWaveInteraction.h.
Referenced by CalcNonLinearWaveForce(), FileRelaxation(), and VortexWaveInteraction().
Definition at line 236 of file VortexWaveInteraction.h.
Referenced by CalcNonLinearWaveForce(), UpdateWaveForceMag(), and VortexWaveInteraction().
|
private |
Definition at line 237 of file VortexWaveInteraction.h.
Referenced by UpdateDAlphaDWaveForceMag(), UpdateWaveForceMag(), and VortexWaveInteraction().
|
private |
Definition at line 258 of file VortexWaveInteraction.h.
Referenced by CalcL2ToLinfPressure(), CalcNonLinearWaveForce(), and ExecuteWave().
|
private |
Definition at line 257 of file VortexWaveInteraction.h.
Referenced by CalcL2ToLinfPressure(), CalcNonLinearWaveForce(), ExecuteWave(), and GetReflectionIndex().