-
Notifications
You must be signed in to change notification settings - Fork 3
Uncertainty Quantification
One of the analysis modes in MrHyDE is UQ
, but the embedded uncertainty quantification (UQ) capabilities are quite simple. It allows a user to set one MrHyDE simulation, but run multiple realization for different values of stochastic parameters. MrHyDE also has the ability to change the random orientation of the microstructure for each realization.
To create a UQ study using the default random number generator/seed, add the following Analysis
block to the input file:
Analysis:
analysis type: UQ
UQ:
seed: 123 # also the default
samples: 10
Sometimes, a user will want to generate a set of samples offline and then use MrHyDE to generate the data for these sample. This can be achieved by using the following setting:
Analysis:
analysis type: UQ
UQ:
use user defined: true
source: sample_points.dat
Performing a proper UQ study assumes that the user has defined a set of stochastic parameters than can be changed for each realization, e.g.:
Parameters:
a:
type: scalar
value: 1.0 # not actually used
usage: stochastic
distribution: uniform
min: 1.0
max: 2.0
b:
type: scalar
value: 0.0 # not actually used
usage: stochastic
distribution: Gaussian
mean: 0.0
variance: 1.0