Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Now that we are moving to the physgrid I think it could be useful to have a table that compares various aspects of typical pg2 and np4 grids. 

Formulas:

...

For the formulas, note that NP is normally 4 (ex. ne30np4) and NPG is normally 2 (ex. ne30pg2)

NE

np4 # physics columns
(NP-1)^2 * 6 * NE^2 + 2

...

pg2 # physics columns
NE^2 * 6 * NPG^2

...

np4 approx grid spacing
[degrees]
360 / ( 4 * NE * (NP-1) )

...

pg2 approx grid spacing
[degrees]
360 / ( 4 * NE * NPG

...

)

...

NE

np4 # physics columns

pg2 # physics columns

np4 approx grid spacing
[degrees]km]
40075 / ( 4 * NE * (NP-1) )

pg2 approx grid spacing
[degrees]np4 approx grid spacing
[km]
pg2 approx grid spacing
[km]40075 / ( 4 * NE * NPG )

4

866

384

7.50

11.25

834.9

1252.3

8

3,458

1,536

3.75

5.63

417.4

626.2

11

6,536

2,904

2.73

4.09

303.6

455.4

16

13,826

6,144

1.88

2.81

208.7

313.1

30

48,602

21,600

1.00

1.50

111.3

167.0

45

109,352

48,600

0.67

1.00

74.2

111.3

60

194,402

86,400

0.50

0.75

55.7

83.5

120

777,602

345,600

0.25

0.38

27.8

41.7

256

3,538,946

1,572,864

0.12

0.18

13.0

19.6

512

14,155,778

6,291,456

0.06

0.09

6.5

9.8

1024

56,623,106

25,165,824

0.03

0.04

3.3

4.9

2048

226,492,418

100,663,296

0.01

0.02

1.6

2.4

...