×
INTELLIGENT WORK FORUMS
FOR ENGINEERING PROFESSIONALS

Log In

Come Join Us!

Are you an
Engineering professional?
Join Eng-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!
  • Students Click Here

*Eng-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here

Jobs

Assigned Volume-Numbers
2

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

RE: Assigned Volume-Numbers

Why use volume number they alway can change, try to do by location or size etc.

Garry

RE: Assigned Volume-Numbers

(OP)

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

I would consider the assignment of volume numbers to be an essentially random process, that is certainly not repeatable.  (I also believe that the ANSYS TFM also infers this).  Ansysfreak has it right - do not rely on the numbers!  If you ABSOLUTELY MUST have volume numbers, then locate the volume based on its location or size, and the *GET the volume number.

RE: Assigned Volume-Numbers

(OP)
Hi TGS4,

thanks, could you please explain, what you mean
"locate the volume based on its location or size " ?

regards

RE: Assigned Volume-Numbers

You could use the vsel command, or the lsel, followed by an asll, followed by a vsla, or a asel, followed by a vsla.  Check out these commands in TFM.

RE: Assigned Volume-Numbers

(OP)


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

How about using the

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...


Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Eng-Tips Forums free from inappropriate posts.
The Eng-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Eng-Tips forums is a member-only feature.

Click Here to join Eng-Tips and talk with other members!


Resources