[cig-commits] [commit] master: Add a test to verify that we can create meshes with different numbers of cells in the perimeter. (ce14cec)
cig_noreply at geodynamics.org
cig_noreply at geodynamics.org
Mon Aug 4 14:45:38 PDT 2014
Repository : https://github.com/geodynamics/aspect
On branch : master
Link : https://github.com/geodynamics/aspect/compare/3811725812cafa918bbabc2515f52af7857aad31...9a8086507e7ed22ed2a4d13771930e4ae6bc3a7d
>---------------------------------------------------------------
commit ce14cecef5ef001809ed1b5d9016cd0072eca4c3
Author: Wolfgang Bangerth <bangerth at math.tamu.edu>
Date: Thu Jul 31 04:22:03 2014 -0500
Add a test to verify that we can create meshes with different numbers of cells in the perimeter.
>---------------------------------------------------------------
ce14cecef5ef001809ed1b5d9016cd0072eca4c3
.../{refine_vel.prm => cells_in_circumference.prm} | 21 +++++-----
tests/cells_in_circumference/screen-output | 49 ++++++++++++++++++++++
2 files changed, 60 insertions(+), 10 deletions(-)
diff --git a/tests/refine_vel.prm b/tests/cells_in_circumference.prm
similarity index 84%
copy from tests/refine_vel.prm
copy to tests/cells_in_circumference.prm
index 4d708e1..863b970 100644
--- a/tests/refine_vel.prm
+++ b/tests/cells_in_circumference.prm
@@ -1,6 +1,8 @@
+# Use a mesh with a different number of
+
set Dimension = 2
set CFL number = 1.0
-set End time = 1e300
+set End time = 0
set Start time = 0
set Adiabatic surface temperature = 1613.0
set Surface pressure = 0
@@ -37,9 +39,10 @@ subsection Geometry model
set Model name = spherical shell
subsection Spherical shell
- set Inner radius = 3481000
+ set Inner radius = 5000000
set Outer radius = 6371000
- set Opening angle = 90
+ set Opening angle = 360
+ set Cells along circumference = 20
end
end
@@ -69,7 +72,7 @@ end
subsection Mesh refinement
set Initial adaptive refinement = 0
- set Initial global refinement = 4
+ set Initial global refinement = 0
set Additional refinement times = 0,0
set Strategy = velocity
@@ -93,17 +96,15 @@ end
subsection Model settings
set Fixed temperature boundary indicators = 0, 1
set Prescribed velocity boundary indicators =
- set Tangential velocity boundary indicators = 0, 2, 3
+ set Tangential velocity boundary indicators = 0
set Zero velocity boundary indicators = 1
end
subsection Postprocess
- set List of postprocessors = visualization, velocity statistics, basic statistics, temperature statistics, heat flux statistics, depth average
+ set List of postprocessors = visualization
subsection Visualization
- set Time between graphical output = 0
-
- end
-
+ set Output format = gnuplot
+ end
end
diff --git a/tests/cells_in_circumference/screen-output b/tests/cells_in_circumference/screen-output
new file mode 100644
index 0000000..1fd34f4
--- /dev/null
+++ b/tests/cells_in_circumference/screen-output
@@ -0,0 +1,49 @@
+-----------------------------------------------------------------------------
+-- This is ASPECT, the Advanced Solver for Problems in Earth's ConvecTion.
+-- . version 1.2.pre
+-- . running in DEBUG mode
+-- . running with 1 MPI process
+-- . using Trilinos
+-----------------------------------------------------------------------------
+
+Number of active cells: 20 (on 1 levels)
+Number of degrees of freedom: 400 (240+40+120)
+
+*** Timestep 0: t=0 seconds
+ Solving temperature system... 10 iterations.
+ Rebuilding Stokes preconditioner...
+ Solving Stokes system... 18 iterations.
+
+ Postprocessing:
+ Writing graphical output: output-cells_in_circumference/solution-00000
+
+Number of active cells: 44 (on 2 levels)
+Number of degrees of freedom: 820 (496+76+248)
+
+Number of active cells: 44 (on 2 levels)
+Number of degrees of freedom: 820 (496+76+248)
+
+Termination requested by criterion: end time
+*** Snapshot created!
+
+
+
++---------------------------------------------+------------+------------+
+| Total wallclock time elapsed since start | 0.489s | |
+| | | |
+| Section | no. calls | wall time | % of total |
++---------------------------------+-----------+------------+------------+
+| Assemble Stokes system | 1 | 0.0422s | 8.6% |
+| Assemble temperature system | 1 | 0.0474s | 9.7% |
+| Build Stokes preconditioner | 1 | 0.036s | 7.4% |
+| Build temperature preconditioner| 1 | 0.000976s | 0.2% |
+| Solve Stokes system | 1 | 0.0114s | 2.3% |
+| Solve temperature system | 1 | 0.00162s | 0.33% |
+| Create snapshot | 1 | 0.00675s | 1.4% |
+| Initialization | 2 | 0.0748s | 15% |
+| Postprocessing | 1 | 0.00875s | 1.8% |
+| Refine mesh structure, part 1 | 2 | 0.0723s | 15% |
+| Refine mesh structure, part 2 | 2 | 0.00427s | 0.87% |
+| Setup dof systems | 3 | 0.148s | 30% |
++---------------------------------+-----------+------------+------------+
+
More information about the CIG-COMMITS
mailing list