Skip to content

Commit 0c96684

Browse files
authored
update convection inputs (#338)
this is now periodic on the sides adds a small_dens and a new inputs that is twice as wide
1 parent 9f4e61b commit 0c96684

File tree

2 files changed

+48
-3
lines changed

2 files changed

+48
-3
lines changed

pyro/compressible/problems/inputs.convection

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
[driver]
44
max_steps = 10000
5-
tmax = 10.0
5+
tmax = 25.0
66

77

88
[io]
@@ -17,8 +17,8 @@ ny = 384
1717
xmax = 4.0
1818
ymax = 12.0
1919

20-
xlboundary = outflow
21-
xrboundary = outflow
20+
xlboundary = periodic
21+
xrboundary = periodic
2222

2323
ylboundary = reflect
2424
yrboundary = ambient
@@ -39,3 +39,5 @@ do_sponge = 1
3939
grav = -2.0
4040

4141
limiter = 2
42+
43+
small_dens = 1.e-4
Lines changed: 43 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,43 @@
1+
# simple inputs files for the four-corner problem.
2+
3+
[driver]
4+
max_steps = 10000
5+
tmax = 25.0
6+
7+
8+
[io]
9+
basename = convection_
10+
n_out = 100000000
11+
dt_out = 0.5
12+
13+
14+
[mesh]
15+
nx = 256
16+
ny = 384
17+
xmax = 8.0
18+
ymax = 12.0
19+
20+
xlboundary = periodic
21+
xrboundary = periodic
22+
23+
ylboundary = reflect
24+
yrboundary = ambient
25+
26+
27+
[convection]
28+
scale_height = 2.0
29+
dens_base = 1000.0
30+
dens_cutoff = 1.e-3
31+
32+
e_rate = 0.5
33+
34+
35+
[sponge]
36+
do_sponge = 1
37+
38+
[compressible]
39+
grav = -2.0
40+
41+
limiter = 2
42+
43+
small_dens = 1.e-4

0 commit comments

Comments
 (0)