View Issue Details

IDProjectCategoryView StatusLast Update
0001331OpenFOAMBugpublic2015-01-01 17:29
Reporterhertzsprung Assigned Tohenry  
PrioritynormalSeverityminorReproducibilityalways
Status closedResolutionno change required 
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

Activities

wyldckat

2014-06-28 22:46

updater   ~0003144

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.

henry

2015-01-01 17:29

manager   ~0003460

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 11:41 hertzsprung New Issue
2014-06-28 22: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