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

FSI: Set ramping defaults to false #1231

Merged
merged 2 commits into from
Nov 30, 2023
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: 3 additions & 3 deletions include/aero/fsi/FSIturbine.h
Original file line number Diff line number Diff line change
Expand Up @@ -45,9 +45,9 @@ struct DeflectionRampingParams
double thetaRampSpan_{10.0};
double startTimeTemporalRamp_{0.0};
double endTimeTemporalRamp_{0.0};
bool enableSpanRamping_{true};
bool enableThetaRamping_{true};
bool enableTemporalRamping_{true};
bool enableSpanRamping_{false};
bool enableThetaRamping_{false};
bool enableTemporalRamping_{false};
};

// TODO(psakiev) find a better place for this
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -246,6 +246,9 @@ realms:
# z_ref: 90.0
# shear_exp: 0.0
# deflection_ramping:
# enable_temporal_ramping: true
# enable_span_ramping: true
# enable_theta_ramping: true
# span_ramp_distance: 10.0
# temporal_ramp_start: 5000
# temporal_ramp_end: 1e6
Expand Down
6 changes: 3 additions & 3 deletions src/aero/fsi/FSIturbine.C
Original file line number Diff line number Diff line change
Expand Up @@ -96,9 +96,9 @@ fsiTurbine::fsiTurbine(int iTurb, const YAML::Node& node)
double* thetaRamp = &defParams.thetaRampSpan_;
// clang-format off
// defaults of all are true from struct defintion
get_if_present(defNode, "enable_theta_ramping", defParams.enableThetaRamping_, true);
get_if_present(defNode, "enable_span_ramping", defParams.enableSpanRamping_, true);
get_if_present(defNode, "enable_temporal_ramping", defParams.enableTemporalRamping_, true);
get_if_present(defNode, "enable_theta_ramping", defParams.enableThetaRamping_, false);
get_if_present(defNode, "enable_span_ramping", defParams.enableSpanRamping_, false);
get_if_present(defNode, "enable_temporal_ramping", defParams.enableTemporalRamping_, false);

if(defParams.enableTemporalRamping_){
get_required(defNode, "temporal_ramp_start", defParams.startTimeTemporalRamp_);
Expand Down
Loading