sfepy/sfepy — Issue #151: Failure when time step's n_step is 1 
Author: rc
Created: 2012-01-30 10:27:28+00:00
State: open

Yes, n_step should be by definition > 1, but ...

'ts' : ('ts.simple', {
't0' : 0.0,
't1' : 1.0,
'dt' : None,
'n_step' : 1
}),

Migrated from http://code.google.com/p/sfepy/issues/detail?id=149

earlier comments

robert.cimrman said, at 2010-12-14T10:32:15.000Z:

Good catch. I have fixed that.

freevryheid said, at 2010-12-15T03:47:40.000Z:

I've reopened this issue just to query the first step output. I've noticed that the first step (even for multiple steps) always outputs zero's - is this a pre load/displacement condition?

This doesn't make sense if there is only one step since nothing gets output and seems to be a waste with more than 1 step.

freevryheid said, at 2010-12-15T05:04:10.000Z:

hmm - thinking about it - my t0 is always 0, hence no output - so probably a non-issue.

robert.cimrman said, at 2010-12-15T12:05:36.000Z:

Well, you should get the output file, and it should contain your initial condition.

If you want to get a quasistatic solution at the step 0 instead, add

'quasistatic' : True,

to the time solver options. I have fixed some errors just now, so get the latest version.

robert.cimrman said, at 2010-12-21T12:38:20.000Z:

So, does this work for you?

freevryheid said, at 2010-12-21T13:48:10.000Z:

Yes, thanks!