OpenFAST
Wind turbine multiphysics simulator
Public Member Functions | Public Attributes | Static Public Attributes | Private Member Functions | Private Attributes | List of all members
aerodyn_inflow_library.AeroDynInflowLib Class Reference
Inheritance diagram for aerodyn_inflow_library.AeroDynInflowLib:
Inheritance graph
[legend]
Collaboration diagram for aerodyn_inflow_library.AeroDynInflowLib:
Collaboration graph
[legend]

Public Member Functions

def __init__ (self, library_path)
 
def aerodyn_inflow_init (self, AD_input_string_array, IfW_input_string_array)
 
def aerodyn_inflow_calcOutput (self, time, hubPos, hubOrient, hubVel, hubAcc, nacPos, nacOrient, nacVel, nacAcc, rootPos, rootOrient, rootVel, rootAcc, meshPos, meshOrient, meshVel, meshAcc, meshFrcMom, outputChannelValues)
 aerodyn_inflow_reinit ---------------------------------------------------------------------------------------------------------— def aerodyn_inflow_reinit(self): #FIXME: need to pass something in here I think. More...
 
def aerodyn_inflow_updateStates (self, time, timeNext, hubPos, hubOrient, hubVel, hubAcc, nacPos, nacOrient, nacVel, nacAcc, rootPos, rootOrient, rootVel, rootAcc, meshPos, meshOrient, meshVel, meshAcc)
 
def aerodyn_inflow_end (self)
 
def check_error (self)
 
def flatPosArr (self, initNumMeshPts, numPts, MeshPosArr, time, name)
 
def flatOrientArr (self, initNumMeshPts, numPts, MeshOrientArr, time, name)
 
def flatVelAccArr (self, initNumMeshPts, numPts, MeshArr, time, name)
 
def check_init_hubroot (self)
 
def check_init_mesh (self)
 
def check_input_motions_hubNac (self, nodePos, nodeOrient, nodeVel, nodeAcc, _name)
 
def check_input_motions_root (self, rootPos, rootOrient, rootVel, rootAcc)
 
def check_input_motions_mesh (self, meshPos, meshOrient, meshVel, meshAcc)
 
def output_channel_names (self)
 
def output_channel_units (self)
 

Public Attributes

 library_path
 
 ended
 
 ADinputPass
 
 IfWinputPass
 
 abort_error_level
 
 error_status_c
 
 error_message_c
 
 gravity
 
 defFldDens
 
 defKinVisc
 
 defSpdSound
 
 defPatm
 
 defPvap
 
 WtrDpth
 
 MSL2SWL
 
 storeHHVel
 
 transposeDCM
 
 WrVTK
 
 WrVTK_Type
 
 VTKNacDim
 
 VTKHubRad
 
 InterpOrder
 
 dt
 
 t_start
 
 tmax
 
 total_time
 
 numTimeSteps
 
 numChannels
 
 AeroProjMod
 
 initHubPos
 
 initHubOrient
 
 initNacellePos
 
 initNacelleOrient
 
 numBlades
 
 initRootPos
 
 initRootOrient
 
 numMeshPts
 
 initMeshPos
 
 initMeshOrient
 
 outRootName
 

Static Public Attributes

dictionary error_levels
 
int error_msg_c_len = 1025
 
int default_str_c_len = 1025
 

Private Member Functions

def _initialize_routines (self)
 

Private Attributes

 _channel_names_c
 
 _channel_units_c
 
 _numChannels_c
 
 _initNumMeshPts
 
 _initNumBlades
 

Member Function Documentation

◆ aerodyn_inflow_calcOutput()

def aerodyn_inflow_library.AeroDynInflowLib.aerodyn_inflow_calcOutput (   self,
  time,
  hubPos,
  hubOrient,
  hubVel,
  hubAcc,
  nacPos,
  nacOrient,
  nacVel,
  nacAcc,
  rootPos,
  rootOrient,
  rootVel,
  rootAcc,
  meshPos,
  meshOrient,
  meshVel,
  meshAcc,
  meshFrcMom,
  outputChannelValues 
)

aerodyn_inflow_reinit ---------------------------------------------------------------------------------------------------------— def aerodyn_inflow_reinit(self): #FIXME: need to pass something in here I think.

Not sure what.

call AeroDyn_Inflow_C_ReInit

self.AeroDyn_Inflow_C_ReInit( byref(c_double(self.t_start)), # IN: time initial byref(c_double(self.dt)), # IN: time step (dt) byref(c_double(self.tmax)), # IN: tmax byref(self.error_status_c), # OUT: ErrStat_C self.error_message_c # OUT: ErrMsg_C )

self.check_error() #FIXME: anything coming out that needs handling/passing?

Here is the call graph for this function:

Member Data Documentation

◆ error_levels

dictionary aerodyn_inflow_library.AeroDynInflowLib.error_levels
static
Initial value:
= {
0: "None",
1: "Info",
2: "Warning",
3: "Severe Error",
4: "Fatal Error"
}

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