Dear Jonathan,
thank you for reply.

>> t = Variable()
>> t.setValue(1)
>>
>> N = CellVariable(mesh=mesh, value = t)
>
> This *initializes* N to the value of t, it does not make N *depend* on t. To 
> get a CellVariable that changes in time, you need to write >an expression like
>
> N = CellVariable(mesh=mesh, value=1) * t

OK, that was some easy example, and it can be solved like this. But
what if Term coefficient is time dependent function (for instance,
velocity in ConvectionTerm)?:

ConvCoeff = FaceVariable(mesh=mesh, value=v(x,t), rank 1)

In the problem, it should be updated each time-step.

Regards,
Igor.

Reply via email to