Skip to content

Commit a1d3617

Browse files
committed
Updating demo_rom_manager.
1 parent b260a27 commit a1d3617

1 file changed

Lines changed: 7 additions & 4 deletions

File tree

rom_application/RomManager/demo_rom_manager.py

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ def GetRomManagerParameters():
8989
"svd_truncation_tolerance": 1e-6,
9090
"model_part_name": "Structure", // This changes depending on the simulation: Structure, FluidModelPart, ThermalPart #TODO: Idenfity it automatically
9191
"nodal_unknowns": ["DISPLACEMENT_X","DISPLACEMENT_Y"], // Main unknowns. Snapshots are taken from these
92-
"rom_basis_output_format": "numpy",
92+
"rom_basis_output_format": "numpy",
9393
"rom_basis_output_name": "RomParameters",
9494
"rom_basis_output_folder": "rom_data",
9595
"snapshots_control_type": "step", // "step", "time"
@@ -98,12 +98,15 @@ def GetRomManagerParameters():
9898
"monotonicity_preserving": false
9999
},
100100
"lspg_rom_bns_settings": {
101-
"train_petrov_galerkin": false,
102-
"basis_strategy": "residuals", // 'residuals', 'jacobian'
101+
"train_petrov_galerkin": false,
102+
"basis_strategy": "residuals", // 'residuals', 'jacobian', 'reactions'
103103
"include_phi": false,
104-
"svd_truncation_tolerance": 0.001,
104+
"svd_truncation_tolerance": 1e-12,
105105
"solving_technique": "normal_equations", // 'normal_equations', 'qr_decomposition'
106106
"monotonicity_preserving": false
107+
},
108+
"petrov_galerkin_rom_bns_settings": {
109+
"monotonicity_preserving": false
107110
}
108111
},
109112
"HROM":{

0 commit comments

Comments
 (0)