CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   OpenFOAM Pre-Processing (https://www.cfd-online.com/Forums/openfoam-pre-processing/)
-   -   snappyHexMesh in parallel with AMI (https://www.cfd-online.com/Forums/openfoam-pre-processing/133190-snappyhexmesh-parallel-ami.html)

louisgag April 11, 2014 09:53

snappyHexMesh in parallel with AMI
 
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

Ruli April 11, 2014 13:17

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

louisgag September 11, 2014 12:35

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

Metti September 12, 2014 09:28

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.:confused:

regards,
Metti.

louisgag September 12, 2014 09:32

Hello Mehid,
unfortunately I was never able to run snappyHexMesh in parallel.
-Louis

Metti September 12, 2014 10:10

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?

louisgag September 12, 2014 10:13

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

Metti September 12, 2014 10:22

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" ?

louisgag September 15, 2014 02:57

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,


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