! Created by Gergely Gyebroszki, 2018.04.18.
! Select nodes at X=-0.5 and also select at X=0.5
NSELNSEL, Type, Item, Comp, VMIN, VMAX, VINC, KABS
Selects a subset of nodes.,S,LOC,X,-0.5
NSELNSEL, Type, Item, Comp, VMIN, VMAX, VINC, KABS
Selects a subset of nodes.,AA = 6.25E-4,LOC,X,0.5
! We can use D on ALL nodes when applying constraints, but don't forget to select everything afterwards
DD, Node, Lab, VALUE, VALUE2, NEND, NINC, Lab2, Lab3, Lab4, Lab5, Lab6
Defines degree-of-freedom constraints at nodes.,ALL,ALL
ALLSELALLSEL, LabT, Entity
Selects all entities with a single command.,ALL
FINISHFINISH
Exits normally from a processor.
! Time point at T1
TRNOPTTRNOPT, Method, MAXMODE, --, MINMODE, MCout, TINTOPT, VAout
Specifies transient analysis options.,FULL
LUMPMLUMPM, Key
Specifies a lumped mass matrix formulation.,0
AUTOTSAUTOTS, Key
Specifies whether to use automatic time stepping or load stepping.,0! Turn off auto time stepping
NSUBSTNSUBST, NSBSTP, NSBMX, NSBMN, Carry
Specifies the number of substeps to be taken this load step.,SUBSTEPS1SUBSTEPS1 = 20,0,0
OUTRESOUTRES, Item, Freq, Cname, -- , NSVAR, DSUBres
Controls the solution data written to the database.,ALL,1
TIMETIME, TIME
Sets the time for a load step.,T1T1 = 0.0001 ! Time when Fy reaches its maximum value
NSELNSEL, Type, Item, Comp, VMIN, VMAX, VINC, KABS
Selects a subset of nodes.,S,LOC,X,0
FF, NODE, Lab, VALUE, VALUE2, NEND, NINC
Specifies force loads at nodes.,ALL,FY,-FRCYFRCY = 450 ! Max value of Fy
ALLSELALLSEL, LabT, Entity
Selects all entities with a single command.,ALL
LSWRITELSWRITE, LSNUM
Writes load and load step option data to a file.,1
! Also create a version of this load step with damping
BETADBETAD, VALUE
Defines the stiffness matrix multiplier for damping.,DAMPINGDAMPING = 0.0005
LSWRITELSWRITE, LSNUM
Writes load and load step option data to a file.,4
! Time point at T2
TIMETIME, TIME
Sets the time for a load step.,T2T2 = 0.0002 ! Time when Fy reaches zero
NSUBSTNSUBST, NSBSTP, NSBMX, NSBMN, Carry
Specifies the number of substeps to be taken this load step.,SUBSTEPS2SUBSTEPS2 = 20,0,0
BETADBETAD, VALUE
Defines the stiffness matrix multiplier for damping.,0
FDELEFDELE, NODE, Lab, NEND, NINC, Lkey
Deletes force loads on nodes.,ALL,FY
LSWRITELSWRITE, LSNUM
Writes load and load step option data to a file.,2
! Also create a version of this load step with damping
BETADBETAD, VALUE
Defines the stiffness matrix multiplier for damping.,DAMPINGDAMPING = 0.0005
LSWRITELSWRITE, LSNUM
Writes load and load step option data to a file.,5
! Time point at T3
TIMETIME, TIME
Sets the time for a load step.,T3T3 = 0.5 ! Ending time of simulation
BETADBETAD, VALUE
Defines the stiffness matrix multiplier for damping.,0
NSUBSTNSUBST, NSBSTP, NSBMX, NSBMN, Carry
Specifies the number of substeps to be taken this load step.,SUBSTEPS3SUBSTEPS3 = 200,0,0
LSWRITELSWRITE, LSNUM
Writes load and load step option data to a file.,3
! Also create a version of this load step with damping
BETADBETAD, VALUE
Defines the stiffness matrix multiplier for damping.,DAMPINGDAMPING = 0.0005
TIMETIME, TIME
Sets the time for a load step.,T3T3 = 0.5 ! Ending time of simulation/2! Stop at 0.25 sec instead of 0.5
LSWRITELSWRITE, LSNUM
Writes load and load step option data to a file.,6
! Solve from Load Step files
LSSOLVELSSOLVE, LSMIN, LSMAX, LSINC
Reads and solves multiple load steps.,1,3,1
FINISHFINISH
Exits normally from a processor.