<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
Hi Constantin,<br>
There is a command you could use: SaveSolutionWithEntityNum<br>
To use in:<br>
Resolution {<br>
{ Name YourFormulation ;<br>
System {<br>
{ Name A ; NameOfFormulation YourFormulation ; Type Complex; }<br>
}<br>
Operation { <br>
Generate[A] ; Solve[A] ; SaveSolution[A] ; <br>
SaveSolutionWithEntityNum[A, NodesOf[YourPhysicalRegion]];<br>
}<br>
}<br>
<br>
That command writes three text files:<br>
1) file with 3 columns: <br>
node number, real part of de solution, imaginary part of the
solution<br>
2) first line indicates de total number of unknowns, then, you have
two columns: <br>
node number, real part of the solution<br>
3) like case file 2) but for the imaginary part.<br>
<br>
Hope this helps,<br>
Regards,<br>
Ruth<br>
<br>
<br>
On 05/09/11 14:56, Constantin Mokur wrote:
<blockquote
cite="mid:1315227403.15314.YahooMailNeo@web132220.mail.ird.yahoo.com"
type="cite">
<div style="color:#000; background-color:#fff; font-family:times
new roman, new york, times, serif;font-size:12pt">
<div><br>
<span></span></div>
<div><span>Hi Jens,</span></div>
<div><br>
<span></span></div>
<div><span>thanks a lot for your fast response!</span></div>
<div><span>It's a good hint but unfortunately in my case I want
to save some calculated values <br>
</span></div>
<div><span>(depending on the DOFs) and not the DOFs directly.
Therefore I'm looking for a<br>
</span></div>
<div><span>PostOperation command for this purpose. <br>
</span></div>
<div><br>
<span></span></div>
<div><span>In case there is no such command I could use your
valuable hint and write a small</span></div>
<div><span>program which is doing the calculations after reading
the res file.</span></div>
<div><br>
</div>
<div>But maybe I'm lucky and there is a possibility to do it in
the PostOperation.<br>
<span></span></div>
<div><span><br>
</span></div>
<div><span>Kind regards,</span></div>
<div>Constantin</div>
<div><br>
</div>
<div><br>
</div>
<div style="font-family: times new roman, new york, times,
serif; font-size: 12pt;">
<div style="font-family: times new roman, new york, times,
serif; font-size: 12pt;"><font face="Arial" size="2">
<hr size="1"><b><span style="font-weight:bold;">Von:</span></b>
Jens Trommler <a class="moz-txt-link-rfc2396E" href="mailto:trommler@temf.tu-darmstadt.de"><trommler@temf.tu-darmstadt.de></a><br>
<b><span style="font-weight: bold;">An:</span></b>
Constantin Mokur <a class="moz-txt-link-rfc2396E" href="mailto:constantin.mokur@ymail.com"><constantin.mokur@ymail.com></a><br>
<b><span style="font-weight: bold;">Cc:</span></b>
<a class="moz-txt-link-rfc2396E" href="mailto:getdp@geuz.org">"getdp@geuz.org"</a> <a class="moz-txt-link-rfc2396E" href="mailto:getdp@geuz.org"><getdp@geuz.org></a><br>
<b><span style="font-weight: bold;">Gesendet:</span></b>
10:11 Montag, 5.September 2011 <br>
<b><span style="font-weight: bold;">Betreff:</span></b>
Re: [Getdp] How to store all nodal values in a file via
post-processing<br>
</font><br>
Hi Constantin,<br>
<br>
I'm not an expert in GetDP. But you could use the resolution
file<br>
(*.res) for this purpose if you like to.<br>
Whenever you did a SaveSolution in the .pro files, the
complete list<br>
of degrees of freedom is written to the end of the
resolution file.<br>
So, if you had a nodal based solution this list in the
resolution file<br>
is a list of the values at each node. They are sorted like
in the msh<br>
file which is mostly from 1 to number of nodes.<br>
The exact file format of the resolution file is in the
documentation of getdp.<br>
But probably there is also postprocessing command which I
don't know.<br>
<br>
Best, Jens.<br>
<br>
<br>
<br>
<br>
<br>
2011/9/4 Constantin Mokur <<a moz-do-not-send="true"
ymailto="mailto:constantin.mokur@ymail.com"
href="mailto:constantin.mokur@ymail.com">constantin.mokur@ymail.com</a>>:<br>
> Hi,<br>
> is there an easy way to store the nodal values after a
simulation in a file<br>
> (preferably a simple table<br>
> with two columns: node number and value)?<br>
> It could also be a .pos file with this table in it.<br>
> I tried it with print options DecomposeInSimplex or
Dimension 1 but I always<br>
> get a table with<br>
> triangle number and the corresponding 3 nodal values
instead of node number<br>
> and node value.<br>
> Any help is highly appreciated.<br>
><br>
> Best regards<br>
> Constantin<br>
><br>
> _______________________________________________<br>
> getdp mailing list<br>
> <a moz-do-not-send="true"
ymailto="mailto:getdp@geuz.org"
href="mailto:getdp@geuz.org">getdp@geuz.org</a><br>
> <a moz-do-not-send="true"
href="http://www.geuz.org/mailman/listinfo/getdp"
target="_blank">http://www.geuz.org/mailman/listinfo/getdp</a><br>
><br>
><br>
<br>
<br>
</div>
</div>
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
getdp mailing list
<a class="moz-txt-link-abbreviated" href="mailto:getdp@geuz.org">getdp@geuz.org</a>
<a class="moz-txt-link-freetext" href="http://www.geuz.org/mailman/listinfo/getdp">http://www.geuz.org/mailman/listinfo/getdp</a>
</pre>
</blockquote>
<br>
<pre class="moz-signature" cols="72">--
Dr. Ir. Ruth V. Sabariego
University of Liege, Dept. of Electrical Engineering & Computer Science,
Applied & Computational Electromagnetics (ACE),
phone: +32-4-3663737 - fax: +32-4-3662910 - <a class="moz-txt-link-freetext" href="http://ace.montefiore.ulg.ac.be/">http://ace.montefiore.ulg.ac.be/</a>
</pre>
</body>
</html>