Troubleshooting

Simulation takes a very long time to finish

Adaptive time stepping is enabled by default; however, in certain cases, this can cause the time increments to be too small. The adaptive time stepping can be disabled. Alternatively, individual constraints can be tuned or turned off as well. This, of course, can reduce the stability of the model, so selection of the constraints that heavily limit the time increments must be done carefully.

For example, turning off the critical radius check can be done by:

PrecipitateModel.setConstraints(checkRcrit = False)

The critical radius constraint can also be changed by:

PrecipitateModel.setConstraints(maxRcritChange = 0.02)

Other constraints can be found in the KWNBase API.

Improvements to the speed and stability of the model are a continued work in progress.