-
Notifications
You must be signed in to change notification settings - Fork 29
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Adding additional 2d benchmarks tests (parallel planes and rotated pl…
…anes)
- Loading branch information
1 parent
16fce07
commit 5636909
Showing
3 changed files
with
199 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,94 @@ | ||
#¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨# | ||
# SIMULATION STOP # | ||
#.......................................# | ||
stop_time = 0.025 # Max (simulated) time to evolve | ||
max_step = -1 # Max number of time steps | ||
steady_state = 0 # Steady-state solver? | ||
|
||
#¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨# | ||
# TIME STEP COMPUTATION # | ||
#.......................................# | ||
incflo.fixed_dt = -1.0 # Use this constant dt if > 0 | ||
incflo.cfl = 0.45 # CFL factor | ||
|
||
#¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨# | ||
# INPUT AND OUTPUT # | ||
#.......................................# | ||
amr.plot_per_exact = 0.01 # Steps between plot files | ||
amr.check_int = 1000 # Steps between checkpoint files | ||
amr.restart = "" # Checkpoint to restart from | ||
|
||
#¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨# | ||
# PHYSICS # | ||
#.......................................# | ||
incflo.gravity = 0. 0. # Gravitational force (3D) | ||
incflo.ro_0 = 1. # Reference density | ||
|
||
incflo.fluid_model = "newtonian" # Fluid model (rheology) | ||
incflo.mu = 0.001 # Dynamic viscosity coefficient | ||
|
||
incflo.ntrac = 1 # Number of tracers | ||
incflo.advect_tracer = true # Should we update them? | ||
incflo.mu_s = 0.001 # Scalar diffusion coefficient | ||
|
||
#¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨# | ||
# ADAPTIVE MESH REFINEMENT # | ||
#.......................................# | ||
amr.n_cell = 96 32 # Grid cells at coarsest AMRlevel | ||
amr.max_level = 0 # Max AMR level in hierarchy | ||
amr.grid_eff = 0.7 | ||
amr.n_error_buf = 8 | ||
amr.max_grid_size_x = 1024 | ||
amr.max_grid_size_y = 1024 | ||
amr.max_grid_size_z = 1024 | ||
|
||
#¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨# | ||
# GEOMETRY # | ||
#.......................................# | ||
geometry.prob_lo = 0. 0. # Lo corner coordinates | ||
geometry.prob_hi = 1.2 0.4 # Hi corner coordinates | ||
geometry.is_periodic = 0 0 # Periodicity x y z (0/1) | ||
|
||
# Boundary conditions | ||
ylo.type = "nsw" | ||
ylo.velocity = 0. 0. 0. | ||
yhi.type = "nsw" | ||
yhi.velocity = 0. 0. 0. | ||
|
||
xlo.type = "mi" | ||
xlo.velocity = 1. 0. 0. | ||
xlo.tracer = 1. | ||
xhi.type = "po" | ||
xhi.pressure = 0.0 | ||
|
||
# Add cylinder | ||
incflo.geometry = "cylinder" | ||
|
||
cylinder.internal_flow = true | ||
cylinder.radius = 0.135 | ||
cylinder.height = -1.0 | ||
cylinder.rotation = 0 | ||
cylinder.rotation_axe = 2 | ||
|
||
cylinder.direction = 0 | ||
cylinder.center = 0.6 0.2 0.0 | ||
|
||
#¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨# | ||
# INITIAL CONDITIONS # | ||
#.......................................# | ||
incflo.probtype = 31 | ||
incflo.ic_u = 1.0 # | ||
incflo.ic_v = 0.0 # | ||
incflo.ic_p = 0.0 # | ||
|
||
#¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨# | ||
# VERBOSITY # | ||
#.......................................# | ||
incflo.verbose = 1 # incflo itself | ||
mac_proj.verbose = 1 # MAC Projector | ||
nodal_proj.verbose = 1 # Nodal Projector | ||
scalar_diffusion.verbose = 1 # Scalar Diffusion | ||
tensor_diffusion.verbose = 1 # Tensor Diffusion | ||
|
||
amr.plt_vfrac = 1 | ||
amr.plt_ccse_regtest = 1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,94 @@ | ||
#¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨# | ||
# SIMULATION STOP # | ||
#.......................................# | ||
stop_time = 0.025 # Max (simulated) time to evolve | ||
max_step = -1 # Max number of time steps | ||
steady_state = 0 # Steady-state solver? | ||
|
||
#¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨# | ||
# TIME STEP COMPUTATION # | ||
#.......................................# | ||
incflo.fixed_dt = -1.0 # Use this constant dt if > 0 | ||
incflo.cfl = 0.45 # CFL factor | ||
|
||
#¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨# | ||
# INPUT AND OUTPUT # | ||
#.......................................# | ||
amr.plot_per_exact = 0.01 # Steps between plot files | ||
amr.check_int = 1000 # Steps between checkpoint files | ||
amr.restart = "" # Checkpoint to restart from | ||
|
||
#¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨# | ||
# PHYSICS # | ||
#.......................................# | ||
incflo.gravity = 0. 0. # Gravitational force (3D) | ||
incflo.ro_0 = 1. # Reference density | ||
|
||
incflo.fluid_model = "newtonian" # Fluid model (rheology) | ||
incflo.mu = 0.001 # Dynamic viscosity coefficient | ||
|
||
incflo.ntrac = 1 # Number of tracers | ||
incflo.advect_tracer = true # Should we update them? | ||
incflo.mu_s = 0.001 # Scalar diffusion coefficient | ||
|
||
#¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨# | ||
# ADAPTIVE MESH REFINEMENT # | ||
#.......................................# | ||
amr.n_cell = 96 32 # Grid cells at coarsest AMRlevel | ||
amr.max_level = 0 # Max AMR level in hierarchy | ||
amr.grid_eff = 0.7 | ||
amr.n_error_buf = 8 | ||
amr.max_grid_size_x = 1024 | ||
amr.max_grid_size_y = 1024 | ||
amr.max_grid_size_z = 1024 | ||
|
||
#¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨# | ||
# GEOMETRY # | ||
#.......................................# | ||
geometry.prob_lo = 0. 0. # Lo corner coordinates | ||
geometry.prob_hi = 1.2 0.4 # Hi corner coordinates | ||
geometry.is_periodic = 0 0 # Periodicity x y z (0/1) | ||
|
||
# Boundary conditions | ||
ylo.type = "nsw" | ||
ylo.velocity = 0. 0. 0. | ||
yhi.type = "nsw" | ||
yhi.velocity = 0. 0. 0. | ||
|
||
xlo.type = "mi" | ||
xlo.velocity = 1. 0. 0. | ||
xlo.tracer = 1. | ||
xhi.type = "po" | ||
xhi.pressure = 0.0 | ||
|
||
# Add cylinder | ||
incflo.geometry = "cylinder" | ||
|
||
cylinder.internal_flow = true | ||
cylinder.radius = 0.135 | ||
cylinder.height = -1.0 | ||
cylinder.rotation = 1 | ||
cylinder.rotation_axe = 2 | ||
|
||
cylinder.direction = 0 | ||
cylinder.center = 0.6 0.2 0.0 | ||
|
||
#¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨# | ||
# INITIAL CONDITIONS # | ||
#.......................................# | ||
incflo.probtype = 31 | ||
incflo.ic_u = 1.0 # | ||
incflo.ic_v = 0.0 # | ||
incflo.ic_p = 0.0 # | ||
|
||
#¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨# | ||
# VERBOSITY # | ||
#.......................................# | ||
incflo.verbose = 1 # incflo itself | ||
mac_proj.verbose = 1 # MAC Projector | ||
nodal_proj.verbose = 1 # Nodal Projector | ||
scalar_diffusion.verbose = 1 # Scalar Diffusion | ||
tensor_diffusion.verbose = 1 # Tensor Diffusion | ||
|
||
amr.plt_vfrac = 1 | ||
amr.plt_ccse_regtest = 1 |