# [Getdp] GlobalTerm in 2D Cap

RAGHURAM T.R. 121704004 at smail.iitpkd.ac.in
Thu Apr 12 06:42:48 CEST 2018

```Dear Christophe,

Thank you. I shall see to the tutorial example.

Regards,
Raghu

On Wed, Apr 11, 2018 at 12:13 PM, Christophe Geuzaine <geuzaine at gmail.com>
wrote:

>
> Dear Raghu,
>
> See Tutorial 4 on https://gitlab.onelab.info/doc/tutorials/wikis/home :
> the comments in the .pro file (https://gitlab.onelab.info/
> doc/tutorials/blob/master/ElectrostaticsFloating/floating.pro) provide a
> detailed explanation.
>
> Christophe
>
> On 11 Apr 2018, at 06:50, RAGHURAM T.R. <121704004 at smail.iitpkd.ac.in>
> wrote:
>
> Dear all,
>
> Could you please explain the "*GlobalTerm*" used in 2D capacitor
> formulation as below:
>
> Formulation {
>
>   { Name for_v ; Type FemEquation ;
>     Quantity {
>       { Name v; Type Local;  NameOfSpace fs_vglob; }
>       { Name Q; Type Global; NameOfSpace fs_vglob [GlobalElectricCharge]; }
>       { Name V; Type Global; NameOfSpace fs_vglob [GlobalElectricPotential]; }
>     }
>     Equation {
>       Galerkin { [ epsr[]*Dof{d v} , {d v} ] ; In Vol; Jacobian Vol ; Integration Int ; }
>       // div epsr[] grad v=0
>
>       GlobalTerm { [ -Dof{Q}/eps0 , {V} ] ; In Grouped ; }
>     }
>   }
> }
>
>
> I understand that the aim is to calculate the voltage (v) and the Galerkin
> term implements the Laplace equation in weak form. But what does the
> GlobalTerm implement? The Grouped domain consists of the two plates (One
> plate is given a fixed voltage and the other plate is grounded). I also
> read from the example that the GlobalTerm is used when the variable to be
> calculated is constant throughout a region and also that the GlobalTerm do
> in understanding this further in this context.
>
>
> Regards,
> Raghu
> _______________________________________________
> getdp mailing list
> getdp at onelab.info
> http://onelab.info/mailman/listinfo/getdp
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://onelab.info/pipermail/getdp/attachments/20180412/fc2fa9f8/attachment.html>
```