diff --git a/tutorials/incompressible/potentialFreeSurfaceFoam/oscillatingBox/0.org/p_gh b/tutorials/incompressible/potentialFreeSurfaceFoam/oscillatingBox/0.org/p_gh index 192fa2fa28..944805dcca 100644 --- a/tutorials/incompressible/potentialFreeSurfaceFoam/oscillatingBox/0.org/p_gh +++ b/tutorials/incompressible/potentialFreeSurfaceFoam/oscillatingBox/0.org/p_gh @@ -32,7 +32,8 @@ boundaryField } floatingObject { - type zeroGradient; + type fixedFluxPressure; + value uniform 0; } frontAndBack { diff --git a/tutorials/incompressible/potentialFreeSurfaceFoam/oscillatingBox/extractHeightData b/tutorials/incompressible/potentialFreeSurfaceFoam/oscillatingBox/extractHeightData index d3d9a7d4db..584f0ea0d5 100755 --- a/tutorials/incompressible/potentialFreeSurfaceFoam/oscillatingBox/extractHeightData +++ b/tutorials/incompressible/potentialFreeSurfaceFoam/oscillatingBox/extractHeightData @@ -1,3 +1,3 @@ #!/bin/sh -awk '{print $1 " " $4}' poolHeight/0/faceSource.dat > poolHeight_vs_time +awk '{print $1 " " $4}' postProcessing/poolHeight/0/faceSource.dat > poolHeight_vs_time