×
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

Very simple key command, which is annoyingly hard for me

Very simple key command, which is annoyingly hard for me

Very simple key command, which is annoyingly hard for me

(OP)
Hello all,

*GET,NCEN,NODE,,NUM,MIN
ok so this selects the lowest node number ie node number 1, then it calls it NCEN so I can use it in future commands, right?  So my question is how can I get NCEN to be a range of nodes, say node numbers 7, 8, 11, 14 and 33?

Regards

Will

PS: sorry it's such a lame question, but I just can't do it; poor key command skills

RE: Very simple key command, which is annoyingly hard for me

Hai,

 *get returns single number. Range of nodes with *get is doubtful.

  If you want to select the nodes by specific way, Go to->utility menu->select->nodes->num pick->min,max,inc or list of items. Later if you want to group use component command.

Logesh.E

RE: Very simple key command, which is annoyingly hard for me

Hola!

As Logesh points out, a *Get command will return a single node. To get a range a nodes use a combination of:

nsel,S,node,<list of nodes>
nsel,A,node,<nutha list of nodes>
...

and then group into a component with

cm, <component name>, node

hope this helps - good luck!
-- drej --

RE: Very simple key command, which is annoyingly hard for me

Hello, men0wjv!

I would like to start with the previous answers from elogesh and drej.
You could not retain a range of node numbers in a scalar parameter (so, elogesh is right). It is a good way to retain all nodes you want in a component (so, drej advice is helpful for you).
If you want to use all nodes as an entity and perform common actions on these nodes do what drej say. If you have individual actions to perform on a range of nodes you must do what drej said for start and after that you do:

cmsel,s,<component name>
*get,nnod,node,0,count        ! nnod=number of nodes in    
                              ! component
*get,ncen,node,0,num,min
*do,i,1,nnod-1,1
   .............              ! Perform individual action
   ncen=ndnext(ncen)          ! Select next node in the set
*enddo

Please take a deep look to the *get command and to the chapter 3.3.3.1 "Using *GET command" from "APDL Programmer's Guide" (in fact you could start from there).

Best regards,
Juzz

----------------------------
Justin Onisoru
Researcher
Romanian Academy,
Institute of Solid Mechanics
----------------------------

RE: Very simple key command, which is annoyingly hard for me

(OP)
ok cheers everybody, i'll have a crack at it next time I can.  The only other thing is, what about if instead of making ncen the min node number I made it node number 7, how would I do that???

Regards

Will

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