Foam fatal io error ... "enabled by default because of security issues"
I am neetu. I am trying to simulate flow over cylinder(potentialFOAM) problem, available in tutorial of OpenFOAM. While I am generating the mesh in OpenFOAM by using blockMesh command in case file directory, getting an error which sayes that: 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 by adding to the infoSwitches setting in the system controlDict:
Does anyone has any idea about how to get out off this error.
The error should be self-explanatory. You have dynamic code in the blockMeshDict apparently, which should be compiled during runtime.
In OpenFOAM-2.1.0/etc/controlDict you will be able to set the mentioned switch.
Either that, or use the Allrun script that the "basic/potentialFoam/cylinder/" tutorial has! ;)
Here's the online version: https://github.com/OpenFOAM/OpenFOAM...ylinder/Allrun - notice that it hacks this option into the personal copy of "etc/controlDict".
Thank you so much for the suggestions. As I am very new in handling OpenFOAM software codes, unable to interpret the meaning of errors.
Man, I have the same problem and I've already read this post some thousands times but I still don't know what to do. How can I enable the Switches? where?
I can't get out of this problem and this make me feel like an idiot.
can anyone help me??
thanks for reading.
Before someone think I am some kind of dumb, I should say that I've already try to enable the switches on the controlDict. But, unfortunately, the part of the code
// Allow case-supplied C++ code (#codeStream, codedFixedValue)
doesn't exist on my controlDict. Why don't I add it?
Well, actually, I've already did it. But still nothing.
This is scaring me.
Greetings Mr. Howlin,
A few questions:
Sorry for not giving a very straight and clear answer right now, but it's just that OpenFOAM is really picky about details and it's best that you train yourself as soon as possible to spot small and important details in OpenFOAM cases.
|All times are GMT -4. The time now is 00:31.|