-
-
June 13, 2019 at 10:09 am
jainanup27
SubscriberHi,Â
I am creating a script for meshing in ICEM CFD for parametric study.
I want a point on the curve which is at a parameter of 0.4 and 0.8 on the curve. I create this point (In script editor these points are point pt.00 and pt.01) [image 1 and image 2] I then assign vertex ( vertex/node 67 and vertex/node 66) [image 2] to these points respectively. Now when I change the curve dimension (for optimization) and update ICEM CFD the points defined by parameter 0.4 and 0.8 are created but their names are changed on update (pt 04 and pt 05) [image 3]. The problem is that in the script the vertices were assigned to pt.00 and pt.01 and As a result, ICEM CFD throws an errorÂ
"Update failed for the Model component in ICEM CFD. Update of the Model component in ICEM CFD did not mark the component as updated due to a change made to the ANSYS Geometry component during the update"
Along with pt.04 and pt.05 it creates pt.01 and pt.00 if I forcefully run the script (the vertices remain attached to pt.00 and pt.01) with warning as shown in image 3
(I want the vertices now attached to the points that are located at parameters 0.4 and 0.8 of the curve)Â
Can someone please help,
Thanks,
Anup
Â
Â
-
June 21, 2019 at 10:10 pm
jcooper
Ansys EmployeeHi Anup:
ICEM will name points sequentially as each new version of the geometry comes in. In the second instance, since you already have points 0,1,2,3, points 4,5,6,7 will be created. A crude fix would be to have a command that just forces the names back one step each time.
For instance, the first time through, there will be no points 4,5,6,7, but you can still issue commands to rename these to 0,1,2,3 (ICEM should just issue a warning that the points to be renamed couldn't be found)
On subseqent passes, point numbers will be bumped up to 4,5,6,7, so the command:
ic_geo_set_name point pnt.04 pnt.01 1 0Â etc ...
should rename them to the originals and then the script could proceed as usual.
Best Regards,
Judy
Â
-
June 21, 2019 at 10:18 pm
jainanup27
SubscriberHi Judy,
Â
Thanks for your reply. I will try doing that. However, I have bumped into another issue. I would really appreciate your help. You can find the link here:Â
Â
Â
Thanks,
Anup
-
- The topic ‘ICEM CFD Scripting Issues’ is closed to new replies.
-
5069
-
1771
-
1387
-
1248
-
1021
© 2026 Copyright ANSYS, Inc. All rights reserved.


