View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0001331OpenFOAM[All Projects] Bugpublic2014-06-25 10:412015-01-01 17:29
Reporterhertzsprung 
Assigned Tohenry 
PrioritynormalSeverityminorReproducibilityalways
StatusclosedResolutionno change required 
PlatformOSOS Version
Product Version2.3.x 
Target VersionFixed in Version 
Summary0001331: checkMesh should return non-zero exit status when mesh checks fail
DescriptionThis will make it easy to fail a GNU make build and avoid having to grep for 'Mesh OK.' in checkMesh's output.
TagscheckMesh
Attached Files

- Relationships

-  Notes
(0003144)
wyldckat (updater)
2014-06-28 21:46

On the other hand, there are some situations where not having an OK mesh, doesn't mean that simulation cannot be performed with success.
This is specially true if you use the options "-allGeometry -allTopology", which can trigger some error messages which could be considered to be false positives of errors in the mesh.
(0003460)
henry (manager)
2015-01-01 17:29

I agree with Bruno, the result of checkMesh cannot be considered a simple pass/fail; it depends on what kind and level of error you are prepared to accept.

The return from checkMesh indicates if the application itself failed rather than an indication that the mesh is poor in some way. You will need to get your script to scan the output of checkMesh to decide if the mesh is good enough to proceed.

- Issue History
Date Modified Username Field Change
2014-06-25 10:41 hertzsprung New Issue
2014-06-28 21:46 wyldckat Note Added: 0003144
2014-12-29 18:31 wyldckat Tag Attached: checkMesh
2015-01-01 17:29 henry Note Added: 0003460
2015-01-01 17:29 henry Status new => closed
2015-01-01 17:29 henry Assigned To => henry
2015-01-01 17:29 henry Resolution open => no change required