From 958f23f04093b39aa7be50dec5e4d589b6275277 Mon Sep 17 00:00:00 2001 From: Adrian Kummerlaender Date: Mon, 4 Feb 2019 16:52:28 +0100 Subject: Add cylinder2d resolution redistribution example i.e. cylinder2d_optimized_grid contains roughly as many grid cells as a uniformly resolved N=12 lattice but models the cylinder in more detail and is more stable. --- apps/adrian/cylinder2d_outflow_refinement/cylinder2d.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'apps/adrian/cylinder2d_outflow_refinement') diff --git a/apps/adrian/cylinder2d_outflow_refinement/cylinder2d.cpp b/apps/adrian/cylinder2d_outflow_refinement/cylinder2d.cpp index 598f828..8b6a49c 100644 --- a/apps/adrian/cylinder2d_outflow_refinement/cylinder2d.cpp +++ b/apps/adrian/cylinder2d_outflow_refinement/cylinder2d.cpp @@ -318,7 +318,7 @@ int main(int argc, char* argv[]) clout << "Total number of active cells: " << coarseGrid.getActiveVoxelN() << endl; clout << "Starting simulation..." << endl; - const int statIter = coarseGrid.getConverter().getLatticeTime(0.05); + const int statIter = coarseGrid.getConverter().getLatticeTime(0.5); Timer timer( coarseGrid.getConverter().getLatticeTime(maxPhysT), coarseGrid.getSuperGeometry().getStatistics().getNvoxel()); -- cgit v1.2.3