AGXDynamics  2.31.1.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
agxHydraulics::utils Namespace Reference

At set of small utility function intended to help when building hydraulics systems. More...

Functions

AGXHYDRAULICS_EXPORT agx::Real barToPascal (agx::Real bar)
 
AGXHYDRAULICS_EXPORT agx::Real cubicInchesPerRevolutionToCubicMetersPerRadian (agx::Real cubicInchesPerRevolution)
 
AGXHYDRAULICS_EXPORT agx::Real cubicMetersPerRadianToCubicInchesPerRevolution (agx::Real cubicMetersPerRadian)
 
AGXHYDRAULICS_EXPORT agx::Real cubicMetersPerSecondToCubicInches (agx::Real cubicMetersPerSecond)
 
AGXHYDRAULICS_EXPORT agx::Real cubicMetersPerSecondToGallonsPerMinute (agx::Real cubicMetersPerSecond)
 
AGXHYDRAULICS_EXPORT agx::Real cubicMetersPerSecondToLitersPerMinute (agx::Real cubicMetersPerSecond)
 
AGXHYDRAULICS_EXPORT agx::Real diameterToArea (agx::Real diameter)
 
AGXHYDRAULICS_EXPORT agx::Real gallonsPerMinuteToCubicMetersPerSecond (agx::Real gallonsPerMinute)
 
AGXHYDRAULICS_EXPORT agx::Real getTankPressure ()
 
AGXHYDRAULICS_EXPORT agx::Real pascalToBar (agx::Real pascals)
 
AGXHYDRAULICS_EXPORT agx::Real pascalToKPascal (agx::Real pascals)
 
AGXHYDRAULICS_EXPORT agx::Real pascalToPsi (agx::Real pascals)
 
AGXHYDRAULICS_EXPORT agx::Real psiToPascal (agx::Real psi)
 
AGXHYDRAULICS_EXPORT agx::Real radiansPerSecondToRevolutionsPerMinute (agx::Real radiansPerSecond)
 
AGXHYDRAULICS_EXPORT agx::Real radiusToArea (agx::Real radius)
 
AGXHYDRAULICS_EXPORT agx::Real revolutionsPerMinuteToRadiansPerSecond (agx::Real revolutionsPerMinute)
 
AGXHYDRAULICS_EXPORT void setFluidDensity (agxPowerLine::PowerLine *powerLine, agx::Real density)
 Set the fluid density of all FlowUnits in a PowerLine. More...
 
AGXHYDRAULICS_EXPORT void setFluidViscosity (agxPowerLine::PowerLine *powerLine, agx::Real viscosity)
 Set the fluid viscosity of all FlowUnits in a PowerLine. More...
 
AGXHYDRAULICS_EXPORT void setTankPressure (agx::Real tankPressure)
 Set the tank pressure of the global implicit tank. More...
 

Detailed Description

At set of small utility function intended to help when building hydraulics systems.

Function Documentation

AGXHYDRAULICS_EXPORT agx::Real agxHydraulics::utils::barToPascal ( agx::Real  bar)
AGXHYDRAULICS_EXPORT agx::Real agxHydraulics::utils::cubicInchesPerRevolutionToCubicMetersPerRadian ( agx::Real  cubicInchesPerRevolution)
AGXHYDRAULICS_EXPORT agx::Real agxHydraulics::utils::cubicMetersPerRadianToCubicInchesPerRevolution ( agx::Real  cubicMetersPerRadian)
AGXHYDRAULICS_EXPORT agx::Real agxHydraulics::utils::cubicMetersPerSecondToCubicInches ( agx::Real  cubicMetersPerSecond)
AGXHYDRAULICS_EXPORT agx::Real agxHydraulics::utils::cubicMetersPerSecondToGallonsPerMinute ( agx::Real  cubicMetersPerSecond)
AGXHYDRAULICS_EXPORT agx::Real agxHydraulics::utils::cubicMetersPerSecondToLitersPerMinute ( agx::Real  cubicMetersPerSecond)
AGXHYDRAULICS_EXPORT agx::Real agxHydraulics::utils::diameterToArea ( agx::Real  diameter)
AGXHYDRAULICS_EXPORT agx::Real agxHydraulics::utils::gallonsPerMinuteToCubicMetersPerSecond ( agx::Real  gallonsPerMinute)
AGXHYDRAULICS_EXPORT agx::Real agxHydraulics::utils::getTankPressure ( )
Returns
The pressure of the global implicit tank.
AGXHYDRAULICS_EXPORT agx::Real agxHydraulics::utils::pascalToBar ( agx::Real  pascals)
AGXHYDRAULICS_EXPORT agx::Real agxHydraulics::utils::pascalToKPascal ( agx::Real  pascals)
AGXHYDRAULICS_EXPORT agx::Real agxHydraulics::utils::pascalToPsi ( agx::Real  pascals)
AGXHYDRAULICS_EXPORT agx::Real agxHydraulics::utils::psiToPascal ( agx::Real  psi)
AGXHYDRAULICS_EXPORT agx::Real agxHydraulics::utils::radiansPerSecondToRevolutionsPerMinute ( agx::Real  radiansPerSecond)
AGXHYDRAULICS_EXPORT agx::Real agxHydraulics::utils::radiusToArea ( agx::Real  radius)
AGXHYDRAULICS_EXPORT agx::Real agxHydraulics::utils::revolutionsPerMinuteToRadiansPerSecond ( agx::Real  revolutionsPerMinute)
AGXHYDRAULICS_EXPORT void agxHydraulics::utils::setFluidDensity ( agxPowerLine::PowerLine *  powerLine,
agx::Real  density 
)

Set the fluid density of all FlowUnits in a PowerLine.

Will only affect the FlowUnits currently in the PowerLine. Any FlowUnits added later will be unaffected.

AGXHYDRAULICS_EXPORT void agxHydraulics::utils::setFluidViscosity ( agxPowerLine::PowerLine *  powerLine,
agx::Real  viscosity 
)

Set the fluid viscosity of all FlowUnits in a PowerLine.

Will only affect the FlowUnits currently in the PowerLine. Any FlowUnits added later will be unaffected.

AGXHYDRAULICS_EXPORT void agxHydraulics::utils::setTankPressure ( agx::Real  tankPressure)

Set the tank pressure of the global implicit tank.

Any unconnected pipe end will be subjected to this pressure.