# [Getdp] FW: how to get coordinates of potential vector

Frederic Trillaud ftrillaudp at gmail.com
Fri May 17 15:08:44 CEST 2013

```Thnaks,

Actually I am doing an axi-symmetric computation. The problem is that
the result of the magnetic energy is not correct using the integral (r
AJ) over the conductor whereas integrating the magnetic energy density
works over the entire domain.

I am going to post more details to explain the problem.

Best,

Frederic-
----Original Message-----
From: michael.asam at infineon.com
To: getdp at geuz.org
Subject: [Getdp] FW: how to get coordinates of potential vector
Date: Fri, 17 May 2013 06:30:56 +0000

Hi Frederic,

the function X[] accepts no arguments. It just delivers the actual x-coordinate
during the integration.
But GetDP can handle axi-symmetry directly by applying VolAxi and/or SurAxi as
Jacobian-type. See for example:
https://geuz.org/trac/getdp/wiki/TorusCurrent
or
https://geuz.org/trac/getdp/wiki/RadiativeHeatTransfer

Cheers
Michael

-----Original Message-----
From: getdp-bounces at ace20.montefiore.ulg.ac.be [mailto:getdp-bounces at ace20.montefiore.ulg.ac.be] On Behalf Of Frederic Trillaud
Sent: Thursday, May 16, 2013 4:39 PM
To: getdp at geuz.org
Subject: [Getdp] how to get coordinates of potential vector

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

_______________________________________________
getdp mailing list
getdp at geuz.org
http://www.geuz.org/mailman/listinfo/getdp

_______________________________________________
getdp mailing list
getdp at geuz.org
http://www.geuz.org/mailman/listinfo/getdp

```

More information about the getdp mailing list