Page 1 of 1

How to set the source term of scalar in the implicit form?

Posted: Tue Mar 27, 2012 2:30 pm
by yhuang
hi, everyone

I defined two user scalars(c1 and c2), and the source term of two scalars are w1 and w2.

w1=w1(c1, c2)
w2=w2(c1, c2)

First, I set the the source term in the explicit form(the value of w1, w2 are at time step n), but the result is divergence.

So I want to set the source term in the implicit form(the value of w1, w2 are at time step n+1).


How to do this?

thanks!


Yuan Huang

Re: How to set the source term of scalar in the implicit fo

Posted: Tue Mar 27, 2012 2:58 pm
by Jacques Fontaine
Hello,

Could you please be more precise?
Best regards,