From 037c9beb18eb6e983f3745e3ea05e66574e8d568 Mon Sep 17 00:00:00 2001 From: wolf Date: Thu, 11 Aug 2005 22:15:27 +0000 Subject: [PATCH] Add results of parallel computation. git-svn-id: https://svn.dealii.org/trunk@11296 0785d39b-7218-0410-832d-ea1e28bc413d --- .../step-18.data/results.html | 179 ++++++++++++++++++ 1 file changed, 179 insertions(+) diff --git a/deal.II/doc/tutorial/chapter-2.step-by-step/step-18.data/results.html b/deal.II/doc/tutorial/chapter-2.step-by-step/step-18.data/results.html index 1b82dc880a..4fae5cc422 100644 --- a/deal.II/doc/tutorial/chapter-2.step-by-step/step-18.data/results.html +++ b/deal.II/doc/tutorial/chapter-2.step-by-step/step-18.data/results.html @@ -199,3 +199,182 @@ by an iterative solver could have the same effect. Another typical source for asymmetries in adaptive computations is that only a certain fraction of cells is refined in each step, which may lead to asymmetric meshes even if the original coarse mesh was symmetric. +

+ + +

+Whether the computation is fully converged is a different matter. In order to +see whether it is, we ran the program again with one more global refinement at +the beginning and with the time step halved. This would have taken a very long +time on a single machine, so we used our cluster again and ran it on 16 +processors (8 dual-processor machines) in parallel. The beginning of the output +now looks like this: + +

+Timestep 1 at time 0.5
+  Cycle 0:
+    Number of active cells:       29696 (by partition: 1862+1890+1866+1850+1864+1850+1858+1842+1911+1851+1911+1804+1854+1816+1839+1828)
+    Number of degrees of freedom: 113100 (by partition: 7089+7218+6978+6972+7110+6840+7119+7023+7542+7203+7068+6741+6921+6759+7464+7053)
+    Assembling system... norm of rhs is 1.05874e+10
+    Solver converged in 289 iterations.
+    Updating quadrature point data...
+  Cycle 1:
+    Number of active cells:       102097 (by partition: 6346+6478+6442+6570+6370+6483+6413+6376+6403+6195+6195+6195+6494+6571+6371+6195)
+    Number of degrees of freedom: 358875 (by partition: 22257+22161+22554+22482+21759+23361+23040+21609+22347+20937+21801+21678+24126+25149+21321+22293)
+    Assembling system... norm of rhs is 3.46364e+10
+    Solver converged in 249 iterations.
+    Updating quadrature point data...
+    Moving mesh...
+
+Timestep 2 at time 1
+    Assembling system... norm of rhs is 3.42269e+10
+    Solver converged in 248 iterations.
+    Updating quadrature point data...
+    Moving mesh...
+
+Timestep 3 at time 1.5
+    Assembling system... norm of rhs is 3.38229e+10
+    Solver converged in 247 iterations.
+    Updating quadrature point data...
+    Moving mesh...
+
+Timestep 4 at time 2
+    Assembling system... norm of rhs is 3.34247e+10
+    Solver converged in 247 iterations.
+    Updating quadrature point data...
+    Moving mesh...
+
+[...]
+
+Timestep 20 at time 10
+    Assembling system... norm of rhs is 3.2449e+10
+    Solver converged in 493 iterations.
+    Updating quadrature point data...
+    Moving mesh...
+
+ +That's quite a good number of unknowns, given that we are in 3d. The output of +this program are 16 files for each time step: + +
+examples/step-18> ls -l solution-0001.000*
+-rw-r--r--    1 bangerth mfw       4325219 Aug 11 09:44 solution-0001.0000-000.d2
+-rw-r--r--    1 bangerth mfw       4454460 Aug 11 09:44 solution-0001.0000-001.d2
+-rw-r--r--    1 bangerth mfw       4485242 Aug 11 09:43 solution-0001.0000-002.d2
+-rw-r--r--    1 bangerth mfw       4517364 Aug 11 09:43 solution-0001.0000-003.d2
+-rw-r--r--    1 bangerth mfw       4462829 Aug 11 09:43 solution-0001.0000-004.d2
+-rw-r--r--    1 bangerth mfw       4482487 Aug 11 09:43 solution-0001.0000-005.d2
+-rw-r--r--    1 bangerth mfw       4548619 Aug 11 09:43 solution-0001.0000-006.d2
+-rw-r--r--    1 bangerth mfw       4522421 Aug 11 09:43 solution-0001.0000-007.d2
+-rw-r--r--    1 bangerth mfw       4337529 Aug 11 09:43 solution-0001.0000-008.d2
+-rw-r--r--    1 bangerth mfw       4163047 Aug 11 09:43 solution-0001.0000-009.d2
+-rw-r--r--    1 bangerth mfw       4288247 Aug 11 09:43 solution-0001.0000-010.d2
+-rw-r--r--    1 bangerth mfw       4350410 Aug 11 09:43 solution-0001.0000-011.d2
+-rw-r--r--    1 bangerth mfw       4458427 Aug 11 09:43 solution-0001.0000-012.d2
+-rw-r--r--    1 bangerth mfw       4466037 Aug 11 09:43 solution-0001.0000-013.d2
+-rw-r--r--    1 bangerth mfw       4505679 Aug 11 09:44 solution-0001.0000-014.d2
+-rw-r--r--    1 bangerth mfw       4340488 Aug 11 09:44 solution-0001.0000-015.d2
+
+
+We merge and convert these 16 intermediate files into a single gmv file as +follows: + +
+examples/step-18> time ../step-19/step-19 solution-0001.0000-* -x gmv -o solution-0001.0000.gmv
+
+real    0m45.929s
+user    0m41.290s
+sys     0m0.990s
+examples/step-18> ls -l solution-0001.0000.gmv
+-rw-r--r--    1 bangerth mfw      68925360 Aug 11 17:04 solution-0001.0000.gmv
+
+
+ +

+Doing so for all time steps, we obtain gmv files that we can visualize (albeit +with some difficulty, due to their size gmv isn't exactly fast when plotting +them). Here are first the mesh on which we compute as well as the partitioning +for the 16 processors: +

+ + + + + + + +
+ + + + + +
+ +

+Finally, here is the same output as we have shown before for the much smaller +sequential case: +

+ + + + + + + + + + + + + + + + + +
+ + + Time = 2 + + + + Time = 5 + + + + Time = 7 +
+ + + Time = 8 + + + + Time = 9 + + + + Time = 10 +
+ +

+If one compares this with the previous run, the results are qualitatively +similar, but quantitatively definitely different. The previous computation was +therefore certainly not converged, though we can't say for sure anything about +the present one. One would need an even finer computation to find out. However, +the point may be moot: looking at the last picture in detail (click on it to +see it in larger), it is pretty obvious that not only is the linear small +deformation model we chose completely inadequate, but for a realistic +simulation we would also need to make sure that the body does not intersects +itself during deformation. Without such a formulation we cannot expect anything +that make sense, even if it produces nice pictures! +

-- 2.39.5