mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
BUG: ensight output - corrected mask
This commit is contained in:
@ -102,7 +102,7 @@ Foam::fileName Foam::ensightSurfaceWriter::write
|
||||
ensightGeoFile osGeom
|
||||
(
|
||||
outputDir,
|
||||
surfName + ".000000.mesh",
|
||||
surfName + ".00000000.mesh",
|
||||
writeFormat_
|
||||
);
|
||||
|
||||
|
||||
@ -78,13 +78,13 @@ Foam::fileName Foam::ensightSurfaceWriter::writeUncollated
|
||||
ensightGeoFile osGeom
|
||||
(
|
||||
baseDir,
|
||||
surfName + ".000000.mesh",
|
||||
surfName + ".00000000.mesh",
|
||||
writeFormat_
|
||||
);
|
||||
ensightFile osField
|
||||
(
|
||||
baseDir,
|
||||
surfName + ".000000." + varName,
|
||||
surfName + ".00000000." + varName,
|
||||
writeFormat_
|
||||
);
|
||||
|
||||
|
||||
@ -45,39 +45,5 @@ timePrecision 6;
|
||||
|
||||
runTimeModifiable true;
|
||||
|
||||
functions
|
||||
{
|
||||
cuttingPlane
|
||||
{
|
||||
type surfaces;
|
||||
functionObjectLibs ("libsampling.so");
|
||||
outputControl timeStep; //outputTime;
|
||||
outputInterval 4;
|
||||
|
||||
surfaceFormat ensight;
|
||||
formatOptions
|
||||
{
|
||||
// ensight { format binary; collateTimes true;}
|
||||
}
|
||||
fields (p U);
|
||||
|
||||
interpolationScheme cellPoint;
|
||||
|
||||
surfaces
|
||||
(
|
||||
zNormal_0.0
|
||||
{
|
||||
type cuttingPlane;
|
||||
planeType pointAndNormal;
|
||||
pointAndNormalDict
|
||||
{
|
||||
basePoint (0 0 0.005);
|
||||
normalVector (0 0 1);
|
||||
}
|
||||
interpolate true;
|
||||
}
|
||||
);
|
||||
}
|
||||
}
|
||||
|
||||
// ************************************************************************* //
|
||||
|
||||
Reference in New Issue
Block a user