Hi, guys:
Thanks a lot for all the suggestions. It really kind of you!
As a start, I tried to add a source and a sink term in the equation to
mimic the boundary condition with the following script:
c_source = 0
c_sink = 1
source_value = CellVariable(mesh=mesh, value=1e+10 * ((x-0.5)**2+
(y-
On Oct 13, 2010, at 10:25 AM, Benny Malengier wrote:
> Another way to indicate a class inheriting from DiffusionTerm may not be
> added to that class should be found in my opinion. Eg, one can have a class
> membervalue (like class.ADDITIONTERM) indicating with what term the class can
> be ad
2010/10/13 Daniel Wheeler
>
>
> On Tue, Oct 12, 2010 at 5:26 PM, BIN ZHANG wrote:
>
>> Dear Daniel:
>>
>> Thanks a lot for your suggestions. Now I'm actually able to solve the
>> problem with normal boundary conditions. But I still have one extra
>> question, is it possible for me to use complic
On Tue, Oct 12, 2010 at 5:26 PM, BIN ZHANG wrote:
> Dear Daniel:
>
> Thanks a lot for your suggestions. Now I'm actually able to solve the
> problem with normal boundary conditions. But I still have one extra
> question, is it possible for me to use complicated boundaries like the one
> shown in
On Tue, Oct 12, 2010 at 1:27 PM, BIN ZHANG wrote:
>
> Dear Daniel:
>
> Thanks a lot for your reply. Greatly appreciated.
>
> The trick you used to transform the equation is quite clever ;-). I guess
> now my question is how to represent $\partial_i V$ in the convection term.
Try,
>>> Convec
rce term, a convection term and a
diffusion term.
On Wed, Oct 6, 2010 at 9:35 PM, BIN ZHANG wrote:
Hi, there:
Is it possible to use a variable convection term rather than a
constant?
I am not certain what you mean by a "variable convection term". Do you
mean a convection term with a var
licit source term, a convection term and a
diffusion term.
On Wed, Oct 6, 2010 at 9:35 PM, BIN ZHANG wrote:
> Hi, there:
>
> Is it possible to use a variable convection term rather than a constant?
I am not certain what you mean by a "variable convection term". Do you
mean a convect