! White canvas
/RGB/RGB, Kywrd, PRED, PGRN, PBLU, N1, N2, NINC, NCNTR
Specifies the RGB color values for indices and contours.,INDEX,100,100,100,0
/RGB/RGB, Kywrd, PRED, PGRN, PBLU, N1, N2, NINC, NCNTR
Specifies the RGB color values for indices and contours.,INDEX,0,0,0,15
! Isometric view
/VIEW/VIEW, WN, XV, YV, ZV
Defines the viewing direction for the display.,1,1,1,1
/ANG/ANGLE, WN, THETA, Axis, KINCR
Rotates the display about an axis.,1
/REP/REPLOT, Label
Automatically reissues the last display command for convenience.,FAST
! Define constant parameters
! Units: [N],[Nmm],[N/mm^2=MPa],[N/mm]
A=800
B=400
T=10
E1=2E5
nu1=0.3
rho=8E-3
v0=20
ELEMNUM=50
TEND=1
DELT=5e-3
! Defining thickness
RR, NSET, R1, R2, R3, R4, R5, R6
Defines the element real constants.,1,t,
MPTEMPMPTEMP, SLOC, T1, T2, T3, T4, T5, T6
Defines a temperature table for material properties.
MPTEMPMPTEMP, SLOC, T1, T2, T3, T4, T5, T6
Defines a temperature table for material properties.,1,0
MPDATAMPDATA, Lab, MAT, SLOC, C1, C2, C3, C4, C5, C6
Defines property data to be associated with the temperature table.,EX,1,,E1E1 = 2E5
MPDATAMPDATA, Lab, MAT, SLOC, C1, C2, C3, C4, C5, C6
Defines property data to be associated with the temperature table.,PRXY,1,,NU1
MPTEMPMPTEMP, SLOC, T1, T2, T3, T4, T5, T6
Defines a temperature table for material properties.
MPTEMPMPTEMP, SLOC, T1, T2, T3, T4, T5, T6
Defines a temperature table for material properties.,1,0
MPDATAMPDATA, Lab, MAT, SLOC, C1, C2, C3, C4, C5, C6
Defines property data to be associated with the temperature table.,DENS,1,,RHO
! Create keypoints
KK, NPT, X, Y, Z
Defines a keypoint.,1,0,0,0
KK, NPT, X, Y, Z
Defines a keypoint.,2,0,0,BB = 400
KK, NPT, X, Y, Z
Defines a keypoint.,3,AA = 800,0,BB = 400
KK, NPT, X, Y, Z
Defines a keypoint.,4,AA = 800,0,0
AA, P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, P11, P12, P13, P14, P15, P16, P17, P18
Defines an area by connecting keypoints.,1,2,3,4
LESIZELESIZE, NL1, SIZE, ANGSIZ, NDIV, SPACE, KFORC, LAYER1, LAYER2, KYNDIV
Specifies the divisions and spacing ratio on unmeshed lines.,1,,,ELEMNUMELEMNUM = 50
LESIZELESIZE, NL1, SIZE, ANGSIZ, NDIV, SPACE, KFORC, LAYER1, LAYER2, KYNDIV
Specifies the divisions and spacing ratio on unmeshed lines.,3,,,ELEMNUMELEMNUM = 50
LESIZELESIZE, NL1, SIZE, ANGSIZ, NDIV, SPACE, KFORC, LAYER1, LAYER2, KYNDIV
Specifies the divisions and spacing ratio on unmeshed lines.,2,,,2*ELEMNUM
LESIZELESIZE, NL1, SIZE, ANGSIZ, NDIV, SPACE, KFORC, LAYER1, LAYER2, KYNDIV
Specifies the divisions and spacing ratio on unmeshed lines.,4,,,2*ELEMNUM
! mesh the areas using mapped algorithm
MSHAPEMSHAPE, KEY, Dimension
For elements that support multiple shapes, specifies the element shape to be used for meshing.,0,2D
MSHKEYMSHKEY, KEY
Specifies whether free meshing or mapped meshing should be used to mesh a model.,1
AMESHAMESH, NA1, NA2, NINC
Generates nodes and area elements within areas.,1
DLDL, LINE, AREA, Lab, Value1, Value2
Defines DOF constraints on lines.,1,,ALL,0
FINISHFINISH
Exits normally from a processor.
/SOL/SOLU
Enters the solution processor.
! transient analysis
ANTYPEANTYPE, Antype, Status, LDSTEP, SUBSTEP, Action
Specifies the analysis type and restart status.,4
TRNOPTTRNOPT, Method, MAXMODE, --, MINMODE, MCout, TINTOPT, VAout
Specifies transient analysis options.,FULL
LUMPMLUMPM, Key
Specifies a lumped mass matrix formulation.,0
!* timestep size
DELTIMDELTIM, DTIME, DTMIN, DTMAX, Carry
Specifies the time step sizes to be used for the current load step.,DELTDELT = 5e-3,0,0
OUTRESOUTRES, Item, Freq, Cname, -- , NSVAR, DSUBres
Controls the solution data written to the database.,ALL,ALL
! auto timesteppinng
AUTOTSAUTOTS, Key
Specifies whether to use automatic time stepping or load stepping.,1
! stiffness matrix coefficient
BETADBETAD, VALUE
Defines the stiffness matrix multiplier for damping.,0.0002
KBCKBC, KEY
Specifies ramped or stepped loading within a load step.,0
TIMETIME, TIME
Sets the time for a load step.,0.025
DLDL, LINE, AREA, Lab, Value1, Value2
Defines DOF constraints on lines.,1,,UY,v0v0 = 20
LSWRITELSWRITE, LSNUM
Writes load and load step option data to a file.,1
TIMETIME, TIME
Sets the time for a load step.,0.05
DLDL, LINE, AREA, Lab, Value1, Value2
Defines DOF constraints on lines.,1,,ALL,0
LSWRITELSWRITE, LSNUM
Writes load and load step option data to a file.,2
TIMETIME, TIME
Sets the time for a load step.,TENDTEND = 1
LSWRITELSWRITE, LSNUM
Writes load and load step option data to a file.,3
LSSOLVELSSOLVE, LSMIN, LSMAX, LSINC
Reads and solves multiple load steps.,1,3,1
/POST1/POST1
Enters the database results postprocessor.
/VIEW/VIEW, WN, XV, YV, ZV
Defines the viewing direction for the display.,1,1,2,3
/ANG/ANGLE, WN, THETA, Axis, KINCR
Rotates the display about an axis.,1
! animate results
PLNSOLPLNSOL, Item, Comp, KUND, Fact, FileID
Displays results as continuous contours.,U,Y
ANTIMEANTIME, NFRAM, DELAY, NCYCL, AUTOCNTRKY, RSLTDAT, MIN, MAX
Produces a sequential contour animation over a range of time.,500,0.5,,1,0,0,0