/[MITgcm]/mitgcm.org/sealion/getting_started/rerunModel.html
ViewVC logotype

Contents of /mitgcm.org/sealion/getting_started/rerunModel.html

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph


Revision 1.3 - (show annotations) (download) (as text)
Fri Oct 12 19:56:15 2001 UTC (23 years, 9 months ago) by adcroft
Branch: MAIN
CVS Tags: HEAD
Changes since 1.2: +2 -2 lines
File MIME type: text/html
FILE REMOVED
Re-write GS.

1 <!doctype html public "-//w3c//dtd html 4.0 transitional//en">
2 <html>
3 <head>
4 <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
5 <meta name="GENERATOR" content="Mozilla/4.75 [en] (X11; U; Linux 2.2.14-5.0 i686) [Netscape]">
6 <meta name="Author" content="AJA@MIT">
7 <title>Getting started</title>
8 </head>
9 <body text="#000000" bgcolor="#FFFFFF" link="#0000EF" vlink="#51188E" alink="#FF0000">
10
11 <center>
12 <h1>
13 Changing and re-running the model</h1></center>
14 Edit the file <i>data</i>
15 <blockquote>
16 <pre>% vi data</pre>
17 </blockquote>
18 and change the line that says
19 <blockquote>
20 <pre>nTimeSteps=10,</pre>
21 </blockquote>
22 to
23 <blockquote>
24 <pre>nTimeSteps=432,</pre>
25 </blockquote>
26 The time-step is 600 seconds, so this will integrate the model for 10 days.
27 Hopefully, it will finish well before that. ;^)
28 <p>Re-run the model:
29 <blockquote>
30 <pre>% ./mitgcmuv > output.txt</pre>
31 </blockquote>
32 When the model finishes, you'll notice more output files:
33 <blockquote>
34 <pre>% ls Eta.*.meta</pre>
35
36 <pre>Eta.0000000000.meta&nbsp; Eta.0000000144.meta&nbsp; Eta.0000000306.meta
37 Eta.0000000000.meta&nbsp; Eta.0000000162.meta&nbsp; Eta.0000000306.meta
38 Eta.0000000018.meta&nbsp; Eta.0000000162.meta&nbsp; Eta.0000000324.meta
39 Eta.0000000018.meta&nbsp; Eta.0000000180.meta&nbsp; Eta.0000000324.meta
40 Eta.0000000036.meta&nbsp; Eta.0000000180.meta&nbsp; Eta.0000000342.meta
41 Eta.0000000036.meta&nbsp; Eta.0000000198.meta&nbsp; Eta.0000000342.meta
42 Eta.0000000054.meta&nbsp; Eta.0000000198.meta&nbsp; Eta.0000000360.meta
43 Eta.0000000054.meta&nbsp; Eta.0000000216.meta&nbsp; Eta.0000000360.meta
44 Eta.0000000072.meta&nbsp; Eta.0000000216.meta&nbsp; Eta.0000000378.meta
45 Eta.0000000072.meta&nbsp; Eta.0000000234.meta&nbsp; Eta.0000000378.meta
46 Eta.0000000090.meta&nbsp; Eta.0000000234.meta&nbsp; Eta.0000000396.meta
47 Eta.0000000090.meta&nbsp; Eta.0000000252.meta&nbsp; Eta.0000000396.meta
48 Eta.0000000108.meta&nbsp; Eta.0000000252.meta&nbsp; Eta.0000000414.meta
49 Eta.0000000108.meta&nbsp; Eta.0000000270.meta&nbsp; Eta.0000000414.meta
50 Eta.0000000126.meta&nbsp; Eta.0000000270.meta&nbsp; Eta.0000000432.meta
51 Eta.0000000126.meta&nbsp; Eta.0000000288.meta&nbsp; Eta.0000000432.meta
52 Eta.0000000144.meta&nbsp; Eta.0000000288.meta</pre>
53 </blockquote>
54 This time we'll load in multiple time-steps:
55 <blockquote>
56 <pre>% matlab</pre>
57
58 <pre>>> eta=rdmds('Eta',0:18:432);</pre>
59
60 <pre>>> for k=2:25;contourf(eta(:,:,k)',[-1:.1:1]*.26);colorbar;drawnow;pause(.4);end</pre>
61 </blockquote>
62 You should see the sea-surface evolve.
63 <p>
64 <hr WIDTH="100%">
65 <table CELLSPACING=0 CELLPADDING=0 WIDTH="100%" NOSAVE >
66 <tr NOSAVE>
67 <td NOSAVE>Last modified on $Date: 2001/10/12 17:44:48 $</td>
68
69 <td>
70 <div align=right>CVS: $Source: /u/gcmpack/mitgcm.org/sealion/getting_started/gettingStarted.html,v
71 $Revision: 1.2 $</div>
72 </td>
73 </tr>
74 </table>
75
76 </body>
77 </html>

  ViewVC Help
Powered by ViewVC 1.1.22