×
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

Using *do loop for shell elements from solid

Using *do loop for shell elements from solid

Using *do loop for shell elements from solid

(OP)
Hello everyone

can anyone please help me,I am new to use apdl scripting,

The problem description is I have solid body meshed with solid elements imported in apdl from WB.
For the surface nodes i need to extract plane stress in normal direction.

Ex: if i have a node on curvature surface then the normal to node direction(lets say z axis) & (xy on surface plane)
the local coordinate at that node has to be rotated from 0 to 180 in steps of 5

for the same node the plane stress(Normal x,y,z) results for each step has to be resulted out.
the following is the script that is in use. How do i know whether the co-ordinate is normal curvature for a given node.

script-a
$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$
*afun,deg
*do,i,1,36
*do,j,0,0:180:5

LOCAL,110+i,0,-242.89,558.09,83.387,j, , ,1,1,
*enddo
*enddo
$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$

I have another script from ansys-help shell painted on solid
which is

script-b
$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$
finish
/clear,nostart
/prep7

et,1,solid185 !! Solid elements
et,2,shell181 !! Shell elements for Stress/Strain only
keyopt,2,1,2
mp,ex,1,219e9
mp,prxy,1,0.3

!! ********************Shell elements***********
sectype,100,shell
secdata,0.001,1

local,100,0,,,,90 !! Element coordinate system for Shell
nsel,s,loc,z,0
esln
type,2
esys,100
secnum,100
esurf
csys,0
/post1
rsys,solu !! For in-plane stresses
set,last
esel,s,ename,,181 !! Select only shell nodes and elements for the surface stresses
nsle,s
plnsol,s,x !! In-plane stress in shell's coodinate system
$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$

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