File:Onde stationnaire tuyau ouvert.gif
Onde_stationnaire_tuyau_ouvert.gif (610 × 461 pixels, file size: 928 KB, MIME type: image/gif, looped, 100 frames, 10 s)
File information
Structured data
Captions
Captions
Add a one-line explanation of what this file represents
Summary
editDescriptionOnde stationnaire tuyau ouvert.gif |
English: Standing wave in an open pipe, e.g. wind instrument; pressure (top) and relative speed (bottom) of the air (made with Scilab and Jasc Animation Shop 2.02)
Français : Onde stationnaire dans un tuyau ouvert, p. ex. un instrument à vent ; pression (haut) et vitesse relative (bas) de l'air (réalisé avec Scilab et Jasc Animation Shop 2.02) |
Date | |
Source | Own work |
Author | Christophe Dang Ngoc Chan (cdang) |
Permission (Reusing this file) |
GFDL |
Other versions | with quantitative diagrams: Image:Onde stationnaire tuyau ouvert quatre diagrammes.gif; smaller size: Image:Onde stationnaire tuyau ouvert_petit.gif |
Source code (Scilab)
edit clear;
clf;
deff('[y] = pression(x,t)', 'y = 1+sin(t)*sin(x)')
deff('[y] = vitesse(x,t)', 'y = -sin(t+%pi/2)*cos(x)')
x=0:0.05:%pi; // une demi-onde par tuyau
y=[-1,-0.9,0.9,1]; // pour la carte de gris
nx=max(size(x));
p=2*ones(nx,4); // pour fixer les extremes de l'echelle de couleur,
p(:,4)=zeros(nx,1); // les niveaux 0 et 2 sont affichés en permanence
vx(:,1) = 0:%pi/9:%pi; // position des vecteurs vitesse
nx=max(size(vx));
vy1 = 0.75*ones(2,nx);
vy2 = 0.25*ones(2,nx);
vy3 = -vy2;
vy4 = -vy1; // 4 lignes de flèches
xset('colormap', graycolormap(256)); // niveaux de gris
for i=0:9
for j=0:9
t=(i*10+j)*0.02*%pi; // temps
clf;
p(:,2)=feval(x,t,pression);
p(:,3)=p(:,2);
vx(:,2)=vx(:,1)+0.35*feval(vx(:,1),t,vitesse);
scf(0);
subplot(2,1,1)
grayplot(x,y,p,rect=[0,-1,%pi,1],axesflag=0);
subplot(2,1,2)
plot2d(vx(:,1),vy1(1,:),...
rect=[0,-1,%pi,1],style=0,axesflag=0) // pour l'echelle
xpoly([0,%pi],[0.95,0.95]);
xpoly([0,%pi],[-0.95,-0.95]);
xarrows(vx',vy1,arstyle=1); // vecteurs vitesse
xarrows(vx',vy2,arstyle=1);
xarrows(vx',vy3,arstyle=1);
xarrows(vx',vy4,arstyle=1);
nom='test\test'+code2str(i)+code2str(j)+'.gif'; // nom du fichier
xs2gif(0,nom,1); // sauvegarde
end;
end;
- Note
- This is not exactly the code that was used. The GIF that were generated seemed to be flawed, so the export function was
nom='test\test'+code2str(i)+code2str(j)+'.bmp'; xs2bmp(0,nom)
, then I had to do it in several times because all the BMP files were not saved (i.e. i ranged from 0 to 3 for the first time, then 4–7 then 8–9.
Licensing
editI, the copyright holder of this work, hereby publish it under the following licenses:
![]() |
Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.2 or any later version published by the Free Software Foundation; with no Invariant Sections, no Front-Cover Texts, and no Back-Cover Texts. A copy of the license is included in the section entitled GNU Free Documentation License.http://www.gnu.org/copyleft/fdl.htmlGFDLGNU Free Documentation Licensetruetrue |
![]() ![]() ![]() |
This file is licensed under the Creative Commons Attribution-Share Alike 3.0 Unported license. | |
| ||
This licensing tag was added to this file as part of the GFDL licensing update.http://creativecommons.org/licenses/by-sa/3.0/CC BY-SA 3.0Creative Commons Attribution-Share Alike 3.0truetrue |
You may select the license of your choice.
File history
Click on a date/time to view the file as it appeared at that time.
Date/Time | Thumbnail | Dimensions | User | Comment | |
---|---|---|---|---|---|
current | 10:51, 16 November 2006 | ![]() | 610 × 461 (928 KB) | Cdang (talk | contribs) | bottom blank removed |
10:35, 16 November 2006 | ![]() | 610 × 461 (785 KB) | Cdang (talk | contribs) | {{Information |Description={{en|Standing wave in an open pipe, e.g. wind instrument (made with [http://www.scilab.org/ Scilab] and Jasc Animation Shop 2.02)}} {{fr|Onde stationnaire dans un tuyau ouvert, p. ex. un instrument à vent (réalisé avec [http: |
You cannot overwrite this file.
File usage on Commons
There are no pages that use this file.