Continue to Site

Eng-Tips is the largest engineering community on the Internet

Intelligent Work Forums for Engineering Professionals

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

Using *do loop for shell elements from solid

Status
Not open for further replies.

rahul98

Mechanical
Aug 8, 2014
3
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
$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor