[Getdp] [GetDP] Calculation of an Integral quantity

Olivier Castany castany at quatramaran.ens.fr
Tue Apr 24 22:58:40 CEST 2007


Hello,

> Yes. Both XS[] and $XS can normally be used, but I recommend using XS[], 
> as $XS has not been tested and is not guaranteed to be valid in all 
> expressions.

If I change $XS into XS[], I always get the error :

GetDP   : Error ('torus.pro' line 142): Unknown Function: XS

> The "sign reversal" in D_inf comes from the fact that the elements in 
> your mesh are reversed in that region... Be careful to create your mesh 
> with normals pointing in the correct direction.

Well... there is no reason why the result should depend on the 
orientation of that region...

but your remark lead me to the solution !!!

FUCK AN EGG !!! I found my mistake !

I was using Normal[] instead of NormalSource[] !!!

Now it works (with $XS...)

Thanks,

O.C.