Skip to content

Commit

Permalink
Needs a hub pos
Browse files Browse the repository at this point in the history
  • Loading branch information
marchdf committed Aug 8, 2024
1 parent be341d9 commit fe1f916
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions src/aero/actuator/ActuatorParsingFAST.C
Original file line number Diff line number Diff line change
Expand Up @@ -83,11 +83,11 @@ readTurbineData(int iTurb, ActuatorMetaFAST& actMetaFAST, YAML::Node turbNode)

get_required(
turbNode, "turbine_base_pos", fi.globTurbineData[iTurb].TurbineBasePos);
if (turbNode["turbine_hub_pos"]) {
NaluEnv::self().naluOutputP0()
<< "WARNING::turbine_hub_pos is not used. "
<< "The hub location is computed in OpenFAST and is controlled by the "
"ElastoDyn input file.";
if (turbNode["turbine_hub_pos"].IsSequence()) {
fi.globTurbineData[iTurb].TurbineHubPos =
turbNode["turbine_hub_pos"].as<std::vector<double>>();
} else {
fi.globTurbineData[iTurb].TurbineHubPos = std::vector<double>(3, 0.0);
}
get_required(
turbNode, "num_force_pts_blade",
Expand Down

0 comments on commit fe1f916

Please sign in to comment.