Changes between Version 17 and Version 18 of VisItBasics
- Timestamp:
- 05/25/11 12:03:34 (14 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
VisItBasics
v17 v18 1 == Starting Visit == 1 [[PageOutline]] 2 3 = VisIt Basics = 4 [[BR]] 5 == Setting Up and Running !VisIt == 6 7 !VisIt is currently installed on {{{clover}}} and {{{grass}}}. {{{Clover}}} does not have modules installed, so a different setup process is required on each machine. 8 9 ==== Clover ==== 10 11 Since {{{clover}}} doesn't have the {{{modules}}} program installed on it, you will have to manually add the {{{visit}}} executable's directory to your search path: 12 13 1. Go to your home directory and open your {{{.bashrc}}} file. 14 2. Add the following line to your {{{.bashrc}}}: 15 {{{ 16 export PATH=/opt/visit2/bin:$PATH 17 }}} 18 3. Close your {{{.bashrc}}} file and enter the command {{{source .bashrc}}} to add the change to your environment. 19 4. Enter the command {{{visit}}} to start !VisIt. 20 21 22 ==== Grass ==== 23 24 !VisIt is installed as a module on {{{grass}}}, so the setup is much more straightforward. The steps for making it part of your default environment, however, are very similar: 25 26 1. Go to your home directory and open your {{{.bashrc}}} file. 27 2. Add the following line to your {{{.bashrc}}}: 28 {{{ 29 module load visit 30 }}} 31 3. Close your {{{.bashrc}}} file and enter the command {{{source .bashrc}}} to add the change to your environment. 32 4. Enter the command {{{visit}}} to start !VisIt. 33 34 35 In either case, once you see a screen like the one below, you are ready to go. 36 37 38 39 40 [[BR]] 41 == Opening Files in Visit == 2 42 3 43 [[BR]] 4 44 5 45 Visit reads [wiki:ChomboHdf HDF5] files and can recognize them from the {{{File open}}} screen, provided they have the {{{.hdf}}} extension. If a collection of {{{.hdf}}} files with the same numbering convention exists in a directory, Visit will group them together and open them as a batch, which makes producing images and animations easier. The process is as follows: 46 1. Go to the directory containing the files you want to open. This is not strictly necessary, but will make your life easier in the long run. 6 47 7 1. Click {{{File->Open file...}}} to bring up the {{{File open}}} screen.48 2. Click {{{File->Open file...}}} to bring up the {{{File open}}} screen. 8 49 9 2. Enter the directory path of the files in the {{{Path}}} field.50 3. Enter the directory path of the files in the {{{Path}}} field. 10 51 11 3. The grouped HDF5 files are listed as {{{.hdf}}} databases in the {{{File open}}} window, with the individual files under the group header. Select the group you want and make sure that the "Open as File Type" box is set to "Chombo".52 4. The grouped HDF5 files are listed as {{{.hdf}}} databases in the {{{File open}}} window, with the individual files under the group header. Select the group you want and make sure that the "Open as File Type" box is set to "Chombo". 12 53 13 54 [[Image(Screenshot-Visit File open.png)]] … … 19 60 [[BR]] 20 61 21 One of the most common and useful plots at our disposal is the ''pseudocolor'' plot, which presents the intensity of a scalar attribute as a color spectrum. 62 One of the most common and useful plots at our disposal is the ''pseudocolor'' plot, which presents the intensity of a scalar attribute as a color spectrum. In two dimensions, this is fairly straightforward; in three dimensions an additional slice operation (see below) is usually required to get any useful information. 63 64 To create a pseudocolor plot: 65 66 1. Open a 22 67 23 68 == Making Movies in Visit ==