|
[Sponsors] |
[ICEM] What are sub-loops and help my failing mesh. |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
February 5, 2010, 02:53 |
[ICEM] Scripting scale factor not working
|
#1 |
Senior Member
Stuart
Join Date: Jul 2009
Location: Portsmouth, England
Posts: 735
Rep Power: 25 |
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 03:45. |
|
February 9, 2010, 09:49 |
|
#2 |
Senior Member
Simon Pereira
Join Date: Mar 2009
Location: Ann Arbor, MI
Posts: 2,663
Blog Entries: 1
Rep Power: 47 |
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... |
|
February 9, 2010, 10:50 |
|
#3 |
Senior Member
Stuart
Join Date: Jul 2009
Location: Portsmouth, England
Posts: 735
Rep Power: 25 |
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. |
|
March 13, 2010, 07:18 |
|
#4 |
Member
Join Date: Mar 2009
Posts: 52
Rep Power: 17 |
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 |
|
|
|