18 #ifndef AGXHYDRAULICS_RELIEF_VALVE_H
19 #define AGXHYDRAULICS_RELIEF_VALVE_H
199 virtual void getConnectableDimensionTypes(
253 agxHydraulics::detail::LimitedFlowBlockConstraintRefVector m_flowBlockConstraints;
#define AGX_DECLARE_POINTER_TYPES(type)
#define AGXSTREAM_DECLARE_SERIALIZABLE(T)
Use this in a Serializable class to add the required methods Important: Use full namespace in the dec...
#define AGXHYDRAULICS_EXPORT
A FlowConnector is a junction of a set of FlowUnits.
FlowUnit is the base class for Units that contains a FlowDimension.
A pipe carries fluid flow through the hydraulics system.
The relief valve is a hydraulic component that limits the pressure at some point in the system.
agxHydraulics::FlowConnector * getDrainConnector()
agx::Real getOpeningFraction() const
The opening fraction will always be a multiple of 1/num_drains, and will always be in the range [0....
agx::Real getFullyOpenPressure() const
agxHydraulics::FlowUnit * getInputChamber()
agxHydraulics::FlowUnit * getOutputChamber()
agx::Real getDrainFlowRate() const
void setFullyOpenPressure(agx::Real fullyOpenPressure)
Set the pressure at which the drain should reach fully open.
agx::Constraint * getFlowBlockConstraint(agx::UInt32 index)
The implementation uses constraints to control when drain pipes should open or close.
agx::UInt32 getNumDrains() const
const agxHydraulics::Pipe * getDrain(agx::UInt32 index) const
const agxHydraulics::FlowUnit * getInputChamber() const
const agxHydraulics::FlowUnit * getOutputChamber() const
const agxHydraulics::FlowUnit * getChamber(agxPowerLine::Side side) const
ReliefValve(agx::Real crackingPressure, agx::Real fullyOpenPressure, agx::Real fullyOpenArea, agx::UInt32 numDrains=6)
Create a new relief valve.
agxHydraulics::FlowUnit * getChamber(agxPowerLine::Side side)
agx::Real getPressure() const
void setPressures(agx::Real crackingPressure, agx::Real fullyOpenPressure)
Set the pressure range for the relief valve.
agxHydraulics::Pipe * getDrain(agx::UInt32 index)
agx::Real getCrackingPressure() const
void setCrackingPressure(agx::Real crackingPressure)
Set the pressure at which the drain should start to open.
Simulation is a class that bridges the collision space agxCollide::Space and the dynamic simulation s...
Abstract base class for storing/restoring a line/drums with version control.
Utility class to hold custom implementations of constraints.
The base class for a constraint.
#define DOXYGEN_END_INTERNAL_BLOCK()
#define DOXYGEN_START_INTERNAL_BLOCK()
The agxHydraulics namespace contains classes for modeling hydraulic circuits within the power line fr...
std::pair< agxPowerLine::PhysicalDimension *, agxPowerLine::Side > DimensionAndSide
The agxSDK namespace contain classes to bridge the collision detection system and the dynamical simul...
The agx namespace contains the dynamics/math part of the AGX Dynamics API.