Difference between revisions of "Sig Numerical Optimization / Compatibility issues"
From OpenFOAMWiki
(→Switching from Dakota 5.* to Dakota 6.0.0) |
(→Switching from Dakota 6.0.0 to Dakota 6.1.0) |
||
Line 16: | Line 16: | ||
=== Switching from Dakota 6.0.0 to Dakota 6.1.0 === | === Switching from Dakota 6.0.0 to Dakota 6.1.0 === | ||
+ | |||
+ | |||
+ | The following changes have to be applied to Dakota 6.0.0 input files (for example, dakota_of.in in the Blunt Body case) in order to use them with Dakota 6.1.0: | ||
+ | |||
+ | |||
+ | In the interface block change the template_directory keyword to copy_files, e.g., | ||
#version 6.0.0 | #version 6.0.0 | ||
#template_directory = 'templatedir' | #template_directory = 'templatedir' | ||
+ | |||
#version 6.1.0 | #version 6.1.0 | ||
copy_files = 'templatedir/*' | copy_files = 'templatedir/*' |
Revision as of 19:47, 26 November 2014
1 Switching from Dakota 5.* to Dakota 6.0.0
Since the release of Dakota 6.0.0, few modifications have to be made in order to run cases made with Dakota 5.*.
The following changes have to be applied to Dakota 5.* input files (for example, dakota_of.in in the Blunt Body case):
- In the first specification block, change the keyword "strategy with "environment";
- In the same block, remove the line "single_method";
- In the specifications block 4 and 5, remove commas from the keyword: change "variables," to "variables and "interface," to "interface".
With these simple but necessary changes, you should be able to run cases made with the previous versions of Dakota smoothly.
2 Switching from Dakota 6.0.0 to Dakota 6.1.0
The following changes have to be applied to Dakota 6.0.0 input files (for example, dakota_of.in in the Blunt Body case) in order to use them with Dakota 6.1.0:
In the interface block change the template_directory keyword to copy_files, e.g.,
#version 6.0.0
#template_directory = 'templatedir'
#version 6.1.0 copy_files = 'templatedir/*'