|
[Sponsors] |
November 19, 2010, 04:44 |
where is log file created??
|
#1 |
Member
Sandeep
Join Date: Jul 2010
Posts: 48
Rep Power: 16 |
Hello all,
I have ran few tutorial examples came with openfoam. I could not find the log file after running the case. Where do I find them?? Do I have to give any command before running the case inorder to create log file?? please help me sandeep |
|
November 19, 2010, 06:18 |
|
#2 |
Member
Masashi Ohbuchi
Join Date: Oct 2009
Posts: 74
Rep Power: 17 |
Hi,
If you need log file, please try as follows. >simpleFoam > log.simpleFoam & |
|
November 19, 2010, 07:32 |
|
#3 |
Senior Member
Francois
Join Date: Jun 2010
Posts: 107
Rep Power: 21 |
Dear Sandeep,
The ">" symbol in Linux is the standard output redirection symbol used to redirect a program output to a file instead of to the console. So if you run any solver in OpenFOAM, without extra options, you will get quite a few lines of output on your screen. Now. If you use, for instance, the command: Code:
icoFoam > log & The formal way of creating a log file in OpenFOAM is by using the command foamJob followed by the name of your solver. To get the same result as the example here-above, we would enter the command: Code:
foamJob icoFoam The foamJob command itself comes with various run options. For more information, please refer to the User Manual. Kind regards, Francois. |
|
November 19, 2010, 11:38 |
|
#4 |
Member
Sandeep
Join Date: Jul 2010
Posts: 48
Rep Power: 16 |
Hi,
Thanks for the reply. I have been searching for the for a long time. I have one more question to that. How do I check if the case is running or finished or terminated?? Also could you tell me how to check the residuals and where to specify the convergence criteria. Thanks a ton!! Sandeep |
|
November 21, 2010, 14:11 |
|
#5 |
Senior Member
Francois
Join Date: Jun 2010
Posts: 107
Rep Power: 21 |
Hello,
You can monitor your log file during the run by entering: Code:
tail -f log The job will be finished when the log file finishes by End. And Linux will also inform you the process corresponding to your solver run is finished. For information on how to monitor the residuals, you could start by reading the User Manual, and reading/running the three tutorial test cases included there. Searching that very same document for the key word residuals will also tell you how you can monitor them, and change your run parameters accordingly. A short search on this forum would have returned the following thread: http://www.cfd-online.com/Forums/ope...residuals.html Kind regards, Francois. |
|
May 23, 2023, 05:16 |
foamCleanTutorials | tee log.clean
|
#6 |
Member
desimuser1
Join Date: Mar 2023
Posts: 35
Rep Power: 3 |
foamCleanTutorials | tee log.clean works for openfoam v10 (foundation) and the same command is not working for openfoam v2212,
foamCleanTutorials works but i cant get a log file out of it (in v2212) foamCleanTutorials>log.clean (i tried this in v2212, dosent work) |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Continue from previous log file | bernarde | OpenFOAM | 4 | March 17, 2020 09:49 |
openfoam 1.6 on debian etch | romant | OpenFOAM Installation | 9 | May 6, 2010 03:26 |
Problem installing on Ubuntu 9.10 -> 'Cannot open : No such file or directory' | mfiandor | OpenFOAM Installation | 2 | January 25, 2010 10:50 |
[OpenFOAM] ParaView 33 canbt open OpenFoam file | hariya03 | ParaView | 7 | September 25, 2008 18:33 |
CFX4.3 -build analysis form | Chie Min | CFX | 5 | July 13, 2001 00:19 |