File:Onde stationnaire tuyau ouvert quatre diagrammes.gif
From Wikimedia Commons, the free media repository
Jump to navigation
Jump to search
Onde_stationnaire_tuyau_ouvert_quatre_diagrammes.gif (610 × 461 pixels, file size: 602 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
[edit]DescriptionOnde stationnaire tuyau ouvert quatre diagrammes.gif |
English: Standing wave in an open pipe, e.g. wind instrument; pressure (top) and relative speed (bottom) of the air, with figurative (left) and quantitative (right, arbitrary scales) representation (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, en représentation figurative (gauche) et quantitative (droite, échelles arbitraires) (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 | without the quantitative diagrams: Image:Onde stationnaire tuyau ouvert.gif; smaller size: Image:Onde stationnaire tuyau ouvert quatre diagrammes petit.gif |
Source code (Scilab)
[edit] clear;
clf;
deff('[y] = pression(x,t)', 'y = 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]; // hauteur du tuyau
nx=max(size(x));
p=2*ones(nx,4); // pour fixer les extremes de l'echelle des couleurs
p(:,4)=zeros(nx,1); // les niveaux 0 et 2 sont toujours affiches
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;
clf;
p1=-feval(x,t,pression);
p(:,2)=1 - p1;
// l'inversion du signe permet d'avoir les
// hautes pression en sombre
// sans torturer la carte des gris
p(:,3)=p(:,2);
vx(:,2)=vx(:,1)+0.35*feval(vx(:,1),t,vitesse);
v=feval(x,t,vitesse);
scf(0);
subplot(2,2,1)
grayplot(x,y,p,rect=[0,-1,%pi,1],axesflag=0);
subplot(2,2,3)
plot2d(vx(:,1),vy1(1,:),...
rect=[0,-1,%pi,1],style=0,axesflag=0)
// pour l'echelle
xpoly([0,3.14],[0.95,0.95]);
xpoly([0,3.14],[-0.95,-0.95]);
xarrows(vx',vy1,arsize=1.4);
xarrows(vx',vy2,arsize=1.4);
xarrows(vx',vy3,arsize=1.4);
xarrows(vx',vy4,arsize=1.4);
subplot(2,2,2)
plot2d(x,p1,rect=[0,-1,%pi,1],axesflag=5);
xtitle('P-P0','x', ' ')
subplot(2,2,4)
plot2d(x,v,rect=[0,-1,%pi,1],axesflag=5);
xtitle('V-V0','x', ' ')
nom='test\test'+code2str(i)+code2str(j)+'.gif';
xs2gif(0,nom,1)
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'
.
Licensing
[edit]I, 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 | 09:05, 17 November 2006 | ![]() | 610 × 461 (602 KB) | Cdang (talk | contribs) | == Summary == {{Information |Description={{en|Standing wave in an open pipe, e.g. wind instrument; pressure (top) and relative speed (bottom) of the air, with figurative (left) and quantitative (right, arbitrary scales) representation (made with [http:// |
You cannot overwrite this file.
File usage on Commons
There are no pages that use this file.
File usage on other wikis
The following other wikis use this file:
- Usage on fr.wikiversity.org