tutorials: ballValve: Simplified specification of walls surface
This commit is contained in:
@ -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)")
|
||||
}
|
||||
|
||||
|
||||
|
||||
@ -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);
|
||||
}
|
||||
);
|
||||
|
||||
// ************************************************************************* //
|
||||
Reference in New Issue
Block a user