Allow System Operations in OpenFOAM
Hello Dear FOAMers,
I like to enable the "allowSystemOperations" in controlDict under opt/openfoam211/etc system directory. This enables to load a shared library using case-supplied C++ code. To do so, I opened the controlDict with the standard Ubuntu text editor and changed the "allowSystemOperations" setting from 0 to 1, but the editor does not let me modify and save the file with the same name, saying that permission to modification is denied. Is there a way to get around this and overwrite this file? Many Thanks, |
This is because your install is in /opt, which is outside your home directory and you don't have default permission to adjust things there. if you have administrative rights, you can do
Code:
sudo gedit /opt/openfoam211/etc/controlDict |
Thank You Chegdan,
Yes, that is a good way to get around this problem. Cheers, aaa |
Thanks a lot dan.
I initially tried: Code:
sudo nano controlDict |
I am running through the same problem when using blockMesh, i checked the contDict file from etc and the "allowSystemOperations" is already set to 1, so i dont know how to fix this problem. thanks!
|
All times are GMT -4. The time now is 02:58. |