[z,p,q]=vaktrak('INPUT.VAK');
to plot the pressure profile p(z) as a function of the longitudinal position z.
There is also a demo of the VAKLOOP program, which you can run by executing the RUNLOOP.BAT script. The drill is very much the same, except that there is no question about the boundary conditions and there are a number of files LINK_00n.DAT generated which contain the same information as before (Z,P,Q) in tabular form, ready to feed to a display program. Here the default input file is called VAKLOOP.INP. Have a look at it and play around with it.
The CD is based on a stock-KNOPPIX-3.1 with release date 20.1.2003. I have removed the Talks and Demos directory and some kde help files in some languages and then added vaktrak related material. There are two ways of using the CD. First, just inspect what is on there in a system that is already booted (WIN, MAC, Linux) or second, boot the CD which contains a full grown Linux installation with all bells and whistles.
Using the first alternative, in the root directory of the CD you will find a subdirectory named "vaktrak" that contains the files referenced above DOS and Linux binaries, example files, pdf files of SLAC-PUB-5962 and the talk.
The other alternative is more fun. There you have to configure your PC-computer to boot from CD (usually done in the BIOS startup under Boot Sequence or Boot Order: change from A:,C: to CDROM,C: or something else that starts with CDROM). When you then boot up your PC and the KNOPPIX+VAKTRAK CD is in your CD bay, you will see a boot screen with a command line starting with "boot:". On most desktop computers you can just press "Enter" to continue. If you encounter a problem with that you can restart your computer and press "F2" at the "boot:" prompt to get a brief suggestion what options to choose. I had problems with PCMCIA support on a DELL computer, so I turned it off by doing
boot: knoppix nopcmcia
and pressed "Enter". You can also select the screen resolution and other features. If you have an new Nvidia Graphics card (GeForce4 or so) you may add the following parameter.
boot: knoppix xmodule=nv
Experiment, check the KNOPPIX Web site for help or ask me. Once you passed this stage your system should start up and after a while (30 s on a 2 GHz Pentium4, 10 min on a 75 MHz Pentium1) you should get the start screen of the KDE desktop.
You should be aware that the system runs entirely in RAM, so your hard disk is not touched at all and KNOPPIX does not care what operating system you normally run on that computer. You can see the other harddisk partitions, but they are only visible in read-only mode. So your normal system is safe.
In the startup process KNOPPIX figures out what hardware you have (Soundcard, Graphic card, Network Card) and uses them. If you have for example dynamic IP numbers (DHCP) and your computer is plugged into the network, you can surf right away or copy files to and from other computers using ftp or ssh. KNOPPIX reports the progress of the probing such that you can see what is found or not. At the end of the booting process you get a Desktop which corresponds to the normal Windows desktop, except that it is Linux. A default browser window occupies the DESKTOP which you should close by clicking on the little "x" in the top right corner or use "Location->Exit". Now you have a clean Desktop that looks roughly like this.
Before starting the vacuum softwAre you should adjust your keyboard layout to match your hardware, which is probably a swedish keyboard. You do this by starting the kontrol panel, which is the fifth icon from the left on the task bar on the bottom of the screen. It is the one that looks like a computer screen with a green gadget in front. Simply click on it and after a short while the KDE Control Center will start. On the left hand side you see a list with with various item such as "File Browsing", "Information" and more. You need to select "Peripherials" and then Keyboard. Near the top on the unfolding page page on the right you select the "Primary Layout" to be "Swedish" and click on "Apply" at lower right. Then you can close the Control Center by clicking on the little "x" on the top right.
Now you can start using the vacuum software. You do this by starting a command shell by klicking on the icon that looks like a terminal with a shell (the sixth icon from the left) on the task bar at the bottom of the screen. Once that comes up you need to go to the vaktrak subdirectory by entering "cd vaktrak" and pressing enter. Inspect the contents by entering "ls -l" and pressing enter. It should contain several .vak files and also two .pdf files. Run the vaktrak gui program by entering
vaktrak_gui example1.vak
and press enter. You should see a window with buttons on the top. The input file in the top left and an empty window on the top right and the graphic output window on the lower half of the screen. Press the "Run 0" button near the top of the program and the pressure profile and gas flow should show up on the graphic windows and some diagnostic output in the top right window. You can now start changing the parameters in the input window on the top left and then press on the other run buttons to get extra traces of the profiles with different colors (Run 0=black, 1=red, 2=green, 3=blue) to see how the profiles change and compare them. Once you have reached a satisfactory condition you can press the save button which will write a files named VAKTRAK.TMP which contains your present input configuration. You can also write the profiles as comma separated tables to disk by clicking on the "Action" button and selecting "Traces to File", whence files named #000_p.csv and #000_q.csv are written. Writing files several times will create files with incremented numbers (000 will become 001, 002,...). You can also change the boundary conditions by selecting the desired set under "Boundary Conditions" If input values are reauire you will be propted to enter them.
The files with the data traces can be plotted using for example the spreadsheet application contained in OpenOffice which is installed in the KNOPPIX system. Just click on the icon with the seagulls on the task bar and open .csv files with it.
I have also installed the "vakloop" program on the knoppix disk. You can run it on the command line by entering
vakloop input_file
I have included the VAKLOOP.INP file which is the example from SLAC_PUB_5962. vakloop produces a topdraw file named VAKLOOP.TOP (topdraw is an ancient SLAC graphics format) that you can inspect and possibly extract the relevant information by hand. The other file VAKLOOP.LOG contains some additional info. Unfortunately I have not had the time to merge the vakloop program into the gui, but that will happen as I find some time to do it.
That all for now, folks, but feel free to ask me, if you have questions. I'll update this document as I find necessary. Keep an eye on the revision date at the top.