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

[ICEM] One question about curve name setting

Register Blogs Community New Posts Updated Threads Search

Like Tree1Likes
  • 1 Post By hadikhayyamian

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   July 18, 2012, 11:14
Question One question about curve name setting
  #1
lnk
Senior Member
 
lnk
Join Date: Feb 2011
Location: Switzerland
Posts: 118
Rep Power: 15
lnk is on a distinguished road
Hi,

I'm using script to parameterize my geometry. But when I use the script to record the curve creation. The curves are randomly named as crv..... or GEOM...., like crv.38 or GEOM3. That makes the script hard to be checked. May I ask how to make my curve names only as crv.1, crv.2,crv.3........?

Best regards and many thanks,
lnk
lnk is offline   Reply With Quote

Old   July 20, 2012, 16:24
Default
  #2
Member
 
Khayyamian
Join Date: Dec 2010
Posts: 46
Rep Power: 15
hadikhayyamian is on a distinguished road
You can control naming of the geomtry elements by, for example for a Curve:
Right click on the Rename Curve under Curves.

then you can set how numbering comes after a text. for example: mycurve-01 mycurve-02

If you are importing Formatted Data Points, you can also do the same in its setting!
ama294 likes this.
hadikhayyamian is offline   Reply With Quote

Old   July 23, 2012, 11:55
Default
  #3
lnk
Senior Member
 
lnk
Join Date: Feb 2011
Location: Switzerland
Posts: 118
Rep Power: 15
lnk is on a distinguished road
Quote:
Originally Posted by hadikhayyamian View Post
You can control naming of the geomtry elements by, for example for a Curve:
Right click on the Rename Curve under Curves.

then you can set how numbering comes after a text. for example: mycurve-01 mycurve-02

If you are importing Formatted Data Points, you can also do the same in its setting!

Hi, Khayyamian

Thanks for your answer. I generate all my geometry by script. The problem is I never named any points to GEOM... (like GEOM 5). But after I run the script, I click 'show the points name'. Some points named GEOM... come out. ( don't know why) And they totally overlap with some of my points that their name block my sight to the name of the points I defined. How to fix this problem?

Best regards,
lnk
lnk is offline   Reply With Quote

Old   July 23, 2012, 13:27
Default
  #4
Member
 
Khayyamian
Join Date: Dec 2010
Posts: 46
Rep Power: 15
hadikhayyamian is on a distinguished road
Hi,
regarding overlapping points, I also have this problem. for example when I create some planes, it creates some excessive curves (which overlap my existing curves). Actually I dont know how to avoid automatically your excessive points.

If I were you, I will do following:

you can delete those points and let the script replay record your actions.
I have done this before. it worked!

Also if you can post your work, it might be helpful!
hadikhayyamian is offline   Reply With Quote

Old   July 24, 2012, 11:18
Default
  #5
lnk
Senior Member
 
lnk
Join Date: Feb 2011
Location: Switzerland
Posts: 118
Rep Power: 15
lnk is on a distinguished road
Quote:
Originally Posted by hadikhayyamian View Post
Hi,
regarding overlapping points, I also have this problem. for example when I create some planes, it creates some excessive curves (which overlap my existing curves). Actually I dont know how to avoid automatically your excessive points.

If I were you, I will do following:

you can delete those points and let the script replay record your actions.
I have done this before. it worked!

Also if you can post your work, it might be helpful!

Thanks for your answer. But I really want to avoid the showing of these points from the beginning. For my geometry, there are several thousands of them. It's large work to delete. And these points named Geom... always bring bug to my script.

Best regards and many thanks,
lnk
lnk is offline   Reply With Quote

Old   July 27, 2012, 16:08
Default
  #6
lnk
Senior Member
 
lnk
Join Date: Feb 2011
Location: Switzerland
Posts: 118
Rep Power: 15
lnk is on a distinguished road
Hi, Khayyamian

Here I upload a simple case for that point naming GEOM problem.

Could you tell to how avoid the creation of the points named GEOM....?


Best regards and many thanks,
lnk
Attached Images
File Type: jpg point name problem.jpg (39.6 KB, 35 views)
Attached Files
File Type: txt script.txt (1.3 KB, 16 views)
lnk is offline   Reply With Quote

Old   June 15, 2015, 12:40
Default
  #7
New Member
 
Adam Smith
Join Date: Jun 2015
Posts: 1
Rep Power: 0
twoplanesdontmakeawright is on a distinguished road
If you are not using the part "GEOM," you can delete it altogether with the line

Code:
ic_delete_elements family GEOM no_undo 1
ic_delete_geometry all families GEOM 1 1
ic_geo_delete_family GEOM
That should wipe away all the unwanted points pretty quickly.
twoplanesdontmakeawright is offline   Reply With Quote

Reply


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 Off
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Question Re Engineering Data Source imnull ANSYS 0 March 5, 2012 13:51
internal field question - PitzDaily Case atareen64 OpenFOAM Running, Solving & CFD 2 January 26, 2011 15:26
question on bounday layer modeling Wen Long Main CFD Forum 2 November 12, 2005 17:29
Poisson Solver question Suresh Main CFD Forum 3 August 12, 2005 04:37
Philosophical CFD question Richard Howe Main CFD Forum 14 June 17, 2001 14:41


All times are GMT -4. The time now is 16:19.