|
[Sponsors] |
February 27, 2012, 04:29 |
|
#41 |
Senior Member
Vincent RIVOLA
Join Date: Mar 2009
Location: France
Posts: 283
Rep Power: 18 |
I would maybe try to make the inner part slightly larger than the outer part.
Even if they overlap by 0.1% of mesh size for example. I gues that would ensure that during the rotation, no part of the mesh is left without cell. |
|
April 9, 2012, 23:18 |
|
#42 |
Member
liping_he
Join Date: Feb 2011
Posts: 36
Rep Power: 15 |
Hi Stephane
I create a case to simulate two phase flowing and rotoring with the slover interDyMFoam and AMI boundary. I created a simple mesh with blockMeshDict, it runs well. I think the code is working well. But when i import my own mesh with the tool fluentMeshToFoam, the mesh is created with gambit. AMI1 and AMI2 are two same faces. it cracks. I have on idea about this problem. I with you can give me a detailed process about how to create mesh with AMI boundary. Thanks very much in advance for your advice. liping_he@sina.cn is my email address. May I have your email. |
|
April 10, 2012, 04:01 |
|
#43 |
Senior Member
stephane sanchi
Join Date: Mar 2009
Posts: 314
Rep Power: 18 |
Hi,
just try to follow the steps of the propeller tutorial: ~/OpenFOAM-2.1.x/tutorials/incompressible/pimpleDyMFoam/propeller/ The first step is to redo the tutorial understanding all steps. Then you can use your own geometry. Try to keep the same boundary names, then only you can change them. The tutorial use snappyHexMesh (and blockMesh) for generating the mesh. The tutorial works well. But with my own geometry the computation crashes ! Now I use ICEM Hexa for mesh generation and the case doesn't crash any more. Regards, Stephane. |
|
April 10, 2012, 04:27 |
|
#44 |
Member
liping_he
Join Date: Feb 2011
Posts: 36
Rep Power: 15 |
Hi Stephane
Thanks for your early reply. My mesh is created using Gambit. It has two domains, rotor and stator. AMI1 and AMI2 locate between two domains. I want to konw how you import .msh file to OF. bestWish liping |
|
April 10, 2012, 05:10 |
|
#45 |
Senior Member
stephane sanchi
Join Date: Mar 2009
Posts: 314
Rep Power: 18 |
fluent3DMeshToFoam fluent.msh
with fluent.msh the mesh file in fluent V6 format. Regards, Stephane. |
|
April 10, 2012, 06:08 |
|
#46 | |
Member
liping_he
Join Date: Feb 2011
Posts: 36
Rep Power: 15 |
HI again Stephane
I have done the follow list. 1. I create the mesh in gambit. The mesh hase two domains 2. save every domain separately. and export the mesh using fluent V6 format 3. create separate case directories, put the .msh files there, run fluent3DMeshToFoam in every directories 4. run mergeMeshes 5.cope the new mesh, run in case. it shows: Quote:
looking forword your help. bestwishes liping |
||
April 10, 2012, 06:20 |
|
#47 |
Senior Member
stephane sanchi
Join Date: Mar 2009
Posts: 314
Rep Power: 18 |
Hi,
I haven't save the 2 domains separately. I have used ICEMCFD to generate the mesh. Only one domain containing the 2 fluid parts and the interface (AMI1=AMI2) between the fixed and moving parts. Stephane. |
|
April 10, 2012, 07:50 |
|
#48 |
Member
liping_he
Join Date: Feb 2011
Posts: 36
Rep Power: 15 |
HI
I want to konw that how to set the rotating cellzone.. best liping |
|
April 10, 2012, 08:12 |
|
#49 |
Senior Member
stephane sanchi
Join Date: Mar 2009
Posts: 314
Rep Power: 18 |
Hi,
ALL IS EXPLAINED IN THE PROPELLER TUTORIAL. topoSet -dict system/createAMIFaces.topoSetDict Please redo the propeller tutorial again and try to understand all steps !!! Regards, Stephane |
|
April 11, 2012, 12:10 |
|
#50 |
New Member
Qiang
Join Date: Mar 2012
Posts: 12
Rep Power: 14 |
Hi Stephane,
I have also encountered this problem, and I have tried a lot of methods. Thanks for your kind advice. It seems you have created the background mesh with ICEM and used it for snappyHexMesh. So there is no need for the innerCylinderSmall any more. Am I right? I will try it right now. Best regards, Qiang Wang |
|
April 11, 2012, 12:22 |
|
#51 |
New Member
Qiang
Join Date: Mar 2012
Posts: 12
Rep Power: 14 |
Hi Stephane,
I am sorry for the question, but how could I draw a background mesh like yours. It seems a little difficult for me to make the mesh follow a circle. Do you use a cylindrical block(with small radius) in the middle to make the mesh outside the block follow a circle? How do you draw the Hexa mesh in the center of the cylinder? Thanks in advance, Qiang Wang |
|
April 12, 2012, 03:53 |
|
#52 |
Senior Member
stephane sanchi
Join Date: Mar 2009
Posts: 314
Rep Power: 18 |
Hi,
I have tried 2 ways: 1. Background mesh with ICEM and sHM for the propeller. The case runs well at the beginning and then crashes suddently. 2. Whole mesh with ICEM (hard work and time consuming). The case runs well. I have done 5 complete revolutions. I hope that AMI will be improve in the next release of OF. Regards, Stephane. |
|
April 13, 2012, 01:21 |
|
#53 |
New Member
Qiang
Join Date: Mar 2012
Posts: 12
Rep Power: 14 |
Hi Stephane,
Thanks for your advice. Building the whole mesh with ICEM seems quite difficult for me. I will try to use the background mesh with sHM first. Best regards, Qiang Wang |
|
April 13, 2012, 02:58 |
|
#54 |
Senior Member
Vincent RIVOLA
Join Date: Mar 2009
Location: France
Posts: 283
Rep Power: 18 |
I managed to use SHM to create the grid, so you should be able to do the same.
However as I said in this post, I had to try different meshes to find one working. Good luck. |
|
April 13, 2012, 07:54 |
|
#55 |
New Member
Qiang
Join Date: Mar 2012
Posts: 12
Rep Power: 14 |
Hi,
I managed to use mesh created only by sHM. The case has run over 2 revolutions. At the same time, I have managed to use mesh created by sHM while the background mesh created by ICEM. The case is running, and seems OK. Thanks for all of you. Qiang Wang |
|
April 13, 2012, 08:04 |
|
#56 |
Senior Member
stephane sanchi
Join Date: Mar 2009
Posts: 314
Rep Power: 18 |
Hi,
happy to hear that users are able to run case using grid generated by sMH. Mine is also running for some time then it crashes suddenly (despite nice convergence of residuals and forces). With the ICEM mesh it runs well (5 revolutions). It require more time to use ICEM hexa, but sharp edges are perfectly represented. Best regards, Stephane. |
|
April 17, 2012, 08:23 |
|
#57 |
Senior Member
cfdkid
Join Date: Mar 2009
Posts: 133
Rep Power: 17 |
Developers please improve AMI implemetation.
Most of us are stuck, not that propeller case is not working. Propeller works fine, but when we try to implement our own case like rotating cube, things go really difficult. Also some documentation . If someone guides me implementing AMI using a generic case. I will do that documentation my-self and place it on forum. Also, if people are interested , let us do it together ans start a new thread. regards |
|
April 17, 2012, 17:13 |
|
#58 |
Senior Member
Niels Nielsen
Join Date: Mar 2009
Location: NJ - Denmark
Posts: 556
Rep Power: 27 |
I use AMI every day and I almost never have issues.
Also the meshes are almost all SHM to SHM meshes. In general you just have to be a little more careful generating the mesh at the AMI's. Using the same and constant refinement level for both sides of the AMI works almost all the time. Code:
ami1 { level (3 3); } Code:
ami2 { level (3 3); } EDIT: Using OF21 and OF21x
__________________
Linnemann PS. I do not do personal support, so please post in the forums. Last edited by linnemann; April 18, 2012 at 05:13. |
|
April 17, 2012, 17:18 |
|
#59 |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,982
Blog Entries: 45
Rep Power: 128 |
You forgot to mention if this was with OpenFOAM 2.1.0 or 2.1.x
__________________
|
|
April 18, 2012, 01:45 |
|
#60 |
Senior Member
cfdkid
Join Date: Mar 2009
Posts: 133
Rep Power: 17 |
@linnemann
yes you must be correct in stating so, We people need better understanding of AMI. Regards |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
UDF compiling problem | Wouter | Fluent UDF and Scheme Programming | 6 | June 6, 2012 05:43 |
Gambit - meshing over airfoil wrapping (?) problem | JFDC | FLUENT | 1 | July 11, 2011 06:59 |
natural convection problem for a CHT problem | Se-Hee | CFX | 2 | June 10, 2007 07:29 |
Adiabatic and Rotating wall (Convection problem) | ParodDav | CFX | 5 | April 29, 2007 20:13 |
Is this problem well posed? | Thomas P. Abraham | Main CFD Forum | 5 | September 8, 1999 15:52 |