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

[ICEM] Hybrid mesh

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

Like Tree3Likes

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   July 6, 2012, 06:54
Default Hybrid mesh
  #1
New Member
 
Horst
Join Date: Jan 2012
Posts: 19
Rep Power: 14
lostinicem is on a distinguished road
Hello community,
since 2 weeks Im fighting with my problem and now I came to a point, where I dont know what to do, so I ask you and hope for your help:
I have to create a geometry ( I want to create a cone ) which contains/ is made of structured mesh. Here a pic:cone.jpg
After it is created I need a tetra-mesh around it, so it looks like this when I create it:cone2.jpg
So in the next step is merge it and smooth it, it looks not really good but this is what it looks like:cone3.jpg
So the quality is not that good but this is where the problem starts; I need hexa layers around my geometry and those merged with tetra and hexa mesh, something like this:cone4.jpg
But this is not merged. If I merge the tetra mesh before making the layers I cant make them afterwards with the prism layers option. and if I create them first, like in the last pic I also cant merge them with my geometry, because the computer crashes.
Can anyone help me with this:
- I need to know how to make better hexa mesh and also control the ratio ( so it gets bigger from cone to the walls and it is small around my geometry)
- how can I merge the hexa and tetra mesh and have those tetra layers around it.
I googled, searched through this and other forums but still nothing, that could help me.

best regards

Last edited by lostinicem; July 31, 2012 at 06:01.
lostinicem is offline   Reply With Quote

Old   July 6, 2012, 09:31
Default
  #2
Super Moderator
 
diamondx's Avatar
 
Ghazlani M. Ali
Join Date: May 2011
Location: Tokyo, Japan
Posts: 1,385
Blog Entries: 23
Rep Power: 28
diamondx will become famous soon enough
for a good merging size elements matters, did you take a look at this thread:
http://www.cfd-online.com/Forums/ans...-geometry.html
if you have the possibility to mesh it all in hexa, will you do that? hexa is much better than tetra, because of size and computation errors i found.
If you don't mind, you are welcome to share you project with us... we can dig more into the problem
__________________
Regards,
New to ICEM CFD, try this document --> https://goo.gl/KAOIwm
Ali
diamondx is offline   Reply With Quote

Old   July 7, 2012, 04:07
Default
  #3
Senior Member
 
Ananthakrishnan.A.S
Join Date: Feb 2012
Location: Mumbai (Bombay), India
Posts: 157
Rep Power: 16
Ananthakrishnan is on a distinguished road
Send a message via Skype™ to Ananthakrishnan
Hi lostinicem,
Just a small note.. I just found out that, if you use fluent you dont have to merge the meshes.
You just have to define the "interface" in "mesh interfaces" in fluent and it will run normally. Even the size of the structured and unstructured elements at the interface does not matter..
Ananthakrishnan is offline   Reply With Quote

Old   July 7, 2012, 04:14
Default
  #4
Far
Super Moderator
 
Sijal
Join Date: Mar 2009
Location: Islamabad
Posts: 4,553
Blog Entries: 6
Rep Power: 54
Far has a spectacular aura aboutFar has a spectacular aura about
Send a message via Skype™ to Far
in that case you have write the both meshes separately and then use read and append commands to combine them.
Far is offline   Reply With Quote

Old   July 7, 2012, 04:19
Default
  #5
Senior Member
 
Ananthakrishnan.A.S
Join Date: Feb 2012
Location: Mumbai (Bombay), India
Posts: 157
Rep Power: 16
Ananthakrishnan is on a distinguished road
Send a message via Skype™ to Ananthakrishnan
Far,
I dont think thats required. in case of fluent, after both meshes exist under the mesh tree in ICEM (ie both structured and unstructured mesh exists at the interface), you just have to take the output as usual into .msh type. then define the interface separately in fluent..
Ananthakrishnan is offline   Reply With Quote

Old   July 7, 2012, 08:35
Default
  #6
Super Moderator
 
diamondx's Avatar
 
Ghazlani M. Ali
Join Date: May 2011
Location: Tokyo, Japan
Posts: 1,385
Blog Entries: 23
Rep Power: 28
diamondx will become famous soon enough
you mean using the interface command without appending the meshes. loading the meshe earlier in one shot ?? i didn't know that...
__________________
Regards,
New to ICEM CFD, try this document --> https://goo.gl/KAOIwm
Ali
diamondx is offline   Reply With Quote

Old   July 9, 2012, 05:27
Default
  #7
New Member
 
Horst
Join Date: Jan 2012
Posts: 19
Rep Power: 14
lostinicem is on a distinguished road
uh sorry to watch here late!
@diamondx: i saw that thread and actually this was my first choice to make this kind of steps, but it didnt worked out; i can see now why, i guess my tetra-mesh was too large, because i couldnt merge it, like in your picture.

@anan; also thanks for this hint, Ill try it when mesh is finished

all in all thanks for the answers; I just thought i could also work here with those layers/layer-option, so it would make easier with other geometries; because in tutorials you can see alot of those meshes, but I cant handle to create it ....

@diamondx regarding my problem: there is conical geometry, which is in a flow that includes also the temperature. my problem is to generate some structured-mesh-layers around the cone, to have a better quality of what is happening there. the rest is tetra-mesh/tri-mesh (unstructured mesh), because its not that interesting for us and since making it as a whole as structured, would cost too much calculating time. and if I take only unstrucutred mesh, it seems its not accurate enough. but you can correct me on my opinions here, since Im new to this kind of problems and maybe I misunderstood something.

best regards

Last edited by lostinicem; July 31, 2012 at 06:02.
lostinicem is offline   Reply With Quote

Old   July 16, 2012, 06:51
Default
  #8
New Member
 
Horst
Join Date: Jan 2012
Posts: 19
Rep Power: 14
lostinicem is on a distinguished road
by the way Im trying now to create a cone around cone and to control the structured mesh with this; but it seems like I cant adopt the idea from cube, because if I split here blocks at the end the mesh of the bigger cone looks pretty strange.
I guess I need to play with the settings of associatins ...

anyone got any hints?
lostinicem is offline   Reply With Quote

Old   July 16, 2012, 07:05
Default
  #9
New Member
 
Horst
Join Date: Jan 2012
Posts: 19
Rep Power: 14
lostinicem is on a distinguished road
sorry for tripple post ...
here some pics: before i make volume mesh ( so if I have only surface mesh) ;it looks ok:conenovolumemesh.jpg

and after I create the volume mesh:conewithvolumemesh.jpg
lostinicem is offline   Reply With Quote

Old   July 16, 2012, 07:07
Default
  #10
Senior Member
 
Christoph
Join Date: May 2011
Location: Germany
Posts: 182
Rep Power: 17
energy382 is on a distinguished road
Quote:
Originally Posted by lostinicem View Post
my problem is to generate some tetra-layers around the cone, to have a better quality of what is happening there. the rest is hexa-mesh, because its not that interesting for us and since making it as a whole tetra would cost too much calculating time. and if I take only hexa mesh, it seems its not accurate enough.




why do you need tetra layers? i really don't understand.


i think you confuse tetra with hexa!? you need a hex mesh with hex layers and tetra around the body!? and you want to match the hex layer with tetra

sorry, but i don't understand your issue
energy382 is offline   Reply With Quote

Old   July 17, 2012, 05:59
Default
  #11
New Member
 
Horst
Join Date: Jan 2012
Posts: 19
Rep Power: 14
lostinicem is on a distinguished road
@energy, thanks for your attention! maybe this is why nobody answers I edited my post:
yes, its about cone which has structured mesh-layers around it and after those layers there is tetra mesh
so I thought, maybe if I create around one geometry same but bigger geometry, I can influence those structured mesh layers. but blocking seems not be right here, because the volume mesh gets messed up ... and so Im looking for new ideas..

and here what Ive got till now, its a square form around cone:att1.jpg

and at the walls:att2.jpg

Last edited by lostinicem; July 17, 2012 at 11:26. Reason: pics attached
lostinicem is offline   Reply With Quote

Old   July 31, 2012, 05:44
Default
  #12
New Member
 
Horst
Join Date: Jan 2012
Posts: 19
Rep Power: 14
lostinicem is on a distinguished road
I managed to create the mesh of the cone ,finally, how I wanted, but the problem now is merging the mesh:mergeproblems.jpg

after creating surface and body, it doesnt want to merge hexa and tetra mesh. if I create normal geometry and dont do alot about it, the merging is no problem, but as soon as I create this kind of cone its says: there is currently only 1 region.
does anyone knows whats the cause of this problem????
lostinicem is offline   Reply With Quote

Old   July 31, 2012, 05:53
Default
  #13
Senior Member
 
Ananthakrishnan.A.S
Join Date: Feb 2012
Location: Mumbai (Bombay), India
Posts: 157
Rep Power: 16
Ananthakrishnan is on a distinguished road
Send a message via Skype™ to Ananthakrishnan
can you put a screen shot of the "mesh tree" which is available on the left hand side of the window.. please expand it completely before taking the photo..
Ananthakrishnan is offline   Reply With Quote

Old   July 31, 2012, 06:08
Default
  #14
New Member
 
Horst
Join Date: Jan 2012
Posts: 19
Rep Power: 14
lostinicem is on a distinguished road
this one ?
mesh-tree.jpg
Attached Images
File Type: jpg enabled.jpg (94.3 KB, 44 views)
lostinicem is offline   Reply With Quote

Old   July 31, 2012, 06:19
Default
  #15
Senior Member
 
Ananthakrishnan.A.S
Join Date: Feb 2012
Location: Mumbai (Bombay), India
Posts: 157
Rep Power: 16
Ananthakrishnan is on a distinguished road
Send a message via Skype™ to Ananthakrishnan
Yeah..
1. did you try using the merge option in edit mesh tab along with interface as the required surface.. Pls upload your block and tetin files..
2. try taking the output directly without merging.
Ananthakrishnan is offline   Reply With Quote

Old   July 31, 2012, 06:31
Default
  #16
New Member
 
Horst
Join Date: Jan 2012
Posts: 19
Rep Power: 14
lostinicem is on a distinguished road
1) yes I tried this; actually this is the only option I know
2) I am not sure what do you mean..

btw here are all the files I could attach ...:project6.atr.zip
tell me if something is missing =)
lostinicem is offline   Reply With Quote

Old   July 31, 2012, 07:05
Default
  #17
Senior Member
 
Ananthakrishnan.A.S
Join Date: Feb 2012
Location: Mumbai (Bombay), India
Posts: 157
Rep Power: 16
Ananthakrishnan is on a distinguished road
Send a message via Skype™ to Ananthakrishnan
i am able to merge it at the interface cone but with some errors.. i dont get the "there is only one region " error..
2. Convert to .msh directly without "merging". In case of fluent you can directly tell the existence of this interface in fluent itself. It will be able to solve without a problem..
Ananthakrishnan is offline   Reply With Quote

Old   July 31, 2012, 08:19
Default
  #18
New Member
 
Horst
Join Date: Jan 2012
Posts: 19
Rep Power: 14
lostinicem is on a distinguished road
to your second point: ah yes you suggested it already and its good idea for fluent; but the problem is, that I need it for openfoam; though it would be also great to know how to merge it anyway.
for the one region error: I also dont get this, but it seems, that if I do ogrid blocking, icem does something while these steps; the regions are seen as one or made as one; because if its normal block, there are no problems with merging

but nevetheless: thank you for your help !!



EDIT: so I noticed now; the merge function doesnt work, because I put on the down surface a circle ( edge ) to associate it with the surface of the down part of cone, so I can control the ratio and size of the middle part of the mesh. because if I remove it and try to merge it afterwards it works, nevetheless it looks crippled ...

Last edited by lostinicem; August 1, 2012 at 05:23.
lostinicem is offline   Reply With Quote

Old   August 3, 2012, 05:04
Default
  #19
New Member
 
Horst
Join Date: Jan 2012
Posts: 19
Rep Power: 14
lostinicem is on a distinguished road
so found the error!! if its interesting for someone:
if the error occurs with "you have only 1 region" be sure to check whether on your surface are 2 mesh types ( recalculate or make again unstructure-mesh again)
H.R.D. likes this.
lostinicem is offline   Reply With Quote

Old   July 30, 2016, 15:00
Default ICEM Merging Tetra Mesh with Hexa Mesh
  #20
Senior Member
 
cyln
Join Date: Jul 2016
Posts: 102
Rep Power: 9
cyln is on a distinguished road
Hello,

I am working on generating an hybrid mesh (tetra+hexa) and having a problem with merging. I went through 'Merged Tetra-Hexa Mesh in a Hybrid Tube' tutorial many times; however, I couldnt figure out why I had such a problem.

Edit Mesh > Merge Nodes > Merge Meshes. When I follow this procedure, ICEM says 'there is currently only 1 region' and interface meshes remain without a merge.

I believe it can be better to write the main steps I have followed in order to illustrate the problem.

I have a quarter cylinder flow domain and hexa mesh is generated inside a triangular prism which is within the flow domain. You can see it better in topology figure. To obtain such a flow domain, in Design Modeler, I firstly generated a frozen quarter cylinder and then generated a frozen triangular prism. After that, I subtracted the triangular prism from the quarter cylinder and the triangular prism was kept after the boolean operation. Finally the geometry was imported to ICEM. Here, I built the topology with a tolerance of 10 percent of the smallest geometry feature. As you can see in topology figure, there are some blue edges along the interface. I am not sure if it is ok to proceed that way since red curves are usually prefered in color coding.

When it comes to generating the mesh, I created the part names first and named the front, top and back surfaces of the triangular prism as interface.
The other steps are as follows:

Tetra mesh generation:

-create a material point
-define part mesh setup
-generate tetra mesh
-save mesh and close it

Hexa mesh generation:

-create block and edit it (Y block)
-define edge parameters
-open pre-mesh

Merge operation:

-open tetra mesh > mesh exists > merge
-close all the parts except interface
-edit mesh > merge nodes > merge meshes
-merge surface mesh parts > select part 'interface' and Apply

Result: 'there is currently only 1 region',
No Merge.

So what can be the problem?

I will appreciate any help. Thanks in advance.
Attached Images
File Type: jpg topology.jpg (55.8 KB, 27 views)
File Type: jpg hybrid.jpg (125.0 KB, 35 views)
File Type: jpg error.jpg (125.3 KB, 27 views)
File Type: jpg hexa.jpg (91.7 KB, 23 views)
File Type: jpg hexa2.jpg (197.9 KB, 21 views)
cyln is offline   Reply With Quote

Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
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 Off
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
how to set periodic boundary conditions Ganesh FLUENT 15 November 18, 2020 07:09
[ICEM] Hybrid mesh for 2D boundary layer Bigio ANSYS Meshing & Geometry 33 November 18, 2019 10:15
Gambit problems Althea FLUENT 22 January 4, 2017 04:19
[ICEM] surface mesh merging problem everest ANSYS Meshing & Geometry 44 April 14, 2016 07:41
Mesh motion with Translation & Rotation Doginal CFX 2 January 12, 2014 07:21


All times are GMT -4. The time now is 00:17.