FastTurbine Struct Reference

AMR-Wind API: exw_fast::FastTurbine Struct Reference
AMR-Wind API v0.1.0
CFD solver for wind plant simulations
Loading...
Searching...
No Matches
exw_fast::FastTurbine Struct Reference

#include <fast_types.H>

Collaboration diagram for exw_fast::FastTurbine:
[legend]

Public Attributes

std::string tlabel
 Unique string identifier for this turbine.
 
int tid_local
 Local ID for this turbine (provided by FAST interface)
 
int tid_global
 Global ID for this turbine (set by Turbine instance)
 
int num_pts_blade
 Number of actuator points per blade.
 
int num_pts_tower
 Number of actuator points for tower.
 
amrex::Array< float, ndimbase_pos
 Position of tower base in global coordinate system.
 
amrex::Array< float, 3 > hub_abs_pos
 Hub stats for Spinner Lidar.
 
amrex::Array< float, 3 > hub_rot_vel
 
amrex::Array< double, 9 > hub_orient
 
SimMode sim_mode {SimMode::init}
 
std::string input_file
 OpenFAST input file.
 
std::string checkpoint_file
 Checkpoint file name.
 
int num_blades
 Number of blades.
 
int num_blade_elem
 Total number of elements along the blade.
 
int chord_cluster_type {0}
 Node cluster type for the chord.
 
double start_time {0.0}
 Start time for this turbine.
 
double stop_time
 End time for this turbine.
 
double dt_cfd
 Timestep for CFD.
 
double dt_fast
 Timestep for FAST using per-turbine to check input files.
 
int num_substeps
 Number of sub-steps of fast per CFD timestep.
 
int time_index {0}
 Time step index for FAST.
 
bool is_solution0 {true}
 Does FAST need solution0.
 
int chkpt_interval
 Checkpoint interval for FAST.
 
exw_fast::OpFM_InputType to_cfd
 
exw_fast::OpFM_OutputType from_cfd
 
exw_fast::SC_DX_InputType to_sc
 
exw_fast::SC_DX_OutputType from_sc
 

Static Public Attributes

static constexpr int ndim = 3
 

Detailed Description

Representation of a turbine for exchanging data with FAST

Member Data Documentation

◆ base_pos

amrex::Array<float, ndim> exw_fast::FastTurbine::base_pos

Position of tower base in global coordinate system.

◆ checkpoint_file

std::string exw_fast::FastTurbine::checkpoint_file

Checkpoint file name.

◆ chkpt_interval

int exw_fast::FastTurbine::chkpt_interval

Checkpoint interval for FAST.

◆ chord_cluster_type

int exw_fast::FastTurbine::chord_cluster_type {0}

Node cluster type for the chord.

◆ dt_cfd

double exw_fast::FastTurbine::dt_cfd

Timestep for CFD.

◆ dt_fast

double exw_fast::FastTurbine::dt_fast

Timestep for FAST using per-turbine to check input files.

◆ from_cfd

exw_fast::OpFM_OutputType exw_fast::FastTurbine::from_cfd

◆ from_sc

exw_fast::SC_DX_OutputType exw_fast::FastTurbine::from_sc

◆ hub_abs_pos

amrex::Array<float, 3> exw_fast::FastTurbine::hub_abs_pos

Hub stats for Spinner Lidar.

◆ hub_orient

amrex::Array<double, 9> exw_fast::FastTurbine::hub_orient

◆ hub_rot_vel

amrex::Array<float, 3> exw_fast::FastTurbine::hub_rot_vel

◆ input_file

std::string exw_fast::FastTurbine::input_file

OpenFAST input file.

◆ is_solution0

bool exw_fast::FastTurbine::is_solution0 {true}

Does FAST need solution0.

◆ ndim

int exw_fast::FastTurbine::ndim = 3
staticconstexpr

◆ num_blade_elem

int exw_fast::FastTurbine::num_blade_elem

Total number of elements along the blade.

◆ num_blades

int exw_fast::FastTurbine::num_blades

Number of blades.

◆ num_pts_blade

int exw_fast::FastTurbine::num_pts_blade

Number of actuator points per blade.

◆ num_pts_tower

int exw_fast::FastTurbine::num_pts_tower

Number of actuator points for tower.

◆ num_substeps

int exw_fast::FastTurbine::num_substeps

Number of sub-steps of fast per CFD timestep.

◆ sim_mode

SimMode exw_fast::FastTurbine::sim_mode {SimMode::init}

◆ start_time

double exw_fast::FastTurbine::start_time {0.0}

Start time for this turbine.

◆ stop_time

double exw_fast::FastTurbine::stop_time

End time for this turbine.

◆ tid_global

int exw_fast::FastTurbine::tid_global

Global ID for this turbine (set by Turbine instance)

◆ tid_local

int exw_fast::FastTurbine::tid_local

Local ID for this turbine (provided by FAST interface)

◆ time_index

int exw_fast::FastTurbine::time_index {0}

Time step index for FAST.

◆ tlabel

std::string exw_fast::FastTurbine::tlabel

Unique string identifier for this turbine.

◆ to_cfd

exw_fast::OpFM_InputType exw_fast::FastTurbine::to_cfd

◆ to_sc

exw_fast::SC_DX_InputType exw_fast::FastTurbine::to_sc

The documentation for this struct was generated from the following file:
  • /home/runner/work/amr-wind/amr-wind/amr-wind/wind_energy/actuator/turbine/fast/fast_types.H