]> https://gitweb.dealii.org/ - code-gallery.git/commitdiff
Update docs
authorJie Cheng <chengjiehust@gmail.com>
Tue, 15 May 2018 01:41:32 +0000 (21:41 -0400)
committerJie Cheng <chengjiehust@gmail.com>
Tue, 15 May 2018 01:41:32 +0000 (21:41 -0400)
time_dependent_navier_stokes/doc/Re100.mp4 [deleted file]
time_dependent_navier_stokes/doc/partition.png [new file with mode: 0644]
time_dependent_navier_stokes/doc/velocity-mesh-adaption.avi [new file with mode: 0644]
time_dependent_navier_stokes/time_dependent_navier_stokes.cc

diff --git a/time_dependent_navier_stokes/doc/Re100.mp4 b/time_dependent_navier_stokes/doc/Re100.mp4
deleted file mode 100644 (file)
index b050e0f..0000000
Binary files a/time_dependent_navier_stokes/doc/Re100.mp4 and /dev/null differ
diff --git a/time_dependent_navier_stokes/doc/partition.png b/time_dependent_navier_stokes/doc/partition.png
new file mode 100644 (file)
index 0000000..d7792c0
Binary files /dev/null and b/time_dependent_navier_stokes/doc/partition.png differ
diff --git a/time_dependent_navier_stokes/doc/velocity-mesh-adaption.avi b/time_dependent_navier_stokes/doc/velocity-mesh-adaption.avi
new file mode 100644 (file)
index 0000000..64bbfc8
Binary files /dev/null and b/time_dependent_navier_stokes/doc/velocity-mesh-adaption.avi differ
index 215cc1f507e4ed88d3586b0cb994c15fa266287b..ac9b0157d1fba8041cb953c332b53018fd290da9 100644 (file)
@@ -617,7 +617,7 @@ namespace fluid
   template <int dim>
   InsIMEX<dim>::InsIMEX(parallel::distributed::Triangulation<dim> &tria)
     : viscosity(0.001),
-      gamma(1),
+      gamma(0.1),
       degree(1),
       triangulation(tria),
       fe(FE_Q<dim>(degree + 1), dim, FE_Q<dim>(degree), 1),
@@ -865,8 +865,8 @@ namespace fluid
                        current_velocity_divergences[q] * phi_p[i] -
                        current_pressure_values[q] * div_phi_u[i] +
                        gamma * current_velocity_divergences[q] * div_phi_u[i] +
-                       current_velocity_values[q] *
-                         current_velocity_gradients[q] * phi_u[i]) *
+                       current_velocity_gradients[q] *
+                         current_velocity_values[q] * phi_u[i]) *
                       fe_values.JxW(q);
                   }
               }

In the beginning the Universe was created. This has made a lot of people very angry and has been widely regarded as a bad move.

Douglas Adams


Typeset in Trocchi and Trocchi Bold Sans Serif.