hystrath / hyStrath

Hypersonic / Rarefied gas dynamics code developments (GPL-3.0)
https://hystrath.github.io/
GNU General Public License v3.0
227 stars 111 forks source link

NASA_MSL Tutorial is not working #159

Open sanxwonwing opened 3 months ago

sanxwonwing commented 3 months ago

I've installed hyStrath program, successfully. and then, I tried to run NASA_MSL tutorials

I typed "blockMesh" "checkMesh" and "hy2Foam" However, It doesn't work, even though I haven't revised anything.

The error saying that...

--> FOAM FATAL IO ERROR: Cannot find patchField entry for bottom

file : ~~~~/NASA_MSL_forebody_NR-MHD/0/p.boundaryField from line 28 to line 21.

In this situation... What should I do to correctly run the tutorial...?

nimero2 commented 1 week ago

Hi,

I usually follow this trick: if there is an Allrun file, I open it and see what commands are necessary to run a simulation. Inside this file, specifically, there are three commands: blockMesh, createPatch -overwrite and hy2Foam. If you run them in this order, the simulation should run for you.