Harish Narayanan wrote:Hatef Monajemi wrote:
> > If Index notation is not working when using "TestFunctions" and
> > "TrialFunctions" then the question is :
> > 
> > How to write the nonlinear advective term without index notation???
> > 
> > a= v[i]*w[j]*D(u[i],j)
> > 
> > I think that "dot(w,grad)*u" can not be handled by ffc.

> You could try this instead:

> dot(mult(grad(u), w), v)

> Harish

Cool! thanks Harish

--------------------------------------
Hatef Monajemi
Graduate Student
Dept of Civil and Environmental Eng
2032 MC Building, Carleton University 
1125 Colonel By Drive, Ottawa 
Ontario, Canada, K1S 5B6
_______________________________________________
DOLFIN-dev mailing list
[email protected]
http://www.fenics.org/mailman/listinfo/dolfin-dev

Reply via email to