Commit 81cffe8c authored by Sebastian Aland's avatar Sebastian Aland

minor changes on extensions/demo/NavierStokesCahnHilliard

parent 9430328f
# This demo implements the Navier-Stokes-Cahn-Hilliard Benchmark from
# S. Aland, A. Voigt. Benchmark computations of diffuse-interface models for two-dimensional bubble dynamics. Int. J. Num. Meth. Fluids (2012)
output="output2_sequentiell"
output="output"
initfile="init/nsch.dat.2d"
mkdir $output
cd $output
......@@ -11,7 +11,9 @@ cp ../$initfile .
mpiexec -n 2 ../nsch ../$initfile -ns_ksp_atol 1e-9 -ns_ksp_rtol 0 -ch_ksp_atol 1e-9 -ch_ksp_rtol 0 -laplace_pc_type hypre -laplace_pc_hypre_boomeramg_relax_type_coarse symmetric-SOR/Jacobi
# sequentiell (solver noch auf umfpack stellen) -> #../drivenCavity ../$initfile
# sequentiell (solver noch auf umfpack stellen) -> #../nsch ../$initfile
###### zum parallel debugging
###### mpiexec -n 2 valgrind --tool=memcheck -q --num-callers=20 --log-file=valgrind.log.%p ../drivenCavity ../$initfile -malloc off -start_in_debugger
###### -ksp_type richardson -pc_type lu -pc_factor_mat_solver_package mumps
......@@ -164,7 +164,7 @@ int main(int argc, char** argv)
CahnHilliardNavierStokes_<CahnHilliardPC,MyNavierStokes_PC> mainProb("main", &chProb, &nsProb);
#else
CahnHilliard_ chProb("ch");
MyNavierStokes_PC nsProb("ns");
MyNavierStokes nsProb("ns");
CahnHilliardNavierStokes_<CahnHilliard_,MyNavierStokes> mainProb("main", &chProb, &nsProb);
#endif
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment