|
[Sponsors] |
running without a terminal output and saving time step information instead |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
November 28, 2012, 08:48 |
running without a terminal output and saving time step information instead
|
#1 |
Member
Sören Sander
Join Date: Sep 2012
Location: Germany
Posts: 43
Rep Power: 14 |
Hi,
I read that without a terminal output c programs are working a lot faster. E.g. counting from 1 to 10.000 with a for loop takes 10 times longer with an output order. Is there any option to do this in OpenFOAM, e.g. running icoFoam but without the output lines. Even though this can make the solver a lot faster, the user looses the convergence control. So I am also looking for a possibility to write the important time step informations into a file. The standard output of openFOAM is way too large for me (writing "Solving for...", etc. is very hard drive intensive). Therefore I am looking for an option to write the values in a compressed form at a defined timestep. For instance "20 0.00012 0.123 0.002254" would mean "TimeStep UResidual alphaResidual cumulativeTimestep" error. Then, I could read the file into excel after or during processing and review the convergence. |
|
November 30, 2012, 07:46 |
|
#2 |
Member
Michiel
Join Date: Oct 2010
Location: Delft, Netherlands
Posts: 97
Rep Power: 15 |
I think you will need to take out the Info << .... << endl; statements from the solver (and maybe underlying parts) and recompile to be able to do this.
Is the issue really in writing to the terminal or is it in general? If it is only for the terminal then you can of course use icoFoam &> log & to start the solver in the background and have it write to a logfile |
|
November 30, 2012, 09:03 |
|
#3 | |
Senior Member
Bernhard
Join Date: Sep 2009
Location: Delft
Posts: 790
Rep Power: 22 |
Quote:
As an intermediate test, you could compare Code:
icoFoam icoFoam > myOutputFile icoFoam > /dev/null |
||
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Very long time for saving the output (sim) file ... | Eike | STAR-CCM+ | 2 | January 2, 2012 19:40 |
How to show the transient case? | H.P.LIU | Phoenics | 7 | July 13, 2010 04:31 |
Saving Fluent Surface Monitor Output File | fossu15a | Main CFD Forum | 1 | November 12, 2009 07:10 |
MPI Application in HPC | wendy | Siemens | 0 | May 19, 2005 01:50 |