VOL

Hydraulic Volume

Hydraulics
运行在线示例 免费 · 无需注册 · 直接在浏览器中运行

液压容腔是略可压缩的液体腔:流入时压力上升。在管路、油缸或软管储油处放置一个,压力就会随时间上升而非瞬间跳变。

它是液压“电容”,由端口指向环境。

实际工程类比: 代表油缸工作腔、集成阀块内部容腔或液压蓄能器,表现流体可压缩性与容腔刚度。

数学模型

dpdt=βV qin\frac{dp}{dt} = \frac{\beta}{V}\,q_{in}

其中:

  • β 为网络液体的体积模量 (Pa)
  • V 为容积 (m³)
  • q_in 为流入端口的净流量 (m³/s)

输入与输出

Direction ID Label 类型 Status
→ In p P number Required
→ In H H number Optional

参数

参数 Label 类型 默认值 描述
volume Volume number 0.0001 Fluid volume of the chamber and its lines
initial_pressure Initial pressure (gauge) number 0 Pressure at t = 0 when the network starts at rest (Steady start off on a reservoir)
air_fraction Entrained air fraction (α₀) number 0 Free air volume fraction at atmospheric pressure [0..0.2]. At α₀ = 0 bulk modulus is constant; > 0 models soft, spongy fluid compliance at low pressures.
polytropic_index Polytropic exponent (γ) number 1.4 Polytropic exponent of entrained air bubbles (1.0 = isothermal, 1.4 = adiabatic)

使用示例

阀门在溢流阀前关闭

示例 examples/basic-hydraulicvolume.json 由 20 bar 油源经管道向阀门供油。管路压力稳定在约 15.8 bar;t = 0.5 s 时阀门关至 10%,18 bar 溢流阀接管流量。请用 TR-BDF2 运行。

说明与最佳实践

  • 刚性:油几乎不可压缩,小容积在微秒级响应。请使用 TR-BDF2;显式求解器需要极小步长。
  • 表压:所有液压压力均相对于环境;开口油箱为 0 Pa。
  • 单位:压力用 Pa(1 bar = 100 000 Pa),流量用 m³/s(1 L/min ≈ 1.667e-5 m³/s)。

相关模块