You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This case is similar to the case described in question #244 but in 3d.
As one can see from the logfile, the first outer iteration (marked with "step: 1") runs through smoothly. In contrast, the second step takes very long (generated metrics in 0 iterations and 587.519 seconds ) and reports a lot of warning: gradation limiting is up to step .... Interestingly, steps 3 to 10 run through smoothly again.
@ibaned Do you have any pointers how to improve the code or is this the expected behaviour in 3d?
As only the second adaption step takes that long, it is not a major problem. For production runs I would take the following approach:
Start with a very coarse and uniform mesh (mesh1)
Interpolate the initial conditions on mesh1
Adapt mesh1 and get mesh2
Interpolate the initial conditions on mesh2
Repeat steps 3 and 4 a few times
Write final adapted mesh to disk and reuse this mesh in subsequent production runs.
@ibaned Do you think, that this is a sound approach?
I suspect the phi field has become very non-smooth in some part of the mesh... it would be interesting to look more closely at it. Typically gradation becomes slow when there are a few points in the mesh that request very very fine resolution due to spikes or noise in the input field. Another thing to experiment with is should_limit_element_count = False, as that process also iterates and could be iterating long for some unforeseen reason. I am also concerned by the decreasing min_quality_allowed. Omega_h (and your simulation) will perform much better if you can raise that 0.3.
This case is similar to the case described in question #244 but in 3d.
As one can see from the logfile, the first outer iteration (marked with "step: 1") runs through smoothly. In contrast, the second step takes very long (
generated metrics in 0 iterations and 587.519 seconds
) and reports a lot ofwarning: gradation limiting is up to step ...
. Interestingly, steps 3 to 10 run through smoothly again.@ibaned Do you have any pointers how to improve the code or is this the expected behaviour in 3d?
As only the second adaption step takes that long, it is not a major problem. For production runs I would take the following approach:
@ibaned Do you think, that this is a sound approach?
log:
demo_omegah_dolfin_3d.log
The text was updated successfully, but these errors were encountered: