CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Programming & Development

how to use "sudo chmod 777 –R" for unlocking system files?

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   December 29, 2015, 05:18
Default 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
SINA.KHAYYAM is on a distinguished road
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
SINA.KHAYYAM is offline   Reply With Quote

Old   December 29, 2015, 06:24
Default
  #2
Retired Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,982
Blog Entries: 45
Rep Power: 128
wyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to all
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
wyldckat is offline   Reply With Quote

Old   December 29, 2015, 09:41
Default
  #3
New Member
 
SINA.KHAYYAM
Join Date: Dec 2015
Posts: 7
Rep Power: 10
SINA.KHAYYAM is on a distinguished road
Thank you for your advice.
Best regards!
SINA.KHAYYAM is offline   Reply With Quote

Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are On


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


All times are GMT -4. The time now is 11:36.