[Getdp] bugs in 3D magnetodynamic example

Ruth V. Sabariego r.sabariego at ulg.ac.be
Sun Feb 10 10:38:06 CET 2008


Indeed, the definition of multiple sources has slightly changed in last 
versions.
You should use loops instead. So the code you copied below should be 
modified as follows:
Group {
  For iInd In { 1:Nbr_DomainB_Mag }
    SkinDomainBtot_Mag~{iInd} = Region[ {SkinDomainB_Mag~{iInd}, 
SurfaceGh0} ] ;
    DomainCCmB_Mag~{iInd} = Region[ {Domain_CC2_Mag~{iInd}, 
-DomainB_Mag~{iInd}} ] ;
  EndFor
}

Of course, there are also some small modifications in the rest of the .pro.
Regards,
Ruth


den wrote:
> Dear all!
> I have an error at start of calculation from an example http://geuz.org/getdp/wiki/MagnetoDynamics.
> Info: Calling ' F:/Install/GMSH/gmsh-2.0.8-Windows/getdp.exe "F:\Install\GMSH\new\CoilAboveACrack.pro"-msh "F:/Install/GMSH/new/CoilAboveACrack.msh"-pre-socket "127.0.0.1:44122" '
> GetDP: Loading: Problem definition ' F:\Install\GMSH\new\CoilAboveACrack.pro '
> GetDP: Loading: Problem definition ' F:\Install\GMSH\new\CoilAboveACrack_dat.pro '
> GetDP: Loading: Problem definition ' F:\Install\GMSH\new\Jacobian_Lib.pro '
> GetDP: Loading: Problem definition ' F:\Install\GMSH\new\Integration_Lib.pro '
> GetDP: Loading: Problem definition ' F:\Install\GMSH\new\MagDyn_hphi_Bob.pro '
> GetDP: Loading: Problem definition ' F:\Install\GMSH\new\MagSta_hs_js0.pro '
> GetDP: Error (' F:\Install\GMSH\new\MagSta_hs_js0.pro ' line 57): parse error on ' {'
>
>      56 Group {
>      57 SkinDomainBtot_Mag {#Nbr_DomainB} = Region [{SkinDomainB_Mag {}, SurfaceGh0}];
>      58 DomainCCmB_Mag {#Nbr_DomainB} = Region [{DomainCC2_Mag {},-DomainB_Mag {}}];
>      59}
>
> It is installed getdp-1.2.1-Windows and gmsh-2.0.8-Windows.
>
> Kind regards
> Denis Batishchev
> The South Russia State Technical University (SRSTU) (Novocherkassk Polytechnical Institute) (NPI)
>
> _______________________________________________
> getdp mailing list
> getdp at geuz.org
> http://www.geuz.org/mailman/listinfo/getdp
>
>
>   

-- 
Dr. Ir. Ruth V. Sabariego
University of Liege, Institut Montefiore,
Dept. of Electrical Engineering & Computer Science, 
Applied & Computational Electromagnetics (ACE),
Sart Tilman Campus, Grande Traverse, 10 (B28), B-4000 LIEGE, Belgium
phone: +32-4-3663737 -- fax: +32-4-3662910 -- http://elap.montefiore.ulg.ac.be/