! 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
! Define constant parameters
! [N],[Nmm],[N/mm^2=MPa],[N/mm]
ELAST=2E5
NU=0.3
A=1000
B=300
T=3
!
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,,ELASTELAST = 2E5
MPDATAMPDATA, Lab, MAT, SLOC, C1, C2, C3, C4, C5, C6
Defines property data to be associated with the temperature table.,PRXY,1,,NUNU = 0.3
!
SECTSECTYPE, SECID, Type, Subtype, Name, REFINEKEY
Associates section type information with a section ID number.,1,SHELL,
SECDATASECDATA, VAL1, VAL2, VAL3, VAL4, VAL5, VAL6, VAL7, VAL8, VAL9, VAL10, VAL11, VAL12
Describes the geometry of a section.,TT = 3,1,0.0,3
SECOFFSETSECOFFSET, Location, OFFSET1, OFFSET2, CG-Y, CG-Z, SH-Y, SH-Z
Defines the section offset for cross sections.,MID
SECCONTROLSECCONTROL, VAL1, VAL2, VAL3, VAL4, VAL5, VAL6, VAL7, VAL8, VAL9, VAL10, VAL11, VAL12, VAL13
Supplements or overrides default section properties.
!
BLC4BLC4, XCORNER, YCORNER, WIDTH, HEIGHT, DEPTH
Creates a rectangular area or block volume by corner points.,0,0,AA = 1000,BB = 300
!
LESIZELESIZE, NL1, SIZE, ANGSIZ, NDIV, SPACE, KFORC, LAYER1, LAYER2, KYNDIV
Specifies the divisions and spacing ratio on unmeshed lines.,1,,,20
LESIZELESIZE, NL1, SIZE, ANGSIZ, NDIV, SPACE, KFORC, LAYER1, LAYER2, KYNDIV
Specifies the divisions and spacing ratio on unmeshed lines.,3,,,20
LESIZELESIZE, NL1, SIZE, ANGSIZ, NDIV, SPACE, KFORC, LAYER1, LAYER2, KYNDIV
Specifies the divisions and spacing ratio on unmeshed lines.,2,,,5
LESIZELESIZE, NL1, SIZE, ANGSIZ, NDIV, SPACE, KFORC, LAYER1, LAYER2, KYNDIV
Specifies the divisions and spacing ratio on unmeshed lines.,4,,,5
! Mesh the area using mapped meshing algorithm
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.,ALL
! Define the kinematic constraints on lines
DLDL, LINE, AREA, Lab, Value1, Value2
Defines DOF constraints on lines.,4,,UX,0
DLDL, LINE, AREA, Lab, Value1, Value2
Defines DOF constraints on lines.,4,,UZ,0
DLDL, LINE, AREA, Lab, Value1, Value2
Defines DOF constraints on lines.,4,,ROTZ,0
!
DLDL, LINE, AREA, Lab, Value1, Value2
Defines DOF constraints on lines.,1,,UY,0
DLDL, LINE, AREA, Lab, Value1, Value2
Defines DOF constraints on lines.,1,,UZ,0
DLDL, LINE, AREA, Lab, Value1, Value2
Defines DOF constraints on lines.,1,,ROTZ,0
!
DLDL, LINE, AREA, Lab, Value1, Value2
Defines DOF constraints on lines.,3,,UY,0
DLDL, LINE, AREA, Lab, Value1, Value2
Defines DOF constraints on lines.,3,,UZ,0
DLDL, LINE, AREA, Lab, Value1, Value2
Defines DOF constraints on lines.,3,,ROTZ,0
!
DLDL, LINE, AREA, Lab, Value1, Value2
Defines DOF constraints on lines.,2,,UZ,0
DLDL, LINE, AREA, Lab, Value1, Value2
Defines DOF constraints on lines.,2,,ROTZ,0
! Define loading on surface
SFLSFL, Line, Lab, VALI, VALJ, VAL2I, VAL2J
Specifies surface loads on lines of an area.,2,PRES,1
FINISHFINISH
Exits normally from a processor.
!
! Calculate prestress effect
/SOL/SOLU
Enters the solution processor.
PSTRESPSTRES, Key
Specifies whether prestress effects are calculated or included.,1
/STATUS/STATUS, Lab
Lists the status of items for the run.,SOLU
SOLVESOLVE, Action
Starts a solution.
FINISHFINISH
Exits normally from a processor.
!
! Solve the eigen buckling analysis
/SOL/SOLU
Enters the solution processor.
ANTYPEANTYPE, Antype, Status, LDSTEP, SUBSTEP, Action
Specifies the analysis type and restart status.,1
! Extract the first four modes
BUCOPTBUCOPT, Method, NMODE, SHIFT, LDMULTE, RangeKey
Specifies buckling analysis options.,LANB,4,0,0,CENTER
MXPANDMXPAND, NMODE, FREQB, FREQE, Elcalc, SIGNIF, MSUPkey, ModeSelMethod
Specifies the number of modes to expand and write for a modal or buckling analysis.,4,0,0,0,0.001,
/STATUS/STATUS, Lab
Lists the status of items for the run.,SOLU
SOLVESOLVE, Action
Starts a solution.
! Postprocessing
/POST1/POST1
Enters the database results postprocessor.
SETSET, Lstep, Sbstep, Fact, KIMG, TIME, ANGLE, NSET, ORDER
Defines the data set to be read from the results file.,FIRST
! Export the eigenshapes as bmp files
*DO*DO, Par, IVAL, FVAL, INC
Defines the beginning of a do-loop.,III,1,4,1
PLNSOLPLNSOL, Item, Comp, KUND, Fact, FileID
Displays results as continuous contours.,U,SUM,1,1.0
/IMAGE/IMAGE, Label, Fname, Ext, --
Allows graphics data to be captured and saved.,SAVE,strcat(chrval(III),'_ST3'),bmp
SETSET, Lstep, Sbstep, Fact, KIMG, TIME, ANGLE, NSET, ORDER
Defines the data set to be read from the results file.,NEXT
*ENDDO*ENDDO
Ends a do-loop and starts the looping action.