Aerodynamic Objects Core 2.0.0
Loading...
Searching...
No Matches
AerodynamicObjects.Demos.CupAnemometer Class Reference

Used to manage an anemometer, including setting arrow size and sensitivities for the aero objects on the cups and updating a text display of the measured wind speed. More...

Inheritance diagram for AerodynamicObjects.Demos.CupAnemometer:

Public Attributes

float cupForwardDragCoefficient = 1.4f
 Drag coefficient with the flat face of the cup going into wind. More...
 
float cupReverseDragCoefficient = 0.4f
 Drag coefficient with the rounded back face of the cup going into wind. More...
 
float offAxisDragCoefficient = 0.5f
 The drag coefficient of the cup in a flow direction normal to the axis of symmetry of the cup. More...
 
float armRadius = 0.1f
 Radial distance from the centre of rotation of the anemometer to centre of the cup. More...
 
float rotatingMass = .1f
 The mass of the rotating part of the anemometer in kg. More...
 
float filteredWindSpeed
 Calculated wind speed in m/s based on rotation rate of anemometer. More...
 
float anemometerCoefficient
 This is a calculated value for information. More...
 
float filterCoefficient = 1
 Controls the amount of averaging done to obtain a speed value from the anemometer. More...
 

Detailed Description

Used to manage an anemometer, including setting arrow size and sensitivities for the aero objects on the cups and updating a text display of the measured wind speed.

Member Data Documentation

◆ anemometerCoefficient

float AerodynamicObjects.Demos.CupAnemometer.anemometerCoefficient

This is a calculated value for information.

Physical constant for the anemometer based on the user supplied cup forward and reverse drag coefficients. The theoretical speed of the flow in m/s is the anemometer angular velocity in rad/s multiplied by the anemometer coefficient and the arm radius in m.

◆ armRadius

float AerodynamicObjects.Demos.CupAnemometer.armRadius = 0.1f

Radial distance from the centre of rotation of the anemometer to centre of the cup.

◆ cupForwardDragCoefficient

float AerodynamicObjects.Demos.CupAnemometer.cupForwardDragCoefficient = 1.4f

Drag coefficient with the flat face of the cup going into wind.

◆ cupReverseDragCoefficient

float AerodynamicObjects.Demos.CupAnemometer.cupReverseDragCoefficient = 0.4f

Drag coefficient with the rounded back face of the cup going into wind.

◆ filterCoefficient

float AerodynamicObjects.Demos.CupAnemometer.filterCoefficient = 1

Controls the amount of averaging done to obtain a speed value from the anemometer.

Default value is 1. A higher value makes the speed measurement more responsive to dynamic changes in wind speed.

◆ filteredWindSpeed

float AerodynamicObjects.Demos.CupAnemometer.filteredWindSpeed

Calculated wind speed in m/s based on rotation rate of anemometer.

◆ offAxisDragCoefficient

float AerodynamicObjects.Demos.CupAnemometer.offAxisDragCoefficient = 0.5f

The drag coefficient of the cup in a flow direction normal to the axis of symmetry of the cup.

This makes relatively little difference to the anemometer performance. Default value of 0.5 is a sensible value.

◆ rotatingMass

float AerodynamicObjects.Demos.CupAnemometer.rotatingMass = .1f

The mass of the rotating part of the anemometer in kg.

Inertia is calculated from attached colliders. The inertia affects the time response of the anemometer, but does not affect the calibration between angular velocity and wind speed.


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