exasim-project / OBR

A runner for OpenFOAM benchmarks
BSD 3-Clause "New" or "Revised" License
3 stars 1 forks source link

Copying of dictionaries with "uses" option occurs after "post_build" #196

Open HendriceH opened 7 months ago

HendriceH commented 7 months ago

It would be helpful if dictionaries that are copied with "uses" option e.g. uses:

are copied before all pre/post_build operations. Currently no OpenFOAM operations can be executed within post_build if the basicSetup doesn't contain the basic dictionaries in place.

greole commented 7 months ago

Thanks for reporting. The uses notation should be executed before the post build. One issue is that many operations need a "valid" OpenFOAM case before they can be executed and to be a valid case the case needs to have a controlDict. I'll have a look how to improve that.