jaheyns / CfdOF

Computational Fluid Dynamics (CFD) for FreeCAD based on OpenFOAM solver
GNU Lesser General Public License v3.0
442 stars 84 forks source link

Fix wrong meshDir when InputCaseName has multiple directory levels - [merged] #139

Closed oliveroxtoby closed 1 year ago

oliveroxtoby commented 1 year ago

In GitLab by @adrianinsaval on Oct 20, 2022, 17:32

Merges meshDir -> master

I tried setting InputCaseName through expressions to a series of subfolders (for example "2412//Re_3120000//AOA_10") for scripting successive simulations at different angles of attacks and Reynolds numbers. The cfd case was written in subfolders as desired but when trying to run the simulation it failed because it was expecting the mesh to be at "../meshCase" which didn't exist, with this change the correct meshCase directory is written in the cfd case and it runs correctly.

oliveroxtoby commented 1 year ago

In GitLab by @adrianinsaval on Oct 20, 2022, 17:37

added 1 commit

Compare with previous version

oliveroxtoby commented 1 year ago

In GitLab by @oliveroxtoby on Oct 21, 2022, 19:58

approved this merge request

oliveroxtoby commented 1 year ago

In GitLab by @oliveroxtoby on Oct 21, 2022, 19:58

added 2 commits

Compare with previous version

oliveroxtoby commented 1 year ago

In GitLab by @adrianinsaval on Oct 21, 2022, 20:01

thanks for the merges!