3.0 KiB
3.0 KiB
Case Template Summary
This file captures the first-pass differences among the 7 existing example cases. The goal is to turn these into GUI presets later instead of keeping 7 separate hard-coded entry scripts.
Shared Structure
All current example main1.m scripts follow the same 8-part flow:
- model selection
- matrix grid definition
- fracture input
- discretization
- flow model and initial state
- well and schedule
- solver setup
- execution
Template Summary
| Case | Folder | Grid | Grid Model | Flow Model | Fracture Wells | Schedule Phases | Notes |
|---|---|---|---|---|---|---|---|
| 1 | 算例1-组分流-不规则非均质计算域 |
20 x 10 x 1 |
SP | Multi-component | 1 | 3 | Component transport, surfactant/salt injection |
| 2 | 算例2-组分流-无效网格 |
20 x 20 x 3 |
SP | Multi-component | 1 | 3 | Similar to case 1, but multi-layer and invalid-grid theme |
| 3 | 算例3-单重双重离散裂缝混合模型 |
20 x 10 x 1 |
DP | Multi-component | 1 | 3 | Dual-medium setup |
| 4 | 算例4-气水两相流-压力导数曲线 |
20 x 10 x 1 |
SP | Gas-water | 1 | 5 | Pressure derivative style schedule with very small early timesteps |
| 5 | 算例5-油水两相流-注焖采 |
20 x 10 x 1 |
SP | Oil-water | 1 | 3 | Injection-soak-production schedule |
| 6 | 算例6-油水两相流-直井注压裂水平井采 |
20 x 10 x 2 |
SP | Oil-water | 1 | 1 | Contains both conventional wells and fracture well |
| 7 | 算例7-油水两相流-不同裂缝制度不同 |
20 x 10 x 1 |
SP | Oil-water | 6 | 4 | Multiple fracture-well controls with different stages |
Key Template Differences
Grid
- Most cases use
dx = 50 * ones(1, 20). - Most cases use
dy = 50 * ones(1, 10). dzdiffers by case:- case 1: 1 layer
- case 2: 3 layers
- case 3: 1 layer
- case 4: 1 layer
- case 5: 1 layer
- case 6: 2 layers
- case 7: 1 layer
Discretization
- Cases 1, 2, 4, 5, 6, 7 use single-medium mode.
- Case 3 uses dual-medium mode.
Flow Physics
- Cases 1, 2, 3 use multi-component flow.
- Case 4 uses gas-water flow.
- Cases 5, 6, 7 use oil-water flow.
Wells
- Cases 1 to 5 mainly define fracture well completions through
welloc. - Case 6 includes conventional wells in
well1plus one fracture well inwell2. - Case 7 splits six fracture locations into six separately controlled fracture wells.
Schedule
- Cases 1, 2, 3: 3-stage schedule
- Case 4: 5-stage schedule with aggressive timestep ramping
- Case 5: 3-stage schedule
- Case 6: 1-stage schedule
- Case 7: 4-stage schedule
Preset Design Recommendation
Later, each GUI preset should contain:
- display name
- source folder
- default
config - supported flow model
- supported grid model
- notes for the result page
Suggested preset IDs:
case01_multicomponent_irregularcase02_multicomponent_invalid_gridcase03_multicomponent_dpcase04_gas_water_pressure_derivativecase05_oil_water_huff_n_puffcase06_oil_water_vertical_inj_fractured_horizontal_prodcase07_oil_water_multi_fracture_regimes