Files
openfoam/etc/caseDicts/postProcessing/pressure/pressureDifferenceSurface.cfg
Mark Olesen 06c4dc34ee ENH: adjust sampling onto meshed surfaces (#1600)
- base level surface container is now a meshedSurface instead of
  a triSurface. This avoid automatic triangulation of surfaces
  when they are read, and simplifies the internals.

- sampling types:
  * "meshedSurface" (compat: "sampledTriSurfaceMesh")
  * "meshedSurfaceNormal" (compat: "sampledTriSurfaceMeshNormal")
2020-03-12 16:20:57 +01:00

34 lines
842 B
C++

/*--------------------------------*- C++ -*----------------------------------*\
========= |
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / O peration | Version: v2006
\\ / A nd | Website: www.openfoam.com
\\/ M anipulation |
\*---------------------------------------------------------------------------*/
#includeEtc "caseDicts/postProcessing/pressure/pressureDifference.cfg"
region1
{
regionType sampledSurface;
sampledSurfaceDict
{
type meshedSurface;
regionType cells;
interpolate true;
surface $triSurface1;
}
}
region2
{
$region1;
sampledSurfaceDict
{
surface $triSurface2;
}
}
// ************************************************************************* //