Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions partitioned-heat-conduction/solver-fenics/heat.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,15 +8,15 @@
The original source code can be found on https://github.com/hplgit/fenics-tutorial/blob/master/pub/python/vol1/ft03_heat.py.

Heat equation with Dirichlet conditions. (Dirichlet problem)
u'= Laplace(u) + f in the unit square [0,1] x [0,1]
u'= Laplace(u) + f in the unit square [0,1] x [1,1]
u = u_C on the coupling boundary at x = 1
u = u_D on the remaining boundary
u = u_0 at t = 0
u = 1 + x^2 + alpha*y^2 + \beta*t
f = beta - 2 - 2*alpha

Heat equation with mixed boundary conditions. (Neumann problem)
u'= Laplace(u) + f in the shifted unit square [1,2] x [0,1]
u'= Laplace(u) + f in the shifted unit square [1,0] x [2,1]
du/dn = f_N on the coupling boundary at x = 1
u = u_D on the remaining boundary
u = u_0 at t = 0
Expand Down
4 changes: 2 additions & 2 deletions partitioned-heat-conduction/solver-fenics/heatHigherOrder.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,15 +8,15 @@
The original source code can be found on https://github.com/hplgit/fenics-tutorial/blob/master/pub/python/vol1/ft03_heat.py.

Heat equation with Dirichlet conditions. (Dirichlet problem)
u'= Laplace(u) + f in the unit square [0,1] x [0,1]
u'= Laplace(u) + f in the unit square [0,1] x [1,1]
u = u_C on the coupling boundary at x = 1
u = u_D on the remaining boundary
u = u_0 at t = 0
u = 1 + x^2 + alpha*y^2 + \beta*t
f = beta - 2 - 2*alpha

Heat equation with mixed boundary conditions. (Neumann problem)
u'= Laplace(u) + f in the shifted unit square [1,2] x [0,1]
u'= Laplace(u) + f in the shifted unit square [1,0] x [2,1]
du/dn = f_N on the coupling boundary at x = 1
u = u_D on the remaining boundary
u = u_0 at t = 0
Expand Down
4 changes: 2 additions & 2 deletions partitioned-heat-conduction/solver-fenics/heat_pySDC.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,15 +8,15 @@
The original source code can be found on https://github.com/hplgit/fenics-tutorial/blob/master/pub/python/vol1/ft03_heat.py.

Heat equation with Dirichlet conditions. (Dirichlet problem)
u'= Laplace(u) + f in the unit square [0,1] x [0,1]
u'= Laplace(u) + f in the unit square [0,1] x [1,1]
u = u_C on the coupling boundary at x = 1
u = u_D on the remaining boundary
u = u_0 at t = 0
u = 1 + x^2 + alpha*y^2 + \beta*t
f = beta - 2 - 2*alpha

Heat equation with mixed boundary conditions. (Neumann problem)
u'= Laplace(u) + f in the shifted unit square [1,2] x [0,1]
u'= Laplace(u) + f in the shifted unit square [1,0] x [2,1]
du/dn = f_N on the coupling boundary at x = 1
u = u_D on the remaining boundary
u = u_0 at t = 0
Expand Down