Continue to Site

Eng-Tips is the largest engineering community on the Internet

Intelligent Work Forums for Engineering Professionals

  • Congratulations GregLocock on being selected by the Eng-Tips community for having the most helpful posts in the forums last week. Way to Go!

Ansys Workbench APDL select volume

Status
Not open for further replies.

jkupka84

Mechanical
Apr 15, 2014
40
Hi,
I try to select volumes via APDL in ANSYS Workbench but command VSEL return empty selection. So I check the model by /STAT,GLOBAL and there are no volumes (keypoints, lines, areas either).

I know the trick that I can access volume via Named Selections using CMSEL command but is there any way to access the volume without CMSEL command?

Best regards
Jrz
 
Replies continue below

Recommended for you

May I inquire why CMSEL is not sufficient? What are you trying to achieve with the code snippet?

 
In /prep7 type:

allsel

and then:

vlist

If the list comes back as empty then there are no volumes in your model, so regardless of whatever you try and do (CMSEL or otherwise) you are asking ANSYS to list or show information on an entity which doesn't exist. It sounds like there's nothing at all in your model actually, but try:

allsel
gplot

and see what ANSYS shows.



------------
See faq569-1083 for details on how to make best use of Eng-Tips.com
 
Hi,

L_K: I try to select solid elements only that are attached to the volume(s) then do some operations on them. When I use CMSEL, surface elements are select too.

Drej: When I'll be back at work I'll try your advice. But what I remember ANSYS Workbench tells me that there are elements and nodes only, no geometry, that's odd for me.

 
Hi,

If your solid elements are SOLID186 (default in Workbench Mechanical), this code should select only the solid elements.

CMSEL,s,box
esel,r,ename,,186

, where box is named selection of the body in question.

Maybe there is a more sophisticated way but this should work.




 
Hi Jrz,

Ansys workbench does not transfer geometry to APDL so commands such as [tt]VSEL[/tt] wouldn't work. A named selection on volume in workbench selects the elements. All others entities will select nodes associated with the geometry for use in APDL.


Best regards,
Jason
 
Hi,

Drej: As sk_cheah said not possible.

L_K: Thanks for

Code:
ESEL,R,ENAME,,186
Why I missed this command is mystery for me.

At this point I stay in combination of the CMSEL command or

Code:
ESEL,S,ENAME,,186
ESEL,A,ENAME,,185

Thanks all of you.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor