summaryrefslogtreecommitdiff
path: root/apps/adrian/cylinder2d_outflow_refinement
diff options
context:
space:
mode:
authorAdrian Kummerlaender2019-02-04 16:52:28 +0100
committerAdrian Kummerlaender2019-06-24 15:17:42 +0200
commit958f23f04093b39aa7be50dec5e4d589b6275277 (patch)
tree6ffbe94ec178e038fdec71b7a04766fb738bbb38 /apps/adrian/cylinder2d_outflow_refinement
parent02a5ddc1f3d02b117c249be0823d9c4b4cced91e (diff)
downloadgrid_refinement_openlb-958f23f04093b39aa7be50dec5e4d589b6275277.tar
grid_refinement_openlb-958f23f04093b39aa7be50dec5e4d589b6275277.tar.gz
grid_refinement_openlb-958f23f04093b39aa7be50dec5e4d589b6275277.tar.bz2
grid_refinement_openlb-958f23f04093b39aa7be50dec5e4d589b6275277.tar.lz
grid_refinement_openlb-958f23f04093b39aa7be50dec5e4d589b6275277.tar.xz
grid_refinement_openlb-958f23f04093b39aa7be50dec5e4d589b6275277.tar.zst
grid_refinement_openlb-958f23f04093b39aa7be50dec5e4d589b6275277.zip
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.
Diffstat (limited to 'apps/adrian/cylinder2d_outflow_refinement')
-rw-r--r--apps/adrian/cylinder2d_outflow_refinement/cylinder2d.cpp2
1 files changed, 1 insertions, 1 deletions
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<T> timer(
coarseGrid.getConverter().getLatticeTime(maxPhysT),
coarseGrid.getSuperGeometry().getStatistics().getNvoxel());