优化点3,4

This commit is contained in:
xinxiao
2026-04-02 19:50:41 +08:00
parent 0b23161eee
commit 2622ee0c79
6 changed files with 984 additions and 1524 deletions
+8 -2
View File
@@ -68,7 +68,10 @@ config.discretization = struct( ...
'stress', struct( ...
'fracture_factor', 0, ...
'matrix_factor', 0, ...
'ref_pressure', 20)), ...
'ref_pressure', 20, ...
'Rpt', 0, ...
'cf', 0, ...
'ca', 0)), ...
'dp', struct( ...
'valid_grids', [], ...
'NTG', [], ...
@@ -95,7 +98,10 @@ config.discretization = struct( ...
'stress', struct( ...
'fracture_factor', 0, ...
'matrix_factor', 0, ...
'ref_pressure', 20)), ...
'ref_pressure', 20), ...
'Rpt', 0, ...
'cf', 0, ...
'ca', 0), ...
'notes', '');
config.flow = struct( ...
+2
View File
@@ -11,6 +11,8 @@ config = merge_struct_defaults(config, defaults);
config.model.grid_model = first_nonempty_scalar(config.model.grid_model, 1);
config.model.flow_model = first_nonempty_scalar(config.model.flow_model, 1);
config.flow.gas_water.gas_model = 1;
config.flow.multi_component.gas_model = 1;
legacy_model_fields = {'modelflag'};
legacy_fracture_fields = {'input_style', 'fractureLines', 'fractureHeights', 'flowBarrierFlags'};