Hello Allen,

**Short answer: **

From the attached JSON file, I see that you are using the TMCMC algorithm for Bayesian calibration. Please wait until the analysis is finished. If it was successful, you will see the results of the Bayesian calibration displayed in the RES panel of quoFEM. If the analysis fails, you will receive an error message in the message area in quoFEM. Until either of these two events occurs, the analysis is still progressing, even though it appears that nothing is happening when you see that the preset sample size number of work directory are created. The same directories are being reused while the analysis is running.

**Longer answer:**

It is typically not easy to sample the posterior probability distribution of the parameters of complex models such as the finite element model that you are using. To complete this hard task, the Transitional Markov chain Monte Carlo (TMCMC) algorithm constructs and samples a sequence of intermediate distributions, starting with the prior probability distribution. Sampling each of the intermediate densities requires propagating a Markov chain for a few steps (each step requires the model to be run). So, to generate the requested number (say 'Ns') of sample values from the posterior, the analysis will require (#intermediate_stages*#Markov_chain_steps_per_stage)*Ns model evaluations. So, once Ns model evaluations are complete (i.e., the preset sample size number of workdirs are created in the local results directory), this process repeats itself (#intermediate_stages*#Markov_chain_steps_per_stage) times. You will need to wait until this process completes to see the results of the analysis in quoFEM.

How long do you need to wait?

The number of intermediate distributions required to transition from the prior to the posterior depends on how different the prior is from the posterior. Since this is not known when the sampling is started, it is not possible to predict how many intermediate stages are necessary for a given problem. Typically, this number is in the range of 5-30 (the number may be much larger for your problem, it is not possible to know this beforehand). The number of Markov chain steps per stage is about 10. So, you will have to wait ~100 times the amount of time it takes to complete Ns model evaluations once. If this time is too large to run the analysis locally on your machine, and once you are sure that your model is setup correctly in quoFEM, you can use the 'RUN at DesignSafe' option in quoFEM. DesignSafe provides you access to a large number of processors, which allows you to run a much larger number of model evaluations concurrently. This brings down the time needed to run Ns model evaluations (however, the number of intermediate stages and the number of Markov chain steps does not change), and makes it feasible for you to perform Bayesian calibration of complex models which would not be possible without large computational resources.

How can you monitor the progress of the analysis while it is running?

A file called 'logFileTMCMC.txt' records the progress of the analysis in the 'tmp.SimCenter' directory within the local results directory. You can find the current stage number towards the end of the file. You will also find the value of a variable called 'beta' recorded in each stage. Intermediate stages are required until beta reaches a value of 1. Beta starts at 0 and initially grows very slowly, but the increase in beta typically accelerates, so do not be worried if you see that the value of beta is very small in the initial stages.

At the end of every stage, a new CSV file called 'resultsStage_.csv' containing the set of sample values from the intermediate density at that stage is written. This also is an indication that the analysis is progressing.

Hope this helps, and that you are able to effectively calibrate your model using quoFEM.

Best regards,

Aakash