[Getdp] ... Formulation question ...

mkoch at gvtc.com mkoch at gvtc.com
Wed Feb 28 19:25:43 CET 2007


Hello there,

I am trying to formulate "s*Norm(Grad Phi)" vs. "v*Grad(Phi)", whereby  
s is a scalar speed and v is a vector velocity - parallel to  
Grad(Phi). The formulation with the velocity seems to work just fine:

Galerkin{[Vel[]*Dof{d Phi},{Phi}];In Vlm;Integration Int;Jacobian Jac;}

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;}

All variations of this, such as

Galerkin{[Spd[]*Dof{Norm[Grad Phi]},{Phi}];In Vlm;Integration  
Int;Jacobian Jac;}

or

Galerkin{[Spd[]*Dof{Norm[d Phi]},{Phi}];In Vlm;Integration Int;Jacobian Jac;}

die a parse death as well. Can anybody help me implement the Norm  
formulation? This is in support of the Stefan Problem and Level Set  
Method I asked about before.

Thanks,

Matt Koch