OpenFAST
Wind turbine multiphysics simulator
Public Attributes | List of all members
hydrodyn_types::hydrodyn_parametertype Type Reference

Public Attributes

integer(intki) nwamitobj
 number of WAMIT input files and matrices. More...
 
integer(intki) vecmultiplier
 multiplier for the WAMIT vectors and matrices. More...
 
type(wamit_parametertype), dimension(:), allocatable wamit
 Parameter data for the WAMIT module [-].
 
type(wamit2_parametertype), dimension(:), allocatable wamit2
 Parameter data for the WAMIT2 module [-].
 
logical wamit2used = .FALSE.
 Indicates when WAMIT2 is used. More...
 
type(waves2_parametertype) waves2
 Parameter data for the Waves2 module [-].
 
type(morison_parametertype) morison
 Parameter data for the Morison module [-].
 
integer(intki) potmod
 1 if using WAMIT model, 0 if no potential flow model, or 2 if FIT model [-]
 
integer(intki) nbody
 [>=1; only used when PotMod=1. More...
 
integer(intki) nbodymod
 Body coupling model {1: include coupling terms between each body and NBody in HydroDyn equals NBODY in WAMIT, 2: neglect coupling terms between each body and NBODY=1 with XBODY=0 in WAMIT, 3: Neglect coupling terms between each body and NBODY=1 with XBODY=/0 in WAMIT} (switch) [only used when PotMod=1] [-].
 
integer(intki) totalstates
 Number of excitation and radiation states for all WAMIT bodies [-].
 
integer(intki) totalexctnstates
 Number of excitation states for all WAMIT bodies [-].
 
integer(intki) totalrdtnstates
 Number of radiation states for all WAMIT bodies [-].
 
real(siki), dimension(:), allocatable wavetime
 Array of time samples, (sec) [-].
 
integer(intki) nstepwave
 Number of data points in the wave kinematics arrays [-].
 
integer(intki) nwaveelev
 Number of wave elevation outputs [-].
 
real(siki), dimension(:,:), allocatable waveelev
 Total wave elevation [-].
 
real(siki), dimension(:,:), allocatable waveelev1
 First order wave elevation [-].
 
real(siki), dimension(:,:), allocatable waveelev2
 Second order wave elevation [-].
 
real(reki) wtrdpth
 Water depth [(m)].
 
real(reki), dimension(:,:), allocatable addf0
 Additional pre-load forces and moments (N,N,N,N-m,N-m,N-m) [-].
 
real(reki), dimension(:,:,:), allocatable addclin
 Additional stiffness matrix [-].
 
real(reki), dimension(:,:,:), allocatable addblin
 Additional linear damping matrix [-].
 
real(reki), dimension(:,:,:), allocatable addbquad
 Additional quadratic damping (drag) matrix [-].
 
real(dbki) dt
 Time step in seconds for integration of continuous states (if a fixed-step integrator is used) and update of discrete states [-].
 
type(outparmtype), dimension(:), allocatable outparam
 [-]
 
integer(intki) numouts
 Number of HydroDyn module-level outputs (not the total number including sub-modules [-].
 
integer(intki) numtotalouts
 Number of all requested outputs including sub-modules [-].
 
integer(intki) outswtch
 Output requested channels to: [1=Hydrodyn.out 2=GlueCode.out 3=both files] [-].
 
character(20) outfmt
 Output format for numerical results [-].
 
character(20) outsfmt
 Output format for header strings [-].
 
character(chanlen) delim
 Delimiter string for outputs, defaults to tab-delimiters [-].
 
integer(intki) unoutfile
 File unit for the HydroDyn outputs [-].
 
integer(intki) outdec
 Write every OutDec time steps [-].
 
integer(intki), dimension(:,:), allocatable jac_u_indx
 matrix to help fill/pack the u vector in computing the jacobian [-]
 
real(r8ki), dimension(:), allocatable du
 vector that determines size of perturbation for u (inputs) [-]
 
real(r8ki), dimension(:), allocatable dx
 vector that determines size of perturbation for x (continuous states) [-]
 
integer(intki) jac_ny
 number of outputs in jacobian matrix [-]
 

Member Data Documentation

◆ nbody

integer(intki) hydrodyn_types::hydrodyn_parametertype::nbody

[>=1; only used when PotMod=1.

If NBodyMod=1, the WAMIT data contains a vector of size 6*NBody x 1 and matrices of size 6*NBody x 6*NBody; if NBodyMod>1, there are NBody sets of WAMIT data each with a vector of size 6 x 1 and matrices of size 6 x 6] [-]

◆ nwamitobj

integer(intki) hydrodyn_types::hydrodyn_parametertype::nwamitobj

number of WAMIT input files and matrices.

If NBodyMod = 1 then nPotFiles will be 1 even if NBody > 1 [-]

◆ vecmultiplier

integer(intki) hydrodyn_types::hydrodyn_parametertype::vecmultiplier

multiplier for the WAMIT vectors and matrices.

If NBodyMod=1 then this = NBody, else 1 [-]

◆ wamit2used

logical hydrodyn_types::hydrodyn_parametertype::wamit2used = .FALSE.

Indicates when WAMIT2 is used.

Shortcuts some calculations [-]


The documentation for this type was generated from the following file: