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

[ICEM] What are sub-loops and help my failing mesh.

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

Reply
 
LinkBack Thread Tools Display Modes
Old   February 5, 2010, 03:53
Default [ICEM] Scripting scale factor not working
  #1
siw
Senior Member
 
Join Date: Jul 2009
Posts: 446
Rep Power: 14
siw will become famous soon enough
Hi,

I'm making a 2-D mesh and extruding it on the z-axis for CFX. I have made a replay file of the geometry and mesh commands. But when I change the Global Element Scale Factor in the replay file the mesh always ends up being as if the value is 1.0. Here's the mesh generation script but I've left out the syntax as it takes up alot of space.

### Mesh generation.

## Specify global mesh parameters.

ic_geo_scale_meshing_params all 0.5

ic_set_meshing_params global 0 gref 1.0 gmax 0.0 gfast 0 gedgec 0.2 gnat 0 gcgap 1 gnatref 10

## Specify shell mesh parameters

## Specify curve nodes parameters.

## Generate surface mesh.

Thanks.

Last edited by siw; February 5, 2010 at 04:45.
siw is offline   Reply With Quote

Old   February 9, 2010, 10:49
Default
  #2
Senior Member
 
PSYMN's Avatar
 
Simon Pereira
Join Date: Mar 2009
Location: Ann Arbor, MI
Posts: 2,662
Blog Entries: 1
Rep Power: 36
PSYMN has a spectacular aura aboutPSYMN has a spectacular aura about
Hey Stuart,

What method are you using for your compute mesh? It should work with all of them, but knowing might give me some clues.

If you are using the patch dependent mesher, have you set an ignore size?

I think I need more info to help understand why this isn't working...
PSYMN is offline   Reply With Quote

Old   February 9, 2010, 11:50
Default
  #3
siw
Senior Member
 
Join Date: Jul 2009
Posts: 446
Rep Power: 14
siw will become famous soon enough
Hi Simon,

I'm using the Patch Dependent method and have got some good CFX results with it although I've not yet used it with the CFX ICEM Replay Remeshing functionality - which is the objective of the study I'm using it for.

No, I didn't set the ignore size syntax in the replay file. When I get back to work next week I'll give that a try.

Thanks once again.
siw is offline   Reply With Quote

Old   March 13, 2010, 08:18
Default
  #4
Member
 
Join Date: Mar 2009
Posts: 52
Rep Power: 8
Anorky is on a distinguished road
Hello,

If I understoud the problem correctly the problem is that you can't change the scale factor in your replay file. If you change the value, it will always return to 1.0 while replaying the file.

Ok, if this is the problem try the following:

set SCALE_FACTOR 1.0
set MAX_ELEMENT_SIZE 0.0
set MAX_EL_SIZE [expr {$SCALE_FACTOR*$MAX_ELEMENT_SIZE}]

ic_geo_scale_meshing_params all $SCALE_FACTOR
ic_set_meshing_params global 0 gref $SCALE_FACTOR gmax $MAX_EL_SIZE gfast 0 gedgec 0.2 gnat 0 gcgap 1 gnatref 10 igwall 0

This schould do the trick.

Good luck
Anorky 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



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