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

[snappyHexMesh] snappyHexMesh - parallel processing problems

Register Blogs Community New Posts Updated Threads Search

Like Tree2Likes
  • 2 Post By Ruli

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   March 4, 2014, 23:55
Default snappyHexMesh - parallel processing problems
  #1
New Member
 
J. Brindley
Join Date: Mar 2014
Posts: 11
Rep Power: 12
oldirtybrindley is on a distinguished road
When I run snappy regularly everything is fine. As soon as I use decomposePar, the resulting mesh is the same as that of blockMesh. Is this a simple fix?
oldirtybrindley is offline   Reply With Quote

Old   March 5, 2014, 04:52
Default
  #2
Senior Member
 
Lieven
Join Date: Dec 2011
Location: Leuven, Belgium
Posts: 299
Rep Power: 22
Lieven will become famous soon enough
You first need to copy the mesh in the last time directory created by snappy to the constant/polyMesh folder. Or alternatively run snappy with the '-overwrite' option.

Cheers,

L
Lieven is offline   Reply With Quote

Old   March 5, 2014, 09:35
Default
  #3
New Member
 
J. Brindley
Join Date: Mar 2014
Posts: 11
Rep Power: 12
oldirtybrindley is on a distinguished road
after running reconstructPar -latestTime, no new folders are being made? All I have is 8 processor folders and the 0, constant, and systems folder. I feel like a new time folder should be created correct?
oldirtybrindley is offline   Reply With Quote

Old   March 5, 2014, 09:49
Default
  #4
Member
 
Julian Langowski
Join Date: May 2011
Location: Bremen, Germany
Posts: 91
Rep Power: 14
Ruli is on a distinguished road
Dear B,
if you use -overwrite, no new folders (1,2,3) are created. Instead 0 is overwritten.

Best regards
Julian
__________________
πάντα ῥεῖ - Heraclitus
Ruli is offline   Reply With Quote

Old   March 5, 2014, 09:56
Default
  #5
New Member
 
J. Brindley
Join Date: Mar 2014
Posts: 11
Rep Power: 12
oldirtybrindley is on a distinguished road
when I run snappy with -overwrite I cannot get recontructPar to work?
oldirtybrindley is offline   Reply With Quote

Old   March 5, 2014, 10:21
Default
  #6
New Member
 
J. Brindley
Join Date: Mar 2014
Posts: 11
Rep Power: 12
oldirtybrindley is on a distinguished road
blockMesh
decontructPar -force
foamJob -parallel -screen snappyHexMesh -overwrite
reconstructPar -zeroTime ---> gives error: Size of maps does not correspont to size of mesh for processor 0
reconstructPar -latestTime ---> gives error: No times selected

when I run without overwrite, two new times folders are created within each processor (one for mesh, one for snap), but reconstructPar does not create new times folders in the directory.

when I run with overwrite, no new times folders are created within each processor, and I cannot use reconstructPar.

again, if I just use snappyHexMesh, everything works out perfectly. Could this have to do with the way decomposePar is splitting up the mesh? the piece I am adding is not evenly distributed.
oldirtybrindley is offline   Reply With Quote

Old   March 5, 2014, 10:38
Default
  #7
Member
 
Julian Langowski
Join Date: May 2011
Location: Bremen, Germany
Posts: 91
Rep Power: 14
Ruli is on a distinguished road
Try

Code:
reconstructParMesh -noZero -constant -mergeTol 1e-6
This works for me with snappy in parallel.

Best regards
Julian
amcloughlin801 and B_R_Khan like this.
__________________
πάντα ῥεῖ - Heraclitus
Ruli is offline   Reply With Quote

Old   March 5, 2014, 10:57
Default
  #8
New Member
 
J. Brindley
Join Date: Mar 2014
Posts: 11
Rep Power: 12
oldirtybrindley is on a distinguished road
RULI you're the best! Worked like a charm.
oldirtybrindley 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
[snappyHexMesh] Parallel processing SnappyHexMesh mullet904 OpenFOAM Meshing & Mesh Conversion 6 September 25, 2016 13:30
Explicitly filtered LES saeedi Main CFD Forum 16 October 14, 2015 11:58
multiphase solver - parallel processing - GAMG thibault_pringuey OpenFOAM Programming & Development 2 August 27, 2013 22:03
OF Parallel Processing with Core i7 - How to Handle Hyperthreading dancfd OpenFOAM Running, Solving & CFD 5 March 5, 2012 21:43
Cyclic patches and parallel postprocessing problems askjak OpenFOAM Bugs 18 October 27, 2010 03:35


All times are GMT -4. The time now is 23:37.