Skip to content

Commit

Permalink
add theoretical dt constraint as comments
Browse files Browse the repository at this point in the history
  • Loading branch information
prkkumar committed Aug 28, 2024
1 parent 1dcdf28 commit e065535
Showing 1 changed file with 7 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -1,4 +1,11 @@
##
# Theoretical forward euler explicit time step constraint for each process is based
# on the diffusion and reaction coefficients.
# For diffusion term
# dt < dx^2 /(2*DIM*diffusion_coef) = (1/32)^2/(2*3*1) = 1.63e-4
# For reaction term
# dt <= 2/reaction_coef

n_cell = 32
max_grid_size = 16

Expand Down

0 comments on commit e065535

Please sign in to comment.