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

Parallelize multi mesh case with OFoam

Register Blogs Members List Search Today's Posts Mark Forums Read

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   April 18, 2011, 12:25
Question Parallelize multi mesh case with OFoam
  #1
New Member
 
Johan Magnusson
Join Date: Oct 2010
Posts: 21
Rep Power: 15
magjohan is on a distinguished road
Hi foamers!

Im stuck with a problem where i want to parallelize my solver. The problem for
me is that my problem consists of 30 different meshes, each of them placed in the time-step folders 0.00000, 1.00000 ... 30.00000.

It may sound confusing but due to rotation, symmetry and previous developers I cant do anything about that.

Is there a way to take advantage of OpenFOAMs MPI in my case, I would be glad to hear your ideas!

Thanks!
magjohan is offline   Reply With Quote

Old   April 19, 2011, 20:54
Default
  #2
Retired Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,974
Blog Entries: 45
Rep Power: 128
wyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to all
Hi Johan,

OK, I've got a few questions:
  1. How exactly do the 30 meshes relate to each other?
  2. Are each a region of a bigger geometry?
  3. Or are they a dynamic evolution of the same original mesh? For example, an object moving inside a mesh, that makes the mesh morph and change cells.
  4. What type of parallelism are you looking for?
  5. Is it multi-region, multiphase, particles transport, transient or stationary?
  6. Is it an engine like thing? For example, see the "combustion/engineFoam/kivaTest" tutorial.
I ask these questions, because for each one there is a different way to solve the case.

Best regards,
Bruno
__________________
wyldckat is offline   Reply With Quote

Old   April 19, 2011, 22:14
Default
  #3
New Member
 
Johan Magnusson
Join Date: Oct 2010
Posts: 21
Rep Power: 15
magjohan is on a distinguished road
Thanks for the reply!

1. Okey, the meshes are representing a time step (which also corresponds to one degree), of a symmetric rotational case. I.e after 30 degrees, or time steps, symmetry is reached and i continues from 0 again.

2. They regions are not regions of a bigger geometry. They are all the same geometry, the difference between them are that they are rotated 1 deg compared to the previous one.

3. Lets say its a circle that rotates around origo.

4. Im looking for a way to be able to use a multi-core system. Only one core is for the moment used. I thought i wanted something like "dividing" the mesh in different sections.

5. It is a transient case with a different perspective of moving in time. The time-steps are fixed.

6. Not an engine thing, no combustion or vice versa. The solver are totally in-house developed and due to restrictions I cant talk to much about it.

Anyway, thanks again and a lot for the reply, my answers may sound diffuse but I hope they can help you!
magjohan is offline   Reply With Quote

Old   April 20, 2011, 07:02
Default
  #4
Retired Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,974
Blog Entries: 45
Rep Power: 128
wyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to all
Hi Johan,

I've also read the PM you sent me. As far as I can tell, the tutorials/solvers you can look at for ideas are:
  • The tutorial "combustion/engineFoam/kivaTest", because it uses the piston inside the engine in various positions, and I think "engineFoam" should be able to run in parallel, although I'm not 100% certain.
  • The tutorials for "incompressible/pimpleDyMFoam", including the respective solver "pimpleDyMFoam", since (if I'm not mistaken) its transient and uses dynamic meshes.
  • The tutorials for "multiphase/interDyMFoam", along with its solver "interDyMFoam", because some useful ideas may be collected from this solver, since it's transient and takes into account stuff that "pimpleDyMFoam" doesn't.
This is as far as I can help I'm not sufficiently familiar with these solvers to help you out.

Best regards and good luck!
Bruno
__________________
wyldckat is offline   Reply With Quote

Reply

Tags
mesh, mpi, multiple, parallelize, solver

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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
[snappyHexMesh] SnappyHexMesh for internal Flow vishwa OpenFOAM Meshing & Mesh Conversion 24 June 27, 2016 08:54
[ICEM] Generating Mesh for STL Car in Windtunnel Simulation tommymoose ANSYS Meshing & Geometry 48 April 15, 2013 04:24
[ICEM] Unstructure Meshing Around Imported Plot3D Structured Mesh ICEM kawamatt2 ANSYS Meshing & Geometry 17 December 20, 2011 11:45
[snappyHexMesh] snappyHexMesh won't work - zeros everywhere! sc298 OpenFOAM Meshing & Mesh Conversion 2 March 27, 2011 21:11
Convergence moving mesh lr103476 OpenFOAM Running, Solving & CFD 30 November 19, 2007 14:09


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