CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   OpenFOAM Running, Solving & CFD (https://www.cfd-online.com/Forums/openfoam-solving/)
-   -   How to run the tutorials' problems? (https://www.cfd-online.com/Forums/openfoam-solving/139431-how-run-tutorials-problems.html)

ranasa July 24, 2014 03:43

How to run the tutorials' problems?
 
Hello guys,
i'm a beginner in Openfoam
in order to learn more, i wanna to run some of the problems in the tutorials folder. but there is a problem that i got confused how to run different cases.

How should i know about the orders to be typed in terminal for running the different problems?

best

Jefferson_dhv July 24, 2014 13:12

Hello,

Some tutorials have the Allrun file in the case directory. In these cases you can simply type "./Allrun" when you are at the case directory in the terminal. You can access the case directory in the terminal by typing "cd" followed by the path, for example "cd /home/user/run/tutorials/incompressible/simpleFoam/airFoil2D/". In the other cases you need to do manually, some need to build the mesh and other just need to be ran by typing the name of the solver when within the case directory, just typing "simpleFoam", for example.

To learn how OpenFOAM works I recommend first to read the User Guide and then try to run the tutorials manually.

Regards,
J. Vieira

ranasa July 24, 2014 15:10

Dear Jefferson,
thanks for your valuable comments. i've just learned about the user Guide and i'm gonna make a deep study on it.

Best,
Rana


All times are GMT -4. The time now is 09:50.