cfd-fluids
БесплатноБез исполняемых скриптовНе проверенDeep integration with computational fluid dynamics tools for internal and external flow analysis
от a5c-ai★ 1 947 звёзд на GitHubОб этом скилле
CFD Analysis Skill
Purpose
The CFD Analysis skill provides deep integration with computational fluid dynamics tools for internal and external flow analysis, enabling systematic setup, execution, and post-processing of fluid simulations.
Capabilities
- ANSYS Fluent, CFX, OpenFOAM workflow automation
- Mesh generation for complex geometries (structured, unstructured)
- Turbulence model selection (k-epsilon, k-omega, SST, LES)
- Boundary condition specification (inlet, outlet, wall, symmetry)
- Steady-state and transient flow simulations
- Post-processing for pressure, velocity, and flow visualization
- Mesh independence studies and validation
- Pressure drop and flow coefficient calculations
Usage Guidelines
Pre-Processing
Geometry Preparation
CAD Cleanup
- Remove small features (< 3 cells)
- Fill gaps and holes
- Create smooth transitions
- Define fluid domain boundaries
Domain Definition
- Internal flow: Extract fluid volume
- External flow: Create far-field boundary
- Symmetry: Identify planes of symmetry
- Periodic: Define periodic pairs
Mesh Generation
Mesh Types
Type Application Pros/Cons Structured hex Simple geometries High quality, more effort Unstructured tet Complex geometries Flexible, more cells Polyhedral Complex internal Good quality, moderate count Hybrid Mixed regions Optimized for accuracy Boundary Layer Mesh
First cell height: y+ = 1 (wall-resolved) y+ = 30-300 (wall functions) y = y+ * mu / (rho * u_tau) u_tau = sqrt(tau_w / rho)Mesh Quality Criteria
Orthogonality: > 0.1 (> 0.3 preferred) Skewness: < 0.95 (< 0.8 preferred) Aspect ratio: < 100 (< 20 near walls)
Solver Configuration
Turbulence Models
| Model | Application | Wall Treatment |
|---|---|---|
| k-epsilon Standard | General industrial | Wall functions |
| k-epsilon Realizable | Rotation, separation | Wall functions |
| k-omega SST | Aerospace, separation | Low-Re or wall functions |
| Spalart-Allmaras | External aero | Low-Re |
| LES/DES | Unsteady, vortex shedding | Wall-resolved |
Boundary Conditions
Inlet Conditions
- Mass flow rate or velocity
- Turbulence intensity (1-5% typical)
- Hydraulic diameter or length scale
- Temperature (if energy equation)
Outlet Conditions
- Pressure outlet (most common)
- Outflow (fully developed)
- Mass flow outlet (specified)
Wall Conditions
- No-slip (default)
- Roughness (if significant)
- Thermal (adiabatic, fixed T, heat flux)
Solution Settings
Discretization Schemes
Convection: Second-order upwind (accuracy) First-order (stability) Pressure: PRESTO (complex geometry) Standard (simple geometry)Convergence Criteria
Residuals: < 1e-4 (typical) < 1e-6 (high accuracy) Monitor: Mass imbalance < 0.1% Force convergence
Post-Processing
Flow Visualization
- Streamlines and pathlines
- Velocity vectors
- Contour plots (P, V, T)
- Surface integral reports
Quantitative Results
- Pressure drop
- Flow coefficient (Cv)
- Heat transfer coefficient
- Force and moment
Process Integration
- ME-010: Computational Fluid Dynamics (CFD) Analysis
Input Schema
{
"geometry": "CAD file path",
"flow_type": "internal|external",
"fluid": {
"name": "string",
"density": "number (kg/m3)",
"viscosity": "number (Pa.s)",
"specific_heat": "number (J/kg.K, if thermal)"
},
"inlet": {
"type": "velocity|mass_flow|pressure",
"value": "number",
"temperature": "number (K, if thermal)"
},
"outlet": {
"type": "pressure|outflow",
"value": "number (if pressure)"
},
"analysis_type": "steady|transient",
"turbulence_model": "k-epsilon|k-omega-sst|spalart-allmaras|laminar"
}
Output Schema
{
"flow_results": {
"pressure_drop": "number (Pa)",
"flow_coefficient": "number (Cv)",
"max_velocity": "number (m/s)",
"reynolds_number": "number"
},
"forces": {
"drag": "number (N)",
"lift": "number (N)",
"moment": "array [Mx, My, Mz]"
},
"thermal_results": {
"heat_transfer_rate": "number (W)",
"average_htc": "number (W/m2.K)",
"outlet_temperature": "number (K)"
},
"mesh_statistics": {
"cell_count": "number",
"y_plus_range": [min, max],
"orthogonality_min": "number"
},
"convergence": {
"iterations": "number",
"residuals": "object",
"mass_imbalance": "number"
}
}
Best Practices
- Always perform mesh independence study
- Verify y+ values match turbulence model requirements
- Monitor mass and energy imbalance
- Validate with experimental data when available
- Sta
Установить cfd-fluids в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
ReadWriteGlobGrepBashFAQ
Что делает скилл cfd-fluids?
Deep integration with computational fluid dynamics tools for internal and external flow analysis
Как установить скилл cfd-fluids?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл cfd-fluids запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
skill-creator
Create new skills, modify and improve existing skills, and measure skill performance. Use when users want to create a skill from scratch, edit, or optimize an…
от Anthropicdiscernment-nudge
After you give a substantive answer or draft that the user may act on — advice or recommendations, drafted artifacts such as goals, plans, pitches, proposals…
от Anthropicdata-consolidate
Joins the plant's scheduled exports and connector data into one working dataset — ERP items (NetSuite or Infor M3), sales orders, production work orders…
от Anthropicinspection-to-capa
Runs the quality chain end to end: writes the nonconformance against the requirement it violates, searches history at the moment of writing to say whether…
от Anthropic