Hydraulic Valve
Hydraulics
运行在线示例
免费 · 无需注册 · 直接在浏览器中运行
液压阀是锐边节流孔,其流通面积随开度在 0(关闭)到 1(全开)之间变化。在“开度”输入上接入信号即可由控制器、阶跃或滑块驱动;未接信号时使用 opening 参数。
关闭的阀保留极小的泄漏面积,使网络保持可解。
实际工程类比: 代表液压比例节流阀、流量控制阀或电液比例换向阀滑阀,依据开度指令精确计量流量。
数学模型
其中:
- 当
|q| ≫ q_c时即为节流孔方程q = Cd·A·√(2Δp/ρ) q_c为雷诺数 12 时的流量,此时节流孔转为层流;它使零流量处斜率保持有限u为开度,λ为泄漏比例
输入与输出
| Direction | ID | Label | 类型 | Status |
|---|---|---|---|---|
| → In | p |
A | number | Required |
| → In | n |
B | number | Required |
| → In | in |
Opening | number | Optional |
| → In | H |
H | number | Optional |
| ← Out | q_diss |
Q_diss | number | Output |
参数
| 参数 | Label | 类型 | 默认值 | 描述 |
|---|---|---|---|---|
diameter |
Orifice diameter | number | 0.005 |
Diameter of the fully open flow area |
discharge_coefficient |
Discharge coefficient | number | 0.7 |
Cd of the orifice; 0.6–0.7 for a sharp edge |
opening |
Opening | number | 1 |
Used when the Opening input is not wired |
leakage_fraction |
Leakage area | number | 0.000001 |
Area left when shut, as a fraction of the full area |
使用示例
阀门在溢流阀前关闭
示例 examples/basic-hydraulicvalve.json 由 20 bar 油源经管道向阀门供油。管路压力稳定在约 15.8 bar;t = 0.5 s 时阀门关至 10%,18 bar 溢流阀接管流量。请用 TR-BDF2 运行。
说明与最佳实践
- 开度被限制在 [0, 1]。
- 在泵前快速关阀需要泄压通路;见 Relief Valve。
- 表压:所有液压压力均相对于环境;开口油箱为 0 Pa。
- 单位:压力用 Pa(1 bar = 100 000 Pa),流量用 m³/s(1 L/min ≈ 1.667e-5 m³/s)。