-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathstart.mac
38 lines (26 loc) · 827 Bytes
/
start.mac
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
FINISH
/CLEAR
/title, Controlled smart structure - Takacs G.
/nopr ! Supresses extended interpreted data input
/com, ! Places comments in the output
/FILNAME,beam_control,0 ! This sets the jobname to 'beam_control'
/CONFIG,NRES,3000
/PREP7
SHPP,SILENT,ON !Shape checking in silent mode
SHPP,MODIFY,1,40
*CFOPEN,results,csv
*USE,parameters.mac ! Load all the parameters
*USE,geometry.mac ! Create model geometry
*USE,meshing.mac ! Define materials and mesh the model
*USE,loads.mac ! Defines clamp and other loads
*USE,trans.mac ! Initializes solution, defines an initial condition
*DO,t,2*Tstep,Tstop,Tstep
TIME,t ! Sets time to Tstop second
*USE,controller.mac
*VWRITE,t,y,u,x1,x2
%0.0e,%0.0f,%0.0f,%0.0f,%0.0f
SOLVE
*ENDDO
FINISH
*CFCLOSE
*USE,process.mac