From: Jie Cheng Date: Tue, 15 May 2018 01:41:32 +0000 (-0400) Subject: Update docs X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=893bdb5b0a770758fce98859ab4d137f95e62a50;p=code-gallery.git Update docs --- diff --git a/time_dependent_navier_stokes/doc/Re100.mp4 b/time_dependent_navier_stokes/doc/Re100.mp4 deleted file mode 100644 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 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 index 0000000..64bbfc8 Binary files /dev/null and b/time_dependent_navier_stokes/doc/velocity-mesh-adaption.avi differ diff --git a/time_dependent_navier_stokes/time_dependent_navier_stokes.cc b/time_dependent_navier_stokes/time_dependent_navier_stokes.cc index 215cc1f..ac9b015 100644 --- a/time_dependent_navier_stokes/time_dependent_navier_stokes.cc +++ b/time_dependent_navier_stokes/time_dependent_navier_stokes.cc @@ -617,7 +617,7 @@ namespace fluid template InsIMEX::InsIMEX(parallel::distributed::Triangulation &tria) : viscosity(0.001), - gamma(1), + gamma(0.1), degree(1), triangulation(tria), fe(FE_Q(degree + 1), dim, FE_Q(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); } }