CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   ANSYS Meshing & Geometry (https://www.cfd-online.com/Forums/ansys-meshing/)
-   -   [ICEM] Parametric O-grid and Parametric Split (https://www.cfd-online.com/Forums/ansys-meshing/142563-parametric-o-grid-parametric-split.html)

Henry Arrigo October 4, 2014 14:38

Parametric O-grid and Parametric Split
 
2 Attachment(s)
Hi all
I am going to mesh a parametric cantilever beam subjected to a fluid flow. I want to use ICEM for this purpose. Doing so, when I update the main parameters of the beam, for example the cross section length, the blocks in the ICEM module don't get updated. Here, I show what happened to blocks when I change this length from 500 (pic1) to 250 (pic2). I was expected to have an updated o-grid and split, but non of them was happened. Although I guess writing script would be the solution, I 'd rather to do this without getting involved with scripting. I do these in ANSYS Wrokbench, with a Geometry upstream cell and CFX downstream cell, so it s important for me to us the straightforward options.
Thank you.

Gweher October 7, 2014 05:05

Hello Henry,

Well if you change your parameter inputs ICEM couldn't update your blocking if you're not using a script command. Scripting isn't that difficult, especially with the replay script tool in ICEM. It "records" your blocking steps and generates a script file that will simply repeat the recorded steps when you update your input parameters. Simon explained everything step by step in a nice video.

Enjoy ;)

Henry Arrigo October 12, 2014 15:36

Thanks Gwenael for this informative video. Finally I am able to generate a parametric blocking. Now my problem is how to use design parameters, such a specific length, to generate a parametric mesh. I want to define the number of nodes of as a function of the length of that line (which is the input parameter). When it is run as stand-alone, ICEM has a feature that can be used to parameterize number of nodes. However, when it is lunch through Ansys Meshing this feature is not available anymore. So I don't know how to deal with this issue.

Henry

Gweher October 20, 2014 05:32

I wasn't aware of this issue with AM. One way around could be to manually update the edge parameter by updating the script file under #variables.

Quote:

Originally Posted by Ansys Help
#variables
set n 10
set h1 0.01
set r1 1.2
ic_load_tetin myfile.tin
ic_hex_surface_blocking -inherited -swept -min_edge 0.0
ic_geo_new_family SOLID
[...]

(more details could be found in the ICEM help manual > Blocking> Pre-mesh Params> Edge Params> Using Variables in the Replay Script)

It can also be useful to have a look at the AM guide:

* Meshing User's Guide> Usage in Workbench> Extended ANSYS ICEM CFD Meshing> Working with Meshing Application Parameters
* Meshing User's Guide> Mesh Controls Overview> Understanding the Influence of the Advanced Size Function

I'll try to have a look when I have some time, I hope this helped.


All times are GMT -4. The time now is 21:01.