CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   OpenFOAM Running, Solving & CFD (https://www.cfd-online.com/Forums/openfoam-solving/)
-   -   How to output the process of the calculation (https://www.cfd-online.com/Forums/openfoam-solving/57880-how-output-process-calculation.html)

ivanyao February 8, 2009 00:08

hi, i finish the calculation
 
hi,
i finish the calculation of my case(i can see the process of calculation in the terminal window),now i have to output all the time-steps of the calculation.
what can i do?

asaha February 8, 2009 03:09

If you are using OpenFOAM-1.5
 
If you are using OpenFOAM-1.5

You can execute inside your case dir

foamJob icoFoam

The solver runs in background with the log file generated in your case dir.

Hope this helps.

bigcarrot23 February 8, 2009 05:16

You can also use a command lin
 
You can also use a command line as follows:

icoFoam > log

and then use

tail -f log

to have a look in real-time

ivanyao February 9, 2009 02:05

hi, thank you very much.i wil
 
hi,
thank you very much.i will have a try!

ivanyao February 12, 2009 02:17

hi, i can not output the pr
 
hi,
i can not output the process of the calculation.i am use OF1.4.1.is there another way to solve problem?

wolle1982 February 12, 2009 06:13

hi, what exactly do you wan
 
hi,

what exactly do you want to output? in realtime or in a log file.

if you have written to a logfile (icoFoam >log) you can afterwards extract the log-file date with the command foamLog [logfilename]

if you mean the residuals or the convergency of the calculation i use the "forces" tool (see other thread) and let the file plot in gnuplot. there you can easily see in realtime how convergent your calculation is. for this, it doesn't matter wheather you're interested in the forces afterwards or not.

ivanyao February 12, 2009 23:15

hi, i want to output the resi
 
hi,
i want to output the residuals or the convergency of the calculation.but i can not fix it from your advice.could you describe in detail?
thank you very much!

wolle1982 February 16, 2009 03:17

hi, i see. since your using
 
hi,

i see. since your using OF 1.4.1 you'll have to use the liftdragTool (see other thread) cause there is no forces-function in OF 1.4.1 yet.

naveen March 2, 2009 03:00

hi Wolfgang Heydlauff sir i
 
hi Wolfgang Heydlauff sir

i am solving NACA 0012 Airfoil case in simple foam solver....can anybody tell me how wil u know that the solution is converged or not..

wolle1982 March 2, 2009 03:47

output the forces of a patch w
 
output the forces of a patch with forces-function (search forum) and plot with gnuplot "on-the-fly". if forces don't change, solution is converged.
.
.
don't call me "sir" again..!

naveen March 2, 2009 05:46

hi I AM USING OPENFOAM 1.4
 
hi

I AM USING OPENFOAM 1.4.1...


All times are GMT -4. The time now is 20:22.