-
Notifications
You must be signed in to change notification settings - Fork 1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #25080 from lynnmunday/Tikhonov
add Tikhonov regularization to optimization reporter
- Loading branch information
Showing
12 changed files
with
156 additions
and
26 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
12 changes: 12 additions & 0 deletions
12
...est/tests/optimizationreporter/bimaterial/gold/main_out_reg_OptimizationReporter_0001.csv
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
diffusivity_values,grad_diffusivity_values,measurement_time,measurement_values,measurement_xcoord,measurement_ycoord,measurement_zcoord,misfit_values,simulation_values | ||
5.0392293470097,-1.8258437961549e-07,0,1.5499999950466,0,-3.99,0,-0.012066421017338,1.5379335740293 | ||
9.1392923375053,9.2441609922389e-11,0,122.15999960961,0,-3.192,0,-0.95098967192064,121.20900993769 | ||
0,0,0,230.74999926258,0,-2.394,0,-1.7963397740259,228.95365948855 | ||
0,0,0,326.45999895672,0,-1.596,0,-2.54142180988,323.91857714684 | ||
0,0,0,409.18999869233,0,-0.798,0,-3.1854573006883,406.00454139164 | ||
0,0,0,479.99999846604,0,0,0,-3.736698121486,476.26330034455 | ||
0,0,0,508.43499922095,0,0.798,0,-1.058786683721,507.37621253723 | ||
0,0,0,530.90999981763,0,1.596,0,1.0578322564506,531.96783207408 | ||
0,0,0,546.895000242,0,2.394,0,2.5632451044535,549.45824534645 | ||
0,0,0,556.44000049541,0,3.192,0,3.4621606899426,559.90216118535 | ||
0,0,0,559.97500058926,0,3.99,0,3.7950749481626,563.77007553742 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
16 changes: 16 additions & 0 deletions
16
modules/optimization/test/tests/optimizationreporter/bimaterial/regularization_for_main.i
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
[OptimizationReporter] | ||
type = OptimizationReporter | ||
parameter_names = diffusivity_values | ||
num_values = 2 | ||
initial_condition = '35 35' | ||
tikhonov_coeff = 10 | ||
lower_bounds = '1' | ||
upper_bounds = '50' | ||
measurement_file = 'synthetic_data.csv' | ||
file_value = 'temperature' | ||
[] | ||
|
||
[Outputs] | ||
file_base = main_out_reg | ||
csv = true | ||
[] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
4 changes: 4 additions & 0 deletions
4
...st/tests/optimizationreporter/point_loads/gold/main_out_reg_OptimizationReporter_0001.csv
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
grad_parameter_results,measurement_time,measurement_values,measurement_xcoord,measurement_ycoord,measurement_zcoord,misfit_values,parameter_results,simulation_values | ||
-1.8041124150159e-16,0,293,0.5,0.28,0,2.1564416769367,-235.62098191604,295.15644167694 | ||
-1.0026701691146e-15,0,320,0.5,1.1,0,-1.5143353633924,-257.85338047184,318.48566463661 | ||
-5.1764148523148e-15,0,0,0,0,0,0,512.22832227015,0 |
14 changes: 14 additions & 0 deletions
14
modules/optimization/test/tests/optimizationreporter/point_loads/regularization_for_main.i
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
[OptimizationReporter] | ||
type = OptimizationReporter | ||
parameter_names = 'parameter_results' | ||
num_values = '3' | ||
tikhonov_coeff = 0.0001 | ||
measurement_points = '0.5 0.28 0 | ||
0.5 1.1 0' | ||
measurement_values = '293 320' | ||
[] | ||
|
||
[Outputs] | ||
file_base = main_out_reg | ||
csv = true | ||
[] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters