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

How to run Openfoam in a cluster after I install it

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   September 25, 2007, 13:32
Default Hi, I am only new to use Op
  #1
New Member
 
xiuying
Join Date: Mar 2009
Posts: 24
Rep Power: 17
xiuying is on a distinguished road
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
xiuying is offline   Reply With Quote

Old   September 25, 2007, 14:01
Default Type in in find section of Acr
  #2
Senior Member
 
Join Date: Mar 2009
Posts: 225
Rep Power: 18
paka is on a distinguished road
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
paka is offline   Reply With Quote

Old   September 25, 2007, 15:39
Default Hi, Krystian, Thank for you
  #3
New Member
 
xiuying
Join Date: Mar 2009
Posts: 24
Rep Power: 17
xiuying is on a distinguished road
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
xiuying is offline   Reply With Quote

Old   September 25, 2007, 15:55
Default Read carefully User Manual, th
  #4
Senior Member
 
Join Date: Mar 2009
Posts: 225
Rep Power: 18
paka is on a distinguished road
Read carefully User Manual, those are basics and you shouldn't have any trouble. Just read it.
paka is offline   Reply With Quote

Old   May 4, 2008, 16:20
Default Hi; I have successfully insta
  #5
New Member
 
Celestin Picasso Zemtsop
Join Date: Mar 2009
Location: Laramie, Wyoming, US
Posts: 2
Rep Power: 0
uwyomath is on a distinguished road
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
uwyomath is offline   Reply With Quote

Old   May 5, 2008, 12:54
Default Hi Celestine! To change the
  #6
Assistant Moderator
 
Bernhard Gschaider
Join Date: Mar 2009
Posts: 4,225
Rep Power: 51
gschaider will become famous soon enoughgschaider will become famous soon enough
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
gschaider 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
How to install OpenFoam in Windows XP robert_dekker OpenFOAM Installation 4 October 20, 2010 21:15
OpenFOAM Install Script ljsh OpenFOAM Installation 82 October 12, 2009 11:47
How to install OpenFOAM15dev on RHEL AS3 cluster waynezw0618 OpenFOAM Installation 0 February 26, 2009 10:10
How to install OpenFOAM15dev on RHEL AS3 cluster waynezw0618 OpenFOAM Installation 0 February 26, 2009 10:04
install the openfoam aya CFX 4 July 23, 2008 07:58


All times are GMT -4. The time now is 19:57.