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

Control mesh size in Cartesian

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

Reply
 
LinkBack Thread Tools Display Modes
Old   November 25, 2010, 17:59
Default Control mesh size in Cartesian
  #1
New Member
 
Join Date: Oct 2010
Posts: 8
Rep Power: 6
lotus_blue is on a distinguished road
Hey!

Has anyone worked with 'Femur' in Ansys ICEM tutorial? It uses Cartesian meshing. I am having trouble to control the mesh size.

I followed every step in the tutorial and ended up with a much coarser mesh than what the tutorial presents.

Actually I managed to create a very dense mesh somehow, like by lowering the 'max size' in 'Part Mesh Setup', and by increasing 'Nodes' in 'Pre-Mesh Param'. However, sometimes I find the above 2 ways just don't work. It seems to me I can't control mesh size effectively

Can anyone explain to me how it works?
Thanks in advance.
lotus_blue is offline   Reply With Quote

Old   November 27, 2010, 12:13
Default BFCart size control explained...
  #2
Senior Member
 
PSYMN's Avatar
 
Simon Pereira
Join Date: Mar 2009
Location: Ann Arbor, MI
Posts: 2,662
Blog Entries: 1
Rep Power: 35
PSYMN has a spectacular aura aboutPSYMN has a spectacular aura about
There are two ways to control the sizes with the BFCart stuff.

1) Set max sizes on surfaces, etc. and let BFCart create the Cartesian background grid needed as a starting point for BFCart. This uses max sizes, etc, but since the Cartesian back ground process is a batch one (not internal to the med.exe where it could use the active memory), it only works off the saved tetin file parameters.

In other words, if you change the parameters, but don't save the geometry file (*.tin), it is still running off your last saved *.tin, and will use your last saved size settings.

2) You can use ICEM CFD Hexa to create the Cartesian background grid. This gives you a method to control the distributions for high aspect ratios or smooth transitions. The pre-mesh gets its sizes from the max sizes set on the geometry, but since the blocking is a separate layer you must go into the blocking tab and "update sizes" to transfer from the geometry to the blocking. Further adjustments can be made by adjusting the edge parameters themselves, but since it must be Cartesian, don't forget to copy to parallel edges.

Then you create the Cartesian file and give that file name to BFCart before you run it...

Again, if you go back to geometry and make changes, but don't update the pre-mesh, or if you update the pre-mesh, but don't create a new Cartesian file, you will not see your changes in the new BFCart mesh.

That should get you going again...
PSYMN is offline   Reply With Quote

Old   November 29, 2010, 18:43
Default
  #3
New Member
 
Join Date: Oct 2010
Posts: 8
Rep Power: 6
lotus_blue is on a distinguished road
Thanks Simon.

Do I get it right?
(1) Set max sizes and go to "Recalculate Sizes" to change Cartesian mesh distribution according to the max sizes. Remember to "Write Cartesian Grid" and save the new tin file.

(2) If I want to further change the Cartesian grid, I need to go to "Edge Params" to set stuff like "Mesh law", "Spacing", etc. Yet another question, after this, should I go back to "Update sizes" and update again?

Another thing that puzzles me is that although I followed every step in the tutorial, I definitely cannot get such a fine mesh as shown in the tutorial material. I use 12.1.
lotus_blue is offline   Reply With Quote

Old   November 29, 2010, 18:47
Default
  #4
New Member
 
Join Date: Oct 2010
Posts: 8
Rep Power: 6
lotus_blue is on a distinguished road


The upper one is from tutorial.
The one below is mine.
All blocking parameters in the picture are the same.

Thanks Simon.
lotus_blue is offline   Reply With Quote

Old   November 30, 2010, 15:24
Default
  #5
Senior Member
 
PSYMN's Avatar
 
Simon Pereira
Join Date: Mar 2009
Location: Ann Arbor, MI
Posts: 2,662
Blog Entries: 1
Rep Power: 35
PSYMN has a spectacular aura aboutPSYMN has a spectacular aura about
1) Right.

2) No, don't go back and update sizes, that will reset your edge params from the geometry.

As for the pictures, yours looks right (count the elements to see if they match the edge parameter). The top one clearly has more nodes than is shown in the edge params. It is possible that something went wrong during the making of the tutorial (I probably forgot to replace the cartesian mesh) and I just didn't notice.

I think you are on your way...
PSYMN is offline   Reply With Quote

Old   December 1, 2010, 14:13
Default What do you think?
  #6
Senior Member
 
PSYMN's Avatar
 
Simon Pereira
Join Date: Mar 2009
Location: Ann Arbor, MI
Posts: 2,662
Blog Entries: 1
Rep Power: 35
PSYMN has a spectacular aura aboutPSYMN has a spectacular aura about
Please help guide development at ANSYS by filling in these surveys

Public ANSYS ICEM CFD Users Survey

This second one is more general (Gambit, TGrid and ANSYS Meshing users welcome)...

CFD Online Users Survey
PSYMN 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
ICEM Tetra mesh, Size reduction and Skewness problem Catthan ANSYS Meshing & Geometry 6 December 5, 2010 20:39
Need help with the error cfdproject OpenFOAM Other Meshers: ICEM, Star, Ansys, Pointwise, GridPro, Ansa, ... 0 April 14, 2009 15:45
Gambit Unstructed (Tet) Mesh - size control newbie FLUENT 3 August 26, 2008 11:38
Timestep with different size of mesh Liu Main CFD Forum 3 June 6, 2004 04:04
Gambit problems Althea FLUENT 21 February 6, 2001 08:05


All times are GMT -4. The time now is 08:48.