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