[Getdp] Read-file-getdp
Gilles Vogt
vogtgilles at gmail.com
Mon May 11 15:18:29 CEST 2015
Hi,
On the wiki, you will be able to find examples about coupled problems. If
you can't use them in your case, here is my code when I need to import a
field :
In my "TheDyn" formulation (example):
...
Galerkin { [ -Field[XYZ[]] , {t} ];
In Omega_c2; Integration CurlCurl; Jacobian Vol; }
...
In my resolution section:
{ Name TheDyn;
System {
{ Name T; NameOfFormulation TheDyn; }
}
Operation {
GmshRead["GGH2_OhmicL.pos"];
InitSolution[T]; SaveSolution[T];
TimeLoopTheta[time0t, time1t, dtimet, theta] {
Generate[T]; Solve[T];
SaveSolution[T];
}
}
}
There is also the command line option -gmshread but I am not sure how to
use it.
Best regards,
2015-05-10 17:56 GMT+02:00 Mahmoud Elsawy <mreda2612 at gmail.com>:
> Dear Sir,
>
> Good afternoon,
>
> I am sorry for bothering you,
> I just started using getdp, and gmsh few months ago. I would like to ask
> you a question concerning getdp, I am using getdp to solve a problem and I
> managed to to generate my field profile in .dat, .pos format. I would
> like to use that file in another getdp code as an input field. Any
> suggestion please
>
> Thanks in advance,
> Kind Regards,
>
>
>
>
>
> _______________________________________________
> getdp mailing list
> getdp at geuz.org
> http://www.geuz.org/mailman/listinfo/getdp
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.geuz.org/pipermail/getdp/attachments/20150511/a6d4ed5c/attachment.html>