CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   OpenFOAM Running, Solving & CFD (https://www.cfd-online.com/Forums/openfoam-solving/)
-   -   Problem using AMI (https://www.cfd-online.com/Forums/openfoam-solving/95697-problem-using-ami.html)

openfoam_user April 25, 2012 03:44

Dear all,

I have uploaded on our website page dedicated to OpenFOAM applications some pictures and movies done using pimpleDyMFoam and AMI capabilities.

http://www.cfse.ch/cfse/site/openfoam.php

Regards,

Stephane.

kid April 25, 2012 03:47

Thank you for this i am stuck from past few weeks, rotating a cube in regular domain.
Link here:
http://www.cfd-online.com/Forums/ope...tml#post356808

Now, will take a break and see, what you have suggested.

openfoam_user April 25, 2012 03:52

Hi CFDkid,

I have reproduced exactly the propeller tutorial:
~/OpenFOAM-2.1.x/tutorials/incompressible/pimpleDyMFoam/propeller/

Using blockMesh and snappyHexMesh my case blows.

Using ICEM Hexa for generating the grid the case runs fine.

Regards,

Stephane.

kid April 25, 2012 03:58

Good man.
For me ICEM not available. So need to work around sHM or Solome.
Have look at my case in spare time. ( link is in my previous post)

linnemann April 25, 2012 10:16

Quote:

Originally Posted by openfoam_user (Post 356814)

Good stuff Stephane.

Really like that you have shared your endeavors :-)

liping_he April 25, 2012 22:35

hi Stephane

I am sorry for my question, but i have no idea about it. This question is also about mesh generation. I have used ICEMCFD to generate mesh with 2 fluid parts and 1 interface between rotoring and moving parts. I have convert the mesh with fluent3DMeshToFoam. The mesh only has ONE FACE (interface mentioned above) patch in AMI1. How can i acquire another face to patch in AMI2. Thanks..

Regards,

he

openfoam_user April 26, 2012 02:08

Hi,

With ICEM Hexa I have ONLY one fluid part. Export in V6 fluent format. Then use the fluent3DMeshToFoam command to convert the mesh.


Try to follow exactly the propeller tutorial. Keep the same names (boundaries, zones, ...). Use the topoSet command to generate face/cell sets and zones (like in the tutorial).

Regards,
Stephane.

liping_he April 26, 2012 05:00

Hello Stephane.

How to obtain the ID of startFace in changeDictionaryDict file in propeller tutorial

Regards,
liping

openfoam_user April 26, 2012 05:18

(1) Open your constant/polyMesh/boundary file.
(2) Compute nFaces + startFace of your last boundary.
(3) Open your changeDictionaryDict file.
(4) startFace (for AMI1 and AMI2) = result computed in (2)

Regards,
Stephane.

liping_he April 27, 2012 06:58

Hi Stephane.

Thanks for your help. For now, following the propeller tutorial I can genarate the AMI1 and AMI2 faces. but the faces are coarse and toothed. look at the picture attached. I have no idea about this issue...

Thanks in advance,
liping
http://www.cfd-online.com/Forums/C:\...Desktop\pp.jpg

openfoam_user April 27, 2012 07:16

Hi,
no pictures attached.
Stephane.

liping_he April 27, 2012 22:16

1 Attachment(s)
HI, Stephane

SORRY..HERE IS THE PICTURE

lovecraft22 April 28, 2012 05:22

Are you looking at the correct time step?

openfoam_user April 30, 2012 02:25

1 Attachment(s)
Hi he,

The grid doesn't seem to be generated using ICEM Hexa !

You will have problems at the interface between the rotating and the static domains.

Your interface has to be smooth (circle).

See the picture. The pink line is the interface between the rotating and the static parts.

Regards,
Stephane.

liping_he May 1, 2012 20:47

Hi Stephane, lovercraft22

Thanks for your reply. I have know the reason why the AMI1/2 faces show coarse and toothed.
1, the mesh is not generated using circular grid.
2, I should have retained the interface (the AMI1/2 face ) when I created mesh. The createAMIFaces.topoSetDict file can not split grid. It only can create AMI1/2 faces on the basis of original mesh we generated.

Regards,
he

kid May 2, 2012 05:56

Hi stephane,
Does OpenFOAM-210 and OpenFOAM-21x make any difference for implementing AMI feature?
I meant is there any advantage or improvement .



openfoam_user May 2, 2012 06:07

I use OpenFOAM latest git version (OF-2.1.x).
AMI is implemented in OF-2.1.x.

See ~/OpenFOAM-2.1.x/tutorials/incompressible/pimpleDyMFoam/propeller tutorial.

Stephane.

kid May 3, 2012 00:51

Stephane,
Thanks, so that means if we intend to implement AMI, OpenFOAM-21X has to be used.

Actually, while i try to model a problem using AMI in OpenFOAM-210, it throws error. It could be because of my less understanding of it too. But could the version 210 instead of 21x be the culprit too?

openfoam_user May 3, 2012 02:12

Hi,

AMI is already implemented in OF-2.1.x.

My case crashes too, except when I use ICEM (fully structured grid) for grid generation.

Regards,
Stephane.

kid May 3, 2012 03:05

Ok Stephane thanks.

Going to upgrade OF210 to OF21x. Hope to see some improvement.


All times are GMT -4. The time now is 21:39.