Running OpenFoam checkMesh -writeAllFields on a SimScale .h5m or .vtu mesh file

How to run OpenFoam ‘checkmesh’ on a downloaded Hex parametric mesh (not from a full solution set download !!!):
.
.

Sorry for the continued posting here, but I am trying to pull a summary of all the things Ric and I discovered from a LONG, multi-day session (about 90 days ago) in our RocketChat environment.

We quickly discovered that we could run OpenFoam ‘checkmesh’ on a downloaded HEX parametric mesh (not from a full solution set). BUT, there was a trick to do this.

Here is Rics summary of that HEX parametric mesh trick:

  • Download a mesh, extract it to a folder. In this folder, you have to add a system folder containing fvSolution, fvSchemes and controlDict. Apart from this, open a notepad and save it as 0 byte case.foam (.foam extension).

.
Once you do that, the OpenFoam ‘checkmesh’ can be run in blueCFD from the directory of the case.foam file.

This was a great discovery as this will be an unheard of aid for us in order to make better meshes BEFORE we use them in a sim run.

I did not want to publish this until we had determined precisely where we could get an fvSolution, fvSchemes and controlDict file that would allow the trick to work.

Ric was persistent and was able to confirm that it seems we can get the system files from the directory structure of ANY downloaded full solution set. Ric even tried getting the system files from a TET mesh full solution set download :slight_smile:

2 Likes