Skip to content
Discussion options

You must be logged in to vote

Reason

After considerable debugging the issue, the conclusion was that:

  1. The FOAM_INST_DIR was not being properly set, because it was overridden by OpenFOAM's etc/bashrc

  2. The prefs_mingw_w64.sh was not found by foamEtcFile.

Both issues are related to a delay in the mount at /home/ofuser/blueCFD, which results in the files not being found. It's still not clear as to why this happened, but it's possible that is was after the user installed something new that broke MSys2's search system.

Solution

  1. Comment out the FOAM_INST_DIR lines in OpenFOAM-4.x/etc/bashrc.

  2. Use the full path in ~/.blueCFD/of4x.sh for the prefs files.

Replies: 1 comment

Comment options

wyldckat
Mar 7, 2022
Maintainer Author

You must be logged in to vote
0 replies
Answer selected by wyldckat
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
1 participant