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

snappyHexMesh in parallel with AMI

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

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   April 11, 2014, 10:53
Default snappyHexMesh in parallel with AMI
  #1
Senior Member
 
louisgag's Avatar
 
Louis Gagnon
Join Date: Mar 2009
Location: Stuttgart, Germany
Posts: 304
Rep Power: 14
louisgag is on a distinguished road
Send a message via ICQ to louisgag
Did anyone successfully run snappyHexMesh in parallel on a mesh which has AMI sliding interfaces?

I tried it and by inspiring myself from the parallel snappyHexMesh tutorials... SnappyHexMesh runs without complaining but then the pimpleDyMFoam case doesn't run and complains about something that is obviously linked to a wrong mesh...

Cheers,


-Louis
louisgag is offline   Reply With Quote

Old   April 11, 2014, 14:17
Default
  #2
Member
 
Julian Langowski
Join Date: May 2011
Location: Bremen, Germany
Posts: 91
Rep Power: 11
Ruli is on a distinguished road
Dear Louis,
I don`t know the details of your case, but check out this thread:

http://www.cfd-online.com/Forums/ope...oundaries.html

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

Old   September 11, 2014, 13:35
Default
  #3
Senior Member
 
louisgag's Avatar
 
Louis Gagnon
Join Date: Mar 2009
Location: Stuttgart, Germany
Posts: 304
Rep Power: 14
louisgag is on a distinguished road
Send a message via ICQ to louisgag
Thanks Julian. I didn't solve the running snappyHexMesh in parallel problem (my case would run fine when on one processor), so I left it as is and moved one ;-)
-Louis
louisgag is offline   Reply With Quote

Old   September 12, 2014, 10:28
Default
  #4
New Member
 
Mehid
Join Date: Nov 2013
Location: Tehran-Iran
Posts: 22
Rep Power: 0
Metti is on a distinguished road
Hey Louis,

I,m in the middle of a project and now just stopped at the point of your issue.
the same as your mentioned case i use SHM & of course with some cyclicAMI boundary conditions, But when running simpleFoam(or any other solvers) it just crashes out with errors.
really need your Tips if u managed how to get rid of that.

regards,
Metti.
Metti is offline   Reply With Quote

Old   September 12, 2014, 10:32
Default
  #5
Senior Member
 
louisgag's Avatar
 
Louis Gagnon
Join Date: Mar 2009
Location: Stuttgart, Germany
Posts: 304
Rep Power: 14
louisgag is on a distinguished road
Send a message via ICQ to louisgag
Hello Mehid,
unfortunately I was never able to run snappyHexMesh in parallel.
-Louis
louisgag is offline   Reply With Quote

Old   September 12, 2014, 11:10
Default
  #6
New Member
 
Mehid
Join Date: Nov 2013
Location: Tehran-Iran
Posts: 22
Rep Power: 0
Metti is on a distinguished road
Quote:
Hello Mehid,
unfortunately I was never able to run snappyHexMesh in parallel.
-Louis
maybe I didn't get your problem.

do you have problem in parallel running the SHM?
Metti is offline   Reply With Quote

Old   September 12, 2014, 11:13
Default
  #7
Senior Member
 
louisgag's Avatar
 
Louis Gagnon
Join Date: Mar 2009
Location: Stuttgart, Germany
Posts: 304
Rep Power: 14
louisgag is on a distinguished road
Send a message via ICQ to louisgag
Yes, when I run SHM in parallel with my AMI case, the solver doesn't run anymore, gives errors. Now I don't remember the details because this is a long time ago. If I run SHM on one processor and then run the case in parallel it all works fine, although the scaling is really not good.
Cheers
-Louis
louisgag is offline   Reply With Quote

Old   September 12, 2014, 11:22
Default
  #8
New Member
 
Mehid
Join Date: Nov 2013
Location: Tehran-Iran
Posts: 22
Rep Power: 0
Metti is on a distinguished road
So Louis,

may I have the question of how do you make your cyclicAMI BCs?

Do you use "createPatch" to change the type of the BCs to "cyclicAMI" ?
Metti is offline   Reply With Quote

Old   September 15, 2014, 03:57
Default
  #9
Senior Member
 
louisgag's Avatar
 
Louis Gagnon
Join Date: Mar 2009
Location: Stuttgart, Germany
Posts: 304
Rep Power: 14
louisgag is on a distinguished road
Send a message via ICQ to louisgag
I use createPath in as sequence as this,

Code:
runApplication snappyHexMesh -overwrite

runApplication renumberMesh -overwrite


# force removal of fields generated by snappy
\rm -rf 0

# - generate face/cell sets and zones
# runApplication topoSet -dict system/createInletOutletSets.topoSetDict

# - create the inlet/outlet and AMI patches
runApplication createPatch -overwrite

runApplication topoSet

runApplication checkMesh
with a createPatchDict dictionary containing entries as the following,

Code:
{
name AMI1;
patchInfo
{
type cyclicAMI;
matchTolerance 0.0001;
neighbourPatch AMI2;
transform noOrdering;
}
constructFrom patches;
patches (cropRotor);
}
Good work,
louisgag is offline   Reply With Quote

Reply

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 in parallel shailesh.nitk OpenFOAM Meshing & Mesh Conversion 19 November 25, 2018 09:32
[snappyHexMesh] SnappyHexMesh in Parallel problem swifty OpenFOAM Meshing & Mesh Conversion 10 November 6, 2015 05:40
simpleFoam parallel AndrewMortimer OpenFOAM Running, Solving & CFD 12 August 7, 2015 19:45
mixerVesselAMI2D's mass is not balancing sharonyue OpenFOAM Running, Solving & CFD 6 June 10, 2013 10:34
SnappyHexMesh OF-1.6-ext crashes on a parallel run norman1981 OpenFOAM Bugs 5 December 7, 2011 13:48


All times are GMT -4. The time now is 06:50.