Download COMCOT User Manual for version 1.6
Transcript
= 1000, the three data files will be z1_01_001000.dat, m1_01_001000.dat and n1_01_001000.dat. In the next run (hot start), these files will be loaded in as the initial condition for this restart. COMCOT will also automatically save resuming snapshots of all grids every 1000 time steps for later start. To resume from any of these saved snapshots, changing the “start_type” option to 2 and specifying the starting time step after “starting step#”, the simulation will start from the specified time step. 4 Output Data Generally, only the free surface elevation will be output in data files named in the form z_AB_dddddd.dat, where "z" stands for free surface elevation, two digits " AB" denote the corresponding grid identification number and the six digits, "dddddd", corresponds to the time step number when the data is output. Therefore, data file z_AB_dddddd.dat stores the free surface elevation at all grid points in grid region layerAB at time step dddddd. For example, z_23_001234.dat stores the free surface elevation at all grid points of layer23 at time step 1234. It should be mentioned that the total number of time steps required for a simulation and also time step number for data output are also calculated based on the time step (Δt) of layer01. For example, if 0.5s time step is used for layer01, the time step number 1234 corresponds to a physical time t=1234*0.5=617.0s. However, if the switch "Output Volume Flux" is set to "0" for layerAB, two additional types of data files, m_AB_dddddd.dat and n_AB_dddddd.dat will be created, storing volume flux data in x direction and y direction, respectively, at all the grid points in layerAB at time step dddddd. The following scripts will be able to read the data in a output data file "F_AB_dddddd.dat" into a predefined matrix B(nx,ny) open (25,file='F_XY_dddddd.dat',status='unknown') do i=1, ny read (25, '(15f9.3)') (B(i, j), i=1, nx) 21