|
[Sponsors] |
March 13, 2013, 20:11 |
Allow System Operations in OpenFOAM
|
#1 |
Member
Amir Abbas Aliabadi
Join Date: Mar 2013
Posts: 33
Rep Power: 13 |
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, |
|
March 13, 2013, 23:39 |
|
#2 |
Senior Member
Daniel P. Combest
Join Date: Mar 2009
Location: St. Louis, USA
Posts: 621
Rep Power: 0 |
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 Last edited by chegdan; March 14, 2013 at 00:10. |
|
March 14, 2013, 00:24 |
|
#3 |
Member
Amir Abbas Aliabadi
Join Date: Mar 2013
Posts: 33
Rep Power: 13 |
Thank You Chegdan,
Yes, that is a good way to get around this problem. Cheers, aaa |
|
January 8, 2014, 22:01 |
|
#4 |
New Member
Yesaswi
Join Date: Jan 2014
Posts: 26
Rep Power: 12 |
Thanks a lot dan.
I initially tried: Code:
sudo nano controlDict |
|
July 2, 2021, 00:17 |
|
#5 |
Senior Member
qutadah
Join Date: Jun 2021
Location: USA
Posts: 101
Rep Power: 5 |
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!
|
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
New OpenFOAM Forum Structure | jola | OpenFOAM | 2 | October 19, 2011 07:55 |
Problem installing OpenFOAM 1.5 installation on RHEL 4. | vwsj84 | OpenFOAM Installation | 4 | April 23, 2009 05:48 |
64bitrhel5 OF installation instructions | mirko | OpenFOAM Installation | 2 | August 12, 2008 19:07 |
OpenFOAM Training in Europe and USA | hjasak | OpenFOAM | 0 | August 8, 2008 06:33 |
OpenFOAM Training and Workshop Zagreb 2628Jan2006 | hjasak | OpenFOAM | 1 | February 2, 2006 22:07 |