[Getdp] ... Formulation question ...

Olivier Castany castany at quatramaran.ens.fr
Wed Feb 28 21:47:53 CET 2007


> I am trying to formulate "s*Norm(Grad Phi)" vs. "v*Grad(Phi)", whereby  

> However, the formulation with the speed crashes with a parse error on "[":
> 
> Galerkin{[Spd[]*Dof{Norm[{d Phi}]},{Phi}];In Vlm;Integration  
> Int;Jacobian Jac;}

My 2 cents :

"Norm(Grad Phi)" is not linear with respect to the field Phi. It is thus 
not possible to build a matrix equation with that term.

You can use something like : "Spd[]*{Norm[{d Phi}]}" in a "Galerkin" 
term. But the "Dof{...}" can not be used here (it would ask to build a 
matrix equation, which is not possible here).