fortran test cases
DESCRIPTION
a good excerise and tutorial for using fortranTRANSCRIPT
-
Numerical Modelling inFortran : Test Cases
Paul Tackley, 2007
-
All cases
Aspect ratio = 4, for example: nx=129, ny=33 or nx=257, ny=65
-
Test Case 0(all code versions)
Ra=1.e5 Pr=Infinity (100 should give similar result) Q=0 total_time=0.1 W diffusion implicit, T diffusion either initial condition: random_number(T)
-
Test case 0: S and T
-
Test Case 1(implicit diffusion version)
Ra=1.e5 Pr=Infinity Q=20 total_time=0.1 beta=1.0 for W, anything for T initial condition: random_number(T)
-
Test Case 1: S and T
-
Test Case 2 (implicit diffusion version)
Ra=1.e3 Pr=Infinity Q=5 total_time=1.0 implicit diffusion (beta=1) initial condition: random_number(T)
-
Test Case 2: S and T
-
Test Case 3(all Pr version)
Ra=1.e5 Pr=0.1 Q=0 total_time=1.0 implicit diffusion (beta=1) initial condition: random_number(T)
-
Test Case 3
T
W
S
-
Test Case 4 (all Pr version)
Ra=1.e5 Pr=0.01 Q=0 aspect ratio=4 (e.g., nx=65, ny=257) total_time=1.0 implicit diffusion (beta=1) initial condition: random_number(T)
-
Test Case 4
T
W
S
-
other things to run
Try higher Ra! (more exciting) Note how with low Pr, the system takes
longer to spin up because momentumbuilds slowly