[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M7EJ7DC50S97SDMCS4S5AD26":3,"skill-same:01M7EJ7DC50S97SDMCS4S5AD26":63},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":16,"categories":17,"keywords":18,"publishedAt":19,"linkOnly":20,"markdownContent":21,"markdownBody":22,"frontMatter":23,"refName":31,"commitSha":32,"skillDirectory":33,"forksCount":14,"repositoryHtmlUrl":34,"repositoryHomepageUrl":34,"ownerHtmlUrl":35,"ownerBlogUrl":6,"ownerDescription":6,"updatedAt":36,"install":37,"resources":50},"01M7EJ7DC50S97SDMCS4S5AD26","two-phase-flow",null,">- Estimate frictional pressure drop for gas-liquid two-phase pipe flow using Lockhart-Martinelli (horizontal), Beggs-Brill (inclined, all angles), or Mueller-Steinhagen-Heck (smooth quality interpolation). Use when sizing flare lines, two-phase risers, knock-out drum inlets, or boiler-tube pressure","Mr-Nobody-Anonymous\u002FAll-skills","Mr-Nobody-Anonymous","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F184253119?v=4","01M7AEXFJHKTYQW5R0ZCQQTWFV","anonymous","01M7C00M3GQR4QKP9GZA42GFAK",0,"MIT","https:\u002F\u002Fgithub.com\u002FMr-Nobody-Anonymous\u002FAll-skills\u002Fblob\u002Fmain\u002Fawesome_skills\u002Fchemical-engineering\u002Ftwo-phase-flow\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"---\nname: two-phase-flow\ndescription: \">- Estimate frictional pressure drop for gas-liquid two-phase pipe flow using Lockhart-Martinelli (horizontal), Beggs-Brill (inclined, all angles), or Mueller-Steinhagen-Heck (smooth quality interpolation). Use when sizing flare lines, two-phase risers, knock-out drum inlets, or boiler-tube pressure\"\ncategory: chemical-engineering\nversion: 1.0.0\ndisable-model-invocation: false\nrisk: low\nsource: \"https:\u002F\u002Fgithub.com\u002Fjskherman\u002Fengg-skills\"\nsource_repository: \"jskherman\u002Fengg-skills\"\nsource_path: \"skills\u002Ftwo-phase-flow\u002FSKILL.md\"\nlicense: \"MIT\"\nimported_at: \"2026-09-20\"\n---\n# Two-Phase Pressure Drop\n\n## Overview\n\nThree established gas-liquid two-phase pressure-drop correlations from the\n`fluids.two_phase` module. Each correlation has its strengths:\n\n- **Lockhart-Martinelli**: classical horizontal, widely cited, ±30% typical.\n- **Beggs-Brill**: handles inclination (essential for risers, hilly\n  pipelines).\n- **Mueller-Steinhagen-Heck**: smooth interpolation between all-liquid and\n  all-vapor frictional gradients; recommended starting point for\n  refrigerant evaporator design.\n\n## Prerequisites\n\n1. `uv` available.\n2. On first use, the script writes `LICENSE_NOTIFICATION.txt` listing the\n   `fluids` library terms.\n\n## When to Use\n\n- Two-phase frictional pressure drop is needed in a pipe (flare, reboiler\n  return, riser, knock-out drum inlet, slug catcher manifold).\n- Comparing two correlations to bracket the design pressure drop.\n\n## Don't use for\n\n- Single-phase pipe flow — use `pipe-flow-pressure-drop`.\n- Choked \u002F sonic flow at a relief valve outlet — use `relief-valve-sizing-api520`.\n- Two-phase across a control valve — consult vendor methods; the control-valve\n  sizing skill only covers liquid\u002Fgas ISA sizing, not two-phase trim rating.\n\n## Utility Scripts\n\n- `uv run scripts\u002Ftwo_phase.py lm --m 5.0 --quality 0.3 --rho-l 600 --rho-g 30 --mu-l 0.0002 --mu-g 1.0e-5 --D 0.1 --L 50 --output \u002Ftmp\u002Flm.json`\n- `uv run scripts\u002Ftwo_phase.py beggs-brill --m 5.0 --quality 0.3 --rho-l 600 --rho-g 30 --mu-l 0.0002 --mu-g 1.0e-5 --sigma 0.02 --P 1000000 --D 0.1 --L 50 --angle 30 --output \u002Ftmp\u002Fbb.json`\n- `uv run scripts\u002Ftwo_phase.py msh --m 5.0 --quality 0.3 --rho-l 600 --rho-g 30 --mu-l 0.0002 --mu-g 1.0e-5 --D 0.1 --L 50 --output \u002Ftmp\u002Fmsh.json`\n\n## Procedure\n\n1. Establish phase mass flow rates and quality `x = m_g \u002F (m_g + m_l)`.\n2. Get phase densities and viscosities at operating conditions (use\n   `vle-flash-calculations` if needed).\n3. Pick a correlation:\n   - Horizontal, dilute liquid: Lockhart-Martinelli.\n   - Inclined, any angle, oil\u002Fgas pipeline: Beggs-Brill.\n   - Refrigerant \u002F process evaporator, smooth quality range: Mueller-\n     Steinhagen-Heck.\n4. Run two correlations and compare; use the higher dP for the design\n   margin unless one is clearly outside its validity range.\n\n## Pitfalls\n\n- Using a single-phase friction factor on a two-phase stream.\n- Treating the slip ratio as 1 (homogeneous) for high-quality steam — fine\n  for refrigerant boiling, not for low-pressure flashing systems.\n- Ignoring vapor density variation along the pipe; for long lines the\n  acceleration term can dominate at the outlet.\n- Picking Lockhart-Martinelli for a vertical riser; it does not include\n  gravity head.\n- Picking Beggs-Brill horizontal mode at 0° without verifying the\n  correlation switches to the appropriate flow regime.\n- Forgetting that quality changes when heat is added or pressure drops\n  (flashing or condensing). The correlations assume a constant quality over\n  the pipe length L; for large dP \u002F large dT, segment the pipe.\n- Reporting only one correlation's number; a 2x spread between correlations\n  is normal for two-phase flow.\n- Using these correlations for entrained-droplet flow at high vapor velocity\n  with a demister downstream; entrainment loading matters and is not in the\n  correlation.\n\n## Fallback Strategies\n\n- If `fluids` is not installed, escalate to the user; there is no clean\n  pure-Python fallback for Beggs-Brill that captures all flow regimes.\n- For very high quality (x → 1), the Lockhart-Martinelli parameter X\n  approaches 0 and the correlation degrades; switch to a homogeneous-flow\n  approximation or to Mueller-Steinhagen-Heck.\n\n## Verification\n\n- Run the listed script with representative inputs and an `--output` file when a deterministic calculation is available.\n- Confirm the JSON result contains `ok: true`, expected units, and no unhandled warnings.\n- Check result magnitudes against the stated assumptions, references, and a hand calculation or known operating range before reporting them.\n\n## References\n\n- `references\u002Fcorrelation_choice.md` — when each correlation is most suitable.\n- Beggs & Brill, *Two-Phase Flow in Pipes* (Univ Tulsa Press, 1991).\n- Lockhart & Martinelli, *Chem Eng Prog* 45, 1949.\n- Mueller-Steinhagen & Heck, *Chem Eng Proc* 20, 1986.\n- `fluids` documentation: https:\u002F\u002Ffluids.readthedocs.io\u002Ffluids.two_phase.html\n\n## Anti-Patterns\n\n- Picking one correlation and not documenting why.\n- Designing a flare line without checking back-pressure on multiple PRV\n  cases.\n- Treating two-phase dP as if it were 1.2x single-phase dP — that\n  shortcut fails dramatically in slug flow.\n","# Two-Phase Pressure Drop\n\n## Overview\n\nThree established gas-liquid two-phase pressure-drop correlations from the\n`fluids.two_phase` module. Each correlation has its strengths:\n\n- **Lockhart-Martinelli**: classical horizontal, widely cited, ±30% typical.\n- **Beggs-Brill**: handles inclination (essential for risers, hilly\n  pipelines).\n- **Mueller-Steinhagen-Heck**: smooth interpolation between all-liquid and\n  all-vapor frictional gradients; recommended starting point for\n  refrigerant evaporator design.\n\n## Prerequisites\n\n1. `uv` available.\n2. On first use, the script writes `LICENSE_NOTIFICATION.txt` listing the\n   `fluids` library terms.\n\n## When to Use\n\n- Two-phase frictional pressure drop is needed in a pipe (flare, reboiler\n  return, riser, knock-out drum inlet, slug catcher manifold).\n- Comparing two correlations to bracket the design pressure drop.\n\n## Don't use for\n\n- Single-phase pipe flow — use `pipe-flow-pressure-drop`.\n- Choked \u002F sonic flow at a relief valve outlet — use `relief-valve-sizing-api520`.\n- Two-phase across a control valve — consult vendor methods; the control-valve\n  sizing skill only covers liquid\u002Fgas ISA sizing, not two-phase trim rating.\n\n## Utility Scripts\n\n- `uv run scripts\u002Ftwo_phase.py lm --m 5.0 --quality 0.3 --rho-l 600 --rho-g 30 --mu-l 0.0002 --mu-g 1.0e-5 --D 0.1 --L 50 --output \u002Ftmp\u002Flm.json`\n- `uv run scripts\u002Ftwo_phase.py beggs-brill --m 5.0 --quality 0.3 --rho-l 600 --rho-g 30 --mu-l 0.0002 --mu-g 1.0e-5 --sigma 0.02 --P 1000000 --D 0.1 --L 50 --angle 30 --output \u002Ftmp\u002Fbb.json`\n- `uv run scripts\u002Ftwo_phase.py msh --m 5.0 --quality 0.3 --rho-l 600 --rho-g 30 --mu-l 0.0002 --mu-g 1.0e-5 --D 0.1 --L 50 --output \u002Ftmp\u002Fmsh.json`\n\n## Procedure\n\n1. Establish phase mass flow rates and quality `x = m_g \u002F (m_g + m_l)`.\n2. Get phase densities and viscosities at operating conditions (use\n   `vle-flash-calculations` if needed).\n3. Pick a correlation:\n   - Horizontal, dilute liquid: Lockhart-Martinelli.\n   - Inclined, any angle, oil\u002Fgas pipeline: Beggs-Brill.\n   - Refrigerant \u002F process evaporator, smooth quality range: Mueller-\n     Steinhagen-Heck.\n4. Run two correlations and compare; use the higher dP for the design\n   margin unless one is clearly outside its validity range.\n\n## Pitfalls\n\n- Using a single-phase friction factor on a two-phase stream.\n- Treating the slip ratio as 1 (homogeneous) for high-quality steam — fine\n  for refrigerant boiling, not for low-pressure flashing systems.\n- Ignoring vapor density variation along the pipe; for long lines the\n  acceleration term can dominate at the outlet.\n- Picking Lockhart-Martinelli for a vertical riser; it does not include\n  gravity head.\n- Picking Beggs-Brill horizontal mode at 0° without verifying the\n  correlation switches to the appropriate flow regime.\n- Forgetting that quality changes when heat is added or pressure drops\n  (flashing or condensing). The correlations assume a constant quality over\n  the pipe length L; for large dP \u002F large dT, segment the pipe.\n- Reporting only one correlation's number; a 2x spread between correlations\n  is normal for two-phase flow.\n- Using these correlations for entrained-droplet flow at high vapor velocity\n  with a demister downstream; entrainment loading matters and is not in the\n  correlation.\n\n## Fallback Strategies\n\n- If `fluids` is not installed, escalate to the user; there is no clean\n  pure-Python fallback for Beggs-Brill that captures all flow regimes.\n- For very high quality (x → 1), the Lockhart-Martinelli parameter X\n  approaches 0 and the correlation degrades; switch to a homogeneous-flow\n  approximation or to Mueller-Steinhagen-Heck.\n\n## Verification\n\n- Run the listed script with representative inputs and an `--output` file when a deterministic calculation is available.\n- Confirm the JSON result contains `ok: true`, expected units, and no unhandled warnings.\n- Check result magnitudes against the stated assumptions, references, and a hand calculation or known operating range before reporting them.\n\n## References\n\n- `references\u002Fcorrelation_choice.md` — when each correlation is most suitable.\n- Beggs & Brill, *Two-Phase Flow in Pipes* (Univ Tulsa Press, 1991).\n- Lockhart & Martinelli, *Chem Eng Prog* 45, 1949.\n- Mueller-Steinhagen & Heck, *Chem Eng Proc* 20, 1986.\n- `fluids` documentation: https:\u002F\u002Ffluids.readthedocs.io\u002Ffluids.two_phase.html\n\n## Anti-Patterns\n\n- Picking one correlation and not documenting why.\n- Designing a flare line without checking back-pressure on multiple PRV\n  cases.\n- Treating two-phase dP as if it were 1.2x single-phase dP — that\n  shortcut fails dramatically in slug flow.\n",{"name":5,"risk":24,"source":25,"license":15,"version":26,"category":27,"description":7,"imported_at":28,"source_path":29,"source_repository":30,"disable-model-invocation":20},"low","https:\u002F\u002Fgithub.com\u002Fjskherman\u002Fengg-skills","1.0.0","chemical-engineering","2026-09-20","skills\u002Ftwo-phase-flow\u002FSKILL.md","jskherman\u002Fengg-skills","main","2d1750717747097b602acf30bd09a7cbd4b4c6ea","awesome_skills\u002Fchemical-engineering\u002Ftwo-phase-flow","https:\u002F\u002Fgithub.com\u002FMr-Nobody-Anonymous\u002FAll-skills","https:\u002F\u002Fgithub.com\u002FMr-Nobody-Anonymous","2026-11-09 11:45:36",{"source":8,"skillName":5,"commands":38,"prompt":48,"zipAvailable":49},[39,42,45],{"tool":40,"command":41},"npx","npx skills add Mr-Nobody-Anonymous\u002FAll-skills --skill two-phase-flow",{"tool":43,"command":44},"bunx","bunx skills add Mr-Nobody-Anonymous\u002FAll-skills --skill two-phase-flow",{"tool":46,"command":47},"pnpm","pnpm dlx skills add Mr-Nobody-Anonymous\u002FAll-skills --skill two-phase-flow","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002FMr-Nobody-Anonymous\u002FAll-skills\u002Fblob\u002Fmain\u002Fawesome_skills\u002Fchemical-engineering\u002Ftwo-phase-flow\u002FSKILL.md",true,[51,57],{"path":52,"resourceType":53,"resourceTypeDesc":54,"sizeBytes":55,"sourceHtmlUrl":56},"references\u002Fcorrelation_choice.md","REFERENCE","参考文档",908,"https:\u002F\u002Fgithub.com\u002FMr-Nobody-Anonymous\u002FAll-skills\u002Fblob\u002Fmain\u002Fawesome_skills\u002Fchemical-engineering\u002Ftwo-phase-flow\u002Freferences\u002Fcorrelation_choice.md",{"path":58,"resourceType":59,"resourceTypeDesc":60,"sizeBytes":61,"sourceHtmlUrl":62},"scripts\u002Ftwo_phase.py","SCRIPT","脚本",3745,"https:\u002F\u002Fgithub.com\u002FMr-Nobody-Anonymous\u002FAll-skills\u002Fblob\u002Fmain\u002Fawesome_skills\u002Fchemical-engineering\u002Ftwo-phase-flow\u002Fscripts\u002Ftwo_phase.py",[64,72,79,86,93,100],{"skillNo":65,"name":66,"nameZh":6,"description":67,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":68,"categories":69,"keywords":70,"publishedAt":71},"01M7FFFZPC2025JQQHPHDX154J","dei-assessment","Assess diversity, equity, and inclusion with metrics. TRIGGERS - Use when user needs help with dei-assessment related tasks.","https:\u002F\u002Fgithub.com\u002FMr-Nobody-Anonymous\u002FAll-skills\u002Fblob\u002Fmain\u002Fawesome_skills\u002Fhr-people\u002Fdei-assessment\u002FSKILL.md",[],[],"2026-11-16 10:05:34",{"skillNo":73,"name":74,"nameZh":6,"description":75,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":76,"categories":77,"keywords":78,"publishedAt":71},"01M7FFFWN8H4WA7A6Y398QKB6J","dei-action-plan","Create DEI action plans with goals and initiatives. TRIGGERS - Use when user needs help with dei-action-plan related tasks.","https:\u002F\u002Fgithub.com\u002FMr-Nobody-Anonymous\u002FAll-skills\u002Fblob\u002Fmain\u002Fawesome_skills\u002Fhr-people\u002Fdei-action-plan\u002FSKILL.md",[],[],{"skillNo":80,"name":81,"nameZh":6,"description":82,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":83,"categories":84,"keywords":85,"publishedAt":71},"01M7FFFSHTM0QZRVZ2NRJTJ0PY","culture-fit-assessment","Design culture add assessment processes. TRIGGERS - Use when user needs help with culture-fit-assessment related tasks.","https:\u002F\u002Fgithub.com\u002FMr-Nobody-Anonymous\u002FAll-skills\u002Fblob\u002Fmain\u002Fawesome_skills\u002Fhr-people\u002Fculture-fit-assessment\u002FSKILL.md",[],[],{"skillNo":87,"name":88,"nameZh":6,"description":89,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":90,"categories":91,"keywords":92,"publishedAt":71},"01M7FFFMA12RKEQA38KHJSXXPS","cowork-to-code-bridge","Use an already-installed, independently verified cowork-to-code bridge to run narrowly approved actions on the user's own macOS, Linux, or WSL2 machine through a local file queue.","https:\u002F\u002Fgithub.com\u002FMr-Nobody-Anonymous\u002FAll-skills\u002Fblob\u002Fmain\u002Fawesome_skills\u002Fhr-people\u002Fcowork-to-code-bridge\u002FSKILL.md",[],[],{"skillNo":94,"name":95,"nameZh":6,"description":96,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":97,"categories":98,"keywords":99,"publishedAt":71},"01M7FFFH1F6M8YRGW5V487GH1K","counter-offer-response","Draft counter-offer responses for retention. TRIGGERS - Use when user needs help with counter-offer-response related tasks.","https:\u002F\u002Fgithub.com\u002FMr-Nobody-Anonymous\u002FAll-skills\u002Fblob\u002Fmain\u002Fawesome_skills\u002Fhr-people\u002Fcounter-offer-response\u002FSKILL.md",[],[],{"skillNo":101,"name":102,"nameZh":6,"description":103,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":104,"categories":105,"keywords":106,"publishedAt":71},"01M7FFFDGEHV8Y7J9N40HZXW52","continuous-feedback-system","Design continuous feedback systems. TRIGGERS - Use when user needs help with continuous-feedback-system related tasks.","https:\u002F\u002Fgithub.com\u002FMr-Nobody-Anonymous\u002FAll-skills\u002Fblob\u002Fmain\u002Fawesome_skills\u002Fhr-people\u002Fcontinuous-feedback-system\u002FSKILL.md",[],[]]