|
[Sponsors] |
How to run Openfoam in a cluster after I install it |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
September 25, 2007, 14:32 |
Hi,
I am only new to use Op
|
#1 |
New Member
xiuying
Join Date: Mar 2009
Posts: 24
Rep Power: 17 |
Hi,
I am only new to use Openfoam. I don't know how to run Openfoam after installing. The user guide is almost about using FOAMX and PARAVIEW, but I use a cluster and can only use the command line to run it. Can Anyone tell me how to run it step by step. Now I am very worried because my advicer need the results in a short time. Please help me. Thank you very much. Kang |
|
September 25, 2007, 15:01 |
Type in in find section of Acr
|
#2 |
Senior Member
Join Date: Mar 2009
Posts: 225
Rep Power: 18 |
Type in in find section of Acrobat or any other viewer word: parallel. Then find the section about damBreak problem running in parallel. If I'm not mistaken User Manual has got whole section how to run things in parallel.
BTW. "Fast in OpenFOAM", haha If you never used it, forget about "fast/short". Obviously you can obtain results, but I doubt how much meaningful they are going to be. Spend some time with OpenFOAM it is not a point'n'click thing. Good luck! Krystian |
|
September 25, 2007, 16:39 |
Hi, Krystian,
Thank for you
|
#3 |
New Member
xiuying
Join Date: Mar 2009
Posts: 24
Rep Power: 17 |
Hi, Krystian,
Thank for your help. I run the following command line cd $HOME/OpenFOAM/xiuying-1.4.1/run/tutorials/interFoam blockMesh.dambreak interFoam.dambreak But I can't see any results. why? Kang |
|
September 25, 2007, 16:55 |
Read carefully User Manual, th
|
#4 |
Senior Member
Join Date: Mar 2009
Posts: 225
Rep Power: 18 |
Read carefully User Manual, those are basics and you shouldn't have any trouble. Just read it.
|
|
May 4, 2008, 17:20 |
Hi;
I have successfully insta
|
#5 |
New Member
Celestin Picasso Zemtsop
Join Date: Mar 2009
Location: Laramie, Wyoming, US
Posts: 2
Rep Power: 0 |
Hi;
I have successfully installed OpenFOAM in the linux64 cluster available in the department (Mathematics). It runs in serial from every node in which I am connected, but not in parallel (it does not see others nodes). We have an MPI implementation (MPICH). My question is: how to change the makefile to use, say, MPI-compiler (MPI C++) and produce the excutable ,say, OpenFOAM-MPI. And, how to check that the code really runs in parallel (output for example the number of processors). Regards; Picasso |
|
May 5, 2008, 13:54 |
Hi Celestine!
To change the
|
#6 |
Assistant Moderator
Bernhard Gschaider
Join Date: Mar 2009
Posts: 4,225
Rep Power: 51 |
Hi Celestine!
To change the MPI-implementation: 1. Change in $WM_PROJECT_DIR/$FOAM_DOT_DIR/bashrc the variable WM_MPLIB to MPICH 2. Change in $WM_PROJECT_DIR/.bashrc the settings that are relevant for MPICH to fit your installation 3. Open a new terminal (to make sure that the new settings are used) 4. Recompile your OF-installation (only Pstream should be actually recompiled) You won't have to recompile executables as all stuff specific to the used MPI-implementation is encapsulated in Pstream. For testing that stuff I must refer you to Appendix A of the UserGuide where OF+MPICH are discussed (I don't use MPICH myself, which means I can't be more concrete about step 2 above) Bernhard
__________________
Note: I don't use "Friend"-feature on this forum out of principle. Ah. And by the way: I'm not on Facebook either. So don't be offended if I don't accept your invitation/friend request |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
How to install OpenFoam in Windows XP | robert_dekker | OpenFOAM Installation | 4 | October 20, 2010 22:15 |
OpenFOAM Install Script | ljsh | OpenFOAM Installation | 82 | October 12, 2009 12:47 |
How to install OpenFOAM15dev on RHEL AS3 cluster | waynezw0618 | OpenFOAM Installation | 0 | February 26, 2009 11:10 |
How to install OpenFOAM15dev on RHEL AS3 cluster | waynezw0618 | OpenFOAM Installation | 0 | February 26, 2009 11:04 |
install the openfoam | aya | CFX | 4 | July 23, 2008 08:58 |