Skip to content

Commit

Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update real defaults
Browse files Browse the repository at this point in the history
psakievich committed Nov 28, 2023
1 parent 7dee849 commit 53278fa
Showing 2 changed files with 6 additions and 3 deletions.
Original file line number Diff line number Diff line change
@@ -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
6 changes: 3 additions & 3 deletions src/aero/fsi/FSIturbine.C
Original file line number Diff line number Diff line change
@@ -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_);

0 comments on commit 53278fa

Please sign in to comment.