/home/runner/work/amr-wind/amr-wind/amr-wind/wind_energy/actuator/wing/ActuatorWing.H Source File

AMR-Wind API: /home/runner/work/amr-wind/amr-wind/amr-wind/wind_energy/actuator/wing/ActuatorWing.H Source File
AMR-Wind API v0.1.0
CFD solver for wind plant simulations
Loading...
Searching...
No Matches
ActuatorWing.H
Go to the documentation of this file.
1#ifndef ACTUATORWING_H
2#define ACTUATORWING_H
3
6
7#include <string>
8
9namespace amr_wind::actuator {
10
11struct FLLCData;
12
18{
21
24
27
29 vs::Vector blade_x{1.0, 0, 0};
30
33
36
38 amrex::Real pitch{0.0};
39
41 bool gauss_2D{false};
42
45
47 amrex::Vector<int> force_coord_flags{1, 1, 1};
48
50 amrex::Real prescribed_uinf{-1.0};
51
54
56 amrex::Vector<amrex::Real> time_table;
57
59 amrex::Vector<amrex::Real> pitch_table;
60
63
65 vs::Vector vel_tr{0.0, 0.0, 0.0};
66
68 std::string motion_type{"none"};
69
71 vs::Vector s_vector{0.0, 0.0, 0.0};
72 amrex::Real s_period{0.0};
73
75 std::unique_ptr<FLLCData> fllc;
76
79
82
85
88
91
94
96 amrex::Real lift{0.0};
97
99 amrex::Real drag{0.0};
100};
101
102struct WingType : public ActuatorType
103{};
104
105} // namespace amr_wind::actuator
106
107#endif /* ACTUATORWING_H */
Definition ActParser.H:6
amrex::Vector< amrex::Real > RealList
Definition actuator_types.H:60
amrex::Vector< amr_wind::vs::Vector > VecList
Definition actuator_types.H:62
Definition actuator_types.H:24
Definition actuator_types.H:126
Definition ActuatorWing.H:18
std::unique_ptr< FLLCData > fllc
Filtered Lifting Line Correction data.
Definition ActuatorWing.H:75
vs::Vector vel_tr
Translational velocity.
Definition ActuatorWing.H:65
RealList chord
Chord length at the actuator nodes.
Definition ActuatorWing.H:93
vs::Vector blade_x
The normal vector perpendicular to the span.
Definition ActuatorWing.H:29
amrex::Real drag
Total integrated drag over the wing.
Definition ActuatorWing.H:99
RealList dx
Width of actuator sections.
Definition ActuatorWing.H:81
RealList cl
Computed lift coefficient at actuator nodes.
Definition ActuatorWing.H:87
vs::Vector s_vector
Parameters for sine motions.
Definition ActuatorWing.H:71
vs::Vector start
Starting coordinate of the wing.
Definition ActuatorWing.H:23
std::string motion_type
Wing motion type.
Definition ActuatorWing.H:68
ComponentView component_view
Data structure required for passing data to the FLLC.
Definition ActuatorWing.H:78
amrex::Real lift
Total integrated lift over the wing.
Definition ActuatorWing.H:96
amrex::Real prescribed_uinf
User-specified velocity magnitude, only active when nonnegative.
Definition ActuatorWing.H:50
vs::Vector epsilon_chord
epsilon / chord
Definition ActuatorWing.H:35
vs::Vector end
Ending coordinate of the wing.
Definition ActuatorWing.H:26
VecList vel_rel
Relative velocity at the actuator node.
Definition ActuatorWing.H:62
RealList aoa
Angle of attack at actuator nodes.
Definition ActuatorWing.H:84
amrex::Vector< amrex::Real > time_table
Pitch actuation: time table.
Definition ActuatorWing.H:56
amrex::Vector< amrex::Real > pitch_table
Pitch actuation: pitch angle table.
Definition ActuatorWing.H:59
amrex::Real s_period
Definition ActuatorWing.H:72
RealList cd
Computed drag coefficient at actuator nodes.
Definition ActuatorWing.H:90
int num_pts
Number of points along the wing.
Definition ActuatorWing.H:20
vs::Vector eps_inp
Gaussian smearing factor input by user.
Definition ActuatorWing.H:32
bool gauss_2D
Switch for turning on 2D Gaussian (off in spanwise)
Definition ActuatorWing.H:41
std::string pitch_timetable_file
File name for pitch actuation table.
Definition ActuatorWing.H:53
amrex::Real pitch
Pitch angle for the wing.
Definition ActuatorWing.H:38
amrex::Vector< int > force_coord_flags
Switch for turning off force components of actuator.
Definition ActuatorWing.H:47
bool normalize_2D_spanwise
Switch for spanwise normalization in 2D setting.
Definition ActuatorWing.H:44
Definition ActuatorWing.H:103
Definition vector.H:13