AGX Dynamics  2.37.2.0
hydraulicUtils.h
Go to the documentation of this file.
1 /*
2 Copyright 2007-2024. Algoryx Simulation AB.
3 
4 All AGX source code, intellectual property, documentation, sample code,
5 tutorials, scene files and technical white papers, are copyrighted, proprietary
6 and confidential material of Algoryx Simulation AB. You may not download, read,
7 store, distribute, publish, copy or otherwise disseminate, use or expose this
8 material unless having a written signed agreement with Algoryx Simulation AB, or having been
9 advised so by Algoryx Simulation AB for a time limited evaluation, or having purchased a
10 valid commercial license from Algoryx Simulation AB.
11 
12 Algoryx Simulation AB disclaims all responsibilities for loss or damage caused
13 from using this software, unless otherwise stated in written agreements with
14 Algoryx Simulation AB.
15 */
16 
17 #ifndef AGXHYDRAULICS_HYDRAULIC_UTILS_H
18 #define AGXHYDRAULICS_HYDRAULIC_UTILS_H
19 
20 #include <agxHydraulics/export.h>
21 #include <agx/Real.h>
22 
23 namespace agxPowerLine
24 {
25  class PowerLine;
26 }
27 
28 namespace agxHydraulics
29 {
34  namespace utils
35  {
36  // Pressure conversions.
42 
43  // Angular velocity conversions.
46 
47  // Flow rate conversions. The US liquid gallon is used.
52 
53  // Displacement conversions.
56 
57  // Circular area conversions.
60 
61 
62 
70 
78 
84 
89  }
90 }
91 
92 
93 // Include guard.
94 #endif
AGXHYDRAULICS_EXPORT agx::Real pascalToPsi(agx::Real pascals)
AGXHYDRAULICS_EXPORT agx::Real gallonsPerMinuteToCubicMetersPerSecond(agx::Real gallonsPerMinute)
AGXHYDRAULICS_EXPORT agx::Real cubicMetersPerSecondToGallonsPerMinute(agx::Real cubicMetersPerSecond)
AGXHYDRAULICS_EXPORT agx::Real cubicMetersPerSecondToCubicInches(agx::Real cubicMetersPerSecond)
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.
agxPowerLine contains a collection of connected components that transport power across a system...
Definition: MotorUnit.h:23
AGXHYDRAULICS_EXPORT agx::Real pascalToKPascal(agx::Real pascals)
AGXHYDRAULICS_EXPORT agx::Real cubicInchesPerRevolutionToCubicMetersPerRadian(agx::Real cubicInchesPerRevolution)
AGXHYDRAULICS_EXPORT agx::Real getTankPressure()
AGXHYDRAULICS_EXPORT void setTankPressure(agx::Real tankPressure)
Set the tank pressure of the global implicit tank.
#define AGXHYDRAULICS_EXPORT
AGXHYDRAULICS_EXPORT agx::Real psiToPascal(agx::Real psi)
AGXHYDRAULICS_EXPORT agx::Real cubicMetersPerRadianToCubicInchesPerRevolution(agx::Real cubicMetersPerRadian)
The agxHydraulics namespace contains classes for modeling hydraulic circuits within the power line fr...
Definition: Accumulator.h:27
AGXHYDRAULICS_EXPORT void setFluidViscosity(agxPowerLine::PowerLine *powerLine, agx::Real viscosity)
Set the fluid viscosity of all FlowUnits in a PowerLine.
AGXHYDRAULICS_EXPORT agx::Real pascalToBar(agx::Real pascals)
double Real
Definition: Real.h:42
PowerLine is the base class for a system of power transfer integrated into the rigid body simulation...
Definition: PowerLine.h:70
AGXHYDRAULICS_EXPORT agx::Real radiansPerSecondToRevolutionsPerMinute(agx::Real radiansPerSecond)
AGXHYDRAULICS_EXPORT agx::Real cubicMetersPerSecondToLitersPerMinute(agx::Real cubicMetersPerSecond)
AGXHYDRAULICS_EXPORT agx::Real barToPascal(agx::Real bar)
AGXHYDRAULICS_EXPORT agx::Real diameterToArea(agx::Real diameter)