CFD Online Discussion Forums

CFD Online Discussion Forums (http://www.cfd-online.com/Forums/)
-   OpenFOAM (http://www.cfd-online.com/Forums/openfoam/)
-   -   how to create edit or create new folder in Openfoam? (http://www.cfd-online.com/Forums/openfoam/96449-how-create-edit-create-new-folder-openfoam.html)

lilinghan8 January 23, 2012 12:37

how to create edit or create new folder in Openfoam?
 
Hi,

I installed openfoam210 for Ubuntu from its official website. I now want to edit a solver but i cannot make any changes in openfoam210. It is installed in file system/opt/Openfoam210.It seems that I am not the owner so that it is not allowed me to do these.

Anyone know how to deal with this problem or this is not the right way to modity solver?

Regards

wyldckat January 23, 2012 16:13

Greetings lilinghan8,

See this tutorial: http://openfoamwiki.net/index.php/Ho...ure_to_icoFoam

The key detail is this:
Quote:

Now go into the Make subdirectory and open the 'files' file with your favorite editor. Change it to read:
Code:

my_icoFoam.C

EXE = $(FOAM_USER_APPBIN)/my_icoFoam


Best regards,
Bruno


All times are GMT -4. The time now is 15:06.