CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   OpenFOAM Installation (https://www.cfd-online.com/Forums/openfoam-installation/)
-   -   building MRFSimpleFoam (https://www.cfd-online.com/Forums/openfoam-installation/83846-building-mrfsimplefoam.html)

vaina74 January 13, 2011 02:19

building MRFSimpleFoam
 
Hi everybody.
I continue here another thread because a user defined my problem, so this is the right forum section.
I installed OpenFOAM-1.5-dev from CAE Team PPA and I want to use MRFSimpleFoam. I was explained I have to build it into MRFSimpleFoam tutorial folder. I found /usr/share/doc/openfoam-dev-1.5/examples/MRFSimpleFoam/MRFSimpleFoam. It contains a subdirectory Make (with files and options files) and two files: MRFSimpleFoam.C and createFields.H. I tried wmake but it fails (not found). Maybe I have to run make?
I use Ubuntu 10.04 64-bit.

wyldckat January 13, 2011 17:49

Hi Maurizio,

Here's what you do:
Code:

mkdir -p $WM_PROJECT_USER_DIR
cd $WM_PROJECT_USER_DIR
cp -r $FOAM_TUTORIALS/MRFSimpleFoam/MRFSimpleFoam .
cd MRFSimpleFoam
wmake

And voilá, ready to be used. Note: I installed both the "openfoam-dev-1.5" and "openfoam-dev-1.5-dev" packages! Possibly you only installed the first one. Here is how you can install the second:
Code:

sudo apt-get install openfoam-dev-1.5-dev
Best regards,
Bruno

vaina74 January 14, 2011 01:38

Thank you, Bruno. You're always helpful.


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