PT 剖面(Pressure-Temperature Profile)模拟用于计算流体沿管柱或管线的压力和温度分布,是流动保障分析的基础。PTK 提供了丰富的 PT 剖面模拟功能。
基本 PT 剖面模拟
results = model.tasks.ptprofilesimulation.run(
system_variables=[
SystemVariables.PRESSURE,
SystemVariables.TEMPERATURE,
],
profile_variables=[
ProfileVariables.PRESSURE,
ProfileVariables.TEMPERATURE,
ProfileVariables.ELEVATION,
ProfileVariables.TOTAL_DISTANCE,
])计算出口压力
# 给定入口条件,计算出口压力
outlet = model.tasks.ptprofilesimulation.calc_outlet_pressure()
print(f"出口压力: {outlet}")多点 PT 剖面
results = model.tasks.ptprofilesimulation.multipoint(
boundaries_list=[bc1, bc2, bc3])敏感性分析
sensitivity = model.tasks.ptprofilesimulation.sensitivity(
parameter="LiquidFlowRate",
values=[100, 200, 300, 400, 500])应用场景
PT 剖面模拟常用于:文章源自云智设计-https://www.cidrg.com/cid-college/tutorial/pipesim/26879.html
文章源自云智设计-https://www.cidrg.com/cid-college/tutorial/pipesim/26879.html文章源自云智设计-https://www.cidrg.com/cid-college/tutorial/pipesim/26879.html
客服微信
扫一扫

EngGPT
微信号已复制
云智微信公众号
扫一扫

cidrg_com
公众号已复制



