On 28. 05. 21 23:27, Max Maximilian wrote:
I am still confused of quasistatic setting for transient problems.
Since I set 'quasistatic' as False, it shows the error message: ValueError: data of variable are not set! (s, step 0).
However, the quasistatic guess of the initial condition is not expected sometimes. How should I avoid this issue?
Normally it would work, but you call problem.evaluate() in get_coef(), and at that time in the initial time step the initial conditions are not apparently applied yet (when 'quasistatic' is False), so the variables data are not initialized properly. As a workaround, try setting the values of liquid_saturation_values etc. manually if ts.step == 0.