Download Programmer`s Manual for ANSYS

Transcript
Chapter 6: UPF Routines and Functions
c
c
c
c
c
c
c
c
c
c
c
c
c
c
c
c
c
c
c
c
c
c
c
c
c
c
c
c
c
c
c
c
c
c
c
c
c
c
c
c
c
c
c
c
c
c
c
c
c
c
c
c
c
c
c
c
c
c
c
c
c
(useful for initializing state variables
to a non-zero value)
- 1 if first equilibrium iteration of a
substep, 0 otherwise
kfsteq
(int,sc,in)
e
posn
d
proptb
(dp,sc,in)
- elastic young'S MODULUS
(dp,sc,in)
- poisson'S RATIO
(dp,ar(ncomp,ncomp),in)- elastic stress-strain matrix
(dp,ar(72),in)
- material properties input on tb commands
(do not use proptb(13), as it is used elsewhere)
(dp,sc,in)
- current time value
(dp,sc,in)
- time increment over this substep
(dp,sc,in)
- temperature at the end of this substep
(dp,sc,in)
- temperature increment over this substep
(dp,sc,in)
- temperature offset from absolute zero
(dp,sc,in)
- fluence at the end of this substep
(dp,sc,in)
- fluence increment over this substep
timval
timinc
tem
dtem
toffst
fluen
dfluen
epel
epcrp
statev
usvr
(dp,ar(ncomp),inout)- elastic strain
(dp,ar(ncomp),inout)- creep strain from previous substep
(dp,ar(ncomp*5+2),inout)- state variables from previous
(converged) substep. This variable is for
explicit creep only and refers to a
different internal variable than that
defined by TB,stat which is used by
implicit creep (usercreep) and usermat.
(dp,ar(nuval,nintp),inout)- additional state variables from
previous equilibrium iteration (saved
if the nsvr command is used)
output arguments:
variable (type,sze,intent)
epel
epcrp
statev
usvr
delcr
description
(dp,ar(ncomp),inout)- elastic strain adjusted for creep increment
(dp,ar(ncomp),inout)- updated creep strain
(dp,ar(ncomp*5+2),inout)- updated state variables
(dp,ar(nuval,nintp),inout)- updated additional state variables
(dp,sc,out)
- equivalent creep strain increment (used
for creep ratio calculation)
fortran parameters (to be defined by the user):
variable (type)
description
nuval
(int)
- number of additional state variables per
integration point
nintp
(int)
- maximum number of integration points of
an element to be used with this routine
(14 is the maximum)
note: nuval x nintp = nstv(on nsvr command); cannot exceed 840!
internal variables:
variable (type,sze)
con
(dp,sc)
del
(dp,ar(6))
epet
(dp,sc)
ept
(dp,ar(6))
eptot
(dp,sc)
sigen
(dp,sc)
temabs
(dp,sc)
description
- temporary variable
- creep strain increments
- equivalent elastic strain (before creep)
- total strain
- equivalent total strain, elastic + creep
- equivalent stress (before creep)
- temperature on the absolute scale
6.4.4. Subroutine usersw (Writing Your Own Swelling Laws)
*deck,usersw
user
subroutine usersw (option,elem,intpt,mat,proptb,ncomp,epswel,
x epel,e,nuxy,fluen,dfluen,tem,dtem,toffst,timvll,timvnc,usvr)
c
c *** primary function:
allow users to write their own swelling laws.
c
this logic is accessed with c72 = 10
c *** secondary function:
demonstrate the use of user-written swelling laws
164
Programmer's Manual for ANSYS . ANSYS Release 11.0 . 002328 . © SAS IP, Inc. All rights reserved.
Contains proprietary and confidential information of ANSYS, Inc. and its subsidiaries and affiliates.