From fe1f916e666197bd10a986598e3586b305f2e7ad Mon Sep 17 00:00:00 2001 From: Marc Henry de Frahan Date: Thu, 8 Aug 2024 16:48:09 -0600 Subject: [PATCH] Needs a hub pos --- src/aero/actuator/ActuatorParsingFAST.C | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/aero/actuator/ActuatorParsingFAST.C b/src/aero/actuator/ActuatorParsingFAST.C index e83016cd5..a41ac37c9 100644 --- a/src/aero/actuator/ActuatorParsingFAST.C +++ b/src/aero/actuator/ActuatorParsingFAST.C @@ -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>(); + } else { + fi.globTurbineData[iTurb].TurbineHubPos = std::vector(3, 0.0); } get_required( turbNode, "num_force_pts_blade",