-
Notes about running OpenFOAM in parallel
OK... I've hit the limit of 10000 characters on this blog post... I'm going to have to move this to a wiki page sometime soon... Anyone would like to help?
By the way, the link for the document by Shannon Keough was sent me by our fellow forum member KateEisenhower: http://www.cfd-online.com/Forums/ope...mulations.htmlPosted October 31, 2015 at 08:28 by wyldckat -
Running OpenFOAM in parallel with different locations for each process
Hi katakgoreng,
Quote:
In order to use the temporary folder for a specific node (machine), then you'll have to first ask that node (machine) what is the path it's using for a temporary folder.
Best regards,
BrunoPosted February 1, 2015 at 17:06 by wyldckat -
Running OpenFOAM in parallel with different locations for each process
Hi Bruno,
For parallel OpenFoam run with distributed storage, does the roots need to be absolute path?
If the local temporary scratch disk for each node was set to an environmental variables "$TMPDIR" (same name but different location), can it be used in the decomposeParDict as follows,
distributed yes;
roots (
"$TMPDIR"
"$TMPDIR"
"$TMPDIR"
);
I suspect OpenFoam will replace $TMPDIR for each roots with path of the master node only (as the application starts on master node). Is there a way to check if the OpenFoam is using the correct distributed storage?Posted February 1, 2015 at 16:46 by katakgoreng -
Building Code Documentation on OpenFOAM 2.0.0/x
Hi zcarral,
Quote:
Running the following command will give you the complete path to the main HTML file "index.html":
Code:echo $WM_PROJECT_DIR/doc/Doxygen/html/index.html
BrunoPosted August 30, 2014 at 08:17 by wyldckat -
Building Code Documentation on OpenFOAM 2.0.0/x
Dear Bruno,
I do not understand well the procedure to obtain the OpenFOAM documentation. I did the following steps in Ubuntu:
sudo apt-get install doxygen
sudo su -c "$WM_PROJECT_DIR/bin/foamExec ./Allwmake > docmake.log 2>&1"
But I do not see the OpenFOAM documentation? Where is it created?Posted August 21, 2014 at 06:20 by zcarral -
Blast from the past: installing OpenFOAM 1.5 in modern Linux boxes
Updated instructions
Instructions on how to build OpenFOAM 1.5 and 1.5.x for more recent Ubuntu versions can be found here:
Posted August 13, 2014 at 13:57 by wyldckat -
Read this before emailing/PM me
modestly and sincerely
hope u the best successesPosted July 27, 2014 at 16:54 by ali_atrian -
Read this before emailing/PM me
Thanks I hope you successPosted May 10, 2014 at 10:38 by bluenail -
Building Code Documentation on OpenFOAM 2.0.0/x
greetings Bruno
I have O.F. 2.1.x on $HOME directory and I did as exactly as You have specified on installing Doxygen. Everything seems correct . However, after
typingCode:$HOME/OpenFOAM/OpenFOAM-2.1.x/doc/Doxygen/html/index.html
Would You PLZ hint me how can I use Doxygen documentation on O.F. 2.1.x?
My ubuntu version is 11.10 and my linux architecture is x86_64.
I downloaded doxygen-1.8.7 according to your link (doxygen-1.8.7.src.tar.gz)
-----------------------------------------------------------------------------------------------------------------
The problem solved. 2 errors that I made:
1- Not putting doxygen in $HOME directory
2-Not using binary distribution for linux x86_64. (doxygen-1.8.7.linux.bin.tar.gz)
Regards
BobiPosted April 23, 2014 at 08:31 by babakflame
Updated April 23, 2014 at 10:17 by babakflame -
Using the official pre-built ParaView 3.8.0 version with OpenFOAM...
Hi Maimouna,
Why do you want to rebuild ParaView? According to this post: http://www.cfd-online.com/Forums/ope...tml#post456364 post #10 - you installed the one supplied for OpenFOAM, correct?
Quote:
Quote:
So, please open a new thread on that sub-forum and please describe in detail what steps you've taken and please provide a snapshot of what you're seeing.
Best regards,
BrunoPosted October 13, 2013 at 14:37 by wyldckat -
Using the official pre-built ParaView 3.8.0 version with OpenFOAM...
Hello,
I have some questions regarding ParaView:
1. How to re_built ParaView 3.12.0?
2. Do we need to install a third-party 2.2.1 with OpenFoam 2.2.1 or ParaFOAM is enough for OpenFOAM 2.2.1 to work properly?
3.When I apply the cavity case in paraView 3.12.0 the Apply icom is not activating, what's the problem?
Help me please to answer these three questions.
Many thanksPosted October 13, 2013 at 12:42 by Maimouna -
OpenFOAM: Interesting cases of bad meshes and bad initial conditions
Hi SergeAS,
Quote:How about this old problem ? There are changes?
My guess is that no one has approached OpenCFD to request a support contract on properly implementing such simulations. And I remember reading on the forum that there were several limitations to the "sonic" solvers in OpenFOAM, but I have no idea how that has been progressing so far.
Either way, it looks like "AeroFoam" already solves the problem Although they should seriously consider renaming it: http://www.openfoam.com/legal/trademark-guidelines.php
Quote:For example, if Archimedes wished to develop an application to simulate hydrostatics in OpenFOAM, we would strongly discourage project names such as “hydrostaticFoam” and “OpenFOAM Hydrostatics”.
BrunoPosted October 5, 2013 at 07:36 by wyldckat -
OpenFOAM: Interesting cases of bad meshes and bad initial conditions
How about this old problem ? There are changes?Posted October 4, 2013 at 14:48 by SergeAS -
Posted September 22, 2013 at 10:04 by Tobi -
Posted September 18, 2013 at 03:21 by m9819348 -
Notes about running OpenFOAM in parallel
The decomposition in geomDecomp.C looks something like this:
nProcessors_!=n_.x()*n_.y()*n_.z().
So the product cannot exceed the number of cores that you specify. If you are running 2D problems and the mesh is more finer in one direction and coarse in the other direction, then cores in the x direction is 1 and you vary the two others as necessary. In 3d, however, you can utilise the cores in all directions. What I have found useful is to dedicate more cores in the direction where the mesh is fine or varies greatly. Also since the product must equal to or be less than the number of crores available, the user is limited in how they can vary the cores in all directions, since the product of the number or cores in each direction cannot exceed the number of cores available.
IN other words trial and error would be the norm.Posted September 16, 2013 at 19:58 by musahossein -
Notes about running OpenFOAM in parallel
Hi Kenna,
10 cores are a lot? Not really or - I think 100 cores are okay
Well I know the fact of splitting the mesh in a optimal way so that not only 2 cores get the whole work.
But I just wanted to know if there are any benchmarks where you can see the effect of a "wrong" splitted mesh.
Maybe in time increase of 10% or sth. like thatPosted September 16, 2013 at 12:04 by Tobi -
Notes about running OpenFOAM in parallel
Quote:what is faster in a Special case:
a) decompose in (10 1 1)
b) decompose in (1 10 1)
c) decompose in (1 1 10)
d) decompose in (2 5 1)
and so on...
Also if you use ubuntu you can use the command 'top´ in a further console to look up the actual use of processor capacity.Posted September 16, 2013 at 10:27 by Kenna -
Notes about running OpenFOAM in parallel
Dear Bruno,
do you know any Benchmark of using the x,y,z direction and the Splitting of a geometry into different parts like:
what is faster in a Special case:
a) decompose in (10 1 1)
b) decompose in (1 10 1)
c) decompose in (1 1 10)
d) decompose in (2 5 1)
and so on...
Regards
TobiPosted September 16, 2013 at 06:55 by Tobi -
Notes about running OpenFOAM in parallel
Quote:Do you have any notes on how to use simple decomposition for parallel processing. I am running on a dual hexacore (12 core) machine, and no matter what I try, my decomposeParDict in sloshingtank2D just wont work, and I get errors something like:
Decomposing mesh region0
Create mesh
Calculating distribution of cells
Selecting decompositionMethod hierarchical
--> FOAM FATAL ERROR:
Wrong number of processor divisions in geomDecomp:
Number of domains : 12
Wanted decomposition : (4 2 2)
From function geomDecomp::geomDecomp(const dictionary& decompositionDict)
in file geomDecomp/geomDecomp.C at line 50.
Any suggestions? why wont (6 6 1) work? Isnt that 12 sub domains? I look forward to your reply.
:
Well, 4*2*2 would make 16 Regions. 6*6*1 separations would be 36.
What would work for 12 domains/processors is (3 2 2).
The Numbers represent the slides through the Mesh parallel to the related coordinate-axe.Posted August 16, 2013 at 08:26 by Kenna