From 1baca4ca9f9017a8a6513a10c7982717b6de4204 Mon Sep 17 00:00:00 2001 From: jbb Date: Thu, 8 Oct 2026 15:23:14 -0700 Subject: [PATCH 1/4] Fix issue #207: scale the LES eddy viscosity by density Both the Smagorinsky and Sigma models compute (C*Delta)^2 * |S|, a kinematic eddy viscosity nu_t, but getViscosity adds it directly to IAMR's dynamic viscosity mu. For variable or non-unit density the subgrid viscosity was therefore wrong by a factor 1/rho. Multiply by the face-averaged density so mu_t = rho*nu_t, and document this. Co-Authored-By: Claude Opus 5.5 --- .../source/AlgorithmOptions.rst | 4 +++- Source/NS_LES.cpp | 18 +++++++++++++++--- 2 files changed, 18 insertions(+), 4 deletions(-) diff --git a/Docs/sphinx_documentation/source/AlgorithmOptions.rst b/Docs/sphinx_documentation/source/AlgorithmOptions.rst index d48536a6..ec839027 100644 --- a/Docs/sphinx_documentation/source/AlgorithmOptions.rst +++ b/Docs/sphinx_documentation/source/AlgorithmOptions.rst @@ -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). diff --git a/Source/NS_LES.cpp b/Source/NS_LES.cpp index 671ad5ab..9063b94a 100644 --- a/Source/NS_LES.cpp +++ b/Source/NS_LES.cpp @@ -112,6 +112,14 @@ NavierStokesBase::calc_mut_LES(MultiFab* mu_LES[AMREX_SPACEDIM], const Real time const auto dx = geom.CellSizeArray(); + // + // Both models give the kinematic eddy viscosity nu_t, but IAMR's viscosity + // is dynamic, so the eddy viscosity added to it is rho*nu_t. One ghost cell + // covers every face of the nodal tile box. + // + MultiFab Rho(grids,dmap,1,1,MFInfo(),Factory()); + AmrLevel::FillPatch(*this,Rho,1,time,State_Type,Density,1); + for (MFIter mfi(Uvel,true); mfi.isValid(); ++mfi) { @@ -120,6 +128,8 @@ NavierStokesBase::calc_mut_LES(MultiFab* mu_LES[AMREX_SPACEDIM], const Real time const Box& nbx = mfi.nodaltilebox(idim); Array4 dst = mu_LES[idim]->array(mfi); Array4 src = grad_Uvel[idim]->array(mfi); + Array4 rho = Rho.const_array(mfi); + const Dim3 sh = IntVect::TheDimensionVector(idim).dim3(); Real Cs_cst = LES_model == "Smagorinsky" ? smago_Cs_cst : sigma_Cs_cst; @@ -139,7 +149,7 @@ NavierStokesBase::calc_mut_LES(MultiFab* mu_LES[AMREX_SPACEDIM], const Real time // so the transpose of flat index c is // (c%AMREX_SPACEDIM)*AMREX_SPACEDIM + c/AMREX_SPACEDIM. Pairing // each component with its transpose gives symij = 2*S_mn, so - // smag below is 2*S:S and mu_t = (Cs*dx)^2*sqrt(2 S_ij S_ij). + // smag below is 2*S:S and nu_t = (Cs*dx)^2*sqrt(2 S_ij S_ij). int i_symji = (i_symij%AMREX_SPACEDIM)*AMREX_SPACEDIM + i_symij/AMREX_SPACEDIM; Real symij = src(i,j,k,i_symij) + src(i,j,k,i_symji); smag += symij * symij; @@ -147,7 +157,8 @@ NavierStokesBase::calc_mut_LES(MultiFab* mu_LES[AMREX_SPACEDIM], const Real time smag = 0.5 * smag; - dst(i,j,k,n) = pow(Cs_cst * dx[idim],2) * sqrt(smag); + Real rhof = 0.5 * (rho(i,j,k) + rho(i-sh.x,j-sh.y,k-sh.z)); + dst(i,j,k,n) = rhof * pow(Cs_cst * dx[idim],2) * sqrt(smag); }); } else if (LES_model == "Sigma") { @@ -222,7 +233,8 @@ NavierStokesBase::calc_mut_LES(MultiFab* mu_LES[AMREX_SPACEDIM], const Real time // Compute the sigma operator - dst(i,j,k,n) = pow(Cs_cst * dx[idim],2) * ((sigma3 * (sigma1-sigma2) * (sigma2-sigma3)) / pow(sigma1,2)); + Real rhof = 0.5 * (rho(i,j,k) + rho(i-sh.x,j-sh.y,k-sh.z)); + dst(i,j,k,n) = rhof * pow(Cs_cst * dx[idim],2) * ((sigma3 * (sigma1-sigma2) * (sigma2-sigma3)) / pow(sigma1,2)); } }); From 2d1630c53c19d339515d9c0b50342030f5a006de Mon Sep 17 00:00:00 2001 From: jbb Date: Thu, 8 Oct 2026 15:35:11 -0700 Subject: [PATCH 2/4] Fix issue #217: abort in getViscTerms for Laplacian_SoverRho on level>0 with ref_ratio > 2 On level > 0, getViscTerms divides the coarse data of a Laplacian_SoverRho scalar by crse_ns.get_rho(time), where time is a fine-level time. get_rho only supports the coarse old/half/new times, which match a fine time only for ref ratio 2: ratio 4 dereferences a null rho_qtime/rho_tqtime and ratio 3 fails with "bad time". Abort with a clear message instead when the ref ratio exceeds 2. Co-Authored-By: Claude Opus 5.5 --- Source/Diffusion.cpp | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/Source/Diffusion.cpp b/Source/Diffusion.cpp index 39279c73..7c49162c 100644 --- a/Source/Diffusion.cpp +++ b/Source/Diffusion.cpp @@ -1615,6 +1615,12 @@ Diffusion::getViscTerms (MultiFab& visc_terms, crsedata.define(crse_ns.boxArray(), crse_ns.DistributionMap(), 1, ng,MFInfo(),crse_ns.Factory()); AmrLevel::FillPatch(crse_ns,crsedata,ng,time,State_Type,comp,1); if (rho_flag == 2) { + // get_rho() only handles the coarse old/half/new times, which + // matches a fine-level time only for ref ratio 2 (issue #217). + if (crse_ratio.max() > 2) { + amrex::Abort("Diffusion::getViscTerms(): Laplacian_SoverRho scalars (e.g. ns.do_cons_trac=1) " + "with diffusion on level > 0 are not supported for amr.ref_ratio > 2"); + } // We want to evaluate (div beta grad) S, not rho*S. const MultiFab& rhotime = crse_ns.get_rho(time); MultiFab::Divide(crsedata,rhotime,0,0,1,ng); From 923d1bdb0145b7b509a93df7ddf3a8ac518f5105 Mon Sep 17 00:00:00 2001 From: jbb Date: Thu, 8 Oct 2026 15:39:28 -0700 Subject: [PATCH 3/4] Fix issue #227: remove unused Utilities and NS_util vector helpers Nothing in Source/, Exec/ or Tutorials/ calls read_binary, read_csv, read_file or locate (Source/Utilities), or VectorMax/VectorMin/ VectorMaxAbs (NS_util.cpp); they were only compiled, and the readers had latent overruns and a declaration/definition mismatch under USE_FLOAT. Remove Source/Utilities and NS_util.cpp, drop them from Exec/Make.IAMR and Source/Make.package, and remove the now-unneeded includes. NS_util.H is kept for convertToDeviceVector, which NavierStokesBase.cpp uses. Co-Authored-By: Claude Opus 5.5 --- Exec/Make.IAMR | 1 - Source/Make.package | 1 - Source/NS_util.H | 22 --------- Source/NS_util.cpp | 79 ------------------------------ Source/NavierStokes.H | 1 - Source/NavierStokes.cpp | 1 - Source/Utilities/Make.package | 2 - Source/Utilities/Utilities.H | 74 ----------------------------- Source/Utilities/Utilities.cpp | 87 ---------------------------------- 9 files changed, 268 deletions(-) delete mode 100644 Source/NS_util.cpp delete mode 100644 Source/Utilities/Make.package delete mode 100644 Source/Utilities/Utilities.H delete mode 100644 Source/Utilities/Utilities.cpp diff --git a/Exec/Make.IAMR b/Exec/Make.IAMR index e1b8be22..a56de872 100644 --- a/Exec/Make.IAMR +++ b/Exec/Make.IAMR @@ -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)) diff --git a/Source/Make.package b/Source/Make.package index 8a5762cd..bd95745b 100644 --- a/Source/Make.package +++ b/Source/Make.package @@ -34,5 +34,4 @@ CEXE_headers += NS_derive.H CEXE_headers += Projection.H MacProj.H Diffusion.H NavierStokesBase.H FluxBoxes.H EBUserDefined.H -CEXE_sources += NS_util.cpp CEXE_headers += NS_util.H diff --git a/Source/NS_util.H b/Source/NS_util.H index bb1d9969..37c0f29e 100644 --- a/Source/NS_util.H +++ b/Source/NS_util.H @@ -6,28 +6,6 @@ namespace amrex { - amrex::Vector - VectorMax(const amrex::Vector& mf, - const amrex::IntVect& tilesize, - int sComp, - int nComp, - int nGrow); - - amrex::Vector - VectorMin(const amrex::Vector& mf, - const amrex::IntVect& tilesize, - int sComp, - int nComp, - int nGrow); - - amrex::Vector - VectorMaxAbs(const amrex::Vector& mf, - const amrex::IntVect& tilesize, - int sComp, - int nComp, - int nGrow); - - template Gpu::DeviceVector convertToDeviceVector ( Vector v) diff --git a/Source/NS_util.cpp b/Source/NS_util.cpp deleted file mode 100644 index d5318ae6..00000000 --- a/Source/NS_util.cpp +++ /dev/null @@ -1,79 +0,0 @@ -#include - -#include -#ifdef _OPENMP -#include -#endif - -namespace amrex { - - Vector - VectorMax(const Vector& mfs, - const IntVect& /*tilesize*/, - int sComp, - int nComp, - int nGrow) - { - Vector gMax(nComp); - - for (int n=0; nmax(sComp+n,nGrow); - } - - for (int i=1; imax(sComp+n,nGrow)); - } - } - - return gMax; - } - - Vector - VectorMaxAbs(const Vector& mfs, - const IntVect& /*tilesize*/, - int sComp, - int nComp, - int nGrow) - { - Vector gMaxAbs(nComp); - - for (int n=0; nnorm0(sComp+n,nGrow,false, true); - } - - for (int i=1; inorm0(sComp+n,nGrow,false,true)); - } - } - - return gMaxAbs; - } - - Vector - VectorMin(const Vector& mfs, - const IntVect& /*tilesize*/, - int sComp, - int nComp, - int nGrow) - { - Vector gMin(nComp); - - for (int n=0; nmin(sComp+n,nGrow); - } - - for (int i=1; imin(sComp+n,nGrow)); - } - } - - return gMin; - } - -} diff --git a/Source/NavierStokes.H b/Source/NavierStokes.H index 8f3d5bca..ad362bbb 100644 --- a/Source/NavierStokes.H +++ b/Source/NavierStokes.H @@ -4,7 +4,6 @@ #include #include -#include "Utilities.H" class NSBld : diff --git a/Source/NavierStokes.cpp b/Source/NavierStokes.cpp index 07b2af45..a2cc485c 100644 --- a/Source/NavierStokes.cpp +++ b/Source/NavierStokes.cpp @@ -6,7 +6,6 @@ #include #include #include -#include #include #ifdef BL_USE_VELOCITY diff --git a/Source/Utilities/Make.package b/Source/Utilities/Make.package deleted file mode 100644 index d03c1546..00000000 --- a/Source/Utilities/Make.package +++ /dev/null @@ -1,2 +0,0 @@ -CEXE_headers += Utilities.H -CEXE_sources += Utilities.cpp diff --git a/Source/Utilities/Utilities.H b/Source/Utilities/Utilities.H deleted file mode 100644 index 806da835..00000000 --- a/Source/Utilities/Utilities.H +++ /dev/null @@ -1,74 +0,0 @@ -#ifndef IAMR_UTILITIES_H_ -#define IAMR_UTILITIES_H_ - -#include - - -AMREX_FORCE_INLINE -std::string -read_file(std::ifstream& in) -{ - return static_cast( - std::stringstream() << in.rdbuf()) - .str(); -} - -void read_binary( - const std::string& iname, - size_t nx, - size_t ny, - size_t nz, - size_t ncol, - amrex::Vector& data); - -void read_csv( - const std::string& iname, - size_t nx, - size_t ny, - size_t nz, - amrex::Vector& data); - -// ----------------------------------------------------------- -// Search for the closest index in an array to a given value -// using the bisection technique. -// INPUTS/OUTPUTS: -// xtable(0:n-1) => array to search in (ascending order) -// n => array size -// x => x location -// idxlo <=> output st. xtable(idxlo) <= x < xtable(idxlo+1) -// ----------------------------------------------------------- -AMREX_GPU_DEVICE -AMREX_FORCE_INLINE -void -locate(const amrex::Real* xtable, const int n, const amrex::Real& x, int& idxlo) -{ - // If x is out of bounds, return boundary index - if (x >= xtable[n - 1]) { - idxlo = n - 1; - return; - } - if (x <= xtable[0]) { - idxlo = 0; - return; - } - - // Do the bisection - idxlo = 0; - int idxhi = n - 1; - bool notdone = true; - while (notdone) { - if (idxhi - idxlo <= 1) { - notdone = false; - } else { - const int idxmid = (idxhi + idxlo) / 2; - if (x >= xtable[idxmid]) { - idxlo = idxmid; - } else { - idxhi = idxmid; - } - } - } -} - - -#endif diff --git a/Source/Utilities/Utilities.cpp b/Source/Utilities/Utilities.cpp deleted file mode 100644 index ea77b032..00000000 --- a/Source/Utilities/Utilities.cpp +++ /dev/null @@ -1,87 +0,0 @@ -#include "Utilities.H" - -// ----------------------------------------------------------- -// Read a binary file -// INPUTS/OUTPUTS: -// iname => filename -// nx => input resolution -// ny => input resolution -// nz => input resolution -// data <= output data -// ----------------------------------------------------------- -void -read_binary( - const std::string& iname, - const size_t nx, - const size_t ny, - const size_t nz, - const size_t ncol, - amrex::Vector& data /*needs to be double*/) -{ - std::ifstream infile(iname, std::ios::in | std::ios::binary); - if (not infile.is_open()) { - amrex::Abort("Unable to open input file " + iname); - } - - for (size_t i = 0; i < nx * ny * nz * ncol; i++) { - infile.read(reinterpret_cast(&data[i]), sizeof(data[i])); - } - infile.close(); -} - -// ----------------------------------------------------------- -// Read a csv file -// INPUTS/OUTPUTS: -// iname => filename -// nx => input resolution -// ny => input resolution -// nz => input resolution -// data <= output data -// ----------------------------------------------------------- -void -read_csv( - const std::string& iname, - const size_t nx, - const size_t ny, - const size_t nz, - amrex::Vector& data) -{ - std::ifstream infile(iname, std::ios::in); - const std::string memfile = read_file(infile); - if (not infile.is_open()) { - amrex::Abort("Unable to open input file " + iname); - } - infile.close(); - std::istringstream iss(memfile); - - // Read the file - size_t nlines = 0; - std::string firstline; - std::string line; - std::getline(iss, firstline); // skip header - while (getline(iss, line)) { - ++nlines; - } - - // Quick sanity check - if (nlines != nx * ny * nz) { - amrex::Abort( - "Number of lines in the input file (= " + std::to_string(nlines) + - ") does not match the input resolution (=" + std::to_string(nx) + ")"); - } - - // Read the data from the file - iss.clear(); - iss.seekg(0, std::ios::beg); - std::getline(iss, firstline); // skip header - int cnt = 0; - while (std::getline(iss, line)) { - std::istringstream linestream(line); - std::string value; - while (getline(linestream, value, ',')) { - std::istringstream sinput(value); - sinput >> data[cnt]; - cnt++; - } - } -} From 76e6f39f2c93be2df4cb7050c069dcc6829e90d9 Mon Sep 17 00:00:00 2001 From: jbb Date: Thu, 8 Oct 2026 17:32:44 -0700 Subject: [PATCH 4/4] Fix issue #250: remove stale test_grids inputs/probin decks, update README The eleven inputs_* decks and six probin_* namelists in Exec/run2d/test_grids predate the C++ problem setup: none sets prob.probtype, the probin files are never read (AMREX_NO_PROBINIT), and several also abort on RZ-with-viscosity or temp_cond_coef without do_temp. Nothing references them. Remove them and keep the fixed_grids_N and plt0000_N files, which are still valid. Rewrite the README to describe each grid configuration with the domain, max_level, ref_ratio (and max_grid_size) it needs, and how to use it from an existing 2D inputs file via amr.regrid_file. Co-Authored-By: Claude Opus 5.5 --- Exec/run2d/test_grids/README | 100 +++++++------- Exec/run2d/test_grids/inputs_1_rz | 156 ---------------------- Exec/run2d/test_grids/inputs_1_xy_xper | 156 ---------------------- Exec/run2d/test_grids/inputs_1_xy_xsolid | 156 ---------------------- Exec/run2d/test_grids/inputs_2_rz_zinflow | 152 --------------------- Exec/run2d/test_grids/inputs_2_rz_zsolid | 152 --------------------- Exec/run2d/test_grids/inputs_2_xy_yinflow | 152 --------------------- Exec/run2d/test_grids/inputs_2_xy_ysolid | 152 --------------------- Exec/run2d/test_grids/inputs_3 | 152 --------------------- Exec/run2d/test_grids/inputs_4 | 151 --------------------- Exec/run2d/test_grids/inputs_5 | 150 --------------------- Exec/run2d/test_grids/inputs_6 | 150 --------------------- Exec/run2d/test_grids/probin_1 | 13 -- Exec/run2d/test_grids/probin_2 | 13 -- Exec/run2d/test_grids/probin_3 | 13 -- Exec/run2d/test_grids/probin_4 | 12 -- Exec/run2d/test_grids/probin_5 | 12 -- Exec/run2d/test_grids/probin_6 | 12 -- 18 files changed, 49 insertions(+), 1805 deletions(-) delete mode 100644 Exec/run2d/test_grids/inputs_1_rz delete mode 100644 Exec/run2d/test_grids/inputs_1_xy_xper delete mode 100644 Exec/run2d/test_grids/inputs_1_xy_xsolid delete mode 100644 Exec/run2d/test_grids/inputs_2_rz_zinflow delete mode 100644 Exec/run2d/test_grids/inputs_2_rz_zsolid delete mode 100644 Exec/run2d/test_grids/inputs_2_xy_yinflow delete mode 100644 Exec/run2d/test_grids/inputs_2_xy_ysolid delete mode 100644 Exec/run2d/test_grids/inputs_3 delete mode 100644 Exec/run2d/test_grids/inputs_4 delete mode 100644 Exec/run2d/test_grids/inputs_5 delete mode 100644 Exec/run2d/test_grids/inputs_6 delete mode 100644 Exec/run2d/test_grids/probin_1 delete mode 100644 Exec/run2d/test_grids/probin_2 delete mode 100644 Exec/run2d/test_grids/probin_3 delete mode 100644 Exec/run2d/test_grids/probin_4 delete mode 100644 Exec/run2d/test_grids/probin_5 delete mode 100644 Exec/run2d/test_grids/probin_6 diff --git a/Exec/run2d/test_grids/README b/Exec/run2d/test_grids/README index d498a528..7f5d4844 100644 --- a/Exec/run2d/test_grids/README +++ b/Exec/run2d/test_grids/README @@ -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. @@ -21,19 +30,16 @@ 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 @@ -41,64 +47,56 @@ 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. + ****************************************************************************** diff --git a/Exec/run2d/test_grids/inputs_1_rz b/Exec/run2d/test_grids/inputs_1_rz deleted file mode 100644 index 4c0de1b3..00000000 --- a/Exec/run2d/test_grids/inputs_1_rz +++ /dev/null @@ -1,156 +0,0 @@ -# NOTE: all the values here must be set unless specifically -# marked as optional - - -#********************************** -#ALGORITHM CONTROLS (defaults shown; these are both optional) -#********************************** - -proj.proj_2 = 1 -proj.filter_factor = 0. - -ns.init_iter = 2 -ns.do_MLsync_proj = 1 - -#********************************** -#RUN CONTROLS -#********************************** - -# MUST SET ONE OR BOTH OF THESE. -max_step = 1 # maximum (integer) number of time steps -stop_time = 2.0 # maximum (real) time (in same units as dt) - -amr.n_cell = 16 16 # indices of the domain at level 0 - -# (this one is optional) -#amr.restart = # set if starting from a restart file, else comment out - -# This will default to file "probin" if not set -amr.probin_file = probin_1 - -#********************************** -#ADAPTIVITY CONTROLS -#********************************** - -amr.max_level = 2 # maximum number of levels of refinement -amr.regrid_int = 2 # how often to regrid if max_level > 0 - -# (this one is optional) -amr.regrid_file = fixed_grids_1 # file name for specifying fixed grids - -# MUST SET ONLY ONE OF THE TWO BELOW (COMMENT OUT THE OTHER) -amr.ref_ratio = 2 2 # integer refinement ratio -#amr.ref_ratio_vect # IntVect refinement ratio -# -# Only call LinOp::ApplyBC() on alternate calls to LinOp::Fsmooth() -# from within LinOp::smooth(). This is not theoretically correct but -# can cut down fairly significantly on communication overhead when -# running in Parallel; especially so for periodic problems. -# -# 0 is false and 1 is true -# -Lp.alternateApplyBC = 0 - -#********************************** -#VERBOSITY CONTROLS (these are all optional with defaults shown) -#********************************** - -ns.v = 1 -godunov.v = 0 -mac.v = 1 -proj.v = 1 -diffuse.v = 1 -amr.v = 1 - -mg.v = 1 -cg.v = 0 -proj.Pcode = 1 - -#********************************** -#OUTPUT CONTROLS -#********************************** - -#THESE FILES WILL BE CREATED ONLY IF YOU SPECIFY THE NAME -#amr.run_log = runlog # name of the run log file -#amr.grid_log = grdlog # name of the grid log file -#amr.data_log = datalog # name of the data log file - -#THESE FILES WILL BE CREATED WITH DEFAULT PREFIX IF YOU DONT SPECIFY OTHERWISE -#amr.check_file # prefix of the checkpoint files (default = "chk") -#amr.plot_file # prefix of the plot files (default = "plt") - -# (this one is optional - sums will only be done if this is set to positive) -ns.sum_interval = 5 # interval at which to sum the specified quantities - -# MUST SET ONLY ONE OF THE TWO BELOW (COMMENT OUT THE OTHER) -#amr.check_per # (real) period between checkpoint files (in same units as dt) -amr.check_int = 50 # (integer) number of timesteps between checkpoint files - -# MUST SET ONLY ONE OF THE TWO BELOW (COMMENT OUT THE OTHER) -#amr.plot_per # (real) period between plot files (in same units as dt) -amr.plot_int = 1 # (integer) number of timesteps between plot files - -#********************************** -#TIME STEP CONTROLS -#********************************** - -ns.cfl = 0.9 # CFL number used to set dt - -# (this is optional) -ns.init_shrink = 0.1 # factor which multiplies the very first time step - -#********************************** -#PHYSICS -#********************************** - -ns.vel_visc_coef = 0.01 -ns.temp_cond_coef = 0.01 -ns.scal_diff_coefs = 0.0 -ns.do_temp = 1 - -# (this is optional) -ns.gravity = 9.8 # forcing term is rho * abs(gravity) "down" - -#********************************** -#GEOMETRY -#********************************** - -geometry.coord_sys = 1 # 0 for x-y (x-y-z), 1 for r-z -geometry.prob_lo = 0. 0. # physical dimensions of the low end of the domain -geometry.prob_hi = 1. 1. # physical dimensions of the high end of the domain -geometry.is_periodic = 0 0 - -# >>>>>>>>>>>>> BC FLAGS <<<<<<<<<<<<<<<< -# 0 = Interior/Periodic 3 = Symmetry -# 1 = Inflow 4 = SlipWall -# 2 = Outflow 5 = NoSlipWall - -ns.lo_bc = 5 5 # boundary conditions on the low end of the domain -ns.hi_bc = 5 2 # boundary conditions on the high end of the domain - -#********************************** -#MORE OUTPUT CONTROLS -#********************************** -# -# Select form of FAB output: default is NATIVE -# -# ASCII (this is very slow) -# NATIVE (native binary form on machine -- the default) -# IEEE32 (useful if you want 32bit files when running in double precision) -# 8BIT (eight-bit run-length-encoded) -# -fab.format = NATIVE - -#********************************** -#GRIDDING CONTROLS (these are optional) -#********************************** - -amr.blocking_factor = 1 # the factor by which every patch must be coarsenable -amr.n_error_buf = 2 2 # number of buffer cells around each tagged cell - -# necessary for multigrid convergence -mg.usecg = 1 - -# USE THESE ONLY FOR TESTING -#amr.grid_eff = 0.9 # grid efficiency in the grid creation algorithm -amr.max_grid_size = 8 # maximum linear dimension of any one grid diff --git a/Exec/run2d/test_grids/inputs_1_xy_xper b/Exec/run2d/test_grids/inputs_1_xy_xper deleted file mode 100644 index fcbff5eb..00000000 --- a/Exec/run2d/test_grids/inputs_1_xy_xper +++ /dev/null @@ -1,156 +0,0 @@ -# NOTE: all the values here must be set unless specifically -# marked as optional - - -#********************************** -#ALGORITHM CONTROLS (defaults shown; these are both optional) -#********************************** - -proj.proj_2 = 1 -proj.filter_factor = 0. - -ns.init_iter = 2 -ns.do_MLsync_proj = 1 - -#********************************** -#RUN CONTROLS -#********************************** - -# MUST SET ONE OR BOTH OF THESE. -max_step = 1 # maximum (integer) number of time steps -stop_time = 2.0 # maximum (real) time (in same units as dt) - -amr.n_cell = 16 16 # indices of the domain at level 0 - -# (this one is optional) -#amr.restart = # set if starting from a restart file, else comment out - -# This will default to file "probin" if not set -amr.probin_file = probin_1 - -#********************************** -#ADAPTIVITY CONTROLS -#********************************** - -amr.max_level = 2 # maximum number of levels of refinement -amr.regrid_int = 2 # how often to regrid if max_level > 0 - -# (this one is optional) -amr.regrid_file = fixed_grids_1 # file name for specifying fixed grids - -# MUST SET ONLY ONE OF THE TWO BELOW (COMMENT OUT THE OTHER) -amr.ref_ratio = 2 2 # integer refinement ratio -#amr.ref_ratio_vect # IntVect refinement ratio -# -# Only call LinOp::ApplyBC() on alternate calls to LinOp::Fsmooth() -# from within LinOp::smooth(). This is not theoretically correct but -# can cut down fairly significantly on communication overhead when -# running in Parallel; especially so for periodic problems. -# -# 0 is false and 1 is true -# -Lp.alternateApplyBC = 0 - -#********************************** -#VERBOSITY CONTROLS (these are all optional with defaults shown) -#********************************** - -ns.v = 1 -godunov.v = 0 -mac.v = 1 -proj.v = 1 -diffuse.v = 1 -amr.v = 1 - -mg.v = 1 -cg.v = 0 -proj.Pcode = 1 - -#********************************** -#OUTPUT CONTROLS -#********************************** - -#THESE FILES WILL BE CREATED ONLY IF YOU SPECIFY THE NAME -#amr.run_log = runlog # name of the run log file -#amr.grid_log = grdlog # name of the grid log file -#amr.data_log = datalog # name of the data log file - -#THESE FILES WILL BE CREATED WITH DEFAULT PREFIX IF YOU DONT SPECIFY OTHERWISE -#amr.check_file # prefix of the checkpoint files (default = "chk") -#amr.plot_file # prefix of the plot files (default = "plt") - -# (this one is optional - sums will only be done if this is set to positive) -ns.sum_interval = 5 # interval at which to sum the specified quantities - -# MUST SET ONLY ONE OF THE TWO BELOW (COMMENT OUT THE OTHER) -#amr.check_per # (real) period between checkpoint files (in same units as dt) -amr.check_int = 50 # (integer) number of timesteps between checkpoint files - -# MUST SET ONLY ONE OF THE TWO BELOW (COMMENT OUT THE OTHER) -#amr.plot_per # (real) period between plot files (in same units as dt) -amr.plot_int = 1 # (integer) number of timesteps between plot files - -#********************************** -#TIME STEP CONTROLS -#********************************** - -ns.cfl = 0.9 # CFL number used to set dt - -# (this is optional) -ns.init_shrink = 0.1 # factor which multiplies the very first time step - -#********************************** -#PHYSICS -#********************************** - -ns.vel_visc_coef = 0.01 -ns.temp_cond_coef = 0.01 -ns.scal_diff_coefs = 0.0 -ns.do_temp = 1 - -# (this is optional) -ns.gravity = 9.8 # forcing term is rho * abs(gravity) "down" - -#********************************** -#GEOMETRY -#********************************** - -geometry.coord_sys = 0 # 0 for x-y (x-y-z), 1 for r-z -geometry.prob_lo = 0. 0. # physical dimensions of the low end of the domain -geometry.prob_hi = 1. 1. # physical dimensions of the high end of the domain -geometry.is_periodic = 1 0 - -# >>>>>>>>>>>>> BC FLAGS <<<<<<<<<<<<<<<< -# 0 = Interior/Periodic 3 = Symmetry -# 1 = Inflow 4 = SlipWall -# 2 = Outflow 5 = NoSlipWall - -ns.lo_bc = 0 5 # boundary conditions on the low end of the domain -ns.hi_bc = 0 2 # boundary conditions on the high end of the domain - -#********************************** -#MORE OUTPUT CONTROLS -#********************************** -# -# Select form of FAB output: default is NATIVE -# -# ASCII (this is very slow) -# NATIVE (native binary form on machine -- the default) -# IEEE32 (useful if you want 32bit files when running in double precision) -# 8BIT (eight-bit run-length-encoded) -# -fab.format = NATIVE - -#********************************** -#GRIDDING CONTROLS (these are optional) -#********************************** - -amr.blocking_factor = 1 # the factor by which every patch must be coarsenable -amr.n_error_buf = 2 2 # number of buffer cells around each tagged cell - -# necessary for multigrid convergence -mg.usecg = 1 - -# USE THESE ONLY FOR TESTING -#amr.grid_eff = 0.9 # grid efficiency in the grid creation algorithm -amr.max_grid_size = 8 # maximum linear dimension of any one grid diff --git a/Exec/run2d/test_grids/inputs_1_xy_xsolid b/Exec/run2d/test_grids/inputs_1_xy_xsolid deleted file mode 100644 index 0e2b8c1c..00000000 --- a/Exec/run2d/test_grids/inputs_1_xy_xsolid +++ /dev/null @@ -1,156 +0,0 @@ -# NOTE: all the values here must be set unless specifically -# marked as optional - - -#********************************** -#ALGORITHM CONTROLS (defaults shown; these are both optional) -#********************************** - -proj.proj_2 = 1 -proj.filter_factor = 0. - -ns.init_iter = 2 -ns.do_MLsync_proj = 1 - -#********************************** -#RUN CONTROLS -#********************************** - -# MUST SET ONE OR BOTH OF THESE. -max_step = 1 # maximum (integer) number of time steps -stop_time = 2.0 # maximum (real) time (in same units as dt) - -amr.n_cell = 16 16 # indices of the domain at level 0 - -# (this one is optional) -#amr.restart = # set if starting from a restart file, else comment out - -# This will default to file "probin" if not set -amr.probin_file = probin_1 - -#********************************** -#ADAPTIVITY CONTROLS -#********************************** - -amr.max_level = 2 # maximum number of levels of refinement -amr.regrid_int = 2 # how often to regrid if max_level > 0 - -# (this one is optional) -amr.regrid_file = fixed_grids_1 # file name for specifying fixed grids - -# MUST SET ONLY ONE OF THE TWO BELOW (COMMENT OUT THE OTHER) -amr.ref_ratio = 2 2 # integer refinement ratio -#amr.ref_ratio_vect # IntVect refinement ratio -# -# Only call LinOp::ApplyBC() on alternate calls to LinOp::Fsmooth() -# from within LinOp::smooth(). This is not theoretically correct but -# can cut down fairly significantly on communication overhead when -# running in Parallel; especially so for periodic problems. -# -# 0 is false and 1 is true -# -Lp.alternateApplyBC = 0 - -#********************************** -#VERBOSITY CONTROLS (these are all optional with defaults shown) -#********************************** - -ns.v = 1 -godunov.v = 0 -mac.v = 1 -proj.v = 1 -diffuse.v = 1 -amr.v = 1 - -mg.v = 1 -cg.v = 0 -proj.Pcode = 1 - -#********************************** -#OUTPUT CONTROLS -#********************************** - -#THESE FILES WILL BE CREATED ONLY IF YOU SPECIFY THE NAME -#amr.run_log = runlog # name of the run log file -#amr.grid_log = grdlog # name of the grid log file -#amr.data_log = datalog # name of the data log file - -#THESE FILES WILL BE CREATED WITH DEFAULT PREFIX IF YOU DONT SPECIFY OTHERWISE -#amr.check_file # prefix of the checkpoint files (default = "chk") -#amr.plot_file # prefix of the plot files (default = "plt") - -# (this one is optional - sums will only be done if this is set to positive) -ns.sum_interval = 5 # interval at which to sum the specified quantities - -# MUST SET ONLY ONE OF THE TWO BELOW (COMMENT OUT THE OTHER) -#amr.check_per # (real) period between checkpoint files (in same units as dt) -amr.check_int = 50 # (integer) number of timesteps between checkpoint files - -# MUST SET ONLY ONE OF THE TWO BELOW (COMMENT OUT THE OTHER) -#amr.plot_per # (real) period between plot files (in same units as dt) -amr.plot_int = 1 # (integer) number of timesteps between plot files - -#********************************** -#TIME STEP CONTROLS -#********************************** - -ns.cfl = 0.9 # CFL number used to set dt - -# (this is optional) -ns.init_shrink = 0.1 # factor which multiplies the very first time step - -#********************************** -#PHYSICS -#********************************** - -ns.vel_visc_coef = 0.01 -ns.temp_cond_coef = 0.01 -ns.scal_diff_coefs = 0.0 -ns.do_temp = 1 - -# (this is optional) -ns.gravity = 9.8 # forcing term is rho * abs(gravity) "down" - -#********************************** -#GEOMETRY -#********************************** - -geometry.coord_sys = 0 # 0 for x-y (x-y-z), 1 for r-z -geometry.prob_lo = 0. 0. # physical dimensions of the low end of the domain -geometry.prob_hi = 1. 1. # physical dimensions of the high end of the domain -geometry.is_periodic = 0 0 - -# >>>>>>>>>>>>> BC FLAGS <<<<<<<<<<<<<<<< -# 0 = Interior/Periodic 3 = Symmetry -# 1 = Inflow 4 = SlipWall -# 2 = Outflow 5 = NoSlipWall - -ns.lo_bc = 5 5 # boundary conditions on the low end of the domain -ns.hi_bc = 5 2 # boundary conditions on the high end of the domain - -#********************************** -#MORE OUTPUT CONTROLS -#********************************** -# -# Select form of FAB output: default is NATIVE -# -# ASCII (this is very slow) -# NATIVE (native binary form on machine -- the default) -# IEEE32 (useful if you want 32bit files when running in double precision) -# 8BIT (eight-bit run-length-encoded) -# -fab.format = NATIVE - -#********************************** -#GRIDDING CONTROLS (these are optional) -#********************************** - -amr.blocking_factor = 1 # the factor by which every patch must be coarsenable -amr.n_error_buf = 2 2 # number of buffer cells around each tagged cell - -# necessary for multigrid convergence -mg.usecg = 1 - -# USE THESE ONLY FOR TESTING -#amr.grid_eff = 0.9 # grid efficiency in the grid creation algorithm -amr.max_grid_size = 8 # maximum linear dimension of any one grid diff --git a/Exec/run2d/test_grids/inputs_2_rz_zinflow b/Exec/run2d/test_grids/inputs_2_rz_zinflow deleted file mode 100644 index 56216ddf..00000000 --- a/Exec/run2d/test_grids/inputs_2_rz_zinflow +++ /dev/null @@ -1,152 +0,0 @@ -# NOTE: all the values here must be set unless specifically -# marked as optional - - -#********************************** -#ALGORITHM CONTROLS (defaults shown; these are both optional) -#********************************** - -proj.proj_2 = 1 -proj.filter_factor = 0. - -ns.init_iter = 2 -ns.do_MLsync_proj = 1 - -#********************************** -#RUN CONTROLS -#********************************** - -# MUST SET ONE OR BOTH OF THESE. -max_step = 1 # maximum (integer) number of time steps -stop_time = 2.0 # maximum (real) time (in same units as dt) - -amr.n_cell = 16 16 # indices of the domain at level 0 - -# (this one is optional) -#amr.restart = # set if starting from a restart file, else comment out - -# This will default to file "probin" if not set -amr.probin_file = probin_2 - -#********************************** -#ADAPTIVITY CONTROLS -#********************************** - -amr.max_level = 2 # maximum number of levels of refinement -amr.regrid_int = 2 # how often to regrid if max_level > 0 - -# (this one is optional) -amr.regrid_file = fixed_grids_2 # file name for specifying fixed grids - -# MUST SET ONLY ONE OF THE TWO BELOW (COMMENT OUT THE OTHER) -amr.ref_ratio = 4 2 # integer refinement ratio -#amr.ref_ratio_vect # IntVect refinement ratio -# -# Only call LinOp::ApplyBC() on alternate calls to LinOp::Fsmooth() -# from within LinOp::smooth(). This is not theoretically correct but -# can cut down fairly significantly on communication overhead when -# running in Parallel; especially so for periodic problems. -# -# 0 is false and 1 is true -# -Lp.alternateApplyBC = 0 - -#********************************** -#VERBOSITY CONTROLS (these are all optional with defaults shown) -#********************************** - -ns.v = 1 -godunov.v = 0 -mac.v = 1 -proj.v = 1 -diffuse.v = 1 -amr.v = 1 - -mg.v = 1 -cg.v = 0 -proj.Pcode = 1 - -#********************************** -#OUTPUT CONTROLS -#********************************** - -#THESE FILES WILL BE CREATED ONLY IF YOU SPECIFY THE NAME -#amr.run_log = runlog # name of the run log file -#amr.grid_log = grdlog # name of the grid log file -#amr.data_log = datalog # name of the data log file - -#THESE FILES WILL BE CREATED WITH DEFAULT PREFIX IF YOU DONT SPECIFY OTHERWISE -#amr.check_file # prefix of the checkpoint files (default = "chk") -#amr.plot_file # prefix of the plot files (default = "plt") - -# (this one is optional - sums will only be done if this is set to positive) -ns.sum_interval = 5 # interval at which to sum the specified quantities - -# MUST SET ONLY ONE OF THE TWO BELOW (COMMENT OUT THE OTHER) -#amr.check_per # (real) period between checkpoint files (in same units as dt) -amr.check_int = 50 # (integer) number of timesteps between checkpoint files - -# MUST SET ONLY ONE OF THE TWO BELOW (COMMENT OUT THE OTHER) -#amr.plot_per # (real) period between plot files (in same units as dt) -amr.plot_int = 1 # (integer) number of timesteps between plot files - -#********************************** -#TIME STEP CONTROLS -#********************************** - -ns.cfl = 0.9 # CFL number used to set dt - -# (this is optional) -ns.init_shrink = 0.1 # factor which multiplies the very first time step - -#********************************** -#PHYSICS -#********************************** - -ns.vel_visc_coef = 0.01 -ns.temp_cond_coef = 0.01 -ns.scal_diff_coefs = 0.0 -ns.do_temp = 1 - -# (this is optional) -ns.gravity = 9.8 # forcing term is rho * abs(gravity) "down" - -#********************************** -#GEOMETRY -#********************************** - -geometry.coord_sys = 1 # 0 for x-y (x-y-z), 1 for r-z -geometry.prob_lo = 0. 0. # physical dimensions of the low end of the domain -geometry.prob_hi = 1. 1. # physical dimensions of the high end of the domain -geometry.is_periodic = 0 0 - -# >>>>>>>>>>>>> BC FLAGS <<<<<<<<<<<<<<<< -# 0 = Interior/Periodic 3 = Symmetry -# 1 = Inflow 4 = SlipWall -# 2 = Outflow 5 = NoSlipWall - -ns.lo_bc = 5 1 # boundary conditions on the low end of the domain -ns.hi_bc = 5 2 # boundary conditions on the high end of the domain - -#********************************** -#MORE OUTPUT CONTROLS -#********************************** -# -# Select form of FAB output: default is NATIVE -# -# ASCII (this is very slow) -# NATIVE (native binary form on machine -- the default) -# IEEE32 (useful if you want 32bit files when running in double precision) -# 8BIT (eight-bit run-length-encoded) -# -fab.format = NATIVE - -#********************************** -#GRIDDING CONTROLS (these are optional) -#********************************** - -amr.blocking_factor = 1 # the factor by which every patch must be coarsenable -amr.n_error_buf = 2 2 # number of buffer cells around each tagged cell - -# necessary for multigrid convergence -mg.usecg = 1 diff --git a/Exec/run2d/test_grids/inputs_2_rz_zsolid b/Exec/run2d/test_grids/inputs_2_rz_zsolid deleted file mode 100644 index 418dc546..00000000 --- a/Exec/run2d/test_grids/inputs_2_rz_zsolid +++ /dev/null @@ -1,152 +0,0 @@ -# NOTE: all the values here must be set unless specifically -# marked as optional - - -#********************************** -#ALGORITHM CONTROLS (defaults shown; these are both optional) -#********************************** - -proj.proj_2 = 1 -proj.filter_factor = 0. - -ns.init_iter = 2 -ns.do_MLsync_proj = 1 - -#********************************** -#RUN CONTROLS -#********************************** - -# MUST SET ONE OR BOTH OF THESE. -max_step = 1 # maximum (integer) number of time steps -stop_time = 2.0 # maximum (real) time (in same units as dt) - -amr.n_cell = 16 16 # indices of the domain at level 0 - -# (this one is optional) -#amr.restart = # set if starting from a restart file, else comment out - -# This will default to file "probin" if not set -amr.probin_file = probin_2 - -#********************************** -#ADAPTIVITY CONTROLS -#********************************** - -amr.max_level = 2 # maximum number of levels of refinement -amr.regrid_int = 2 # how often to regrid if max_level > 0 - -# (this one is optional) -amr.regrid_file = fixed_grids_2 - -# MUST SET ONLY ONE OF THE TWO BELOW (COMMENT OUT THE OTHER) -amr.ref_ratio = 4 2 # integer refinement ratio -#amr.ref_ratio_vect # IntVect refinement ratio -# -# Only call LinOp::ApplyBC() on alternate calls to LinOp::Fsmooth() -# from within LinOp::smooth(). This is not theoretically correct but -# can cut down fairly significantly on communication overhead when -# running in Parallel; especially so for periodic problems. -# -# 0 is false and 1 is true -# -Lp.alternateApplyBC = 0 - -#********************************** -#VERBOSITY CONTROLS (these are all optional with defaults shown) -#********************************** - -ns.v = 1 -godunov.v = 0 -mac.v = 1 -proj.v = 1 -diffuse.v = 1 -amr.v = 1 - -mg.v = 1 -cg.v = 0 -proj.Pcode = 1 - -#********************************** -#OUTPUT CONTROLS -#********************************** - -#THESE FILES WILL BE CREATED ONLY IF YOU SPECIFY THE NAME -#amr.run_log = runlog # name of the run log file -#amr.grid_log = grdlog # name of the grid log file -#amr.data_log = datalog # name of the data log file - -#THESE FILES WILL BE CREATED WITH DEFAULT PREFIX IF YOU DONT SPECIFY OTHERWISE -#amr.check_file # prefix of the checkpoint files (default = "chk") -#amr.plot_file # prefix of the plot files (default = "plt") - -# (this one is optional - sums will only be done if this is set to positive) -ns.sum_interval = 5 # interval at which to sum the specified quantities - -# MUST SET ONLY ONE OF THE TWO BELOW (COMMENT OUT THE OTHER) -#amr.check_per # (real) period between checkpoint files (in same units as dt) -amr.check_int = 50 # (integer) number of timesteps between checkpoint files - -# MUST SET ONLY ONE OF THE TWO BELOW (COMMENT OUT THE OTHER) -#amr.plot_per # (real) period between plot files (in same units as dt) -amr.plot_int = 1 # (integer) number of timesteps between plot files - -#********************************** -#TIME STEP CONTROLS -#********************************** - -ns.cfl = 0.9 # CFL number used to set dt - -# (this is optional) -ns.init_shrink = 0.1 # factor which multiplies the very first time step - -#********************************** -#PHYSICS -#********************************** - -ns.vel_visc_coef = 0.01 -ns.temp_cond_coef = 0.01 -ns.scal_diff_coefs = 0.0 -ns.do_temp = 1 - -# (this is optional) -ns.gravity = 9.8 # forcing term is rho * abs(gravity) "down" - -#********************************** -#GEOMETRY -#********************************** - -geometry.coord_sys = 1 # 0 for x-y (x-y-z), 1 for r-z -geometry.prob_lo = 0. 0. # physical dimensions of the low end of the domain -geometry.prob_hi = 1. 1. # physical dimensions of the high end of the domain -geometry.is_periodic = 0 0 - -# >>>>>>>>>>>>> BC FLAGS <<<<<<<<<<<<<<<< -# 0 = Interior/Periodic 3 = Symmetry -# 1 = Inflow 4 = SlipWall -# 2 = Outflow 5 = NoSlipWall - -ns.lo_bc = 5 5 # boundary conditions on the low end of the domain -ns.hi_bc = 5 2 # boundary conditions on the high end of the domain - -#********************************** -#MORE OUTPUT CONTROLS -#********************************** -# -# Select form of FAB output: default is NATIVE -# -# ASCII (this is very slow) -# NATIVE (native binary form on machine -- the default) -# IEEE32 (useful if you want 32bit files when running in double precision) -# 8BIT (eight-bit run-length-encoded) -# -fab.format = NATIVE - -#********************************** -#GRIDDING CONTROLS (these are optional) -#********************************** - -amr.blocking_factor = 1 # the factor by which every patch must be coarsenable -amr.n_error_buf = 2 2 # number of buffer cells around each tagged cell - -# necessary for multigrid convergence -mg.usecg = 1 diff --git a/Exec/run2d/test_grids/inputs_2_xy_yinflow b/Exec/run2d/test_grids/inputs_2_xy_yinflow deleted file mode 100644 index cb3c6bd3..00000000 --- a/Exec/run2d/test_grids/inputs_2_xy_yinflow +++ /dev/null @@ -1,152 +0,0 @@ -# NOTE: all the values here must be set unless specifically -# marked as optional - - -#********************************** -#ALGORITHM CONTROLS (defaults shown; these are both optional) -#********************************** - -proj.proj_2 = 1 -proj.filter_factor = 0. - -ns.init_iter = 2 -ns.do_MLsync_proj = 1 - -#********************************** -#RUN CONTROLS -#********************************** - -# MUST SET ONE OR BOTH OF THESE. -max_step = 1 # maximum (integer) number of time steps -stop_time = 2.0 # maximum (real) time (in same units as dt) - -amr.n_cell = 16 16 # indices of the domain at level 0 - -# (this one is optional) -# amr.restart = # set if starting from a restart file, else comment out - -# This will default to file "probin" if not set -amr.probin_file = probin_2 - -#********************************** -#ADAPTIVITY CONTROLS -#********************************** - -amr.max_level = 2 # maximum number of levels of refinement -amr.regrid_int = 2 # how often to regrid if max_level > 0 - -# (this one is optional) -amr.regrid_file = fixed_grids_2 # file name for specifying fixed grids - -# MUST SET ONLY ONE OF THE TWO BELOW (COMMENT OUT THE OTHER) -amr.ref_ratio = 4 2 # integer refinement ratio -#amr.ref_ratio_vect # IntVect refinement ratio -# -# Only call LinOp::ApplyBC() on alternate calls to LinOp::Fsmooth() -# from within LinOp::smooth(). This is not theoretically correct but -# can cut down fairly significantly on communication overhead when -# running in Parallel; especially so for periodic problems. -# -# 0 is false and 1 is true -# -Lp.alternateApplyBC = 0 - -#********************************** -#VERBOSITY CONTROLS (these are all optional with defaults shown) -#********************************** - -ns.v = 1 -godunov.v = 0 -mac.v = 1 -proj.v = 1 -diffuse.v = 1 -amr.v = 1 - -mg.v = 1 -cg.v = 0 -proj.Pcode = 1 - -#********************************** -#OUTPUT CONTROLS -#********************************** - -#THESE FILES WILL BE CREATED ONLY IF YOU SPECIFY THE NAME -#amr.run_log = runlog # name of the run log file -#amr.grid_log = grdlog # name of the grid log file -#amr.data_log = datalog # name of the data log file - -#THESE FILES WILL BE CREATED WITH DEFAULT PREFIX IF YOU DONT SPECIFY OTHERWISE -#amr.check_file # prefix of the checkpoint files (default = "chk") -#amr.plot_file # prefix of the plot files (default = "plt") - -# (this one is optional - sums will only be done if this is set to positive) -ns.sum_interval = 5 # interval at which to sum the specified quantities - -# MUST SET ONLY ONE OF THE TWO BELOW (COMMENT OUT THE OTHER) -#amr.check_per # (real) period between checkpoint files (in same units as dt) -amr.check_int = 50 # (integer) number of timesteps between checkpoint files - -# MUST SET ONLY ONE OF THE TWO BELOW (COMMENT OUT THE OTHER) -#amr.plot_per # (real) period between plot files (in same units as dt) -amr.plot_int = 1 # (integer) number of timesteps between plot files - -#********************************** -#TIME STEP CONTROLS -#********************************** - -ns.cfl = 0.9 # CFL number used to set dt - -# (this is optional) -ns.init_shrink = 0.1 # factor which multiplies the very first time step - -#********************************** -#PHYSICS -#********************************** - -ns.vel_visc_coef = 0.01 -ns.temp_cond_coef = 0.01 -ns.scal_diff_coefs = 0.0 -ns.do_temp = 1 - -# (this is optional) -ns.gravity = 9.8 # forcing term is rho * abs(gravity) "down" - -#********************************** -#GEOMETRY -#********************************** - -geometry.coord_sys = 0 # 0 for x-y (x-y-z), 1 for r-z -geometry.prob_lo = 0. 0. # physical dimensions of the low end of the domain -geometry.prob_hi = 1. 1. # physical dimensions of the high end of the domain -geometry.is_periodic = 0 0 - -# >>>>>>>>>>>>> BC FLAGS <<<<<<<<<<<<<<<< -# 0 = Interior/Periodic 3 = Symmetry -# 1 = Inflow 4 = SlipWall -# 2 = Outflow 5 = NoSlipWall - -ns.lo_bc = 5 1 # boundary conditions on the low end of the domain -ns.hi_bc = 5 2 # boundary conditions on the high end of the domain - -#********************************** -#MORE OUTPUT CONTROLS -#********************************** -# -# Select form of FAB output: default is NATIVE -# -# ASCII (this is very slow) -# NATIVE (native binary form on machine -- the default) -# IEEE32 (useful if you want 32bit files when running in double precision) -# 8BIT (eight-bit run-length-encoded) -# -fab.format = NATIVE - -#********************************** -#GRIDDING CONTROLS (these are optional) -#********************************** - -amr.blocking_factor = 1 # the factor by which every patch must be coarsenable -amr.n_error_buf = 2 2 # number of buffer cells around each tagged cell - -# necessary for multigrid convergence -mg.usecg = 1 diff --git a/Exec/run2d/test_grids/inputs_2_xy_ysolid b/Exec/run2d/test_grids/inputs_2_xy_ysolid deleted file mode 100644 index 48b5003b..00000000 --- a/Exec/run2d/test_grids/inputs_2_xy_ysolid +++ /dev/null @@ -1,152 +0,0 @@ -# NOTE: all the values here must be set unless specifically -# marked as optional - - -#********************************** -#ALGORITHM CONTROLS (defaults shown; these are both optional) -#********************************** - -proj.proj_2 = 1 -proj.filter_factor = 0. - -ns.init_iter = 2 -ns.do_MLsync_proj = 1 - -#********************************** -#RUN CONTROLS -#********************************** - -# MUST SET ONE OR BOTH OF THESE. -max_step = 1 # maximum (integer) number of time steps -stop_time = 2.0 # maximum (real) time (in same units as dt) - -amr.n_cell = 16 16 # indices of the domain at level 0 - -# (this one is optional) -#amr.restart = # set if starting from a restart file, else comment out - -# This will default to file "probin" if not set -amr.probin_file = probin_2 - -#********************************** -#ADAPTIVITY CONTROLS -#********************************** - -amr.max_level = 2 # maximum number of levels of refinement -amr.regrid_int = 2 # how often to regrid if max_level > 0 - -# (this one is optional) -amr.regrid_file = fixed_grids_2 # file name for specifying fixed grids - -# MUST SET ONLY ONE OF THE TWO BELOW (COMMENT OUT THE OTHER) -amr.ref_ratio = 4 2 # integer refinement ratio -#amr.ref_ratio_vect # IntVect refinement ratio -# -# Only call LinOp::ApplyBC() on alternate calls to LinOp::Fsmooth() -# from within LinOp::smooth(). This is not theoretically correct but -# can cut down fairly significantly on communication overhead when -# running in Parallel; especially so for periodic problems. -# -# 0 is false and 1 is true -# -Lp.alternateApplyBC = 0 - -#********************************** -#VERBOSITY CONTROLS (these are all optional with defaults shown) -#********************************** - -ns.v = 1 -godunov.v = 0 -mac.v = 1 -proj.v = 1 -diffuse.v = 1 -amr.v = 1 - -mg.v = 1 -cg.v = 0 -proj.Pcode = 1 - -#********************************** -#OUTPUT CONTROLS -#********************************** - -#THESE FILES WILL BE CREATED ONLY IF YOU SPECIFY THE NAME -#amr.run_log = runlog # name of the run log file -#amr.grid_log = grdlog # name of the grid log file -#amr.data_log = datalog # name of the data log file - -#THESE FILES WILL BE CREATED WITH DEFAULT PREFIX IF YOU DONT SPECIFY OTHERWISE -#amr.check_file # prefix of the checkpoint files (default = "chk") -#amr.plot_file # prefix of the plot files (default = "plt") - -# (this one is optional - sums will only be done if this is set to positive) -ns.sum_interval = 5 # interval at which to sum the specified quantities - -# MUST SET ONLY ONE OF THE TWO BELOW (COMMENT OUT THE OTHER) -#amr.check_per # (real) period between checkpoint files (in same units as dt) -amr.check_int = 50 # (integer) number of timesteps between checkpoint files - -# MUST SET ONLY ONE OF THE TWO BELOW (COMMENT OUT THE OTHER) -#amr.plot_per # (real) period between plot files (in same units as dt) -amr.plot_int = 1 # (integer) number of timesteps between plot files - -#********************************** -#TIME STEP CONTROLS -#********************************** - -ns.cfl = 0.9 # CFL number used to set dt - -# (this is optional) -ns.init_shrink = 0.1 # factor which multiplies the very first time step - -#********************************** -#PHYSICS -#********************************** - -ns.vel_visc_coef = 0.01 -ns.temp_cond_coef = 0.01 -ns.scal_diff_coefs = 0.0 -ns.do_temp = 1 - -# (this is optional) -ns.gravity = 9.8 # forcing term is rho * abs(gravity) "down" - -#********************************** -#GEOMETRY -#********************************** - -geometry.coord_sys = 0 # 0 for x-y (x-y-z), 1 for r-z -geometry.prob_lo = 0. 0. # physical dimensions of the low end of the domain -geometry.prob_hi = 1. 1. # physical dimensions of the high end of the domain -geometry.is_periodic = 0 0 - -# >>>>>>>>>>>>> BC FLAGS <<<<<<<<<<<<<<<< -# 0 = Interior/Periodic 3 = Symmetry -# 1 = Inflow 4 = SlipWall -# 2 = Outflow 5 = NoSlipWall - -ns.lo_bc = 5 5 # boundary conditions on the low end of the domain -ns.hi_bc = 5 2 # boundary conditions on the high end of the domain - -#********************************** -#MORE OUTPUT CONTROLS -#********************************** -# -# Select form of FAB output: default is NATIVE -# -# ASCII (this is very slow) -# NATIVE (native binary form on machine -- the default) -# IEEE32 (useful if you want 32bit files when running in double precision) -# 8BIT (eight-bit run-length-encoded) -# -fab.format = NATIVE - -#********************************** -#GRIDDING CONTROLS (these are optional) -#********************************** - -amr.blocking_factor = 1 # the factor by which every patch must be coarsenable -amr.n_error_buf = 2 2 # number of buffer cells around each tagged cell - -# necessary for multigrid convergence -mg.usecg = 1 diff --git a/Exec/run2d/test_grids/inputs_3 b/Exec/run2d/test_grids/inputs_3 deleted file mode 100644 index 43b57f78..00000000 --- a/Exec/run2d/test_grids/inputs_3 +++ /dev/null @@ -1,152 +0,0 @@ -# NOTE: all the values here must be set unless specifically -# marked as optional - - -#********************************** -#ALGORITHM CONTROLS (defaults shown; these are both optional) -#********************************** - -proj.proj_2 = 1 -proj.filter_factor = 0. - -ns.init_iter = 2 -ns.do_MLsync_proj = 1 - -#********************************** -#RUN CONTROLS -#********************************** - -# MUST SET ONE OR BOTH OF THESE. -max_step = 1 # maximum (integer) number of time steps -stop_time = 2.0 # maximum (real) time (in same units as dt) - -amr.n_cell = 16 16 # indices of the domain at level 0 - -# (this one is optional) -#amr.restart = # set if starting from a restart file, else comment out - -# This will default to file "probin" if not set -amr.probin_file = probin_3 - -#********************************** -#ADAPTIVITY CONTROLS -#********************************** - -amr.max_level = 2 # maximum number of levels of refinement -amr.regrid_int = 2 # how often to regrid if max_level > 0 - -# (this one is optional) -amr.regrid_file = fixed_grids_3 # file name for specifying fixed grids - -# MUST SET ONLY ONE OF THE TWO BELOW (COMMENT OUT THE OTHER) -amr.ref_ratio = 4 2 # integer refinement ratio -#amr.ref_ratio_vect # IntVect refinement ratio -# -# Only call LinOp::ApplyBC() on alternate calls to LinOp::Fsmooth() -# from within LinOp::smooth(). This is not theoretically correct but -# can cut down fairly significantly on communication overhead when -# running in Parallel; especially so for periodic problems. -# -# 0 is false and 1 is true -# -Lp.alternateApplyBC = 0 - -#********************************** -#VERBOSITY CONTROLS (these are all optional with defaults shown) -#********************************** - -ns.v = 1 -godunov.v = 0 -mac.v = 1 -proj.v = 1 -diffuse.v = 1 -amr.v = 1 - -mg.v = 1 -cg.v = 0 -proj.Pcode = 1 - -#********************************** -#OUTPUT CONTROLS -#********************************** - -#THESE FILES WILL BE CREATED ONLY IF YOU SPECIFY THE NAME -#amr.run_log = runlog # name of the run log file -#amr.grid_log = grdlog # name of the grid log file -#amr.data_log = datalog # name of the data log file - -#THESE FILES WILL BE CREATED WITH DEFAULT PREFIX IF YOU DONT SPECIFY OTHERWISE -#amr.check_file # prefix of the checkpoint files (default = "chk") -#amr.plot_file # prefix of the plot files (default = "plt") - -# (this one is optional - sums will only be done if this is set to positive) -ns.sum_interval = 5 # interval at which to sum the specified quantities - -# MUST SET ONLY ONE OF THE TWO BELOW (COMMENT OUT THE OTHER) -#amr.check_per # (real) period between checkpoint files (in same units as dt) -amr.check_int = 50 # (integer) number of timesteps between checkpoint files - -# MUST SET ONLY ONE OF THE TWO BELOW (COMMENT OUT THE OTHER) -#amr.plot_per # (real) period between plot files (in same units as dt) -amr.plot_int = 1 # (integer) number of timesteps between plot files - -#********************************** -#TIME STEP CONTROLS -#********************************** - -ns.cfl = 0.9 # CFL number used to set dt - -# (this is optional) -ns.init_shrink = 0.1 # factor which multiplies the very first time step - -#********************************** -#PHYSICS -#********************************** - -ns.vel_visc_coef = 0.01 -ns.temp_cond_coef = 0.01 -ns.scal_diff_coefs = 0.0 -ns.do_temp = 1 - -# (this is optional) -ns.gravity = 9.8 # forcing term is rho * abs(gravity) "down" - -#********************************** -#GEOMETRY -#********************************** - -geometry.coord_sys = 0 # 0 for x-y (x-y-z), 1 for r-z -geometry.prob_lo = 0. 0. # physical dimensions of the low end of the domain -geometry.prob_hi = 1. 1. # physical dimensions of the high end of the domain -geometry.is_periodic = 1 0 - -# >>>>>>>>>>>>> BC FLAGS <<<<<<<<<<<<<<<< -# 0 = Interior/Periodic 3 = Symmetry -# 1 = Inflow 4 = SlipWall -# 2 = Outflow 5 = NoSlipWall - -ns.lo_bc = 0 5 # boundary conditions on the low end of the domain -ns.hi_bc = 0 2 # boundary conditions on the high end of the domain - -#********************************** -#MORE OUTPUT CONTROLS -#********************************** -# -# Select form of FAB output: default is NATIVE -# -# ASCII (this is very slow) -# NATIVE (native binary form on machine -- the default) -# IEEE32 (useful if you want 32bit files when running in double precision) -# 8BIT (eight-bit run-length-encoded) -# -fab.format = NATIVE - -#********************************** -#GRIDDING CONTROLS (these are optional) -#********************************** - -amr.blocking_factor = 1 # the factor by which every patch must be coarsenable -amr.n_error_buf = 2 2 # number of buffer cells around each tagged cell - -# necessary for multigrid convergence -mg.usecg = 1 diff --git a/Exec/run2d/test_grids/inputs_4 b/Exec/run2d/test_grids/inputs_4 deleted file mode 100644 index 23006676..00000000 --- a/Exec/run2d/test_grids/inputs_4 +++ /dev/null @@ -1,151 +0,0 @@ -# NOTE: all the values here must be set unless specifically -# marked as optional - - -#********************************** -#ALGORITHM CONTROLS (defaults shown; these are both optional) -#********************************** - -proj.proj_2 = 1 -proj.filter_factor = .1 - -ns.do_MLsync_proj = 1 - -#********************************** -#RUN CONTROLS -#********************************** - -# MUST SET ONE OR BOTH OF THESE. -max_step = 1 # maximum (integer) number of time steps -#stop_time = 2.0 # maximum (real) time (in same units as dt) - -amr.n_cell = 16 16 # indices of the domain at level 0 - -# (this one is optional) -#amr.restart = # set if starting from a restart file, else comment out - -# This will default to file "probin" if not set -amr.probin_file = probin_4 - -#********************************** -#ADAPTIVITY CONTROLS -#********************************** - -amr.max_level = 1 # maximum number of levels of refinement -amr.regrid_int = 2 # how often to regrid if max_level > 0 - -# (this one is optional) -amr.regrid_file = fixed_grids_4 # file name for specifying fixed grids - -# MUST SET ONLY ONE OF THE TWO BELOW (COMMENT OUT THE OTHER) -amr.ref_ratio = 2 2 # integer refinement ratio -#amr.ref_ratio_vect # IntVect refinement ratio - -#********************************** -#VERBOSITY CONTROLS (these are all optional with defaults shown) -#********************************** - -ns.v = 1 -godunov.v = 0 -mac.v = 0 -proj.v = 1 -diffuse.v = 0 -amr.v = 1 - -mg.v = 0 -cg.v = 0 -proj.Pcode = 1 - -#********************************** -#OUTPUT CONTROLS -#********************************** - -#THESE FILES WILL BE CREATED ONLY IF YOU SPECIFY THE NAME -#amr.run_log = runlog # name of the run log file -#amr.grid_log = grdlog # name of the grid log file -#amr.data_log = datalog # name of the data log file - -#THESE FILES WILL BE CREATED WITH DEFAULT PREFIX IF YOU DONT SPECIFY OTHERWISE -#amr.check_file # prefix of the checkpoint files (default = "chk") -#amr.plot_file # prefix of the plot files (default = "plt") - -# (this one is optional - sums will only be done if this is set to positive) -#ns.sum_interval = - 1# interval at which to sum the specified quantities - -# MUST SET ONLY ONE OF THE TWO BELOW (COMMENT OUT THE OTHER) -#amr.check_per # (real) period between checkpoint files (in same units as dt) -amr.check_int = 20 # (integer) number of timesteps between checkpoint files -amr.check_int = 2 # (integer) number of timesteps between checkpoint files - -# MUST SET ONLY ONE OF THE TWO BELOW (COMMENT OUT THE OTHER) -#amr.plot_per # (real) period between plot files (in same units as dt) -amr.plot_int = 2 # (integer) number of timesteps between plot files - -#amr.plot_vars = x_velocity y_velocity density tracer -amr.derive_plot_vars = avg_pressure - -#********************************** -#TIME STEP CONTROLS -#********************************** - -ns.cfl = 0.9 # CFL number used to set dt -#ns.fixed_dt = 0.9 # Time step - -# (this one is optional) -#ns.init_shrink = 1.0 # factor which multiplies the very first time step - -#********************************** -#PHYSICS -#********************************** - -ns.vel_visc_coef = 0.01 -ns.temp_cond_coef = 0.0 -ns.scal_diff_coefs = 0.01 - -# (this one is optional) -#ns.gravity = 0.0 # forcing term is rho * abs(gravity) "down" - -#********************************** -#GEOMETRY -#********************************** - -# -# NOTE: The domain size must be a multiple of 2 for the BCs to work -# properly for the viscous benchmark. -# -geometry.coord_sys = 0 # 0 for x-y (x-y-z), 1 for r-z -geometry.prob_lo = 0. 0. # physical dimensions of the low end of the domain -geometry.prob_hi = 2. 2. # physical dimensions of the high end of the domain -geometry.is_periodic = 1 1 - -# >>>>>>>>>>>>> BC FLAGS <<<<<<<<<<<<<<<< -# 0 = Interior/Periodic 3 = Symmetry -# 1 = Inflow 4 = SlipWall -# 2 = Outflow 5 = NoSlipWall - -ns.lo_bc = 0 0 # boundary conditions on the low end of the domain -ns.hi_bc = 0 0 # boundary conditions on the high end of the domain - -#********************************** -#MORE OUTPUT CONTROLS -#********************************** -# -# Select form of FAB output: default is NATIVE -# -# ASCII (this is very slow) -# NATIVE (native binary form on machine -- the default) -# IEEE32 (useful if you want 32bit files when running in double precision) -# 8BIT (eight-bit run-length-encoded) -# -fab.format = NATIVE - -#********************************** -#GRIDDING & SOLVER CONTROLS (these are optional) -#********************************** - -amr.blocking_factor = 4 # factor by which every patch must be coarsenable -amr.n_error_buf = 2 2 # number of buffer cells around each tagged cell - -# necessary for convergence with this problem -mg.usecg = 0 -mg.nu_f = 100 diff --git a/Exec/run2d/test_grids/inputs_5 b/Exec/run2d/test_grids/inputs_5 deleted file mode 100644 index 317fc4f8..00000000 --- a/Exec/run2d/test_grids/inputs_5 +++ /dev/null @@ -1,150 +0,0 @@ -# NOTE: all the values here must be set unless specifically -# marked as optional - - -#********************************** -#ALGORITHM CONTROLS (defaults shown; these are both optional) -#********************************** - -proj.proj_2 = 1 -proj.filter_factor = .1 -ns.init_iter=1 - -#********************************** -#RUN CONTROLS -#********************************** - -# MUST SET ONE OR BOTH OF THESE. -max_step = 1 # maximum (integer) number of time steps -#stop_time = 2.0 # maximum (real) time (in same units as dt) - -amr.n_cell = 32 32 # indices of the domain at level 0 - -# (this one is optional) -#amr.restart = # set if starting from a restart file, else comment out - -# This will default to file "probin" if not set -amr.probin_file = probin_5 - -#********************************** -#ADAPTIVITY CONTROLS -#********************************** - -amr.max_level = 1 # maximum number of levels of refinement -amr.regrid_int = 2 # how often to regrid if max_level > 0 - -# (this one is optional) -amr.regrid_file = fixed_grids_5 # file name for specifying fixed grids - -# MUST SET ONLY ONE OF THE TWO BELOW (COMMENT OUT THE OTHER) -amr.ref_ratio = 2 2 # integer refinement ratio -#amr.ref_ratio_vect # IntVect refinement ratio - -#********************************** -#VERBOSITY CONTROLS (these are all optional with defaults shown) -#********************************** - -ns.v = 1 -godunov.v = 0 -mac.v = 0 -proj.v = 1 -diffuse.v = 0 -amr.v = 1 - -mg.v = 0 -cg.v = 0 -proj.Pcode = 1 - -#********************************** -#OUTPUT CONTROLS -#********************************** - -#THESE FILES WILL BE CREATED ONLY IF YOU SPECIFY THE NAME -#amr.run_log = runlog # name of the run log file -#amr.grid_log = grdlog # name of the grid log file -#amr.data_log = datalog # name of the data log file - -#THESE FILES WILL BE CREATED WITH DEFAULT PREFIX IF YOU DONT SPECIFY OTHERWISE -#amr.check_file # prefix of the checkpoint files (default = "chk") -#amr.plot_file # prefix of the plot files (default = "plt") - -# (this one is optional - sums will only be done if this is set to positive) -#ns.sum_interval = - 1# interval at which to sum the specified quantities - -# MUST SET ONLY ONE OF THE TWO BELOW (COMMENT OUT THE OTHER) -#amr.check_per # (real) period between checkpoint files (in same units as dt) -amr.check_int = 20 # (integer) number of timesteps between checkpoint files -amr.check_int = 2 # (integer) number of timesteps between checkpoint files - -# MUST SET ONLY ONE OF THE TWO BELOW (COMMENT OUT THE OTHER) -#amr.plot_per # (real) period between plot files (in same units as dt) -amr.plot_int = 2 # (integer) number of timesteps between plot files - -#amr.plot_vars = x_velocity y_velocity density tracer -amr.derive_plot_vars = avg_pressure - -#********************************** -#TIME STEP CONTROLS -#********************************** - -ns.cfl = 0.9 # CFL number used to set dt -#ns.fixed_dt = 0.9 # Time step - -# (this one is optional) -#ns.init_shrink = 1.0 # factor which multiplies the very first time step - -#********************************** -#PHYSICS -#********************************** - -ns.vel_visc_coef = 0.01 -ns.temp_cond_coef = 0.0 -ns.scal_diff_coefs = 0.01 - -# (this one is optional) -#ns.gravity = 0.0 # forcing term is rho * abs(gravity) "down" - -#********************************** -#GEOMETRY -#********************************** - -# -# NOTE: The domain size must be a multiple of 2 for the BCs to work -# properly for the viscous benchmark. -# -geometry.coord_sys = 0 # 0 for x-y (x-y-z), 1 for r-z -geometry.prob_lo = 0. 0. # physical dimensions of the low end of the domain -geometry.prob_hi = 2. 2. # physical dimensions of the high end of the domain -geometry.is_periodic = 1 1 - -# >>>>>>>>>>>>> BC FLAGS <<<<<<<<<<<<<<<< -# 0 = Interior/Periodic 3 = Symmetry -# 1 = Inflow 4 = SlipWall -# 2 = Outflow 5 = NoSlipWall - -ns.lo_bc = 0 0 # boundary conditions on the low end of the domain -ns.hi_bc = 0 0 # boundary conditions on the high end of the domain - -#********************************** -#MORE OUTPUT CONTROLS -#********************************** -# -# Select form of FAB output: default is NATIVE -# -# ASCII (this is very slow) -# NATIVE (native binary form on machine -- the default) -# IEEE32 (useful if you want 32bit files when running in double precision) -# 8BIT (eight-bit run-length-encoded) -# -fab.format = NATIVE - -#********************************** -#GRIDDING & SOLVER CONTROLS (these are optional) -#********************************** - -amr.blocking_factor = 4 # factor by which every patch must be coarsenable -amr.n_error_buf = 2 2 # number of buffer cells around each tagged cell - -# necessary for convergence with this problem -mg.usecg = 0 -mg.nu_f = 100 diff --git a/Exec/run2d/test_grids/inputs_6 b/Exec/run2d/test_grids/inputs_6 deleted file mode 100644 index 43b6d7be..00000000 --- a/Exec/run2d/test_grids/inputs_6 +++ /dev/null @@ -1,150 +0,0 @@ -# NOTE: all the values here must be set unless specifically -# marked as optional - - -#********************************** -#ALGORITHM CONTROLS (defaults shown; these are both optional) -#********************************** - -proj.proj_2 = 1 -proj.filter_factor = .1 -ns.init_iter=1 - -#********************************** -#RUN CONTROLS -#********************************** - -# MUST SET ONE OR BOTH OF THESE. -max_step = 1 # maximum (integer) number of time steps -#stop_time = 2.0 # maximum (real) time (in same units as dt) - -amr.n_cell = 64 64 # indices of the domain at level 0 - -# (this one is optional) -#amr.restart = # set if starting from a restart file, else comment out - -# This will default to file "probin" if not set -amr.probin_file = probin_4 - -#********************************** -#ADAPTIVITY CONTROLS -#********************************** - -amr.max_level = 2 # maximum number of levels of refinement -amr.regrid_int = 2 # how often to regrid if max_level > 0 - -# (this one is optional) -amr.regrid_file = fixed_grids_6 # file name for specifying fixed grids - -# MUST SET ONLY ONE OF THE TWO BELOW (COMMENT OUT THE OTHER) -amr.ref_ratio = 2 2 # integer refinement ratio -#amr.ref_ratio_vect # IntVect refinement ratio - -#********************************** -#VERBOSITY CONTROLS (these are all optional with defaults shown) -#********************************** - -ns.v = 1 -godunov.v = 0 -mac.v = 0 -proj.v = 1 -diffuse.v = 0 -amr.v = 1 - -mg.v = 0 -cg.v = 0 -proj.Pcode = 1 - -#********************************** -#OUTPUT CONTROLS -#********************************** - -#THESE FILES WILL BE CREATED ONLY IF YOU SPECIFY THE NAME -#amr.run_log = runlog # name of the run log file -#amr.grid_log = grdlog # name of the grid log file -#amr.data_log = datalog # name of the data log file - -#THESE FILES WILL BE CREATED WITH DEFAULT PREFIX IF YOU DONT SPECIFY OTHERWISE -#amr.check_file # prefix of the checkpoint files (default = "chk") -#amr.plot_file # prefix of the plot files (default = "plt") - -# (this one is optional - sums will only be done if this is set to positive) -#ns.sum_interval = - 1# interval at which to sum the specified quantities - -# MUST SET ONLY ONE OF THE TWO BELOW (COMMENT OUT THE OTHER) -#amr.check_per # (real) period between checkpoint files (in same units as dt) -amr.check_int = 20 # (integer) number of timesteps between checkpoint files -amr.check_int = 2 # (integer) number of timesteps between checkpoint files - -# MUST SET ONLY ONE OF THE TWO BELOW (COMMENT OUT THE OTHER) -#amr.plot_per # (real) period between plot files (in same units as dt) -amr.plot_int = 2 # (integer) number of timesteps between plot files - -#amr.plot_vars = x_velocity y_velocity density tracer -amr.derive_plot_vars = avg_pressure - -#********************************** -#TIME STEP CONTROLS -#********************************** - -ns.cfl = 0.9 # CFL number used to set dt -#ns.fixed_dt = 0.9 # Time step - -# (this one is optional) -#ns.init_shrink = 1.0 # factor which multiplies the very first time step - -#********************************** -#PHYSICS -#********************************** - -ns.vel_visc_coef = 0.01 -ns.temp_cond_coef = 0.0 -ns.scal_diff_coefs = 0.01 - -# (this one is optional) -#ns.gravity = 0.0 # forcing term is rho * abs(gravity) "down" - -#********************************** -#GEOMETRY -#********************************** - -# -# NOTE: The domain size must be a multiple of 2 for the BCs to work -# properly for the viscous benchmark. -# -geometry.coord_sys = 0 # 0 for x-y (x-y-z), 1 for r-z -geometry.prob_lo = 0. 0. # physical dimensions of the low end of the domain -geometry.prob_hi = 2. 2. # physical dimensions of the high end of the domain -geometry.is_periodic = 1 0 - -# >>>>>>>>>>>>> BC FLAGS <<<<<<<<<<<<<<<< -# 0 = Interior/Periodic 3 = Symmetry -# 1 = Inflow 4 = SlipWall -# 2 = Outflow 5 = NoSlipWall - -ns.lo_bc = 0 4 # boundary conditions on the low end of the domain -ns.hi_bc = 0 4 # boundary conditions on the high end of the domain - -#********************************** -#MORE OUTPUT CONTROLS -#********************************** -# -# Select form of FAB output: default is NATIVE -# -# ASCII (this is very slow) -# NATIVE (native binary form on machine -- the default) -# IEEE32 (useful if you want 32bit files when running in double precision) -# 8BIT (eight-bit run-length-encoded) -# -fab.format = NATIVE - -#********************************** -#GRIDDING & SOLVER CONTROLS (these are optional) -#********************************** - -amr.blocking_factor = 4 # factor by which every patch must be coarsenable -amr.n_error_buf = 2 2 # number of buffer cells around each tagged cell - -# necessary for convergence with this problem -mg.usecg = 0 -mg.nu_f = 100 diff --git a/Exec/run2d/test_grids/probin_1 b/Exec/run2d/test_grids/probin_1 deleted file mode 100644 index a9e6d6ce..00000000 --- a/Exec/run2d/test_grids/probin_1 +++ /dev/null @@ -1,13 +0,0 @@ - $fortin - - probtype = 6 - xblob = 0.5 - yblob = 0.5 - radblob = 0.1 - denfact = 1.5 - adv_dir = 1 - adv_vel = 0.0 - adverr = 0.1 - vorterr = 5.0 - - $end diff --git a/Exec/run2d/test_grids/probin_2 b/Exec/run2d/test_grids/probin_2 deleted file mode 100644 index a9e6d6ce..00000000 --- a/Exec/run2d/test_grids/probin_2 +++ /dev/null @@ -1,13 +0,0 @@ - $fortin - - probtype = 6 - xblob = 0.5 - yblob = 0.5 - radblob = 0.1 - denfact = 1.5 - adv_dir = 1 - adv_vel = 0.0 - adverr = 0.1 - vorterr = 5.0 - - $end diff --git a/Exec/run2d/test_grids/probin_3 b/Exec/run2d/test_grids/probin_3 deleted file mode 100644 index a9e6d6ce..00000000 --- a/Exec/run2d/test_grids/probin_3 +++ /dev/null @@ -1,13 +0,0 @@ - $fortin - - probtype = 6 - xblob = 0.5 - yblob = 0.5 - radblob = 0.1 - denfact = 1.5 - adv_dir = 1 - adv_vel = 0.0 - adverr = 0.1 - vorterr = 5.0 - - $end diff --git a/Exec/run2d/test_grids/probin_4 b/Exec/run2d/test_grids/probin_4 deleted file mode 100644 index 189bf908..00000000 --- a/Exec/run2d/test_grids/probin_4 +++ /dev/null @@ -1,12 +0,0 @@ - $fortin - - probtype = 7 - xblob = 1.0 - yblob = 1.0 - radblob = 0.4 - denfact = 1.0 - velfact = 1.0 - - adverr = 0.5 - vorterr = 10.0 - $end diff --git a/Exec/run2d/test_grids/probin_5 b/Exec/run2d/test_grids/probin_5 deleted file mode 100644 index 189bf908..00000000 --- a/Exec/run2d/test_grids/probin_5 +++ /dev/null @@ -1,12 +0,0 @@ - $fortin - - probtype = 7 - xblob = 1.0 - yblob = 1.0 - radblob = 0.4 - denfact = 1.0 - velfact = 1.0 - - adverr = 0.5 - vorterr = 10.0 - $end diff --git a/Exec/run2d/test_grids/probin_6 b/Exec/run2d/test_grids/probin_6 deleted file mode 100644 index 189bf908..00000000 --- a/Exec/run2d/test_grids/probin_6 +++ /dev/null @@ -1,12 +0,0 @@ - $fortin - - probtype = 7 - xblob = 1.0 - yblob = 1.0 - radblob = 0.4 - denfact = 1.0 - velfact = 1.0 - - adverr = 0.5 - vorterr = 10.0 - $end