tutorials: ballValve: Simplified specification of walls surface

This commit is contained in:
Will Bainbridge
2022-11-23 15:16:50 +00:00
parent 111a15a42d
commit 9a1eadd35a
2 changed files with 3 additions and 32 deletions

View File

@ -61,13 +61,15 @@ functions
interpolate=no, interpolate=no,
fields=(alpha.water p_rgh p T U k epsilon) fields=(alpha.water p_rgh p T U k epsilon)
) )
#includeFunc isoSurface #includeFunc isoSurface
( (
isoField=alpha.water, isoField=alpha.water,
isoValue=0.5, isoValue=0.5,
writeEmpty=yes writeEmpty=yes
) )
#includeFunc wallsSurface
#includeFunc patchSurface(patch=".*(Walls|NonCouple)")
} }

View File

@ -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);
}
);
// ************************************************************************* //