CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > OpenFOAM Native Meshers: snappyHexMesh and Others

snappyHexMesh - parallel processing problems

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

Like Tree1Likes
  • 1 Post By Ruli

Reply
 
LinkBack Thread Tools Display Modes
Old   March 5, 2014, 00:55
Default snappyHexMesh - parallel processing problems
  #1
New Member
 
J. Brindley
Join Date: Mar 2014
Posts: 11
Rep Power: 4
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, 05:52
Default
  #2
Senior Member
 
Lieven
Join Date: Dec 2011
Location: Leuven, Belgium
Posts: 297
Rep Power: 14
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, 10:35
Default
  #3
New Member
 
J. Brindley
Join Date: Mar 2014
Posts: 11
Rep Power: 4
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, 10:49
Default
  #4
Member
 
Julian Langowski
Join Date: May 2011
Location: Bremen, Germany
Posts: 91
Rep Power: 7
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, 10:56
Default
  #5
New Member
 
J. Brindley
Join Date: Mar 2014
Posts: 11
Rep Power: 4
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, 11:21
Default
  #6
New Member
 
J. Brindley
Join Date: Mar 2014
Posts: 11
Rep Power: 4
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, 11:38
Default
  #7
Member
 
Julian Langowski
Join Date: May 2011
Location: Bremen, Germany
Posts: 91
Rep Power: 7
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 likes this.
__________________
πάντα ῥεῖ - Heraclitus
Ruli is offline   Reply With Quote

Old   March 5, 2014, 11:57
Default
  #8
New Member
 
J. Brindley
Join Date: Mar 2014
Posts: 11
Rep Power: 4
oldirtybrindley is on a distinguished road
RULI you're the best! Worked like a charm.
oldirtybrindley is offline   Reply With Quote

Reply

Thread Tools
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 On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
parallel processing time+reconstruct time<serial processing?! immortality OpenFOAM 8 August 13, 2013 09:15
interDyMFoam, problems in mesh motion solutor run in parallel DLC OpenFOAM 11 December 11, 2012 03:20
snappyHexMesh in parallel with cyclics tonyuprm OpenFOAM 1 June 29, 2011 10:43
HP MPI warning...Distributed parallel processing Peter CFX 10 May 14, 2011 06:17
Problems in mesh motion solutor in parallel 4 interDyMFoam. DLC Main CFD Forum 0 November 21, 2009 17:17


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