Files
OpenFOAM-12/etc/caseDicts/postProcessing/visualization/surfaces
Chris Greenshields cacf165afc Packaged function objects to plug into OpenFOAM cases
See $FOAM_ETC/caseDicts/postProcessing/README for details
2015-05-17 18:22:27 +01:00

65 lines
1.7 KiB
C++

/*--------------------------------*- C++ -*----------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: dev |
| \\ / A nd | Web: www.OpenFOAM.org |
| \\/ M anipulation | |
\*---------------------------------------------------------------------------*/
FoamFile
{
version 2.0;
format ascii;
class dictionary;
object surfaces.cfg;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
surfaces
{
#includeEtc "caseDicts/postProcessing/visualization/surfaces.cfg"
fields ( p U );
surfaces
(
xNormal
{
$cuttingPlane;
}
yNormal
{
$cuttingPlane;
pointAndNormalDict
{
normalVector $y; // Overrides default normalVector (1 0 0)
} // $y: macro for (0 1 0)
}
zNormal
{
$cuttingPlane;
pointAndNormalDict
{
basePoint (0 0 2); // Overrides default basePoint (0 0 0)
normalVector $z; // $y: macro for (0 0 1)
}
}
p100
{
$isosurface;
isoField p;
isoValue 100;
}
CAD
{
$patchSurface;
patches ( CAD );
}
);
}
// ************************************************************************* //