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

[ICEM] ICE Mesh in ICEM - Block merge

Register Blogs Community New Posts Updated Threads Search

Like Tree3Likes
  • 1 Post By AA29
  • 2 Post By bluebase

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   February 24, 2014, 19:41
Angry ICE Mesh in ICEM - Block merge
  #1
Member
 
Join Date: Jul 2012
Location: Wisconsin,USA
Posts: 34
Rep Power: 14
AA29 is on a distinguished road
Hi everyone,

I am relatively new to ICEM, and I am trying to mesh an engine with two vertical valves in ICEM. Due to requirement of the solver , i need to have a sliding interface (2 surfaces at the same location overlapping each other but with a non -conformal interface after meshing) around the valves so as to allow for layer addition and removal. Hence i am trying to mesh two regions separately(green and orange in figure) i.e. make two separate blocks as i go and merge them as i need a non-conformal interface. The merge works fine, but when i recompute the mesh (using premesh) it looks like two surfaces can not co-exist and the mesh for one of the surfaces gets deleted, and the mesh also gets changed, as in more number of nodes on a particular edge.

My understanding is that when i merge the blocks, i get a common edge(associated with the interface surfaces) and hence a non-conformal interface will not be possible?

Moreover the same problem occurs when i try and merge the unstructured tetra mesh for the intake and exhaust ducts with the hexa mesh.

Is there a way to get around this ? Is my approach wrong or something

Thanks for your time. I would really appreciate the help.
Attached Images
File Type: jpg screen001.jpg (37.3 KB, 230 views)
File Type: jpg screen003.jpg (96.2 KB, 197 views)
File Type: jpg screen.jpg (34.3 KB, 184 views)
wzb19940510 likes this.
AA29 is offline   Reply With Quote

Old   February 25, 2014, 11:57
Default
  #2
Member
 
Join Date: Jul 2012
Location: Wisconsin,USA
Posts: 34
Rep Power: 14
AA29 is on a distinguished road
Anybody who can help me out a bit. maybe with the approach to achieve such mesh?
AA29 is offline   Reply With Quote

Old   February 25, 2014, 13:45
Default
  #3
Super Moderator
 
diamondx's Avatar
 
Ghazlani M. Ali
Join Date: May 2011
Location: Tokyo, Japan
Posts: 1,385
Blog Entries: 23
Rep Power: 29
diamondx will become famous soon enough
Quote:
Hence i am trying to mesh two regions separately(green and orange in figure) i.e. make two separate blocks as i go and merge them as i need a non-conformal interface.
If you need two separate surfaces, why merging them. If I were you, I will totally block and mesh the orange part in a completly different project, do same for the other one. create their respective msh files. and load them separatly in Fluent
__________________
Regards,
New to ICEM CFD, try this document --> https://goo.gl/KAOIwm
Ali
diamondx is offline   Reply With Quote

Old   February 25, 2014, 13:50
Default
  #4
Member
 
Join Date: Jul 2012
Location: Wisconsin,USA
Posts: 34
Rep Power: 14
AA29 is on a distinguished road
Thanks a lot Ali.

That makes sense . But can i combine both these meshes in Fluent into one .msh file?

My final objective is to use this mesh in OpenFoam.

Thanks again.
AA29 is offline   Reply With Quote

Old   February 25, 2014, 13:56
Default
  #5
Super Moderator
 
diamondx's Avatar
 
Ghazlani M. Ali
Join Date: May 2011
Location: Tokyo, Japan
Posts: 1,385
Blog Entries: 23
Rep Power: 29
diamondx will become famous soon enough
I don't know about Openfoam, in Fluent it is doable.
Moreover, if you want one msh do this:
-Mesh the orange part in a project, generate its unstructured mesh, call it orange-mesh.UNS
-Mesh the green mesh, generate its unstructured mesh, click files -» open mesh and open the orange one, ICEM will ask you if you want to replace or merge, click merge. you will have the two unstructured mesh. then you can output it into on msh file, hope I was clear
__________________
Regards,
New to ICEM CFD, try this document --> https://goo.gl/KAOIwm
Ali
diamondx is offline   Reply With Quote

Old   February 25, 2014, 14:03
Default
  #6
Member
 
Join Date: Jul 2012
Location: Wisconsin,USA
Posts: 34
Rep Power: 14
AA29 is on a distinguished road
Thanks for your prompt reply. This makes things a lot clear.

So what you are saying is rather than merging the blocking and then loading the mesh from blocks, i mesh them separately ,convert it to an unstructured mesh (i hope i will still get hex cells?) and then merge these two meshes as two unstructured ones.

Also, since you are saying it is doable in Fluent (as in fairly easily?) , it should be possible for me to open two .msh files and export a single .msh file from FLUENT. Then I can use it for OpenFoam. Hope i got that right !

Thanks.
AA29 is offline   Reply With Quote

Old   February 25, 2014, 14:28
Default
  #7
Super Moderator
 
diamondx's Avatar
 
Ghazlani M. Ali
Join Date: May 2011
Location: Tokyo, Japan
Posts: 1,385
Blog Entries: 23
Rep Power: 29
diamondx will become famous soon enough
Quote:
So what you are saying is rather than merging the blocking and then loading the mesh from blocks, i mesh them separately ,convert it to an unstructured mesh (i hope i will still get hex cells?) and then merge these two meshes as two unstructured ones.
YES

Quote:
(i hope i will still get hex cells?)
When you block your geometry, you still don't have a mesh, you a BLOCKING. that blocking needs to be converted to a mesh, unstructured does not mean your mesh will become unstructured, it just means that you will have a mesh that you can save as .UNS . (It is true that if you are beginer "convert to unstructured" leads to a confusion, folks at ansys should have came up with a different name)

In Fluent, you can load up two meshes separatly, but you cannot export a mesh. you will end up with a case file, that's it.
feel free to ask more questions...
__________________
Regards,
New to ICEM CFD, try this document --> https://goo.gl/KAOIwm
Ali
diamondx is offline   Reply With Quote

Old   February 25, 2014, 14:49
Default
  #8
Member
 
Join Date: Jul 2012
Location: Wisconsin,USA
Posts: 34
Rep Power: 14
AA29 is on a distinguished road
Hi,

Then I would say Fluent is not an option ! I will try merging the "unstructured" mesh in ICEM then. I will try to do what you said and lets hope i dont have to ask any further questions !

Thanks a lot Ali.
AA29 is offline   Reply With Quote

Old   February 26, 2014, 12:34
Default
  #9
Senior Member
 
Sebastian Engel
Join Date: Jun 2011
Location: Germany
Posts: 567
Rep Power: 21
bluebase will become famous soon enough
It is possible to create those two interface meshes out of the blocking structure.

The key is to set up TWO Topologies. See the subnode "Topology" in the Blocking tree. It will probably show the key "root". With a right click you can create subtopologies and move your blocks in these sets.

To get the merged mesh with both interfaces do following. Have the interface surface Geometry in one part set.
# Activate just the first topology
# create Premesh with the first topology
# convert premesh to unstructured (for fluent), check if boundary mesh was created
# Deactivate the first topology and activate the next
# again create premesh (the first premesh zone shouldn't be included anymore)
# again convert premesh to unstructured

If you load a mesh like this into fluent, it will write a warning and divide the interface set into two sets.
This did the the job for me for a sliding mesh simulation in fluent.

Hope this helps.
Sebastian.
phPatras and H.R.D. like this.
bluebase is offline   Reply With Quote

Old   March 1, 2014, 17:54
Default
  #10
New Member
 
Mack
Join Date: Aug 2013
Location: UK
Posts: 16
Rep Power: 13
Mack is on a distinguished road
Just one more tip for your mesh: use "o-grids" for the valves and the cylinder, otherwise you will end up with very bad quality elements. There is an example on ICEM (valve port or elbow) showing how to use this function.

Regards,
Mack
Mack is offline   Reply With Quote

Old   March 1, 2014, 18:14
Default
  #11
Member
 
Join Date: Jul 2012
Location: Wisconsin,USA
Posts: 34
Rep Power: 14
AA29 is on a distinguished road
Thanks Sebastian and Mack for your suggestions.

Converting to unstructured mesh and then merging the mesh works right for me. What Sebastian suggests I think it will get me the same end result .
Right now I am trying to improve the "bad elements" as Mac suggested. I did use O grid the first time itself ,but I think I did not do it right. Anyways thanks again for your time, I will let you know when I hit a dead end again
AA29 is offline   Reply With Quote

Old   March 25, 2014, 14:11
Default
  #12
Member
 
Join Date: Jul 2012
Location: Wisconsin,USA
Posts: 34
Rep Power: 14
AA29 is on a distinguished road
Hello guys,

I have a question about projecting nodes on a surface/ curve in ICEM. I have a cylindrical sliding interface(the purple part in the picture) and i want to project all the points/nodes on to a perfect (analytical) cylinder. How do i ensure that? I have already used "project on surface" tool , but the surface itself is faceted. Also i am not sure if the surface is cylindrical , as I made that surface by extrusion of a curve which was obtained by a surface-surface intersection of the cylinder-head and intake duct.
So what does project on surface tool do? Does it project the nodes on the faceted surface (which is visible to us) or to a analytical surface?

Thank you for your time.
Attached Images
File Type: jpg screen.jpg (98.5 KB, 74 views)
AA29 is offline   Reply With Quote

Old   March 27, 2014, 17:39
Default
  #13
New Member
 
Mack
Join Date: Aug 2013
Location: UK
Posts: 16
Rep Power: 13
Mack is on a distinguished road
Hi,

Actually you do not need to "project to surfaces", once ICEM looks for the closer surface and projects it automatically. However, sometimes when you want to project the mesh to a different surface, then you use this command. It also happens when you accidentally defines one edge to the geometry and latter one realizes it was wrong, so you remove the edge association but needs to project the surface, otherwise the mesh will shrink.
Regarding the faceted surface, it depends on the accuracy you used when imported the geometry. It also depends on the number of cells you have along the edge. You can increase it to have a more perfect circular face, but according to the picture it seems ok for me.
Just one hint, try to match the same cell size on both sides of the sliding interface. It will increase you convergence chances.

Regards,

Mack
Mack is offline   Reply With Quote

Old   March 27, 2014, 18:16
Default
  #14
Member
 
Join Date: Jul 2012
Location: Wisconsin,USA
Posts: 34
Rep Power: 14
AA29 is on a distinguished road
Thanks Mack for the reply ! That was helpful.

I have one more question actually. Do you have any idea whether ICEM allows us to extract INTERIOR faces(surfaces) and export them as STL. We can export the entire geometry or the boundary faces of the mesh , but I need to export some internal faces of the mesh to use in OpenFOAM.

Thank you in advance.
AA29 is offline   Reply With Quote

Old   March 27, 2014, 19:40
Default
  #15
New Member
 
Mack
Join Date: Aug 2013
Location: UK
Posts: 16
Rep Power: 13
Mack is on a distinguished road
Yes, you can. Activate just the geometry you want to save, then go to File > Geometry > Save visible geometry as.
After that you can export the new geometry to *.stl, as you did before.
Mack is offline   Reply With Quote

Old   March 28, 2014, 13:07
Default
  #16
Member
 
Join Date: Jul 2012
Location: Wisconsin,USA
Posts: 34
Rep Power: 14
AA29 is on a distinguished road
But that is for boundary faces. I am talking about internal faces in the volume mesh.

Thanks
AA29 is offline   Reply With Quote

Old   March 30, 2014, 16:45
Default
  #17
New Member
 
Mack
Join Date: Aug 2013
Location: UK
Posts: 16
Rep Power: 13
Mack is on a distinguished road
Well, this command (or "save visible mesh as") should do that.
Maybe you have not activated "interior walls" in the mesh setup window, so the meshing algorithm will not "see" the interior faces and will go through them.

Hope it helps.
Mack is offline   Reply With Quote

Old   July 22, 2016, 16:30
Default
  #18
Senior Member
 
Have a nice time!
Join Date: Feb 2016
Location: mech.eng.ahmedmansour@gmail.com
Posts: 291
Rep Power: 11
Ahmed Saeed Mansour is on a distinguished road
How can I make an appropriate block for this curved geometry at the pump's cutwater?
Attached Images
File Type: jpg 3.JPG (64.3 KB, 35 views)
File Type: jpg 1.JPG (70.0 KB, 21 views)
Ahmed Saeed Mansour is offline   Reply With Quote

Old   March 23, 2018, 04:27
Default
  #19
New Member
 
Cecilia Zhang
Join Date: Apr 2016
Posts: 3
Rep Power: 10
Cecilia Zhang is on a distinguished road
Hi, I came up with the same problem recently. I want to divide my geometry into three parts because I need meshes with high quality in two zones. Then I built three zones in geometry. In ICEM, I first built one block and splited it, then deleted the redundant ones. But with this approach, the edges of the two blocks are related to each other when assigning the nodes.
Then I tried the second way. I built one block first, then I built the second one, then it popped up to ask whether to merge. I chose "merge". Then everything starts to behave weirdly.
I'm not sure whether it is the problem of merging. Can you help me with this?
Cecilia Zhang is offline   Reply With Quote

Old   March 23, 2018, 07:08
Default
  #20
Senior Member
 
shereez234's Avatar
 
M Sereez
Join Date: Jan 2014
Location: England
Posts: 353
Blog Entries: 1
Rep Power: 13
shereez234 is on a distinguished road
Quote:
Originally Posted by Cecilia Zhang View Post
Hi, I came up with the same problem recently. I want to divide my geometry into three parts because I need meshes with high quality in two zones. Then I built three zones in geometry. In ICEM, I first built one block and splited it, then deleted the redundant ones. But with this approach, the edges of the two blocks are related to each other when assigning the nodes.
Then I tried the second way. I built one block first, then I built the second one, then it popped up to ask whether to merge. I chose "merge". Then everything starts to behave weirdly.
I'm not sure whether it is the problem of merging. Can you help me with this?
Another choice you have is to convert pre mesh to unstructured in two regions and then merge
shereez234 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
FLUENT - ICEM / Segmentation Violation Error (Hybrid Mesh) Joachim ANSYS 3 April 24, 2016 17:52
[Gmsh] 2D Mesh Generation Tutorial for GMSH aeroslacker OpenFOAM Meshing & Mesh Conversion 12 January 19, 2012 04:52
Domain size icem cfd block mesh erhan61 ANSYS Meshing & Geometry 1 March 29, 2011 10:39
Export 2D mesh from ICEM to Fluent BuilttoSpill ANSYS Meshing & Geometry 4 August 28, 2010 09:16
ICEM block mesh with a ball in a cylinder tube Li CFX 6 August 11, 2008 06:44


All times are GMT -4. The time now is 22:53.