FhSim  3.1.0
Marine systems simulation
Loading...
Searching...
No Matches
marenv::wind::RotorWake Class Reference

#include <RotorWake.h>

+ Inheritance diagram for marenv::wind::RotorWake:
+ Collaboration diagram for marenv::wind::RotorWake:

Classes

struct  Parameters
 The rotor and its wake model. More...
 

Public Member Functions

 RotorWake (const Parameters &parameters)
 
void SetInflow (const double wind[3])
 
const Parameters & GetParameters () const
 The parameters.
 
Status Sample (double t, const double pos[3], wake::WakeSample &out) const override
 WakeField: the deficit d and the source velocity u_s = 0 at pos; d = 0 upstream, beyond the wake or without inflow.
 
bool MayReach (const wake::WakeQueryRegion &region) const override
 WakeField: false only for a sphere wholly upstream of the rotor or beyond the wake's end.
 
double AddedTurbulence (double t, const double pos[3]) const override
 WindWakeField: the added turbulence intensity at pos.
 
- Public Member Functions inherited from marenv::wake::WakeField
virtual WakeSampleParts SampleParts (double t, const double pos[3]) const
 
virtual Status SampleExcluding (double t, const double pos[3], std::span< const int > excludedTags, WakeSample &out) const
 
virtual WakeSampleParts SamplePartsExcluding (double t, const double pos[3], std::span< const int > excludedTags) const
 
virtual std::uint64_t Revision () const
 
virtual bool StaticFrom (double t) const
 
virtual void SampleMany (double t, std::span< const std::array< double, 3 > > positions, std::span< WakeSample > out, std::span< Status > status) const
 
virtual void Sketch (double t, FieldSketch &out) const
 
virtual void SamplePartsMany (double t, std::span< const std::array< double, 3 > > positions, std::span< WakeSampleParts > out) const
 

Detailed Description

The wake of a wind turbine's rotor, an actuator (porous) disc: a Gaussian velocity deficit behind it that widens linearly downstream (Bastankhah and Porté-Agel 2014), and the turbulence it adds (Crespo and Hernández 1996).

For a rotor of diameter D and thrust coefficient C_T, at a distance x downstream along the inflow and r from the wake's axis:

  • sigma = k* x + epsilon D, with epsilon = 0.2 sqrt(beta), beta = (1 + sqrt(1 - C_T)) / (2 sqrt(1 - C_T));
  • d = C(x) exp(-r^2 / (2 sigma^2)), C(x) = 1 - sqrt(1 - C_T / (8 (sigma / D)^2)), at most the disc's 1 - sqrt(1 - C_T);
  • the added turbulence intensity 0.73 a^0.8325 I_0^0.0325 (max(x, D) / D)^-0.32 with the same Gaussian spread, a the axial induction 1/2 (1 - sqrt(1 - C_T)) and I_0 the ambient turbulence intensity. Nothing upstream of the rotor, nor beyond maxLength diameters downstream. The rotor stands still (u_s = 0), so the waked wind is u_amb (1 - d).

The axis follows the inflow its owner publishes (SetInflow(): the ambient wind at the hub, for example EnvironmentFacade::GetAmbientWindVelocity there), horizontally, as a rotor yaws into the wind; no wake before the first SetInflow(), nor below the cut-in or above the cut-out speed. One writer may call SetInflow() while readers sample (WakeField's threading contract).

Constructor & Destructor Documentation

◆ RotorWake()

marenv::wind::RotorWake::RotorWake ( const Parameters &  parameters)
explicit
Parameters
[in]parametersThe rotor and its wake model.
Exceptions
std::invalid_argumentwhen a parameter is outside its range.

Member Function Documentation

◆ AddedTurbulence()

double marenv::wind::RotorWake::AddedTurbulence ( double  t,
const double  pos[3] 
) const
overridevirtual

◆ MayReach()

bool marenv::wind::RotorWake::MayReach ( const wake::WakeQueryRegion &  region) const
overridevirtual

Reimplemented from marenv::wake::WakeField.

◆ Sample()

Status marenv::wind::RotorWake::Sample ( double  t,
const double  pos[3],
wake::WakeSample &  out 
) const
overridevirtual

◆ SetInflow()

void marenv::wind::RotorWake::SetInflow ( const double  wind[3])

Sets the inflow: the ambient wind at the hub (m/s, NED); the wake's axis is its horizontal direction.

Parameters
[in]windThe ambient wind velocity at the hub, m/s, NED.

The documentation for this class was generated from the following file: