Skip to content

Commit

Permalink
finished applying review comments
Browse files Browse the repository at this point in the history
  • Loading branch information
PierreLaurentinCS committed Nov 4, 2024
1 parent 96d397c commit 6105a55
Show file tree
Hide file tree
Showing 2 changed files with 27 additions and 15 deletions.
36 changes: 24 additions & 12 deletions doc/source/examples/multiphysics/jurins-law/jurins-law.rst
Original file line number Diff line number Diff line change
Expand Up @@ -205,13 +205,24 @@ We need to set boundary conditions both for the fluid dynamics solver and the Ca
.. code-block:: text
subsection boundary conditions cahn hilliard
set number = 1
subsection bc 0
set id = 2
set type = angle_of_contact
set angle value = 50
end
set number = 4
subsection bc 0
set id = 2
set type = angle_of_contact
set angle value = 50
end
subsection bc 1
set id = 3
set type = noflux
end
subsection bc 2
set id = 4
set type = noflux
end
subsection bc 3
set id = 5
set type = noflux
end
end
Then, a ``slip`` boundary condition is applied everywhere, except for the upper boundary, where it is set as ``none``.
Expand All @@ -221,16 +232,17 @@ Then, a ``slip`` boundary condition is applied everywhere, except for the upper
subsection boundary conditions
set number = 4
subsection bc 0
set id = 2 # inner wall
set type = slip
set id = 2 # angle of contact
set type = slip
end
subsection bc 1
set id = 5 # remaining walls
set id = 5 # walls
set type = slip
end
subsection bc 2
set id = 4 # upper surface
set type = none
set id = 4 # upper surface
set type = outlet
set beta = 0
end
subsection bc 3
set id = 3 # middle
Expand Down
6 changes: 3 additions & 3 deletions examples/multiphysics/jurins-law-2d/jurins-law-2d.prm
Original file line number Diff line number Diff line change
Expand Up @@ -113,15 +113,15 @@ subsection boundary conditions cahn hilliard
set angle value = 50
end
subsection bc 1
set id = 3
set id = 3
set type = noflux
end
subsection bc 2
set id = 4
set id = 4
set type = noflux
end
subsection bc 3
set id = 5
set id = 5
set type = noflux
end
end
Expand Down

0 comments on commit 6105a55

Please sign in to comment.