|
[Sponsors] |
[Technical] How to know if blockMesh is successful |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
August 21, 2022, 08:49 |
How to know if blockMesh is successful
|
#1 |
New Member
chen yu Huang
Join Date: Nov 2019
Posts: 18
Rep Power: 7 |
Hello,
Sometimes we execute OpenFOAM and we can read messages from .log file if an error occurs. Is there any way to know if blcokMesh is successfully executed? For example, we could check a value return from OpenFOAM, 1 means some errors occur, otherwise returns 0. I will be grateful for any suggestions. |
|
August 23, 2022, 05:25 |
|
#2 |
Senior Member
M
Join Date: Dec 2017
Posts: 698
Rep Power: 12 |
Not a bad idea, I dont know of a return value. But looking at my logs, all aplication parts of meshing (blockMesh, snappy, reconstruction, surfaceFeatures, ...) write "End" to the end of the log. I think if some critial error occurs, it will be "FOAM EXITING". Then, can you just look into the log from a script and catch the case when there is no "End" statement and assume something went wrong?
|
|
August 23, 2022, 05:46 |
|
#3 | |
New Member
chen yu Huang
Join Date: Nov 2019
Posts: 18
Rep Power: 7 |
Hello,
that will be a good suggestion, I will try it. Thank you. Quote:
|
||
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
[blockMesh] OpenFOAM blockMesh bus error | BRH | OpenFOAM Meshing & Mesh Conversion | 0 | April 12, 2021 12:02 |
Is Playstation 3 cluster suitable for CFD work | hsieh | OpenFOAM | 9 | August 16, 2015 15:53 |
Installation/Tutorial - libraries not found (blockMesh) | bernarde | OpenFOAM | 3 | June 19, 2009 13:36 |
IcoFoam Not Installed and blockMesh command not found | cesarbz | OpenFOAM Installation | 6 | July 4, 2008 05:44 |
Blockmesh cavity error message | tonitoney | OpenFOAM Installation | 2 | March 17, 2008 12:59 |