36 #ifndef NEKTAR_SOLVERS_VORTEXWAVEINTERACTION_H
37 #define NEKTAR_SOLVERS_VORTEXWAVEINTERACTION_H
45 using namespace Nektar::SolverUtils;
47 #if defined(_MSC_VER) && defined(MoveFile)
68 "FixedAlphaWaveForcing",
69 "FixedWaveForcingWithSubIterationOnAlpha"
79 void ExecuteRoll(
void);
80 void ExecuteStreak(
void);
81 void ExecuteWave(
void);
83 void ExecuteLoop(
bool CalcWaveForce =
true);
84 void SaveLoopDetails(
string dir,
int i);
86 void CalcNonLinearWaveForce(
void);
87 void CalcL2ToLinfPressure (
void);
89 void SaveFile(
string fileend,
string dir,
int n);
90 void MoveFile(
string fileend,
string dir,
int n);
91 void CopyFile(
string file1end,
string file2end);
94 bool CheckEigIsStationary(
bool reset =
false);
95 bool CheckIfAtNeutralPoint(
void);
96 void UpdateAlpha(
int n);
97 void UpdateWaveForceMag(
int n);
98 void UpdateDAlphaDWaveForceMag(
NekDouble alphainit);
102 void AppendEvlToFile(std::string file,
int n);
103 void AppendEvlToFile(std::string file,
NekDouble WaveForceMag);
117 return m_VWIIterationType;
120 int GetNOuterIterations(
void)
122 return m_nOuterIterations;
125 int GetMaxOuterIterations(
void)
127 return m_maxOuterIterations;
143 return m_waveForceMag[0];
148 return m_waveForceMagStep;
153 return m_dAlphaDWaveForceMag;
156 int GetMaxWaveForceMagIter(
void)
158 return m_maxWaveForceMagIter;
168 int GetMinInnerIterations(
void)
170 return m_minInnerIterations;
186 m_waveForceMag[0] = mag;
199 void SetMinInnerIterations(
int niter)
201 m_minInnerIterations = niter;
209 bool IfIterInterface(
void)
211 return m_iterinterface;
216 void FileRelaxation(
int reg);