Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fllc interface and docs improvements #1411

Merged
merged 3 commits into from
Dec 16, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions amr-wind/wind_energy/actuator/FLLC.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -112,6 +112,12 @@ void fllc_parse(const utils::ActParser& pp, FLLCData& data)
pp.query("fllc_start_time", data.fllc_start_time);
std::string typeString = "variable_chord";
pp.query("fllc_type", typeString);
const auto match = FLLCTypeMap.count(typeString);
if (match == 0) {
amrex::Abort(
"fllc_parse: Invalid fllc_type provided. Available options are "
"constant_chord and variable_chord.");
}
data.correction_type = FLLCTypeMap.at(typeString);
pp.query("fllc_nonuniform", data.nonuniform);
pp.query("fllc_epsilon_dr_ratio", data.eps_dr);
Expand Down
14 changes: 8 additions & 6 deletions docs/sphinx/user/inputs_Actuator.rst
Original file line number Diff line number Diff line change
Expand Up @@ -103,12 +103,14 @@ Example for ``FixedWingLine``::

.. input_param:: Actuator.FixedWingLine.fllc_type

**type:** String, optional

This option tells whether to use the original fllc formulation as outlined in
`Martinez-Tossas and Meneveau (2019) <https://doi.org/10.1017/jfm.2018.994>`_
which assumes a constant chord length across blade (`constant_chord`), or
to use a new formulation which accounts for chord variations (`variable_chord`).
**type:** String, optional, default = ``variable_chord``

This option tells whether to use the original fllc formulation outlined in
`Martinez-Tossas and Meneveau (2019) <https://doi.org/10.1017/jfm.2018.994>`_,
which assumes a constant chord length across blade (specified as ``constant_chord``), or
to use a new formulation outlined in `Martinez-Tossas et al. (2023)
<https://www.nrel.gov/docs/fy24osti/85343.pdf>`_, which accounts for chord
variations (specified as ``variable_chord``).

.. input_param:: Actuator.FixedWingLine.fllc_relaxation_factor

Expand Down