Skip to content

Commit

Permalink
Add a second, non-conservative tracer to the BDS benchmarks (#108)
Browse files Browse the repository at this point in the history
  • Loading branch information
cgilet authored Jun 19, 2024
1 parent d104f4e commit a9a7df4
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 4 deletions.
6 changes: 4 additions & 2 deletions test_2d/benchmark.bds_tracer_advection
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,8 @@ incflo.mu = 0.001 # Dynamic viscosity coefficient

incflo.constant_density = false #
incflo.advect_tracer = true #
incflo.ntrac = 2
incflo.trac_is_conservative = 1 0

#¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨#
# ADAPTIVE MESH REFINEMENT #
Expand Down Expand Up @@ -57,7 +59,7 @@ geometry.is_periodic = 0 0 # Periodicity x y z (0/1)
# Boundary conditions
xlo.type = "mi"
xlo.velocity = 2. 3. 4.
xlo.tracer = 1.
xlo.tracer = 1. 0.5
xhi.type = "po"
xhi.pressure = 0.0

Expand All @@ -71,7 +73,7 @@ incflo.geometry = "all_regular"
#¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨#
# INITIAL CONDITIONS #
#.......................................#
incflo.probtype = 12
incflo.probtype = 122
incflo.test_tracer_conservation = true

#¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨#
Expand Down
6 changes: 4 additions & 2 deletions test_3d/benchmark.bds_tracer_advection
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,8 @@ incflo.mu = 0.001 # Dynamic viscosity coefficient

incflo.constant_density = false #
incflo.advect_tracer = true #
incflo.ntrac = 2
incflo.trac_is_conservative = 1 0

#¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨#
# ADAPTIVE MESH REFINEMENT #
Expand Down Expand Up @@ -57,7 +59,7 @@ geometry.is_periodic = 0 1 0 # Periodicity x y z (0/1)
# Boundary conditions
zlo.type = "mi"
zlo.velocity = 4. 2. 3.
zlo.tracer = 1.
zlo.tracer = 1. 0.5
zhi.type = "po"
zhi.pressure = 0.0

Expand All @@ -71,7 +73,7 @@ incflo.geometry = "all_regular"
#¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨#
# INITIAL CONDITIONS #
#.......................................#
incflo.probtype = 12
incflo.probtype = 122
incflo.test_tracer_conservation = true

#¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨#
Expand Down

0 comments on commit a9a7df4

Please sign in to comment.