Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion Docs/sphinx_documentation/source/AlgorithmOptions.rst
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,9 @@ preceded by "ns."
+-------------------------+-----------------------------------------------------------------------+-------------+--------------+

Note that each model reads its own constant, so changing ``ns.smago_Cs_cst`` has no effect
when ``ns.LES_model = Sigma``, and vice versa. The Sigma model is described in
when ``ns.LES_model = Sigma``, and vice versa. Both models compute a kinematic eddy
viscosity :math:`\nu_t`; since IAMR's viscosity is dynamic, :math:`\mu_t = \rho \nu_t`
(with :math:`\rho` averaged to faces) is what is added to it. The Sigma model is described in
Nicoud et al., *Using singular values to build a subgrid-scale model for large eddy
simulations*, Phys. Fluids 23, 085106 (2011).

Expand Down
1 change: 0 additions & 1 deletion Exec/Make.IAMR
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ include $(AMREX_HOME)/Tools/GNUMake/Make.defs

Bdirs += Source
Bdirs += Source/prob
Bdirs += Source/Utilities

Bpack += $(foreach dir, $(Bdirs), $(TOP)/$(dir)/Make.package)
Blocs += $(foreach dir, $(Bdirs), $(TOP)/$(dir))
Expand Down
100 changes: 49 additions & 51 deletions Exec/run2d/test_grids/README
Original file line number Diff line number Diff line change
@@ -1,18 +1,27 @@

In this directory are six sets of inputs, probin and fixed_grids
files which are used to test different grid configurations and problem
set-ups.
In this directory are six fixed-grid files, fixed_grids_1 through
fixed_grids_6, which are used to test different grid configurations.
There is also a plot file (plt0000_1 through plt0000_6) for each
grid configuration so you can see the grid configurations.

The grid configurations are in files fixed_grids_1 through fixed_grids_6.
Associated with each is a set of inputs files, inputs_1_... through inputs_6.
and probin files, probin_1 through probin_6.
This directory used to also contain inputs_* and probin_* files.
Those predated the C++ problem setup (Source/prob/prob_init.cpp) and no
longer ran, so they have been removed. To use one of the grid
configurations, start from an existing 2D inputs file (for example
../regtest.2d.hotspot) and set

There is also a plot file (plt0000_1 through plt0000_6) for each
grid configuration so you can see the grid configurations.
amr.regrid_file = test_grids/fixed_grids_N

together with the level-0 domain, max_level and ref_ratio listed below.
Each fixed_grids file lists the grids for levels 1 and up; the level-0
grids come from amr.n_cell and amr.max_grid_size.

******************************************************************************

fixed_grids_1/{inputs_1_xy_xper, inputs_1_xy_xsolid, inputs_1_rz}/probin_1 :
fixed_grids_1 :

amr.n_cell = 16 16, geometry.prob_hi = 1. 1., amr.max_level = 2,
amr.ref_ratio = 2 2, amr.max_grid_size = 8

4 level 0 grids, 2 level 1 grids, 2 level 2 grids.

Expand All @@ -21,84 +30,73 @@ level 2 grid boundaries overlaying level 1 grid boundaries overlaying
level 0 grid boundaries. None of the fine grids touch the physical
boundaries.

Refinement ratio: 2 and 2.

The problem is based on inputs.2d.hotspot, and has nonzero divu.

This can be run with x-y with solid wall or periodic in the x-direction,
or r-z with solid in the r-direction. It uses solid wall in the
low-y direction and outflow in the high-y direction
(must use outflow because divu != 0).
It was originally run in x-y with solid walls or periodic in the
x-direction, and in r-z with a solid wall in the r-direction, with a
solid wall in the low-y direction and outflow in the high-y direction.

******************************************************************************

fixed_grids_2/{inputs_2_xy_ysolid, inputs_2_xy_yinflow,
inputs_2_rz_zsolid, inputs_2_rz_zinflow}/probin_2 :
fixed_grids_2 :

amr.n_cell = 16 16, geometry.prob_hi = 1. 1., amr.max_level = 2,
amr.ref_ratio = 4 2

1 level 0 grid, 2 level 1 grids, 3 level 2 grids

This is the only case set up to test inflow. One of the level 1
grids and two of the level 2 grids touch the low-y inflow face. This
has a level 2 grid spanning a level 1 grid interface.

Refinement ratio: 4 and 2.

The problem is based on inputs.2d.hotspot, and has nonzero divu.

This can be run with x-y or r-z, with solid wall in
the x-direction. It uses solid wall or inflow in the low-y direction and
outflow in the high-y direction (must use outflow because divu != 0).
It was originally run in x-y or r-z, with solid walls in the
x-direction, a solid wall or inflow in the low-y direction and outflow
in the high-y direction.

******************************************************************************

fixed_grids_3/{inputs_3}/probin_3 :

1 level 0 grid, 3 level 1 grids, 3 level 2 grids
fixed_grids_3 :

Refinement ratio: 4 and 2.
amr.n_cell = 16 16, geometry.prob_hi = 1. 1., amr.max_level = 2,
amr.ref_ratio = 4 2

The problem is based on inputs.2d.hotspot, and has nonzero divu.
1 level 0 grid, 3 level 1 grids, 3 level 2 grids

This should be run with x-y and periodic in the x-direction,
solid wall in the low-y direction and outflow in the high-y direction
(must use outflow because divu != 0). This is especially
useful for the periodic grid interfaces.
This should be run in x-y, periodic in the x-direction, with a solid
wall in the low-y direction and outflow in the high-y direction. This
is especially useful for the periodic grid interfaces.

******************************************************************************

fixed_grids_4/{inputs_4}/probin_4 :
fixed_grids_4 :

1 level 0 grid, 5 level 1 grids
amr.n_cell = 16 16, geometry.prob_hi = 2. 2., amr.max_level = 1,
amr.ref_ratio = 2

Refinement ratio: 2

The problem is based on inputs.2d.viscbench, and has divu=0.
1 level 0 grid, 5 level 1 grids

This is doubly periodic, and is useful for testing periodic interfaces
as well as different types of corners (inside, outside, diagonal).

******************************************************************************

fixed_grids_5/{inputs_5}/probin_5 :
fixed_grids_5 :

1 level 0 grid, 7 level 1 grids

Refinement ratio: 2
amr.n_cell = 32 32, geometry.prob_hi = 2. 2., amr.max_level = 1,
amr.ref_ratio = 2

The problem is based on inputs.2d.viscbench, and has divu=0.
1 level 0 grid, 7 level 1 grids

This is doubly periodic, and is useful for testing periodic grid interfaces.

******************************************************************************

fixed_grids_6/{inputs_6}/probin_6 :
fixed_grids_6 :

1 level 0 grid, 4 level 1 grid, 3 level 2 grids
amr.n_cell = 64 64, geometry.prob_hi = 2. 2., amr.max_level = 2,
amr.ref_ratio = 2 2

Refinement ratio: 2 2
1 level 0 grid, 4 level 1 grids, 3 level 2 grids

This problem is based on inputs.2d.viscbench, and has divu=0.

It is periodic in the x-direction and has some nasty level 1/2 and
It is periodic in the x-direction and has some nasty level 1/2 and
level 0/1 interfaces. It is useful for testing periodic grid interfaces.

******************************************************************************
156 changes: 0 additions & 156 deletions Exec/run2d/test_grids/inputs_1_rz

This file was deleted.

Loading
Loading