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

[blockMesh] Parallel meshing strategy of a (very) simple case

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

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   September 7, 2021, 12:54
Question Parallel meshing strategy of a (very) simple case
  #1
New Member
 
Thibault XAVIER
Join Date: Sep 2021
Posts: 2
Rep Power: 0
ThibaultGET is on a distinguished road
Hi all !


It's the first time for me on the forum.



I have a quite simple problem to solve.



I would like to set up a simple OpenFOAM case described by a cube. But I need to :

- 1* have a linear mesh refinement in one direction (as the simpleGrading option of blockMesh could do)
- 2* create a huge case with a billion of element, supposed to be ran on supercomputer.


My problem : the usual workflow (blockMesh, decomposePar) could work by using fat node on supercomputer, but can take hours and hours to perform, and sometimes hit the allowed job-time limit of supercomputer.



What would be your strategy if you wanted to perform this "simple" case set-up in parallel ? I though about creating coarse mesh, decompose it and then refine it using refineMesh, but it seems i can't control the mesh grading the way i would like (condition 1*).
(Extra-bonus question : is it mandatory to have a repertory for each MPI-process ?)


Thanks for your great help !


Thibault
ThibaultGET is offline   Reply With Quote

Old   September 9, 2021, 06:56
Default
  #2
Member
 
cyss38's Avatar
 
Cyrille Bonamy
Join Date: Mar 2015
Location: Grenoble, France
Posts: 85
Rep Power: 11
cyss38 is on a distinguished road
Hi Thibault,

Have you tried the following command?

mpirun -np XXX redistributePar -decompose -parallel

doc : https://www.openfoam.com/documentati...-parallel.html
cyss38 is offline   Reply With Quote

Reply

Tags
hpc cluster, mesh, openfoam, parallel

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
[DesignModeler] DesignModeler Scripting: How to get Full Command Access ANT ANSYS Meshing & Geometry 53 February 16, 2020 16:13
Problem running movingCylinders case in parallel with foam-extend-3.1 mhkenergy OpenFOAM Running, Solving & CFD 5 March 3, 2017 06:20
implementation of mapFields into parallel transient case simpomann OpenFOAM Pre-Processing 4 August 2, 2016 05:41
simpleFoam parallel AndrewMortimer OpenFOAM Running, Solving & CFD 12 August 7, 2015 19:45
Free surface boudary conditions with SOLA-VOF Fan Main CFD Forum 10 September 9, 2006 13:24


All times are GMT -4. The time now is 05:18.