Assigned Volume-Numbers
Assigned Volume-Numbers
(OP)
Hi,
I need to know the general idea of behind the assigned volume-numbers:
when 3 or 4 new volumes are generated at the same time by Booleans operations, which volume takes which volume-number? Is there an order of precedence?
I need only this general idea. Because depend on this idea I had to write a program whose output txt-file will be used input file of Ansys.
Regards
I need to know the general idea of behind the assigned volume-numbers:
when 3 or 4 new volumes are generated at the same time by Booleans operations, which volume takes which volume-number? Is there an order of precedence?
I need only this general idea. Because depend on this idea I had to write a program whose output txt-file will be used input file of Ansys.
Regards





RE: Assigned Volume-Numbers
Garry
RE: Assigned Volume-Numbers
Hi Garry,
thanks, but I need to know how change the volume-number. In my program I have to call something depend on the volume-number.
regards
RE: Assigned Volume-Numbers
RE: Assigned Volume-Numbers
thanks, could you please explain, what you mean
"locate the volume based on its location or size " ?
regards
RE: Assigned Volume-Numbers
RE: Assigned Volume-Numbers
Hi,
I found this information in ANSYS Help File:
"Caution
The numbering of Boolean output entities is not 100% predictable. That is, sometimes the same Boolean operation, when performed on different computer systems, will assign different numbers to output entities. If you plan to generate an input stream file interactively on one machine and rerun that input stream on another system, you should avoid using entity identification numbers in your command stream. Instead, use selecting logic to identify specific entities as needed.
"
regards
RE: Assigned Volume-Numbers
NUMST,VOLU,XXXX
command where XXXX is a large number which you are sure is not used? New volumes that are generated will be numbered starting at XXXX.
You can get the largest assigned volume number with
*GET,XXXX,VOLU,0,NUM,MAXD
To retrieve volume (and other entity) numbers I sometimes use
VSEL,NONE
[volume generation command]
XXXX=VLNEXT(0)
Hope this helps...
PS: Why use a program to create an ANSYS input file?
Ansys input files are perfect for programming...