You can certainly write f.grad.dot(g.grad), but that will be fully explicit and 
will not converge very well. 

It's best to look at the equation in its entirety. Where did this term come 
from? Oftentimes, terms like this arise from relations like 

 \nabla\cdot(f\nabla g) \equiv \nabla f \cdot \nabla g + f \nabla^2 g

It is likely that you can combine terms in a way that is more implicit.


On Apr 27, 2015, at 9:58 PM, Dhisa Minerva <rtmine...@yahoo.com> wrote:

> How to write term in fipy for Grad(f)Grad(g) for f and g are functions in RnxT
> 
> I know that if I write ConvectionTerm(1,f)*ConvectionTerm(1,g), it wont work.
> 
> Thanks,
> I appreciate for all your helps.
> 
> Dhisa
> _______________________________________________
> fipy mailing list
> fipy@nist.gov
> http://www.ctcms.nist.gov/fipy
>  [ NIST internal ONLY: https://email.nist.gov/mailman/listinfo/fipy ]


_______________________________________________
fipy mailing list
fipy@nist.gov
http://www.ctcms.nist.gov/fipy
  [ NIST internal ONLY: https://email.nist.gov/mailman/listinfo/fipy ]

Reply via email to