protrader
Mechanical
- May 26, 2008
- 24
I build a volume (volume #1), then I divide it into 2 volumes using working plane. ANSYS deletes volume number 1 and names the 2 new volumes as volume #2 and #3.
I want to delete one of the volumes but I don't want to check the number of volume and simply use VDELE command. I want to use a condition that all the time in any case and any version of APDL, the volume to be deleted is selected.
FYI I am in the building geometry step and there is no mesh, no nodes and no elements.
Is there any way to do this? Or is this a common way that programmers check the number of the volume then they use it in the future commands (e.g. I check the number of volumes and the one that I want to delete is number 3, so I simply use VDELE,3 in the next line of my input file)
I want to delete one of the volumes but I don't want to check the number of volume and simply use VDELE command. I want to use a condition that all the time in any case and any version of APDL, the volume to be deleted is selected.
FYI I am in the building geometry step and there is no mesh, no nodes and no elements.
Is there any way to do this? Or is this a common way that programmers check the number of the volume then they use it in the future commands (e.g. I check the number of volumes and the one that I want to delete is number 3, so I simply use VDELE,3 in the next line of my input file)