To use the container solids4foam/solids4foam-v2.0-foam-extend-4.1 one needs to source bashrc before cd $WM_PROJECT_DIR/../solids4foam/tutorials. Also there are two problems when it comes to using this container:
1- As the root user, you get the following error when you run blockMesh for the cavity case:
--> FOAM FATAL IO ERROR:
This code should not be executed by someone with administrator rights due to security reasons.
(it writes a shared library which then gets loaded using dlopen)
2- As the dockeruser, the error changes to
--> FOAM FATAL IO ERROR:
Loading a shared library using case-supplied code is not enabled by default
because of security issues. If you trust the code you can enable this
facility be adding to the InfoSwitches setting in the system controlDict:
allowSystemOperations 1
The system controlDict is either
~/.OpenFOAM/$WM_PROJECT_VERSION/controlDict
or
$WM_PROJECT_DIR/etc/controlDict
To use the container
solids4foam/solids4foam-v2.0-foam-extend-4.1
one needs to sourcebashrc
beforecd $WM_PROJECT_DIR/../solids4foam/tutorials
. Also there are two problems when it comes to using this container:1- As the
root
user, you get the following error when you runblockMesh
for the cavity case:2- As the
dockeruser
, the error changes to