[Getdp] normal component of gradient od scalar function
michael.asam at infineon.com
michael.asam at infineon.com
Wed Jun 3 09:43:23 CEST 2015
Hi Judith,
please have a look at this example in the wiki:
https://geuz.org/trac/getdp/wiki/Capacitor2D
There is an electro-static simulation where the charge
Q (= surface integral of epsilon times the normal component
of the gradient of the electric potential) is calculated.
Cheers,
Michael
From: getdp [mailto:getdp-bounces at ace20.montefiore.ulg.ac.be] On Behalf Of Mengelkamp Judith TU Ilmenau
Sent: Tuesday, June 02, 2015 11:48 AM
To: getdp at geuz.org
Subject: [Getdp] normal component of gradient od scalar function
Hello getDP-users,
in my current project I have to calculate the surface integral of the normal component of the gradient of the electric potential. How do I do this in getDP-formulation? Is there somewhere an example?
I searched on the internet and found that a BF_GradGroupOfNodes basis function with a OnOneSideOf group.
So my function space looks like (Domain_SC is a surface entity, Domain is the whole domain)
{ Name Hgrad_phi ; Type Form1 ;
BasisFunction {
{ Name sn2 ; NameOfCoef phin2 ; Function BF_GradGroupOfNodes ;
Support ElementsOf[Domain, OnOneSideOf Domain_SC] ; Entity NodesOf[Domain_SC] ; }
}
Constraint {
{ NameOfCoef phin2 ; EntityType GroupsOfNodesOf ;
NameOfConstraint DirichletPhi2 ; }
}
}
With the constraint
{ Name DirichletPhi2 ; Type Assign;
Case {
{ Region Domain_SC ; Value 0. ; }
}
}
And the formulation
Galerkin { [ sigma[] * Dof{d phi} , {phi} ] ; In Domain_SC ; Jacobian JVol ; Integration I1 ; }
However, the solution does not look satisfying to me.
Any held would be highly appreciated.
Thanks in advance,
Judith.
--------------------------------------------
M.Sc. Judith Mengelkamp
Technische Universität Ilmenau
Institut für Biomedizinische Technik und Informatik (Institute for Biomedical Engineering and Informatics)
Fachgebiet Biomedizinische Technik (Biomedical Engineering Group)
Phone: +49 3677 69-1958
Fax: +49 3677 69-1311
e-mail: judith.mengelkamp at tu-ilmenau.de<mailto:judith.mengelkamp at tu-ilmenau.de>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.geuz.org/pipermail/getdp/attachments/20150603/14861664/attachment.html>