Skip to content

Commit e4a50b4

Browse files
committed
Settings Update Example.
1 parent ed8e49d commit e4a50b4

1 file changed

Lines changed: 12 additions & 7 deletions

File tree

  • rom_application/RomManager PotentialFlow/naca0012_incompressible_rom_potential_flow_2D_v0

rom_application/RomManager PotentialFlow/naca0012_incompressible_rom_potential_flow_2D_v0/rom_manager.py

Lines changed: 12 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ def GetRomManagerParameters():
7070
"rom_stages_to_train" : ["ROM","HROM"], // ["ROM","HROM"]
7171
"rom_stages_to_test" : ["ROM","HROM"], // ["ROM","HROM"]
7272
"paralellism" : null, // null, TODO: add "compss"
73-
"projection_strategy": "galerkin", // "lspg", "galerkin", "petrov_galerkin"
73+
"projection_strategy": "petrov_galerkin", // "lspg", "galerkin", "petrov_galerkin"
7474
"save_gid_output": true, // false, true #if true, it must exits previously in the ProjectParameters.json
7575
"save_vtk_output": false, // false, true #if true, it must exits previously in the ProjectParameters.json
7676
"output_name": "id", // "id" , "mu"
@@ -82,14 +82,19 @@ def GetRomManagerParameters():
8282
"rom_basis_output_name": "RomParameters",
8383
"snapshots_control_type": "step", // "step", "time"
8484
"snapshots_interval": 1,
85-
"petrov_galerkin_training_parameters":{
86-
"basis_strategy": "jacobian", // 'residuals', 'jacobian'
87-
"include_phi": true,
88-
"svd_truncation_tolerance": 1e-12,
89-
"echo_level": 0
85+
"galerkin_rom_bns_settings": {
86+
"monotonicity_preserving": false
9087
},
9188
"lspg_rom_bns_settings": {
92-
"solving_technique": "normal_equations" // 'normal_equations', 'qr_decomposition'
89+
"train_petrov_galerkin": false,
90+
"basis_strategy": "reactions", // 'residuals', 'jacobian'
91+
"include_phi": false,
92+
"svd_truncation_tolerance": 1e-8,
93+
"solving_technique": "normal_equations", // 'normal_equations', 'qr_decomposition'
94+
"monotonicity_preserving": false
95+
},
96+
"petrov_galerkin_rom_bns_settings": {
97+
"monotonicity_preserving": false
9398
}
9499
},
95100
"HROM":{

0 commit comments

Comments
 (0)