<font color='black' size='2' face='Arial, Helvetica, sans-serif'><font color="black" face="Arial, Helvetica, sans-serif" size="2">

<div> <span id="result_box" class="short_text" lang="en"><span title="Cliquer ici pour voir d'autres traductions" class="hps">Herbert</span> <span title="Cliquer ici pour voir d'autres traductions" class="hps">wrote :</span></span><br>
>it is a problem with the ztansformation matrix which isn't<br>
>restored well. I have no real clue how to solve this problem.<br>
<br>
<br>
Indeed it is not easy! However, the arrays of dots are calculated. The position of a particle on a line of flow maybe perfectly placed (page 2).<br>
<br>
Thank you<br>
<br>
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%<br>
<br>
\documentclass{article}<br>
\usepackage[latin1]{inputenc}<br>
\usepackage[T1]{fontenc}<br>
\usepackage{pstricks-add,pst-func}<br>
<br>
\def\vXvY{(v0*((y[1])^4)-wR*(Ra^2)*((y[1])^3)+2*v0*(y[0]^2)*((y[1])^2)+((y[1])^2)*v0*((Ra)^2)-wR*(Ra^2)*(y[0]^2)*(y[1])+v0*(y[0]^4)-v0*(Ra^2)*(y[0]^2))/((y[0]^2+y[1]^2)^2)<br>
|<br>
(y[0]*(Ra^2)*(wR*((y[1])^2)-2*v0*(y[1])+wR*(y[0]^2)))/((y[0]^2+y[1]^2)^2)}<br>
<br>
\begin{document}<br>
Cette partie permet de créer les tableaux(\textsf{PSTdatai}), des positions des particules sur chaque ligne de courant à différents instants $t=k\mathrm{d}t$. Cette partie comporte plusieurs bugs mais génère bien les tableaux.<br>
\begin{center}<br>
\begin{pspicture}(-8,-6)(8,6)%<br>
\psgrid%<br>
\psframe*[linecolor=gray!30](-8,-6)(8,6)%<br>
\pstVerb{%<br>
/v0 1 def % vitesse a l'infini m/s<br>
/Ra 1 def % rayon du cylindre<br>
/wR 2.25 def % vitesse de rotation du cylindre rd/s<br>
}%<br>
\pscircle{!Ra}<br>
\BeginSaveFinalState%<br>
\multido{\ry=-5+0.5,\i=0+1}{25}{%<br>
\psplotDiffEqn[%<br>
    linecolor=red,%<br>
    method=rk4,%<br>
    algebraic,%<br>
    plotpoints=1000,%<br>
    saveData=true,%<br>
    filename=PSTdata\i,%<br>
    whichabs=0, whichord=1]{-8}{35}{-8 \ry}{\vXvY}%<br>
}%<br>
\EndSaveFinalState%<br>
\pscircle[fillstyle=solid,fillcolor=gray,linecolor=red]{!Ra}<br>
\psarc{->}(0,0){0.75}{240}{300}<br>
\psgrid%<br>
\end{pspicture}<br>
\end{center}<br>
\newpage<br>
On place les particules sur chaque ligne d'écoulement à un instant choisi.<br>
\begin{center}<br>
\begin{pspicture*}(-8,-6)(8,6)%\psgrid<br>
\psframe*[linecolor=gray!30](-8,-6)(8,6)%<br>
\pstVerb{%<br>
/v0 1 def % vitesse a l'infini m/s<br>
/Ra 1 def % rayon du cylindre<br>
/wR 2.25 def % vitesse de rotation du cylindre rd/s<br>
}%<br>
\multido{\ry=-5+0.5,\i=0+1}{25}{%<br>
\psplotDiffEqn[%<br>
    linecolor=red,%<br>
    method=rk4,%<br>
    algebraic,%<br>
    plotpoints=1000,%<br>
    whichabs=0, whichord=1]{-8}{35}{-8 \ry}{\vXvY}%<br>
}%<br>
\pscircle[fillstyle=solid,fillcolor=gray,linecolor=red]{!Ra}<br>
\psarc{->}(0,0){0.75}{240}{300}<br>
\multido{\i=0+1}{25}{%<br>
\pstVerb{[/I [(PSTdata\i) run] def}%<br>
\psdot[linecolor=red,linewidth=2pt](!/X1 I 300 get def /Y1 I 301 get def X1 Y1)<br>
}<br>
\end{pspicture*}<br>
\end{center}<br>
\end{document}<br>
<br>
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%<br>
Manuel<br>

</div>



<div> <br>

</div>



<div style="clear:both"></div>



<div> <br>

</div>



<div> <br>

</div>



<div style="font-family:arial,helvetica;font-size:10pt;color:black">-----E-mail d'origine-----<br>

De : Herbert Voss <Herbert.Voss@FU-Berlin.DE><br>

A : Graphics with PSTricks <pstricks@tug.org><br>

Envoyé le : Lundi, 30 Mai 2011 8:07<br>

Sujet : Re: [pstricks] Problems with "saveData" in "\psplotDiffEqn"<br>

<br>









<div id="AOLMsgPart_0_bc1a9167-ba6c-4cd5-b25b-cc636f4173bc" style="margin: 0px;font-family: Tahoma, Verdana, Arial, Sans-Serif;font-size: 12px;color: #000;background-color: #fff;">

<pre style="font-size: 9pt;"><tt>Am 28.05.2011 20:02, schrieb Manuel Luque:

> When we use the option "saveData=true" of the macro "\psplotDiffEqn" (package 
"pstricks-add") in a loop, it arises two strange behaviors:
> -  a systematic horizontal shift of the  curves.
> -  a downscaling  of the grid ("psgrid") and objects.
>
> Did you know these problems? Do you have a solution?

it is a problem with the ztansformation matrix which isn't
restored well. I have no real clue how to solve this problem.

Herbert
_______________________________________________
PSTricks mailing list
<a href="mailto:PSTricks@tug.org">PSTricks@tug.org</a>
<a href="http://tug.org/mailman/listinfo/pstricks" target="_blank">http://tug.org/mailman/listinfo/pstricks</a>
archive: <a href="http://www.tug.org/pipermail/pstricks/" target="_blank">http://www.tug.org/pipermail/pstricks/</a>
</tt></pre>
</div>

 <!-- end of AOLMsgPart_0_bc1a9167-ba6c-4cd5-b25b-cc636f4173bc -->



</div>

</font></font>