XANSYS Forum Index
    Register    

FAQ    Search    Memberlist    Usergroups    SmartFeedSmartFeed    Profile    Log in
[APDL] How to model moving element in ANSYS APDL?
 
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    XANSYS Forum Index -> XANSYS
Author Message
saad.bin.aziz
User


Joined: 28 Aug 2014
Posts: 19

PostPosted: Fri Aug 29, 2014 7:11 am  Reply with quote

Hi,
I am trying to model Friction Stir welding using ANSYS APDL 15.0. In my model,I have two plate and a pin tool. I have modeled the plate & the pin tool using element SOLID226. I have created element on both of these plate by volume meshing. I have defined contact element in between two plates and also between tool and top surface of the plate. I am trying to move element from one plate (advancing side) to other plate(retreating side) while the pin tool is rotating. Does anyone have any idea how to do it on ANSYS APDl?

My APDL code looks like the following:-
/com,==========================================================
/com, * Geometry
/com,==========================================================
/com, * Node for pilot node
n,1,0,0,h

/com, * Workpiece geometry (two rectangular plates)
block,0, w,-s1,l2,0,-t
block,0,-w,-s1,l2,0,-t

/com, * Tool geometry
cyl4,0,0,r1, 0,r1, 90,h
cyl4,0,0,r1, 90,r1,180,h
cyl4,0,0,r1,180,r1,270,h
cyl4,0,0,r1,270,r1,360,h
vglue,3,4,5,6

/com,==========================================================
/com, * Meshing
/com,==========================================================
et,1,SOLID226,11 !Coupled-field solid element,KEYOPT(1) is
!set to 11 for a structural-thermal analysis
allsel
lsel,s,,,4,5
lsel,a,,,14,19,5
lesize,all,,,22,5
lsel,s,,,16,17
lsel,a,,,2,7,5
lesize,all,,,22,1/5
lsel,s,,,1
lsel,a,,,3
lsel,a,,,6
lsel,a,,,8
lsel,a,,,13
lsel,a,,,15
lsel,a,,,18
lsel,a,,,20
lesize,all,,,44
lsel,s,,,9,
lsel,a,,,22
lesize,all,,,2
allsel,all
mshmid,2 !midside nodes dropped
vsweep,1
vsweep,2
vsel,u,volume,,1,2
mat,2
esize,0.0015
vsweep,all
allsel,all
/com,==========================================================
/com, * Contact Pairs
/com,==========================================================
/com, * Define Rigid Surface Constraint on tool top surface

et,2,TARGE170
keyopt,2,2,1 !User defined boundary condition on rigid
!target nodes
et,3,CONTA174
keyopt,3,1,1 !To include Temp DOF
keyopt,3,2,2 !To include MPC contact algorithm
keyopt,3,4,2 !For a rigid surface constraint
keyopt,3,12,5 !To set the behavior of contact surface as a
!bonded (always)
vsel,u,volume,,1,2 !Selecting Tool volume
allsel,below,volume
nsel,r,loc,z,h !Selecting nodes on the tool top surface
type,3
r,3
real,3
esln
esurf !Create contact elements
allsel,all


/com, * Define pilot node at the top of the tool
nsel,s,node,,1
tshap,pilo
type,2
real,3
e,1 !Create target element on pilot node
allsel

/com, * Define contact pair between two plates
et,6,TARGE170
et,7,CONTA174
keyopt,7,1,1 !Displacement & Temp dof
keyopt,7,4,3 !To include Surface projection based method
mat,1
asel,s,,,5
nsla,,1
nplot
cm,tn.cnt,node !Creating component on weld side of plate1
asel,s,,,12
nsla,,1
nplot
cm,tn.tgt,node !Creating component on weld side of plate2
allsel,all
type,6
r,6
rmodif,6,14,tcc1 !A real constant TCC,Thermal contact
!conductance coeffi. b/w the plates, W/m^2'C
rmodif,6,35,400 !A real constant TBND,Bonding temperature
!for welding, 'C
real,6
cmsel,s,tn.cnt
nplot
esurf
type,7
real,6
cmsel,s,tn.tgt
esurf
allsel,all

/com, * Define contact pair between tool & workpiece
et,4,TARGE170
et,5,CONTA174
keyopt,5,1,1 !Displacement & Temp dof
keyopt,5,5,3 !Close gap/reduce penetration with auto cnof
keyopt,5,9,1 !Exclude both initial penetration or gap
keyopt,5,10,2 !Contact stiffness update each iteration
!based

!Bottom & lateral(all except top) surfaces of tool for target
vsel,u,volume,,1,2
allsel,below,volume
nsel,r,loc,z,0,h
nsel,u,loc,z,h
type,4
r,5
tb,fric,5,6 !Definition of friction co efficient at
!different temp
tbtemp,25
tbdata,1,0.4 !friction co-efficiet at temp 25
tbtemp,200
tbdata,1,0.4 !friction co-efficiet at temp 200
tbtemp,400
tbdata,1,0.4 !friction co-efficiet at temp 400
tbtemp,600
tbdata,1,0.3 !friction co-efficiet at temp 600
tbtemp,800
tbdata,1,0.3 !friction co-efficiet at temp 800
tbtemp,1000
tbdata,1,0.2 !friction co-efficiet at temp 1000
rmodif,5,9,500e6 !Max.friction stress
rmodif,5,14,tcc2 !Thermal contact conductance b/w tool and
!workpiece, 10 W/m^2'C
rmodif,5,15,1 !A real constant FHTG,the fraction of
!frictional dissipated energy converted
!into heat
rmodif,5,18,fwgt !A real constant FWGT, weight factor for
!the distribution of heat between the
!contact and target surfaces, 0.95
real,5
mat,5
esln
esurf
allsel,all

!Top sufaces of plates nodes for contact
vsel,s,volume,,1,2
allsel,below,volume
nsel,r,loc,z,0
type,5
real,5
esln
esurf
allsel,all

Thanks
Saad Aziz
Grad Student
Louisiana State University
Back to top
View user's profile Send private message
Display posts from previous:   
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    XANSYS Forum Index -> XANSYS
All times are GMT - 7 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You cannot download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group

sleek template created by Andrew Charron