Skip to content

Commit

Permalink
Added more infiles (#732)
Browse files Browse the repository at this point in the history
Added infiles for more complicated problems.
  • Loading branch information
stefan-schnake authored Aug 19, 2024
1 parent 56b80df commit 79e42bb
Show file tree
Hide file tree
Showing 3 changed files with 88 additions and 0 deletions.
33 changes: 33 additions & 0 deletions infiles/landau1x3vasg.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
-title : Landau 1x3v
-subtitle : adaptive sparse grid, quadratic basis

# d_t f + v d_x f + E(f) d_v f= \nu C(f)
# C(f) := d_v( (v-u)f + th d_v f )\
# E given by poisson solve
-pde : riemann_1x3v

# disctretization in space
# mixed grid with level 7 full grid in x
# and level 6 sparse grid in v.
# quadratic basis
-grid : adapt
-start-levels : 5 4 4 4
-max_level : 5
-max_adapt_levels : 5 4 4 4
-thresh : 1e-8
-degree : 2

# imex timestep
# CFL = dx*(1/(2k+1))*(1/|v_max|)
# = (4*pi/2^5)*(1/5)*(1/6)
# = 0.013089969
# dt = 0.75*CFL
# T = dt*250 = 0.05
-step-method : imex
-dt : 1.308997e-2
-num-steps : 3820

# solver
-solver : gmres
-inner_it : 25
-tol : 1e-10
31 changes: 31 additions & 0 deletions infiles/riemann1x3vmg.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
-title : Riemann 1x3v
-subtitle : mixed grid, quadratic basis

# df / dt + v d_x f = \nu C(f)
# C(f) := d_v( (v-u)f + th d_v f )
-pde : riemann_1x3v

# disctretization in space
# mixed grid with level 7 full grid in x
# and level 6 sparse grid in v.
# quadratic basis
-grid : mixed
-split : 1
-start-levels : 6 6 6 6
-max_level : 6
-degree : 2

# imex timestep
# CFL = dx*(1/(2k+1))*(1/|v_max|)
# = (2/2^7)*(1/5)*(1/6)
# = 1/1600
# dt = 0.32*CFL
# T = dt*250 = 0.05
-step-method : imex
-dt : 2.E-4
-num-steps : 250

# solver
-solver : gmres
-inner_it : 50
-tol : 1e-8
24 changes: 24 additions & 0 deletions infiles/twostream2dasg.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
-title : Two Stream 2D
-subtitle : adaptive sparse grid level 7, quadratic basis

# df / dt + v d_x f + E(f) d_v f = 0
# E is the electric field given by a Poisson Solve
-pde : two_stream

# disctretization in space
# level 7 adaptive sparse grid and quadratic basis
-grid : adapt
-start-levels : 7
-max_level : 7
-degree : 2
-thresh : 1.E-6

# imex timestep
# CFL = dx*(1/(2k+1))*(1/|v_max|)
# = (4*pi/2^7)*(1/5)*1/(2*pi)
# = 1/320
# dt = 3/4*CFL
# T = dt*19200 = 45.0
-step-method : imex
-dt : 2.34375E-3
-num-steps : 19200

0 comments on commit 79e42bb

Please sign in to comment.