Hydrodynamic database
- class mafredo.Hyddb1[source]
This class contains all information for first order floating bodies. That is:
Added mass
Damping
Wave-forces
Typically all of the above are obtained from BEM package such as capytaine, wamit, diffrac, orcawave, etc.
Getting data in
The following methods exist for loading data from supported formats:
Load from mafredo’s own format (netcdf)
Load from capytaine
Load from MARIN .hyd file
Load from Orcaflex .yml file
From data
Modifications
- add_add_direction()
Plotting
Getting data out
It is possible to obtain the data directly from the _mass , _damping and _force xarrays. But my be easier to use one of the following instead:
Saving to file
To .hyd format, hydrostatics to be supplied optionally
To .dhyd format