|
Aerodynamic Objects Core 2.0.0
|
Contains the properties and state of a fluid. More...
Public Member Functions | |
| void | CopyProperties (FluidProperties properties) |
| Copies the properties from the property class. More... | |
Public Attributes | |
| Vector3 | globalVelocity = Vector3.zero |
| The velocity of the fluid in the global (earth) frame of reference. More... | |
| Vector3 | localVelocity = Vector3.zero |
| The velocity of the fluid in the object's frame of reference. More... | |
| float | pressure = 101325f |
| The pressure of the fluid around the object. More... | |
| float | density = 1.23f |
| The density of the fluid. More... | |
| float | dynamicViscosity = 1.8e-5f |
| Dynamic viscosity of the fluid. More... | |
Contains the properties and state of a fluid.
| void AerodynamicObjects.Fluid.CopyProperties | ( | FluidProperties | properties | ) |
Copies the properties from the property class.
We haven't included the class in this script for brevity.
| float AerodynamicObjects.Fluid.density = 1.23f |
The density of the fluid.
Assuming incompressible flow. Typical values include 1.23 for air and 1000 for water. (kg/m^3)
| float AerodynamicObjects.Fluid.dynamicViscosity = 1.8e-5f |
Dynamic viscosity of the fluid.
Default value is 1.8e-5 for air. (Nm/s)
| Vector3 AerodynamicObjects.Fluid.globalVelocity = Vector3.zero |
The velocity of the fluid in the global (earth) frame of reference.
This is independent of the object's velocity. (m/s) (Read Only)
| Vector3 AerodynamicObjects.Fluid.localVelocity = Vector3.zero |
The velocity of the fluid in the object's frame of reference.
This is independent of the object's velocity. (m/s) (Read Only)
| float AerodynamicObjects.Fluid.pressure = 101325f |
The pressure of the fluid around the object.
Default value is 101,325 Pa. The same as 1 atmosphere of pressure. (Pa)