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

[ICEM] Hexa mesh, curve mesh setup, bunching law

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   December 15, 2009, 09:44
Default Hexa mesh, curve mesh setup, bunching law
  #1
Member
 
Join Date: Mar 2009
Posts: 52
Rep Power: 17
Anorky is on a distinguished road
Hi everyone,

I am making a hybrid mesh. The boundary layer is resolved by a hexagonal mesh, the rest of the domain is filled with tetras.

My question concerns the setup of the hexagonal mesh.

I made scripts for making the geometry and blocking. These allow me to make changes in the geometry and automatically adapt the blocking.

Since my geomerty might change, think on a larger surface that is split in smaller surfaces for example, I would like to use the mesh curve setup instead of the edge parasm setting for making the hexa mesh.

This is because dividing a certain surface in several smaller surfaces would change the edge numbering of the blocking. This is because for each surface a block is made. So actually dividing a large surface in smaller surfaces will yield more blocks.
As a consequence the replay file used for setting the edge parasm would not be valid anymore because the refering edges numbers (as made for the case of the large surface) will not correspond to the actual blocking (if that large surface has been split in 5 smaller surfaces f.e). In other words, the parasm setting won't work or will probably be applied to the wrong egde.

My geometry is made in icem by use of script files. Therefore I know all the point, curve and surfaces names even when surfaces or curves would be split in several smaller surfaces. The scripts allow me to tell f.e. in how many sections a certain surface should be subdivided.

Therefore, in my case it would be better and more flexible to define the hexa mesh spacings, # of nodes, bunching law, etc. by use of curve mesh setup since all the curve names in the geometry are known.
This would allow me to make the script for the hexa mesh setup variable, depending on the "input" geometry.

I have tried curve mesh setup but it seems that I can only change the number of nodes and not the spacing.
I have tried several different bunching laws but without success.
In the end, the number of nodes are distributed uniformly...

I have read the post at http://www.cfd-online.com/Forums/ans...ong-curve.html however it's not clear for me what the problem is.

First of all is it possible to use curve mesh setup for the hexa blocking/premesh (and then convert to unstruct mesh)? Or does this only works for edge parasm setting?
If this is the case I gues there is no way around the changing edge numbering.

I know part mesh setup or surface mesh setup might be a valid alternative but I think for me curve mesh setup would be the best solution.

If I didn't explain the problem properly or something is not clear please don't hesitate to contact me!

Thanks for reading my post and trying to help me out!!!

Kind regards,
Anorky is offline   Reply With Quote

Old   December 17, 2009, 17:12
Default "Curve -> Edge Bunching"
  #2
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
Under Premesh Params => Update sizes, there are 4 options.

The first, "Update all", just takes the general sizes.

But the last option, "Curve -> Edge Bunching" transfers the curve bunching to edge bunching.

However, I would say that it is much easier to setup edge bunching than curve bunching, so perhaps you should just leave the curve bunching alone and use your scripting to setup the edge bunching?

I am just speculating because I haven't seen the model, but if you are scripting the whole thing anyway, you may be able to get a better mesh (A pure hexa mesh) out of the regular hexa blocking instead of using MultiZone and ending up with a tetra region...
PSYMN is offline   Reply With Quote

Old   December 18, 2009, 06:31
Default
  #3
Member
 
Join Date: Mar 2009
Posts: 52
Rep Power: 17
Anorky is on a distinguished road
Hi Simon,

Thanks for your reply.

I had a look at the pre-mesh params and I only find 3 options there (update all, keep distributions, keep counts).
Could it be that the last option is only for icemcfd 12.0?
I am using version 11.

Would you know the replay command for this option, I might maybe use in the script files than?

Whether are not I'll use the curve mesh or edge parasm setup, I'll have a full hexagonal mesh solving my boundary layer and around my geometry, the remainder of the domain will be filled with tetras in a next stage to reduce the number of elements.

I supposed that using curve mesh or edge parasm setup wouldn't influence the quality of the hex mesh. I mean, if I use the same settings(distribution, nr of nodes, spacing, ratios,...) for curve bunching or edge parasm setting the resulting hex mesh should the same, right?

I find the edge parasm setting not really handy, since the numbering changes if the geometry changes. And I couldn't find logic in the numbering of the vertices composing the edges, that is why I really want to use the curve mesh setup.

kind regards and thanks again for your help!
Anorky is offline   Reply With Quote

Old   December 18, 2009, 11:27
Default trail blazer
  #4
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
Oh wow, I didn't realize you were using that surface blocking method with ICEM CFD 11.0... Assuming you mean 11.0 SP2, that would still mean you were using a version from July 2007.

That was the first release of that new hexa surface blocking and it has had a lot of improvements since then, both in the direct tools and the peripheral tools that make it easier to work with. You really should try to update to 12.1 if you can.

I think the edge parameters are easier to use because they propagate correctly, etc. The curve parameters don't propagate at all and could end up being invalidated if you setup distributions that don't account for propagation. But yes, assuming you do curve parameters correctly, you would get the same results with edge parameters.

I think you are using this tool in a new way (trail blazer) that we haven't really played with here, so things are not as smooth as on the paved roads. Kudos for doing so well.

Most people keep the same topology when scripting with ICEM CFD Hexa. If it is just the side wall toplogy that is changing (edge associated features are not changing), you could just ignore all that with a script that generates a top down (patch independent) blocking topology.
PSYMN is offline   Reply With Quote

Old   November 12, 2014, 01:27
Default
  #5
Senior Member
 
mohammad
Join Date: Dec 2010
Location: UK
Posts: 245
Rep Power: 16
mohammad is on a distinguished road
Hello everyone...

can you please help me with my question...

http://www.cfd-online.com/Forums/ans...tml#post518634
mohammad is offline   Reply With Quote

Reply

Tags
curve mesh, edge parasm, hexa, setup


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
[snappyHexMesh] SnappyHexMesh for internal Flow vishwa OpenFOAM Meshing & Mesh Conversion 24 June 27, 2016 09:54
[ICEM] Unstructure Meshing Around Imported Plot3D Structured Mesh ICEM kawamatt2 ANSYS Meshing & Geometry 17 December 20, 2011 12:45
[ICEM] Bunching nodes along a curve siw ANSYS Meshing & Geometry 4 October 14, 2009 18:42
How to smooth hexa mesh externally in ICEM? BONOHUGO Main CFD Forum 2 July 16, 2007 17:59
How to refine O-grid hexa mesh? Pete Main CFD Forum 2 November 15, 2004 07:40


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