Settings#
The settings of a FESTIM simulation are defined with a festim.Settings object.
import festim as F
my_settings = F.Settings(
atol=1e10,
rtol=1e-10,
transient=False,
)
Here you define with:
transient: whether the simulation is transient or steady-statefinal_time: the final time of the simulationchemical_pot: whether to run the simulation with conservation of chemical potential at interfaces (only useful for multi-materials)soret: whether to turn the Soret effect on or notabsolute_tolerance: the absolute tolerance of the Newton solverrelative_tolerance: the relative tolerance of the Newton solvermaximum_iterations: the maximum iterations of the Newton solver