CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > ANSYS > ANSYS Meshing & Geometry

Hexa + Tetra meshing (Hybrid) in ICEM

Register Blogs Community New Posts Updated Threads Search

Like Tree5Likes
  • 3 Post By PSYMN
  • 2 Post By PSYMN

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   November 3, 2010, 13:24
Default Hexa + Tetra meshing (Hybrid) in ICEM
  #1
Senior Member
 
Ugly Kid Joe
Join Date: Aug 2010
Posts: 193
Rep Power: 16
vmlxb6 is on a distinguished road
I have to monitor flow over a cylinder.....My domain is pretty simple.....Its just a square domain with a cylinder around it......I need a hexa mesh around the cylinder and tetra mesh filling the rest of the domain ........ I did not find any tutorial related to it........!!!!!!!! Can someone help me out ???

Regards.
vmlxb6 is offline   Reply With Quote

Old   November 4, 2010, 09:57
Default
  #2
dst
New Member
 
Join Date: Oct 2010
Location: Germany
Posts: 25
Rep Power: 16
dst is on a distinguished road
Quote:
Originally Posted by vmlxb6 View Post
flow over a cylinder.....Its just a square domain with a cylinder around it.
Does not connected to your question but, do you have a smaller cylinder inside a square domain?

As a variant to mix tet and hex one can do:
1.hex mesh of a solid/fluid attached to the surface, where you need later to have a connection with tetras.
2.saving a surface mesh of a contact surface
3.loading the surf. mesh to a new file and changing QUADs to TRI
4.making tet using the existing mesh (without smoothing - to prevent changes in the "interface")
5.smooth tet excluding the connection face
6.loading hexa and tetra in one file and merging
dst is offline   Reply With Quote

Old   November 4, 2010, 11:45
Default
  #3
Senior Member
 
Ugly Kid Joe
Join Date: Aug 2010
Posts: 193
Rep Power: 16
vmlxb6 is on a distinguished road
I did not get any of it !!!!!!!!

Is there any PDF that I may refer to ???
vmlxb6 is offline   Reply With Quote

Old   November 9, 2010, 04:11
Default
  #4
New Member
 
June
Join Date: Dec 2009
Posts: 18
Rep Power: 16
examosty is on a distinguished road
I think you just need to block the domain, and then change the block you want to unstruct (Edit block -> convert block type -> Type free).
Regards.
examosty is offline   Reply With Quote

Old   November 11, 2010, 18:16
Default Ogrid in a box...
  #5
Senior Member
 
PSYMN's Avatar
 
Simon Pereira
Join Date: Mar 2009
Location: Ann Arbor, MI
Posts: 2,663
Blog Entries: 1
Rep Power: 47
PSYMN has a spectacular aura aboutPSYMN has a spectacular aura about
This is a very simple topology, so we don't have a tutorial for it explicitly, but the SphereCube tutorial is a very similar idea (Sphere in a Box), and explains how to use Ogrids..

I guess this is what you are looking for...
CylinderInABox.jpg

To get it, I start with my initial 3D Block around the box, split twice in across each end to "block" out my cylinder. Then I run an Ogrid thru the central block with faces on the ends. Then I associate the edges with the curves (actually, I used the auto associate button and did everything at once). Then I deleted the central block (inside the pipe) since it was not part of my flow domain. Then I set up my edge distributions and took the picture... I also attached the files.

Or perhaps you were looking for a swept block like this...
CylinderInABox_MultiZoneSweep.jpg

TO get it, I made sure that I built topology on the model (it connects the geometry). Then I created 2D surface blocking (automatic), with the sweep option. I selected both ends and the source faces. THen I did the 2D to 3D MultiZone Fill with the sweep option. (This model was so simple, I guess I could have just blocked the one side and done a 2D to 3D translate).

But I guess you want boundary layers around the pipe;
CylinderInABox_MultiZoneSweep_WOGRID.jpg

so I went back and put an Ogrid around that (at the blocking level), setup edge params and output the mesh again. I also saved this version of the model.

note: I didn't select both sides for this later Ogrid, so it came out the sides of the model (boundary layer across the back...)


Have fun.
zkdkeen, poornoobcfd and Sivamrthy like this.
PSYMN is offline   Reply With Quote

Old   November 11, 2010, 18:19
Default Files...
  #6
Senior Member
 
PSYMN's Avatar
 
Simon Pereira
Join Date: Mar 2009
Location: Ann Arbor, MI
Posts: 2,663
Blog Entries: 1
Rep Power: 47
PSYMN has a spectacular aura aboutPSYMN has a spectacular aura about
Oops, here are the files...

blocked and swept with Ogrid... You can sweep it differently to get the ogrid from end to end... Or just turn on the option for boundary layers around the pipe during the 2D to 3D sweep step...

Have fun.
Attached Files
File Type: zip CylinderInABoxSweptMultiZone.zip (13.8 KB, 275 views)
File Type: zip CylinderInABox.zip (12.9 KB, 190 views)
PSYMN is offline   Reply With Quote

Old   November 11, 2010, 18:35
Default @ Simon
  #7
Senior Member
 
Ugly Kid Joe
Join Date: Aug 2010
Posts: 193
Rep Power: 16
vmlxb6 is on a distinguished road
Thanks a lot Simon.
vmlxb6 is offline   Reply With Quote

Old   December 22, 2010, 09:15
Default
  #8
New Member
 
amirhosein h
Join Date: Dec 2010
Posts: 22
Rep Power: 15
anno_x is on a distinguished road
Hi. I want to do meshing around a cylindrical body in cube domain with ICEM like this video:
http://www.youtube.com/watch?v=_FLRZgnNvHo

I am new to ICEM . I want to simulate vortex shedding behind the pipe.
I read the above mentioned tutorial but I couldn't perform the meshing. I used the geometry was built in ansys workbench . can any one help me?

geometry file:
http://www.4shared.com/file/NMYGQ8Xd/Geom.html
anno_x is offline   Reply With Quote

Old   December 23, 2010, 15:21
Default
  #9
Senior Member
 
PSYMN's Avatar
 
Simon Pereira
Join Date: Mar 2009
Location: Ann Arbor, MI
Posts: 2,663
Blog Entries: 1
Rep Power: 47
PSYMN has a spectacular aura aboutPSYMN has a spectacular aura about
If you already have the geometry, is it 2D or 3D...?

I would just use 2D and shell mesh it, but if you use 3D, the steps are similar, but you should sweep it and then do the shell controls on the source face...

What you want to do is use the default ANSYS Mesher (shell or sweep), but right click on the body to insert an inflation method into the body (the surface for 2D or the sweep source for 3D) using the circular curve. Set a number of layers and an initial height appropriate to capture the viscous boundary layer.

Then setup named selections for boundaries, etc.

That is it...

a circle in a rectangle is pretty easy, try some tutorials if you just need to get some basic skills first.
PSYMN is offline   Reply With Quote

Old   December 23, 2010, 15:35
Default
  #10
New Member
 
amirhosein h
Join Date: Dec 2010
Posts: 22
Rep Power: 15
anno_x is on a distinguished road
Hi, thank you for the reply. I used the default ansys mesher with 20 inflation layers, but the processing time was too much because the default meshing was not appropriate for this case I think. . I want to know if I could use structural meshing from ICEM, like the video linked in my last post,will the problem be less time consuming?
I have problems in associating the split lines to vertices on cylinder. I don't know how to create vertex on cylindrical part of the fluid.
also, I don't know whether I should import both the cylinder and fluid parts in ICEM, or just the the fluid.
I forgot to tell you. it is a FSI problem. vortex induced vibrations for the circular cylinder.
anno_x is offline   Reply With Quote

Old   December 23, 2010, 15:49
Default Blocking instructions...
  #11
Senior Member
 
PSYMN's Avatar
 
Simon Pereira
Join Date: Mar 2009
Location: Ann Arbor, MI
Posts: 2,663
Blog Entries: 1
Rep Power: 47
PSYMN has a spectacular aura aboutPSYMN has a spectacular aura about
Unless you want to model the solid, you only need the fluid parts. And you don't need to associate the verts at all.

You could just associate the edges to the curve...

The blocking is just a very few steps...

Most of the fluid is an HGrid, but then split out a box around the hole (some distance away), put an Ogrid in the box with faces on the ends of the cylinders. Then delete the hgrid at the center of the OGrid. Associate the inner edge of the Ogrid with the curves. Associate the outer edges of the Farfield with the box. Associated verts with points if they are handy. You should have points on all sharp intersections (such as corners) but they are not really necessary for smooth connections like around a circle.

Best regards,

Simon
PSYMN is offline   Reply With Quote

Old   December 25, 2010, 04:39
Default
  #12
New Member
 
amirhosein h
Join Date: Dec 2010
Posts: 22
Rep Power: 15
anno_x is on a distinguished road
thanks for really useful answer, Simon. I created the Hmesh and Ogrid, but I still have problems in refining issues (I need refined edges in my case). I guess I should describe my meshing steps:
1. importing the geometry, creating 2 parts and creating body (LIVE as in tutorial)
2. blocking the geom, splitting around the cylinder
3. creating Ogrid around the cylinder and Association the corresponding edges to the cylinder curves. deleting block in the ogrid
4.using Blocking>Pre-mesh params>refinement for ogrid with leval 5
5. using Mesh>Surface mesh setup and defining the values like the case without refinement
6.using mesh>Curve mesh setup and defining the params like the case without refinement
7.using Mesh>compute mesh with Hexadominent, all boundary and inherited.

I did the above mentioned steps many time with various values as input, but no change was appeared in meshing. I guess this method is not appropriate for Hmesh. It would be great if you can help me out
anno_x is offline   Reply With Quote

Old   December 27, 2010, 11:18
Default 2 to 1
  #13
Senior Member
 
PSYMN's Avatar
 
Simon Pereira
Join Date: Mar 2009
Location: Ann Arbor, MI
Posts: 2,663
Blog Entries: 1
Rep Power: 47
PSYMN has a spectacular aura aboutPSYMN has a spectacular aura about
I don't know of any solver that supports 5 to 1 refinement. perhaps that is where your work broke down...

Try 2 to 1 for fluent or 3 to 1 for CFX (but you will need to Edit Mesh => Merge Meshes => Resolve Refinements since CFX doesn't actually support hanging nodes at all.)

If you post images, I may be able to help more.

Best regards,

Simon
Far and CTYH like this.
PSYMN is offline   Reply With Quote

Reply


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
Hexa meshing or Tetra meshing??? NITIN DEWANGAN CFX 5 August 5, 2008 10:59
Hexa Meshing with ICEM & CFX Matias CFX 2 May 9, 2007 20:57
ICEM CFD Meshing Problems: Hexa Dominant Evan CFX 6 July 3, 2006 13:37
Icem Hexa 2d aerofoil meshing Ste Lakey CFX 0 August 25, 2004 08:05
Have you used ICEM CFD TETRA and HEXA ? David Main CFD Forum 1 August 22, 2000 09:56


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