优化点1,2.

This commit is contained in:
xinxiao
2026-04-01 18:58:03 +08:00
parent a166fe007e
commit 0b23161eee
15 changed files with 106 additions and 1315 deletions
+11 -5
View File
@@ -27,10 +27,14 @@ It is intentionally field-oriented so the future GUI can be built against a stab
| Config Path | Source Variable | Source File | Cases | Editable | Notes |
| --- | --- | --- | --- | --- | --- |
| `model.modelflag` | `modelflag` | `main1.m` | 1-7 | yes | Current examples use `1` |
| `model.grid_model` | `grid_model` | `main1.m` | 1-7 | yes | `1` SP, `2` DP |
| `model.flow_model` | `flow_model` | `main1.m` | 1-7 | yes | `1` gas-water, `2` oil-water, `3` multi-component |
Current GUI/runtime simplification:
- `modelflag` has been removed from the editable config schema.
- Runtime always uses `modelflag = 1`.
## Grid Geometry
| Config Path | Source Variable | Source File | Cases | Editable | Notes |
@@ -63,16 +67,18 @@ Derived fields produced by `GridProp_pre.m`:
| Config Path | Source Variable | Source File | Cases | Editable | Notes |
| --- | --- | --- | --- | --- | --- |
| `fracture.input_style` | `input_style` | `main1.m` | 1-7 | yes | 1 engineering, 2 vector, 3 2D lines, 4 fab reserved |
| `fracture.input_content` | `input_content` | `main1.m` | 1-7 | yes | Engineering fracture table |
| `fracture.f` | `f` | `main1.m` / helper outputs | 1-7 | advanced | Vector fracture representation |
| `fracture.fellip` | `fellip` | `main1.m` / helper outputs | 1-7 | advanced | Elliptic fractures |
| `fracture.fractureLines` | `fractureLines` | `main1.m` | 1-7 | yes | Used in mode 3 |
| `fracture.fractureHeights` | `fractureHeights` | `main1.m` | 1-7 | yes | Used in mode 3 |
| `fracture.flowBarrierFlags` | `flowBarrierFlags` | `main1.m` | 1-7 | yes | Optional |
| `fracture.frac_information` | `frac_information` | helper outputs | 1-7 | no | Generated by helper functions |
| `fracture.nf` | `nf` | `main1.m` | 1-7 | no | Derived fracture count |
Current GUI/runtime simplification:
- `FractureInputStyle` has been removed from the editable config schema.
- Runtime always uses the engineering-table path that reads `fracture.input_content`.
- `fractureLines`, `fractureHeights`, and `flowBarrierFlags` have been removed from the editable schema.
## Discretization Selection
| Config Path | Source Variable | Source File | Cases | Editable | Notes |
+6
View File
@@ -64,6 +64,12 @@ The three flow models are mutually exclusive:
The GUI should only show the active flow model's parameters.
Inactive model parameters should not be shown or used during runtime.
Current GUI simplifications now fixed in code:
- `modelflag` is no longer exposed; runtime always uses `1`.
- fracture input now uses only `FractureInput` / `fracture.input_content`
- `FractureInputStyle`, `FractureLines`, `FractureHeights`, and `FlowBarrierFlags` are no longer part of the active editable workflow
## What Has Been Completed
## 1. Parameter extraction and organization