Please login with a confirmed email address before reporting spam
Hi,
The first time step taken by the solver is (as long as you do not specify it explicitly) is
initial_time_step=0.001*end_time
This can affect your solution in two ways:
a) You will not get the same time step history up to a certain earlier time when the end time is changed. This should however not change the result appreciably if you have tight enough tolerances so that the automatic time step control does a good job.
b) The Consistent Initialization procedure tries to reconcile inconsistent initial values. In doing that, it takes a small time step (default 0.001*initial_time_step).
If for example you have boundary conditions and initial conditions which do not match, the results of the consistent initialization is strongly dependent on the initial time step taken.
An example of a similar problem can be found in
www.comsol.com/community/forums/general/thread/107622/
But even if your problem is not inconsistent, there can be a sensitivity to the initial time step: If time derivatives at t=0 are very large, it is important to take small time steps there.
To control this manually, change 'Initial step' and/or "Fraction of initial step for Backward Euler' in the 'Time Stepping' section of the 'Time-Dependent Solver' settings.
Regards,
Henrik
Hi,
The first time step taken by the solver is (as long as you do not specify it explicitly) is
initial_time_step=0.001*end_time
This can affect your solution in two ways:
a) You will not get the same time step history up to a certain earlier time when the end time is changed. This should however not change the result appreciably if you have tight enough tolerances so that the automatic time step control does a good job.
b) The Consistent Initialization procedure tries to reconcile inconsistent initial values. In doing that, it takes a small time step (default 0.001*initial_time_step).
If for example you have boundary conditions and initial conditions which do not match, the results of the consistent initialization is strongly dependent on the initial time step taken.
An example of a similar problem can be found in
http://www.comsol.com/community/forums/general/thread/107622/
But even if your problem is not inconsistent, there can be a sensitivity to the initial time step: If time derivatives at t=0 are very large, it is important to take small time steps there.
To control this manually, change 'Initial step' and/or "Fraction of initial step for Backward Euler' in the 'Time Stepping' section of the 'Time-Dependent Solver' settings.
Regards,
Henrik