TANK

Fluid Reservoir

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

液体油箱是设定表压的油箱或供给源。每个液压网络至少需要一个:它是网络的参考,其“介质”参数决定整个网络的液体。

开口油箱为 0 Pa;带压供给源例如 20 bar。连接 Ctrl 信号后将取代压力参数,使供给可以斜坡变化或切换。

实际工程类比: 代表开顶式通气液压油箱或回油集油槽,为整个液压回路确立 0 bar 表压基准。

数学模型

pP=pset(or uCtrl when wired)p_P = p_{set} \quad (\text{or } u_{Ctrl} \text{ when wired})

其中:

  • p_P 为端口 P 处的表压 (Pa)
  • p_set 为压力参数 (Pa)

输入与输出

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

参数

参数 Label 类型 默认值 描述
pressure Pressure (gauge) number 0 Pressure relative to ambient; 0 is an open tank
medium Medium select Oil Every reservoir of one network must name the same medium
temperature Temperature number 313.15 Sets density and viscosity of oil and water
custom_density Custom density number 1000 Used when Medium is Custom
custom_viscosity Custom viscosity number 0.001 Used when Medium is Custom
custom_bulk_modulus Custom bulk modulus number 1500000000 Used when Medium is Custom
steady_start Steady start boolean true Start the whole network in its steady state, flows already running, instead of at rest

使用示例

阀门在溢流阀前关闭

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

说明与最佳实践

  • 两个油箱:供给与回油箱可处于不同压力;两者都是相对环境的压力源。
  • 一个节点,两个压力:两个不同压力的油箱接在同一节点上无解;仿真将停止并给出此提示。
  • 表压:所有液压压力均相对于环境;开口油箱为 0 Pa。
  • 单位:压力用 Pa(1 bar = 100 000 Pa),流量用 m³/s(1 L/min ≈ 1.667e-5 m³/s)。

相关模块