Loading...
Searching...
No Matches
WindLabAPI::IrpsWLTurbulenceIntensity Class Referenceabstract

An abstract class representing a turbulence intensity. More...

#include <IrpsWLTurbulenceIntensity.h>

Public Member Functions

virtual bool ComputeTurbulenceIntensityValue (const WindLabSimulationData &Data, const Base::Vector3d &location, const double &dTime, double &dValue)=0
 Compute the turbulence intensity value for given time and location.
 
virtual bool ComputeTurbulenceIntensityVectorP (const WindLabSimulationData &Data, const double &dTime, vec &dVarVector, vec &dValVector)=0
 Compute the turbulence intensity at a given time instant and for all locations (simulation points).
 
virtual bool ComputeTurbulenceIntensityVectorT (const WindLabSimulationData &Data, const Base::Vector3d &location, vec &dVarVector, vec &dValVector)=0
 Compute the turbulence intensity at a given location (simulation point) and for all time increments.
 
virtual bool OnInitialSetting (const WindLabSimulationData &Data)=0
 Allows to do any initial taks before any of the other methods is called.
 
virtual ~IrpsWLTurbulenceIntensity ()
 Virtual destructor for IrpsWLTurbulenceIntensity class.
 
- Public Member Functions inherited from WindLabAPI::WindLabFeatureTurbulenceIntensity
virtual const char * getViewProviderName () const
 
 WindLabFeatureTurbulenceIntensity (void)
 Constructor.
 
virtual ~WindLabFeatureTurbulenceIntensity ()
 
virtual short mustExecute () const override
 
- Public Member Functions inherited from WindLabAPI::WindLabFeature
 WindLabFeature (void)
 Constructor.
 
virtual ~WindLabFeature ()
 destructor
 

Additional Inherited Members

- Protected Member Functions inherited from WindLabAPI::WindLabFeatureTurbulenceIntensity
virtual App::DocumentObjectExecReturn * recompute () override
 recompute only this object
 
virtual App::DocumentObjectExecReturn * execute () override
 recalculate the feature
 
virtual void onChanged (const App::Property *prop) override
 
- Protected Member Functions inherited from WindLabAPI::WindLabFeature
virtual PyObject * getPyObject () override
 
- Protected Attributes inherited from WindLabAPI::WindLabFeature
Py::SmartPtr PythonObject
 

Detailed Description

An abstract class representing a turbulence intensity.

This is a pure virtual class (interface) that defines the interface for all turbulence intensities. Turbulence intensity is a measure of the fluctuations in wind speed relative to the mean wind speed and is an essential factor in representing the complex, highly variable nature of wind, particularly at local scales. Turbulence, which consists of chaotic and irregular fluctuations in wind velocity, has significant implications for the design of structures, the operation of wind turbines, and the prediction of environmental conditions.
Derived classes must implement all its methods.

Constructor & Destructor Documentation

◆ ~IrpsWLTurbulenceIntensity()

virtual WindLabAPI::IrpsWLTurbulenceIntensity::~IrpsWLTurbulenceIntensity ( )
virtual

Virtual destructor for IrpsWLTurbulenceIntensity class.

Provides proper cleanup in case a derived class object is destroyed.

Member Function Documentation

◆ ComputeTurbulenceIntensityValue()

virtual bool WindLabAPI::IrpsWLTurbulenceIntensity::ComputeTurbulenceIntensityValue ( const WindLabSimulationData & Data,
const Base::Vector3d & location,
const double & dTime,
double & dValue )
pure virtual

Compute the turbulence intensity value for given time and location.

Parameters
Datathe simulation data containing all the simulation parameters input by the user.
locationa location (simulation point represented by 3D position vector) where wind velocity time series is desired.
dTimethe time instant at which the turbulence intensity value will be computed.
dValuea value to be updated. This is the computed turbulence intensity value.
Returns
return true if the computation is successful and false in case of failure.

Referenced by WindLabAPI::CRPSWindLabFramework::ComputeTurbulenceIntensityValue().

◆ ComputeTurbulenceIntensityVectorP()

virtual bool WindLabAPI::IrpsWLTurbulenceIntensity::ComputeTurbulenceIntensityVectorP ( const WindLabSimulationData & Data,
const double & dTime,
vec & dVarVector,
vec & dValVector )
pure virtual

Compute the turbulence intensity at a given time instant and for all locations (simulation points).

Parameters
Datathe simulation data containing all the simulation parameters input by the user.
dTimethe time instant at which the turbulence intensity value will be computed.
dVarVectora vector to be updated. It should contains all the location numbers used to compute each value stored in dValVector.
dValVectora vector to be updated. It should contain all the values computed for each location stored in dVarVector.
Returns
return true if the computation is successful and false in case of failure.

Referenced by WindLabAPI::CRPSWindLabFramework::ComputeTurbulenceIntensityVectorP().

◆ ComputeTurbulenceIntensityVectorT()

virtual bool WindLabAPI::IrpsWLTurbulenceIntensity::ComputeTurbulenceIntensityVectorT ( const WindLabSimulationData & Data,
const Base::Vector3d & location,
vec & dVarVector,
vec & dValVector )
pure virtual

Compute the turbulence intensity at a given location (simulation point) and for all time increments.

Parameters
Datathe simulation data containing all the simulation parameters input by the user.
locationa location (simulation point represented by 3D position vector) where wind velocity time series is desired.
dVarVectora vector to be updated. It should contains all the time increments used to compute each value stored in dValVector.
dValVectora vector to be updated. It should contain all the values computed for each time increment stored in dVarVector.
Returns
return true if the computation is successful and false in case of failure.

Referenced by WindLabAPI::CRPSWindLabFramework::ComputeTurbulenceIntensityVectorT().

◆ OnInitialSetting()

virtual bool WindLabAPI::IrpsWLTurbulenceIntensity::OnInitialSetting ( const WindLabSimulationData & Data)
pure virtual

Allows to do any initial taks before any of the other methods is called.

Parameters
Datathe simulation data containing all the simulation parameters input by the user.
Returns
return true if the computation is successful and false in case of failure.

The documentation for this class was generated from the following file:
  • RPS/LabRPS/LabRPS_KOFFI/src/Mod/WindLabAPI/App/IrpsWLTurbulenceIntensity.h