Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
A
amdis
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
iwr
amdis
Commits
81cffe8c
Commit
81cffe8c
authored
12 years ago
by
Sebastian Aland
Browse files
Options
Downloads
Patches
Plain Diff
minor changes on extensions/demo/NavierStokesCahnHilliard
parent
9430328f
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
extensions/demo/NavierStokesCahnHilliard_PC/run
+5
-3
5 additions, 3 deletions
extensions/demo/NavierStokesCahnHilliard_PC/run
extensions/demo/NavierStokesCahnHilliard_PC/src/nsch.cc
+1
-1
1 addition, 1 deletion
extensions/demo/NavierStokesCahnHilliard_PC/src/nsch.cc
with
6 additions
and
4 deletions
extensions/demo/NavierStokesCahnHilliard_PC/run
+
5
−
3
View file @
81cffe8c
# 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="output
2_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
This diff is collapsed.
Click to expand it.
extensions/demo/NavierStokesCahnHilliard_PC/src/nsch.cc
+
1
−
1
View file @
81cffe8c
...
...
@@ -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
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment