HAWC2Visualization is a graphical HAWC2 simulation visualizer, programmed in Python by Mads M. Pedersen (DTU Wind Energy, mmpe@dtu.dk).
The program have two main features
The program uses the chord, thickness and a standard profile to draw the blades. All other structures are drawn as cylinders where the diameter is estimated from the information of inertia.
For bodies with fictitious inertia values, e.g. the shaft, the diameter can be specified by adding a visualization_profile section to the body section after the "c2def" section.
begin visualization_profile;
type cylinder;
nsec 2; nr of visualization sections
sec 0 6; z, diameter
sec 1 4; z, diameter
end visualization_profile;
Cube example:
begin visualization_profile;
type cube;
nsec 2; nr of visualization sections
sec 0 6 4; z, width, height
sec 1 6 4; z, width, height
end visualization_profile;
Note that the z value is scaled according to the z maximum value, i.e. 0 is the start position of the body and max(z) is the end position