|
[Sponsors] |
August 14, 2020, 16:16 |
|
#21 |
Member
Muhammad Kashif Jawad
Join Date: Oct 2019
Location: Pakistan
Posts: 48
Rep Power: 6 |
Thanks foe your quick reply..
You mean i can copy my previous file and then i can add this to my new generated log file for plotting? |
|
August 14, 2020, 16:19 |
|
#22 |
Senior Member
Chris DeGroot
Join Date: Nov 2011
Location: Canada
Posts: 414
Rep Power: 18 |
Your original question did not mention that you were using the log file for plotting, so I didn't consider this. Probably what you can do is what I said and then combine the two files in sequence using the "cat" command in the terminal.
|
|
August 14, 2020, 16:21 |
|
#23 |
Member
Muhammad Kashif Jawad
Join Date: Oct 2019
Location: Pakistan
Posts: 48
Rep Power: 6 |
Sorry for this I’m actually a newbie..
I will use cat command after my simulation ends? |
|
August 14, 2020, 16:25 |
|
#24 | |
Senior Member
Chris DeGroot
Join Date: Nov 2011
Location: Canada
Posts: 414
Rep Power: 18 |
Quote:
Code:
cat log0.dat log1.dat > log.dat |
||
August 14, 2020, 16:27 |
|
#25 |
Member
Muhammad Kashif Jawad
Join Date: Oct 2019
Location: Pakistan
Posts: 48
Rep Power: 6 |
Thankssss alot..
Can i ask One question about paraview? |
|
August 14, 2020, 16:31 |
|
#26 |
Senior Member
Chris DeGroot
Join Date: Nov 2011
Location: Canada
Posts: 414
Rep Power: 18 |
Yes, but I would suggest posting in the Paraview forum to keep the threads on-topic.
|
|
August 14, 2020, 16:32 |
|
#27 |
Member
Muhammad Kashif Jawad
Join Date: Oct 2019
Location: Pakistan
Posts: 48
Rep Power: 6 |
I’ve already posted there, but yet got no reply
|
|
November 29, 2020, 19:40 |
|
#28 |
Senior Member
Join Date: Jul 2019
Posts: 148
Rep Power: 7 |
Hi, I use openfoam v6. I got the following error when I resume my simulations from the latest time.
Code:
[0] --> FOAM FATAL IO ERROR: [0] Cannot open file "" [0] [0] file: [0] [0] From function static void Foam::fileOperations::masterUncollatedFileOperation::readAndSend(const Foam::fileName&, Foam::IOstream::compressionType, const labelUList&, Foam::PstreamBuffers&) [0] in file global/fileOperations/masterUncollatedFileOperation/masterUncollatedFileOperation.C at line 537. [0] FOAM parallel run exiting [0] |
|
July 26, 2021, 12:05 |
OF restart issue
|
#29 |
Member
Join Date: Apr 2021
Posts: 41
Rep Power: 5 |
Hello,
at the end of a parallel run I get a folder with a calculated solution, saved in a folder renamed 'ss4000' because it was a simpleFoam run up to 4000 iterations. That folder comes from the reconstructParMesh/reconstructPar process. now I want to re-use it as a new starting point. there is no more the 'processorsN' parallel folders. I set 'startFrom/latestTime' in the controlDict. The issue is that the previously calculated values are not taken in account in the new run, despite the time values looking good. please, where could I be wrong ? many thanks in advance here below the controlDict: Code:
application simpleFoam; startFrom latestTime; stopAt endTime; endTime 4500; deltaT 1; writeControl timeStep; writeInterval 100; purgeWrite 1; writeFormat binary; writePrecision 6; writeCompression off; timeFormat general; timePrecision 6; runTimeModifiable true; functions { ... } Code:
#!/bin/sh cd ${0%/*} || exit 1 # Run from this directory # Source tutorial run functions . $WM_PROJECT_DIR/bin/tools/RunFunctions cp -r ss4000 4000 # (there is no more '0' folder) runApplication decomposePar runParallel renumberMesh -overwrite runParallel $(getApplication) runApplication reconstructParMesh -constant runApplication reconstructPar -latestTime Code:
(...) nProcs : 16 (...) Create time (...) Create mesh for time = 4000 (...) Starting time loop (...) Time = 4001 smoothSolver: Solving for Ux, Initial residual = 0.292026, Final residual = 2.93319e-09, No Iterations 40 smoothSolver: Solving for Uy, Initial residual = 0.407129, Final residual = 4.11164e-09, No Iterations 40 smoothSolver: Solving for Uz, Initial residual = 0.38598, Final residual = 4.04993e-09, No Iterations 40 GAMG: Solving for p, Initial residual = 0.919348, Final residual = 0.00593635, No Iterations 3 time step continuity errors : sum local = 4049.2, global = -2120.98, cumulative = -2120.98 smoothSolver: Solving for nuTilda, Initial residual = 0.548782, Final residual = 4.7857e-09, No Iterations 36 bounding nuTilda, min: -0.147061 max: 0.201908 average: 0.00515289 ExecutionTime = 25.99 s ClockTime = 26 s forceCoeffs forceCoeffs1 execute: Coefficients Cd : -3690.34 (pressure: -3685.81 viscous: -4.53403) |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
How to pause a transient simulation and resume without time step advancement? | aleisia | Main CFD Forum | 33 | June 12, 2017 12:41 |
velocity profile export from a simulation onto another | sudhirlv | STAR-CCM+ | 1 | September 12, 2010 19:57 |
continue LES simulation after it stopped | holand_us | OpenFOAM | 9 | April 5, 2010 13:52 |
continue LES simulation after it stopped | holand_us | OpenFOAM Running, Solving & CFD | 1 | March 29, 2010 04:50 |
strange simulation error | Ralf Schmidt | FLUENT | 2 | May 4, 2007 14:02 |