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

Comments

Register Blogs Community New Posts Updated Threads Search

  1. Old Comment

    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.html
    permalink
    Posted October 31, 2015 at 08:28 by wyldckat wyldckat is offline
  2. Old Comment

    Running OpenFOAM in parallel with different locations for each process

    Hi katakgoreng,

    Quote:
    Originally Posted by katakgoreng View Comment
    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?
    The application decomposePar is only used in the master node, therefore it will only use the local temporary folder location.
    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,
    Bruno
    permalink
    Posted February 1, 2015 at 17:06 by wyldckat wyldckat is offline
  3. Old Comment

    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?
    permalink
    Posted February 1, 2015 at 16:46 by katakgoreng katakgoreng is offline
  4. Old Comment

    Building Code Documentation on OpenFOAM 2.0.0/x

    Hi zcarral,

    Quote:
    Originally Posted by zcarral View Comment
    But I do not see the OpenFOAM documentation? Where is it created?
    Mmm... back then I forgot to give the generic command that indicates the folder where it is located.
    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
    Best regards,
    Bruno
    permalink
    Posted August 30, 2014 at 08:17 by wyldckat wyldckat is offline
  5. Old Comment

    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?
    permalink
    Posted August 21, 2014 at 06:20 by zcarral zcarral is offline
  6. Old Comment

    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:
    permalink
    Posted August 13, 2014 at 13:57 by wyldckat wyldckat is offline
  7. Old Comment

    Read this before emailing/PM me

    modestly and sincerely
    hope u the best successes
    permalink
    Posted July 27, 2014 at 16:54 by ali_atrian ali_atrian is offline
  8. Old Comment

    Read this before emailing/PM me

    Thanks I hope you success
    permalink
    Posted May 10, 2014 at 10:38 by bluenail bluenail is offline
  9. Old Comment

    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
    typing
    Code:
    $HOME/OpenFOAM/OpenFOAM-2.1.x/doc/Doxygen/html/index.html
    in firefox browser, I got nothing.

    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
    Bobi
    permalink
    Posted April 23, 2014 at 08:31 by babakflame babakflame is offline
    Updated April 23, 2014 at 10:17 by babakflame
  10. Old Comment

    Using the official pre-built ParaView 3.8.0 version with OpenFOAM...

    Hi Maimouna,

    Quote:
    Originally Posted by Maimouna View Comment
    1. How to re_built ParaView 3.12.0?
    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:
    Originally Posted by Maimouna View Comment
    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?
    paraFoam is a convenience script that opens an OpenFOAM case in ParaView. Therefore, if paraFoam works, then ParaView is working.

    Quote:
    Originally Posted by Maimouna View Comment
    3.When I apply the cavity case in paraView 3.12.0 the Apply icom is not activating, what's the problem?
    By the way, there is a dedicated sub-forum for these kinds of questions, namely this one: http://www.cfd-online.com/Forums/openfoam-paraview/
    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,
    Bruno
    permalink
    Posted October 13, 2013 at 14:37 by wyldckat wyldckat is offline
  11. Old Comment

    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 thanks
    permalink
    Posted October 13, 2013 at 12:42 by Maimouna Maimouna is offline
  12. Old Comment

    OpenFOAM: Interesting cases of bad meshes and bad initial conditions

    Hi SergeAS,

    Quote:
    Originally Posted by SergeAS View Comment
    How about this old problem ? There are changes?
    I've never had a close look into this, but from their description on that page, the problem seems to be related to the modelling itself, not a mesh issue.

    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”.
    Best regards,
    Bruno
    permalink
    Posted October 5, 2013 at 07:36 by wyldckat wyldckat is offline
  13. Old Comment
    permalink
    Posted October 4, 2013 at 14:48 by SergeAS SergeAS is offline
  14. Old Comment
    Tobi's Avatar

    OpenFOAM with ICC - Intel's ICC is "allergic" to AMD CPUs

    Quote:
    Originally Posted by SergeAS View Comment
    it depends on task, because it only does not guarantee precision in some cases
    And how can you guarantee the precision in a new simulation case?
    permalink
    Posted September 22, 2013 at 10:04 by Tobi Tobi is offline
  15. Old Comment
    permalink
    Posted September 18, 2013 at 03:21 by m9819348 m9819348 is offline
  16. Old Comment

    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.
    permalink
    Posted September 16, 2013 at 19:58 by musahossein musahossein is offline
  17. Old Comment
    Tobi's Avatar

    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 that
    permalink
    Posted September 16, 2013 at 12:04 by Tobi Tobi is offline
  18. Old Comment

    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...
    You want to use the maximum capacity of your cores (10 are a lot cores ). You need to anticipate where in the mesh the biggest work will appear. Those are mostly the regions with high gradients of pressure, velocity or what ever it calculates(cause of more iterations). For example if you have a straight jet stream going parallel to the x-Axis, you should choose something like this (10 1 1) where the x gets sliced 10 times and every part has a piece of a workload. The program will automatically slice in a manner, that every piece has about the same amount of cells. Consider it when you use refined regions.

    Also if you use ubuntu you can use the command 'top´ in a further console to look up the actual use of processor capacity.
    permalink
    Posted September 16, 2013 at 10:27 by Kenna Kenna is offline
  19. Old Comment
    Tobi's Avatar

    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
    Tobi
    permalink
    Posted September 16, 2013 at 06:55 by Tobi Tobi is offline
  20. Old Comment

    Notes about running OpenFOAM in parallel

    Quote:
    Originally Posted by musahossein View Comment
    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.
    permalink
    Posted August 16, 2013 at 08:26 by Kenna Kenna is offline

All times are GMT -4. The time now is 12:02.