[Getdp] how to get coordinates of potential vector

Frederic Trillaud ftrillaudp at pumas.ii.unam.mx
Thu May 16 16:39:03 CEST 2013


Hi,

I am trying to compute the magnetic energy using the axi-symmetry of the
problem and the following formula: integralOverConductor of (pi*X*A*J),
where X is the coordinate of A and the radius in the axi-symmetric
problem (Y corresponds to the axis of symmetry), A potential vector, and
J the density of current in the conductor. I need to get the coordinate
X of A. Here is what I tried to do:

 {Name EMagAJ; Value{Integral {[(2.*Pi/2.)*X[{A}]*{A}*{Je}]; In
magneticSolutionDomain; Jacobian jacobianVolumeRegion; Integration
basicIntegration;}}}

which gives the following error message:

Error   : './methodForMagnetostaticProblem.pro', line 190 : Wrong number
of arguments for Function 'X' (1 instead of 0)


Best,

Frederic