Files
OpenFOAM-12/etc/caseDicts/postProcessing/visualisation/surfaces
Henry Weller ee777e4083 Standardise on British spelling: -ize -> -ise
OpenFOAM is predominantly written in Britain with British spelling conventions
so -ise is preferred to -ize.
2021-06-01 19:11:58 +01:00

57 lines
1.4 KiB
C++

/*--------------------------------*- C++ -*----------------------------------*\
========= |
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / O peration | Website: https://openfoam.org
\\ / A nd | Version: dev
\\/ M anipulation |
-------------------------------------------------------------------------------
Description
Writes out surface files with interpolated field data in VTK format, e.g.
cutting planes, iso-surfaces and patch boundary surfaces.
This file includes a selection of example surfaces, each of which the user
should configure and/or remove.
\*---------------------------------------------------------------------------*/
#includeEtc "caseDicts/postProcessing/visualisation/surfaces.cfg"
fields (p U);
surfaces
(
xNormal
{
$cuttingPlane;
}
yNormal
{
$cuttingPlane;
normal $y; // Overrides default normal (1 0 0)
// $y: macro for (0 1 0)
}
zNormal
{
$cuttingPlane;
point (0 0 2); // Overrides default point (0 0 0)
normal $z; // $z: macro for (0 0 1)
}
p100
{
$isosurface;
isoField p;
isoValue 100;
}
CAD
{
$patchSurface;
patches (CAD);
}
);
// ************************************************************************* //