Commit 02e93221 authored by Spencer Sherwin's avatar Spencer Sherwin
Browse files

Update save routines in outer solve


git-svn-id: https://gforge.sci.utah.edu/svn/nektar/trunk@3334 305cdda6-5ce1-45b3-a98d-dfc68c8b3305
parent bc1d8642
......@@ -564,7 +564,7 @@ namespace Nektar
{
// Save NS restart file
SaveFile(m_sessionName + ".rst",SaveDir,i);
SaveFile(m_sessionName + ".rst",SaveDir,i+1);
// Save Streak Solution
SaveFile(m_sessionName + "_streak.fld",SaveDir,i);
// Save Wave solution output
......
......@@ -90,10 +90,14 @@ int main(int argc, char *argv[])
void Mvdir(string dir, NekDouble dir_ending)
{
string saveOuterIter = "mv -r OuterIter.his "+ dir;
system(saveOuterIter.c_str());
string newdir = dir + boost::lexical_cast<std::string>(dir_ending);
string syscall = "mv -f " + dir + " " + newdir;
system(syscall.c_str());
}
void DoFixedForcingIteration(VortexWaveInteraction &vwi)
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment