Download How 2 HAWC2, the user's manual

Transcript
General input layout
The HAWC 2 input format is written in a form that forces the user to write the
input commands in a structured way so aerodynamic commands are kept together,
structural commands the same etc.
The commands are divided into command blocks using the begin-end syntax. Each
line has to be ended with a semi colon “;” which gives the possibility for writing
comments and the end of each line after the semi colon. All command lines can be
written with capital or small letters, but inside the code all lines are transformed
into small letters. This could have importance if something case sensitive is written
(e.g. the name of a subroutine within a DLL).
begin simulation;
time_stop
100.0 ;
solvertype
1 ;
(newmark)
;
begin newmark;
beta
0.27;
gamma
0.51;
deltat
0.02;
bdynamic 1.0 ;
end newmark;
end simulation;
In the next chapters the input commands are explaned for every part of the code.
The notation is main command for a begin-end command block that is not a sub
part of another begin-end block, and sub command block for a begin-end block that
is included within another block. In the above written example “simulation” is a
main command block and “newmark” is a sub command block.
Continue_in_file option
A feature from version 6.0 and newer is the possibility of continuing reading of the
main input file into another. The command word continue_in_file followed by a
file name causes the program to open the new file and continue reading of input
until the command word exit. When exit is read the reading will continue in the
previous file. An infinite number of file levels can be used.
Command name
continue_in_file
exit
6
Explanation
1. File name (and path) to sublevel input file
End of input file. Input reading is continued in higher
level input file.
Risø-R-1597(ver. 3-1)(EN)