CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > OpenFOAM Running, Solving & CFD

openFoam 2.1.x: creating AMI patches from a cylinder.

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

Reply
 
LinkBack Thread Tools Display Modes
Old   March 26, 2012, 03:11
Default openFoam 2.1.x: creating AMI patches from a cylinder.
  #1
Member
 
Elh. A2. BAH
Join Date: Jan 2012
Posts: 63
Rep Power: 4
ebah6 is on a distinguished road
Dear all,

I am inspiring my self from the pimpleDyMFoam/propeller tutorial to run a case.
But when I create the AMI from an .obj cylinder, the surface is all messed up.

Attached is my picture from paraFoam.

Can some help me out with this.

Thank you all.
Attached Images
File Type: png myAMI.png (3.3 KB, 75 views)
ebah6 is offline   Reply With Quote

Old   March 26, 2012, 07:19
Default
  #2
Senior Member
 
linnemann's Avatar
 
Niels Nielsen
Join Date: Mar 2009
Location: Denmark
Posts: 434
Rep Power: 13
linnemann will become famous soon enough
We really need some more info.

How is the mesh created?

It looks like SHM, and if that is the case it looks like either your background mesh is too coarse or the refinement level on the AMI is too low.

On another note to improve stability during simulation it can be a good idea to keep the same refinementlevel on the ami/ggi's to avoid concave faces.
__________________
Linnemann

PS. I do not do personal support, so please post in the forums.
linnemann is offline   Reply With Quote

Old   March 26, 2012, 07:44
Default
  #3
Member
 
Elh. A2. BAH
Join Date: Jan 2012
Posts: 63
Rep Power: 4
ebah6 is on a distinguished road
Thank you sir,

I did a lot of "gymnastic" to get the .obj file.
1) create mesh with Pointwise and export it as .cas (i.e fluent)
2) with ANSYS ICEM-CFD I converted it to .stl
3) the use blender to get the .obj extension.

I made a trial by using the .stl file and got the picture attached.

Regarding your suggestions refining the outer box and/or the AMI, I think just need to refine my hex box in the blockMeshDict. How about the the AMI refinement? where should do this?

Please, allow that I ask related question.
a) how do I go and determine the value of startFace in system/changeDictionary?
As of now, I have to run it twice: first I let it crash and give a number that I plug back in and re-run.
b) another issue I have being struggling all along is the inlet and outlet pressure and velocity boundary conditions. could suggest a combination?

My apologies if these questions are too basic, but I am newbie.
Attached Images
File Type: png AMI_with_STL.png (2.4 KB, 12 views)
ebah6 is offline   Reply With Quote

Old   March 26, 2012, 07:59
Default
  #4
Senior Member
 
linnemann's Avatar
 
Niels Nielsen
Join Date: Mar 2009
Location: Denmark
Posts: 434
Rep Power: 13
linnemann will become famous soon enough
From the propeller tutorial.

Code:
         innerCylinderSmall
        {
            level       (4 4); // this is the refinement 
            cellZone    innerCylinderSmall;
            faceZone    innerCylinderSmall;
            cellZoneInside  inside;
        }
I can see you are making a VAWT simulation.

Here is a case I made you can use as inspiration with setup etc.

3D structured VAWT case

This is made using 1.6-ext but its a matter of changing the ggi's to ami's.

PS. VAWT are horrible energy producing devices, don't waste your time on them, other than pure interest.
Try to find a company that's willing to share real world produced energy data.
__________________
Linnemann

PS. I do not do personal support, so please post in the forums.
linnemann is offline   Reply With Quote

Old   March 26, 2012, 13:27
Default
  #5
Member
 
Elh. A2. BAH
Join Date: Jan 2012
Posts: 63
Rep Power: 4
ebah6 is on a distinguished road
Thank you very much sir.
ebah6 is offline   Reply With Quote

Old   March 26, 2012, 18:06
Default
  #6
Member
 
Elh. A2. BAH
Join Date: Jan 2012
Posts: 63
Rep Power: 4
ebah6 is on a distinguished road
Hello again,

I have been using the same level of refinement as in the propeller tutorial. And I refined my outer block by 6 times but these right angle features still persist.
May be it is that my .stl geometriy is not good enough. Could you tell me what you used to create you geometries?
Also, if you have lead on the BC setup as I mentioned earlier.

Thank you for your patience.

Regards.
Attached Images
File Type: png refinedBoxAMI.png (3.1 KB, 26 views)
ebah6 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
OpenFOAM 2.1.x Windows Patch Released gocarts OpenFOAM Announcements from Other Sources 0 January 18, 2012 14:56
createPatch / cyclicGgi / OpenFoam 1.5-dev OFU OpenFOAM Meshing & Mesh Conversion 0 June 16, 2010 04:36
OpenFOAM 1.6 CreatePatch Problem TarifaPirata OpenFOAM Bugs 1 September 10, 2009 04:35
Creating cylinder in STAR-CD Sachin CD-adapco 2 March 6, 2008 02:53
Creating patches usinf CFX 4.4 Meshbuild Kev CFX 0 August 30, 2004 19:39


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