|
[Sponsors] |
how to use "sudo chmod 777 –R" for unlocking system files? |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
December 29, 2015, 05:18 |
how to use "sudo chmod 777 –R" for unlocking system files?
|
#1 |
New Member
SINA.KHAYYAM
Join Date: Dec 2015
Posts: 7
Rep Power: 10 |
Hi Foamers:
I want to implement a new scheme for time derivation(ddt scheme), so first of all i must unlock system files and compile them with my new scheme. To the knowledge of me, i should unlock the system files by writing the "sudo chmod 777 –R" command in terminal, but i don't know ho to do it exactly. Also i am afraid of messing up my system. Does anyone knows how to handle it with details? Thanks in advance |
|
December 29, 2015, 06:24 |
|
#2 |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,982
Blog Entries: 45
Rep Power: 128 |
Quick answer: You don't need to modify directly the OpenFOAM source code. You can create a new library for your new time discretization scheme, as explained here: https://openfoamwiki.net/index.php/H...dary_condition
The idea is that you only need the "Make" folder and the class folder, then rename things and it's good to go. Nonetheless, if you want to risk modifying the OpenFOAM source code directly, then I advise you to use chown instead of chmod, as explained here: http://www.cfd-online.com/Forums/ope...tml#post315755 - post #2 |
|
December 29, 2015, 09:41 |
|
#3 |
New Member
SINA.KHAYYAM
Join Date: Dec 2015
Posts: 7
Rep Power: 10 |
Thank you for your advice.
Best regards! |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
CFX11 + Fortran compiler ? | Mohan | CFX | 20 | March 30, 2011 18:56 |
OF 1.6 | Ubuntu 9.10 (64bit) | GLIBCXX_3.4.11 not found | piprus | OpenFOAM Installation | 22 | February 25, 2010 13:43 |
Problems in compiling paraview in Suse 10.3 platform | chiven | OpenFOAM Installation | 3 | December 1, 2009 07:21 |
OpenFOAM15 paraFoam bug | koen | OpenFOAM Bugs | 19 | June 30, 2009 10:46 |
Adventure of fisrst openfoam installation on Ubuntu 710 | jussi | OpenFOAM Installation | 0 | April 24, 2008 14:25 |