SWITCH_MODEL

Use the SWITCH_MODEL command to use the HOMOGENIZATION_MODEL to solve a problem if the classic model fails.

There are two solvers for moving phase boundary problems. The classic computationally efficient model and the more robust, but computationally more demanding, homogenization model. By default, the classic solver is tried first. If this fails, then the new solver is tried for a few time-steps before switching back to the classic solver, and so on.

The Diffusion Module (DICTRA) in Graphical Mode uses a Diffusion Calculator instead of the Console Mode commands. Most of the Console Mode functionality is available on the Diffusion Calculator. However, you cannot use both Graphical Mode and Console Mode in the same simulation.

Syntax

switch_model

Prompts

Enable automatic switch of model (Y/N)

Determine if automatic switching from the classic solver to the homogenization model is allowed.