From 9a1eadd35a836812fef21a738153b76c33c74363 Mon Sep 17 00:00:00 2001 From: Will Bainbridge Date: Wed, 23 Nov 2022 15:16:50 +0000 Subject: [PATCH] tutorials: ballValve: Simplified specification of walls surface --- .../ballValve/system/controlDict | 4 ++- .../ballValve/system/wallsSurface | 31 ------------------- 2 files changed, 3 insertions(+), 32 deletions(-) delete mode 100644 tutorials/modules/compressibleVoF/ballValve/system/wallsSurface diff --git a/tutorials/modules/compressibleVoF/ballValve/system/controlDict b/tutorials/modules/compressibleVoF/ballValve/system/controlDict index e5bb630d3a..784cc40dd0 100644 --- a/tutorials/modules/compressibleVoF/ballValve/system/controlDict +++ b/tutorials/modules/compressibleVoF/ballValve/system/controlDict @@ -61,13 +61,15 @@ functions interpolate=no, fields=(alpha.water p_rgh p T U k epsilon) ) + #includeFunc isoSurface ( isoField=alpha.water, isoValue=0.5, writeEmpty=yes ) - #includeFunc wallsSurface + + #includeFunc patchSurface(patch=".*(Walls|NonCouple)") } diff --git a/tutorials/modules/compressibleVoF/ballValve/system/wallsSurface b/tutorials/modules/compressibleVoF/ballValve/system/wallsSurface deleted file mode 100644 index 3b8600cfef..0000000000 --- a/tutorials/modules/compressibleVoF/ballValve/system/wallsSurface +++ /dev/null @@ -1,31 +0,0 @@ -/*--------------------------------*- C++ -*----------------------------------*\ - ========= | - \\ / F ield | OpenFOAM: The Open Source CFD Toolbox - \\ / O peration | Website: https://openfoam.org - \\ / A nd | Version: dev - \\/ M anipulation | -\*---------------------------------------------------------------------------*/ - -type surfaces; -libs ("libsampling.so"); - -writeControl writeTime; - -surfaceFormat vtk; - -interpolationScheme cell; -interpolate false; - -fields (); - -surfaces -( - walls - { - type patch; - interpolate $interpolate; - patches (pipeWalls pipeNonCouple ballWalls ballNonCouple); - } -); - -// ************************************************************************* //