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

AMR-Wind API: /home/runner/work/amr-wind/amr-wind/amr-wind/wind_energy/actuator/FLLC.H Source File
AMR-Wind API v0.1.0
CFD solver for wind plant simulations
Loading...
Searching...
No Matches
FLLC.H
Go to the documentation of this file.
1#ifndef FLLC
2#define FLLC
3
6
7namespace amr_wind::actuator {
8
10
11static std::map<std::string, FLLCType> FLLCTypeMap{
12 {"constant_chord", FLLCType::ConstantChord},
13 {"variable_chord", FLLCType::VariableChord}};
14
16{
17 // constants
19 amrex::Real epsilon;
20 amrex::Real relaxation_factor{0.1};
21 amrex::Real fllc_start_time{0.0};
25
26 // computed values
33 bool initialized{false};
37
38 // non-uniform variables
39 bool nonuniform{true}; // non-uniform flag
40 amrex::Real eps_dr{1.}; // the ratio of epsilon to actuator width
41 RealList nonuniform_r; // non-uniform radius
42 RealList nonuniform_dr; // non-uniform spacing
43 VecList vel_rel; // uniform relative velocity
44 VecList nonuniform_vel_rel; // non-uniform relative velocity
45 RealList nonuniform_optimal_epsilon; // non-uniform radius
46 VecList nonuniform_lift; // non-uniform lift
47};
48
56void fllc_parse(const utils::ActParser& pp, FLLCData& data);
57
66void fllc_init(
67 FLLCData& data, const ComponentView& view, const amrex::Real eps_chord);
68
69} // namespace amr_wind::actuator
70
71#endif /* FLLC */
Definition MultiParser.H:18
Definition ActParser.H:6
void fllc_init(FLLCData &data, const ComponentView &view, const amrex::Real eps_chord)
Initialize FLLC data structure. This should be called at the end of the first ComputeForceOp to ensur...
Definition FLLC.cpp:6
void fllc_parse(const utils::ActParser &pp, FLLCData &data)
Function to capture common parsing requirements for the filtered lifting line correction.
Definition FLLC.cpp:108
amrex::Vector< amrex::Real > RealList
Definition actuator_types.H:60
amrex::Vector< amr_wind::vs::Vector > VecList
Definition actuator_types.H:62
static std::map< std::string, FLLCType > FLLCTypeMap
Definition FLLC.H:11
FLLCType
Definition FLLC.H:9
Definition actuator_types.H:126
Definition FLLC.H:16
RealList span_distance_force
Definition FLLC.H:36
amrex::Real epsilon
Definition FLLC.H:19
RealList nonuniform_r
Definition FLLC.H:41
VecList vel_rel
Definition FLLC.H:43
amrex::Real fllc_start_time
Definition FLLC.H:21
bool initialized
Definition FLLC.H:33
amrex::Real relaxation_factor
Definition FLLC.H:20
amrex::Real eps_dr
Definition FLLC.H:40
RealList dr
Definition FLLC.H:23
RealList nonuniform_optimal_epsilon
Definition FLLC.H:45
RealList optimal_epsilon
Definition FLLC.H:24
VecList optimal_velocity
Definition FLLC.H:29
bool different_sizes
Definition FLLC.H:34
RealList nonuniform_dr
Definition FLLC.H:42
VecList correction_velocity
Definition FLLC.H:30
bool nonuniform
Definition FLLC.H:39
VecList nonuniform_vel_rel
Definition FLLC.H:44
VecList force_point_velocity
Definition FLLC.H:27
FLLCType correction_type
Definition FLLC.H:18
VecList les_velocity
Definition FLLC.H:28
VecList nonuniform_lift
Definition FLLC.H:46
VecList grad_lift
Definition FLLC.H:32
RealList span_distance_vel
Definition FLLC.H:35
RealList r
Definition FLLC.H:22
VecList lift
Definition FLLC.H:31