科研 Skill
泵系统热力循环分析
thermodynamics-workflow
Analyzes thermodynamic cycles, energy and entropy balances, and heat transfer in pump and fluid systems. Use for cycle, efficiency, or temperature-rise calculations.
SKILL.md
Thermodynamics Analysis Workflow
Overview
This skill provides a systematic approach to thermodynamic analysis of pump systems, including energy balance, entropy analysis, heat transfer, and cycle calculations. The methodology follows classical thermodynamics principles applied specifically to pumping systems and fluid machinery.
Thermodynamic Analysis Workflow
1. System Definition and Boundaries
Define the Control Volume:
The first step in any thermodynamic analysis is to clearly define the system boundaries.
For Pump Systems:
- Control Volume: The pump casing from suction flange to discharge flange
- Boundaries: Physical surfaces where fluid/energy crosses
- Interfaces:
- Inlet: Suction flange (station 1)
- Outlet: Discharge flange (station 2)
- Shaft: Mechanical energy input
- Walls: Heat transfer surface (if applicable)
System Classification:
- Open System (Control Volume): Most pump analyses
- Steady Flow: Constant properties with time
- Transient Flow: Start-up, shutdown, surge conditions
Assumptions to Document:
- Steady-state operation
- Uniform properties at inlet/outlet
- Negligible kinetic energy changes (if applicable)
- Adiabatic walls (or specify heat transfer)
- No chemical reactions
- Incompressible flow (for liquids) or compressible (for gases)
Coordinate System:
- Define datum for potential energy (z = 0)
- Specify flow direction (positive flow)
- Identify measurement planes
2. State Point Identification
Thermodynamic State Definition:
For a pure substance, two independent intensive properties define the state.
State Point 1 (Inlet/Suction):
Identify and measure:
Properties at inlet:
- Pressure: P₁ (Pa, bar, psi)
- Temperature: T₁ (K, °C)
- Velocity: c₁ (m/s)
- Elevation: z₁ (m)
- Phase: Liquid, vapor, two-phase
State Point 2 (Outlet/Discharge):
Identify and measure:
Properties at outlet:
- Pressure: P₂ (Pa, bar, psi)
- Temperature: T₂ (K, °C)
- Velocity: c₂ (m/s)
- Elevation: z₂ (m)
- Phase: Liquid, vapor, two-phase
Additional State Points:
For complex systems:
- Interstage conditions (multistage pumps)
- Impeller exit (before volute losses)
- Intermediate heat exchangers
- Recirculation loops
Property Diagrams:
Plot state points on:
- P-h diagram: Pressure vs. specific enthalpy
- T-s diagram: Temperature vs. specific entropy
- P-v diagram: Pressure vs. specific volume
- Mollier diagram: h-s chart
3. Property Evaluation
Fluid Property Sources:
For Pure Substances:
- Water/Steam: IAPWS-IF97 formulation (via CoolProp)
- Refrigerants: NIST REFPROP database
- Hydrocarbons: Peng-Robinson or Soave-Redlich-Kwong EOS
- Cryogenic fluids: NIST correlations
For Incompressible Liquids:
Specific volume: v ≈ constant
Specific heat: cp ≈ constant
Internal energy: du = cp·dT
Enthalpy: dh = cp·dT + v·dP
For Ideal Gases:
Equation of state: P·v = R·T
Specific heats: cp, cv = f(T)
Internal energy: du = cv·dT
Enthalpy: dh = cp·dT
Entropy: ds = cp·dT/T - R·dP/P
Property Evaluation Methods:
Method 1: Using CoolProp (Recommended)
from CoolProp.CoolProp import PropsSI
# Water at 25°C, 2 bar
h = PropsSI('H', 'T', 298.15, 'P', 200000, 'Water') # J/kg
s = PropsSI('S', 'T', 298.15, 'P', 200000, 'Water') # J/kg-K
rho = PropsSI('D', 'T', 298.15, 'P', 200000, 'Water') # kg/m³
Method 2: Property Tables
- Steam tables (superheated, saturated, compressed liquid)
- Interpolation between table values
- Linear or quadratic interpolation
Method 3: Empirical Correlations
- Density: ρ(T, P) correlations
- Viscosity: Andrade or Vogel equation
- Specific heat: polynomial fits
Critical Properties to Evaluate:
At each state point:
- Specific enthalpy: h (J/kg or kJ/kg)
- Specific entropy: s (J/kg-K or kJ/kg-K)
- Specific volume: v (m³/kg) or density ρ (kg/m³)
- Specific internal energy: u (J/kg or kJ/kg)
- Quality: x (for two-phase mixtures)
- Viscosity: μ (Pa·s) - for loss calculations
- Thermal conductivity: k (W/m-K) - for heat transfer
4. First Law Analysis (Energy Balance)
General Energy Equation for Open Systems:
For a control volume in steady flow:
Q̇ - Ẇ = ṁ[(h₂ - h₁) + (c₂² - c₁²)/2 + g(z₂ - z₁)]
Where:
- Q̇ = heat transfer rate (W)
- Ẇ = work transfer rate (W)
- ṁ = mass flow rate (kg/s)
- h = specific enthalpy (J/kg)
- c = velocity (m/s)
- g = 9.81 m/s²
- z = elevation (m)
For Pump Systems:
Work is done ON the fluid (Ẇ < 0 by convention), so:
Ẇshaft = ṁ[(h₂ - h₁) + (c₂² - c₁²)/2 + g(z₂ - z₁)] + Q̇loss
Simplified Forms:
Incompressible Liquid (Constant Density):
Ẇshaft/ṁ = (P₂ - P₁)/ρ + (c₂² - c₁²)/2 + g(z₂ - z₁) + q_loss
This can be written in terms of head:
H = (P₂ - P₁)/(ρg) + (c₂² - c₁²)/(2g) + (z₂ - z₁) + h_loss
Adiabatic Pump (No Heat Loss):
Ẇshaft = ṁ[(h₂ - h₁) + (c₂² - c₁²)/2 + g(z₂ - z₁)]
Negligible Kinetic and Potential Energy Changes:
Ẇshaft = ṁ(h₂ - h₁) + Q̇loss
Energy Balance Components:
-
Enthalpy Change:
- Pressure rise: Δh_pressure = ∫v·dP
- Temperature rise: Δh_thermal = cp·ΔT
-
Kinetic Energy Change:
- Usually small for pumps (< 5% of total)
- Important for high-velocity applications
-
Potential Energy Change:
- Significant for vertical pumps
- Negligible for horizontal installations
-
Heat Transfer:
- Heat loss to environment: Q̇loss
- Can be from temperature measurements
- Typically 1-5% of shaft power
Temperature Rise in Pumped Fluid:
The temperature rise due to inefficiency:
ΔT = (1 - η)·Ẇshaft / (ṁ·cp)
Where η is the pump efficiency.
For incompressible liquids:
ΔT = (1 - η)·g·H / cp
Example: Water pump, H = 100 m, η = 0.80, cp = 4186 J/kg-K
ΔT = (1 - 0.80)·9.81·100 / 4186 = 0.047°C
5. Second Law Analysis (Entropy and Efficiency)
Entropy Balance:
For a control volume in steady flow:
ṁ(s₂ - s₁) = Q̇/T_boundary + Ṡgen
Where:
- s = specific entropy (J/kg-K)
- Ṡgen = entropy generation rate (W/K)
- T_boundary = boundary temperature (K)
Entropy Generation:
Measures irreversibility in the process:
Ṡgen = ṁ(s₂ - s₁) - Q̇/T_boundary
For adiabatic pump:
Ṡgen = ṁ(s₂ - s₁)
Isentropic Efficiency:
Compares actual process to ideal isentropic process:
η_isentropic = (h₂s - h₁) / (h₂ - h₁)
Where:
- h₂s = specific enthalpy at P₂ with s₂s = s₁ (isentropic)
- h₂ = actual specific enthalpy at outlet
For Incompressible Liquids:
The isentropic work is:
w_isentropic = ∫v·dP = v·(P₂ - P₁) = (P₂ - P₁)/ρ
Exergy Analysis:
Exergy (availability) represents maximum useful work:
ψ = (h - h₀) - T₀(s - s₀) + c²/2 + gz
Where subscript 0 denotes dead state (ambient conditions).
Exergy destruction:
Ẋdestroyed = T₀·Ṡgen
Second Law Efficiency:
η_II = Ẋuseful / Ẋinput = 1 - Ẋdestroyed / Ẋinput
This represents how effectively the pump uses available energy.
Loss Breakdown by Entropy Generation:
Different loss mechanisms contribute to entropy generation:
- Friction losses: Fluid friction in impeller and volute
- Shock losses: Flow separation and incidence
- Leakage losses: Recirculation through clearances
- Disk friction: Viscous shear on impeller surfaces
- Heat transfer: Irreversible heat transfer to/from fluid
6. Cycle Calculations
Thermodynamic Cycles Relevant to Pumps:
While pumps are typically single components, they operate within larger thermodynamic cycles.
Rankine Cycle (Steam Power Plants)
Components:
- Boiler (heat addition)
- Turbine (power output)
- Condenser (heat rejection)
- Feedwater pump (pressure increase)
Pump Analysis in Rankine Cycle:
State points:
- State 3: Condenser outlet (saturated or subcooled liquid)
- State 4: Boiler inlet (high-pressure compressed liquid)
Pump work (isentropic):
w_pump,s = v₃·(P₄ - P₃) = h₄s - h₃
Actual pump work:
w_pump = w_pump,s / η_pump
Impact on Cycle Efficiency:
η_cycle = (w_turbine - w_pump) / q_in
Pump work is typically 1-3% of turbine work in Rankine cycles.
Brayton Cycle (Gas Turbines)
Not directly applicable to liquid pumps, but relevant for:
- Fuel pumps in gas turbines
- Liquid rocket propellant pumps
- High-pressure fluid systems
Key Differences from Rankine:
- Working fluid remains gas throughout
- Compression instead of pumping
- Higher temperature ratios
Refrigeration Cycle
Relevant for:
- Refrigerant pumps in heat pumps
- Chiller systems
- Cryogenic pumping
Components:
- Evaporator
- Compressor (or pump for liquid systems)
- Condenser
- Expansion valve
Coefficient of Performance (COP):
COP = Q_useful / W_input
Where pump work contributes to W_input.
Applications to Pumps
Temperature Rise in Pumped Fluid
Physical Mechanism:
Inefficiencies in pumps convert mechanical energy to thermal energy, causing temperature rise.
Calculation Method:
From Energy Balance:
ΔT = (h₂ - h₁) / cp - v·(P₂ - P₁) / cp
Simplified for Liquids:
ΔT = (1 - η)·v·(P₂ - P₁) / cp
Or in terms of head:
ΔT = (1 - η)·g·H / cp
Factors Affecting Temperature Rise:
- Pump efficiency: Lower η → higher ΔT
- Pressure rise: Higher ΔP → higher ΔT
- Specific heat: Lower cp → higher ΔT
- Operating point: Off-design → lower η → higher ΔT
Practical Implications:
- Cold fluids: May cause condensation in surroundings
- Hot fluids: May approach boiling point, causing cavitation
- Viscous fluids: Significant heating (η low, friction high)
- Volatile fluids: Risk of vaporization
- Polymers: May degrade at elevated temperatures
Example Calculations:
Water pump:
- H = 200 m, η = 0.75, cp = 4186 J/kg-K
- ΔT = 0.25·9.81·200/4186 = 0.12°C
Hydraulic oil:
- ΔP = 200 bar, η = 0.70, ρ = 850 kg/m³, cp = 2000 J/kg-K
- ΔT = 0.30·200e5/(850·2000) = 3.53°C
High viscosity fluid:
- H = 50 m, η = 0.50 (low due to viscosity), cp = 2500 J/kg-K
- ΔT = 0.50·9.81·50/2500 = 0.098°C
Efficiency and Losses
Overall Efficiency:
η = η_h · η_vol · η_mech
Component Efficiencies:
-
Hydraulic Efficiency (η_h):
- Accounts for fluid friction and shock losses
- Typical: 0.85-0.95
-
Volumetric Efficiency (η_vol):
- Accounts for internal leakage
- Typical: 0.96-0.99
-
Mechanical Efficiency (η_mech):
- Accounts for bearing and seal friction
- Typical: 0.95-0.98
Thermodynamic Loss Analysis:
Each loss mechanism increases entropy:
Friction Loss:
Ṡ_friction = ṁ·g·h_friction / T_avg
Leakage Loss:
Ṡ_leakage = ṁ_leak·(s_discharge - s_suction)
Heat Transfer Loss:
Ṡ_heat = Q̇_loss / T_boundary - Q̇_loss / T_fluid
Total Entropy Generation:
Ṡ_total = Ṡ_friction + Ṡ_leakage + Ṡ_heat + Ṡ_mechanical
Exergy Efficiency:
η_exergy = 1 - T₀·Ṡ_total / Ẇshaft
This gives a more complete picture of thermodynamic performance.
Heat Transfer Considerations
Heat Transfer Modes in Pumps:
-
Conduction:
- Through pump casing walls
- Through shaft to bearings
- Through impeller material
-
Convection:
- Forced convection with pumped fluid
- Natural convection to ambient air
- Internal recirculation loops
-
Radiation:
- Usually negligible unless high temperatures
- Can be significant for hot oil pumps (>150°C)
Heat Loss Estimation:
From Casing Walls:
Q̇_loss = h·A·(T_fluid - T_ambient)
Where:
- h = overall heat transfer coefficient (W/m²-K)
- A = surface area (m²)
- Typical h = 5-20 W/m²-K (natural convection, insulated)
From Energy Balance:
Q̇_loss = Ẇshaft - ṁ·(h₂ - h₁) - ṁ·(c₂² - c₁²)/2 - ṁ·g·(z₂ - z₁)
Impact on Performance:
- Reduces outlet temperature
- Affects fluid properties (viscosity, density)
- Can cause thermal gradients and distortion
- Important for cryogenic and high-temperature pumps
Thermal Management:
Cooling Requirements:
- External cooling jackets
- Flush plans for mechanical seals
- Heat exchangers in recirculation loops
Insulation:
- Prevents heat loss (hot fluids)
- Prevents condensation (cold fluids)
- Improves safety (hot surfaces)
Multistage Pump Thermodynamics
Staging Rationale:
High head requirements divided among multiple impellers:
H_total = H_stage1 + H_stage2 + ... + H_stage_n
Thermodynamic Analysis:
Between Stages:
State 1 → Impeller 1 → State 2 → Diffuser 1 → State 3 →
Impeller 2 → State 4 → ... → Final discharge
Temperature Rise per Stage:
ΔT_stage = (1 - η_stage)·g·H_stage / cp
Total Temperature Rise:
ΔT_total = Σ ΔT_stage = (1 - η_overall)·g·H_total / cp
Interstage Cooling:
For high-head or high-temperature applications:
Q̇_cooling = ṁ·cp·(T_beforecooling - T_aftercooling)
Benefits:
- Reduces final discharge temperature
- Improves fluid properties (lower viscosity)
- Prevents vaporization
- Increases pump life
Pressure Compounding Effects:
As pressure increases through stages:
- Density may change (compressible fluids)
- Leakage flow increases (higher ΔP)
- Seal loads increase
- Structural requirements change
Energy Distribution:
Not all stages contribute equally:
- First stage: Highest NPSH requirement
- Middle stages: Maximum efficiency
- Last stage: Highest pressure loading
Common Cycles Relevant to Pumps
Rankine Cycle (Detailed)
Steam Power Plant Configuration:
Boiler → Turbine → Condenser → Feedwater Pump → Boiler
↓ ↓ ↓ ↓
High P Power Low P High P
High T Output Low T Moderate T
State Point Analysis:
State 1: Turbine exhaust entering condenser
- P₁ = 0.05-0.1 bar (vacuum conditions)
- T₁ = saturation temperature at P₁
- x₁ = 0.85-0.95 (wet steam)
State 2: Condenser outlet / Pump inlet
- P₂ = P₁ (pressure drop minimal)
- T₂ = T_sat(P₂) - subcooling (typically 2-5°C)
- x₂ = 0 (saturated or subcooled liquid)
State 3: Pump outlet / Boiler inlet
- P₃ = 100-300 bar (high pressure)
- T₃ ≈ T₂ + ΔT_pump (small temperature rise)
- Compressed liquid
State 4: Boiler outlet / Turbine inlet
- P₄ = P₃ - ΔP_boiler
- T₄ = 500-600°C (superheated steam)
- Superheated vapor
Pump Work Calculation:
Isentropic work:
w_pump,s = h₃s - h₂ = v₂·(P₃ - P₂)
For water at 40°C (v ≈ 0.001008 m³/kg):
w_pump,s = 0.001008·(250e5 - 0.08e5) ≈ 2.52 kJ/kg
Actual work:
w_pump = w_pump,s / η_pump = 2.52 / 0.85 ≈ 2.96 kJ/kg
Temperature rise:
ΔT = (h₃ - h₂) / cp ≈ 0.44 / 4.18 ≈ 0.11°C (negligible)
Cycle Efficiency:
η_Rankine = (w_turbine - w_pump) / q_in
Typical values:
- Simple cycle: 30-40%
- Reheat cycle: 38-45%
- Regenerative cycle: 40-50%
Pump work is small (~1-2% of turbine work) but critical for operation.
Refrigeration Cycle
Vapor Compression Cycle with Liquid Pump:
Some industrial refrigeration systems use liquid pumps instead of or in addition to compressors.
State Points:
- Evaporator outlet: Low P, low T, saturated vapor
- Compressor outlet: High P, high T, superheated vapor
- Condenser outlet: High P, moderate T, saturated liquid
- Pump outlet: Very high P, moderate T, compressed liquid
- Expansion valve outlet: Low P, low T, two-phase mixture
Pump Application:
- Liquid overfeed systems: Circulate liquid refrigerant
- CO₂ transcritical systems: Liquid CO₂ pumping
- Cascade systems: Pumping between pressure levels
COP Calculation:
COP = Q_evaporator / (W_compressor + W_pump)
Pump work usually small compared to compressor work.
Closed-Loop Heat Transfer Cycles
Applications:
- Solar thermal systems
- Geothermal heat pumps
- Industrial heat recovery
- District heating/cooling
Thermodynamic Analysis:
Heating Mode:
Q̇_delivered = ṁ·cp·(T_supply - T_return)
W_pump = ṁ·g·H / η_pump
COP_heating = Q̇_delivered / W_pump
Cooling Mode:
Q̇_removed = ṁ·cp·(T_return - T_supply)
COP_cooling = Q̇_removed / W_pump
Optimization:
- Minimize flow rate (reduces pump power)
- Maximize ΔT (reduces flow for given load)
- Balance pipe friction vs. pump size
Summary
Thermodynamic analysis of pump systems requires systematic application of:
- Control volume definition: Clear boundaries and assumptions
- State point identification: Complete property evaluation
- Property evaluation: Accurate fluid properties from reliable sources
- First law: Energy balance accounting for all forms of energy
- Second law: Entropy generation and efficiency analysis
- Cycle analysis: Understanding pump role in larger systems
Key outputs:
- Power requirements
- Temperature rise
- Efficiency breakdown
- Loss mechanisms
- Optimization opportunities
References
See equations-reference.md for detailed equations and examples.md for worked examples.
示例提示词
帮我分析这台泵系统所处热力循环的效率和各状态点参数。
所属插件
安装该插件会一并获得同领域的 36 个 Skill / MCP。
同插件的其他科研 Skill
- ANSYS Fluent CFD仿真自动化Automates ANSYS Fluent CFD setup, meshing, and batch runs via Python scripting, journal files, and the PyAnsys ecosystem. Use when a user wants to script or automate an ANSYS Fluent simulation.
- Cantera燃烧仿真Runs Cantera combustion simulations: flame temperature, ignition delay, laminar flame speed, PSR. Use for mechanism-based combustion analysis tasks.
- 离心泵气蚀风险评估Calculates NPSHa and NPSHr and assesses cavitation risk for centrifugal pumps, with prevention and detection guidance. Use when sizing suction piping or diagnosing pump cavitation.
- 气蚀评估物性数据库Looks up vapor pressure, NPSHr data, and correlations for cavitation risk assessment in pumps. Use when cavitation-analysis needs reference property or NPSHr data.
- 离心泵设计计算Designs centrifugal pumps from first principles using Euler equations, velocity triangles, and specific speed. Use for impeller sizing or new centrifugal pump design.
- COMSOL多物理场耦合仿真Sets up coupled fluid-structure interaction simulations in COMSOL Multiphysics, focused on pump vibration analysis. Use when a user wants to script or automate a COMSOL FSI model.
- CoolProp流体物性查询Queries thermodynamic and transport properties for 100+ pure and pseudo-pure fluids via the CoolProp library. Use when a calculation needs fluid density, viscosity, or enthalpy data.
- 工程计算环境初始化Sets up a Python session with engineering constants, Pint units, and plotting defaults. Use at the start of a calculation session.
- 流体计算数值错误校验Handles common numerical errors in fluid calculations, such as division by zero and out-of-range physical values, with validation checks. Use when fluid code fails or returns unphysical results.
- 流体力学分析工作流Guides a systematic fluid dynamics analysis from problem setup and domain definition through model selection to validation. Use when planning a CFD or analytical fluid mechanics study end to end.
- 经验公式流体物性速算Computes quick fluid property estimates (density, viscosity, vapor pressure) from empirical correlations without needing a database. Use for fast order-of-magnitude property checks.
- 管道流动与泵选型计算Computes pipe flow, pump sizing, friction factor, and compressible flow results with the fluids Python package. Use for quick, code-based fluid mechanics calculations.
- 工程工具与数据库清点Enumerates installed Python packages, databases, and simulation tools available in the current environment. Use at the start of a session to avoid recommending unavailable tools.
- 管路元件损失系数查询Looks up loss coefficients (K-values) and equivalent lengths for pipes, valves, and fittings in pump and piping systems. Use when computing system head loss.
- 流体与材料物性查询Looks up temperature-dependent fluid viscosities, densities, and other material properties for pump and heat-transfer calculations. Use when a calculation needs property data at a given temperature.
- 泵性能曲线绘制Creates professional engineering plots such as pump performance curves, CFD velocity contours, and publication-quality figures with matplotlib. Use when a result needs a plotted figure.
- NASA大气与航空流体数据Accesses atmospheric property profiles and standard-atmosphere models from NASA Earthdata for high-altitude and aerospace fluid analysis. Use when a task needs altitude-dependent atmospheric data.
- 管网图论建模Models hydraulic piping networks and multi-pump systems as graphs using NetworkX flow algorithms. Use for analyzing flow distribution across a branched or looped piping network.
- REFPROP高精度物性查询Queries high-accuracy thermodynamic and transport properties from the commercial NIST REFPROP database. Use when a calculation needs reference-quality fluid property data and REFPROP is licensed.
- 数值数组计算Performs numerical array operations with NumPy: velocity field processing, pump curve interpolation, linear systems, and matrix methods. Use for general numerical computation in engineering code.
- OpenFOAM仿真与后处理Runs and post-processes OpenFOAM CFD simulations with PyFoam, pyvista, and vtk for mesh setup, solver control, and visualization. Use for scripted OpenFOAM workflows outside ParaView.
- 泵性能曲线与相似定律Generates and interprets pump H-Q/efficiency/power/NPSH curves, applies affinity laws, and predicts off-design performance. Use for pump curve analysis.
- 工程单位换算与量纲分析Handles engineering units with automatic conversion and dimensional-consistency checking using the Pint library. Use whenever a calculation mixes units or needs unit safety.
- 容积式泵设计分析Designs and analyzes gear, piston, and screw positive-displacement pumps, including volumetric efficiency and slip. Use when the pump is positive-displacement rather than centrifugal.
常见问题
泵系统热力循环分析能做什么?
Analyzes thermodynamic cycles, energy and entropy balances, and heat transfer in pump and fluid systems. Use for cycle, efficiency, or temperature-rise calculations。
如何安装泵系统热力循环分析?
在科搭 Codar 左侧点击「插件」,在「组件」页签搜索「泵系统热力循环分析」并安装;在 Claude Code 或 Codex 中可以发送本页的安装提示词,或下载 Skill 包后解压到 ~/.claude/skills 或 ~/.codex/skills。
泵系统热力循环分析需要哪些权限?
该科研 Skill没有声明额外权限;执行具体操作时仍由 Agent 按自身规则请求确认。
泵系统热力循环分析经过官方审核吗?
是。SpeedSkills 收录的每个版本都会记录内容摘要与权限声明,当前版本已通过安全审核。