mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
- the problem arises since the various surface writers are stateless. The collated output format hacks around this limitation by adding in its own fieldDict caching (to disk). Now include an updateMesh() method to hook into geometry changes. This is considered a stop-gap measure until the surface output handling is improved.
53 lines
1020 B
C++
53 lines
1020 B
C++
// -*- C++ -*-
|
|
|
|
// ************************************************************************* //
|
|
|
|
debug
|
|
{
|
|
type surfaces;
|
|
libs ("libsampling.so");
|
|
log true;
|
|
writeControl timeStep;
|
|
writeInterval 1;
|
|
|
|
fields (rho U);
|
|
|
|
sampleScheme cellPoint;
|
|
interpolationScheme cellPoint;
|
|
surfaceFormat ensight;
|
|
|
|
formatOptions
|
|
{
|
|
ensight
|
|
{
|
|
collateTimes true;
|
|
// collateTimes false;
|
|
}
|
|
}
|
|
|
|
surfaces
|
|
(
|
|
angledPlane
|
|
{
|
|
type distanceSurface;
|
|
distance 0;
|
|
signed true;
|
|
regularise true;
|
|
surfaceType triSurfaceMesh;
|
|
surfaceName angledPlane.obj;
|
|
}
|
|
|
|
iso
|
|
{
|
|
type isoSurface;
|
|
isoField p;
|
|
isoValue 1e5;
|
|
regularise true;
|
|
interpolate true;
|
|
}
|
|
);
|
|
}
|
|
|
|
|
|
// ************************************************************************* //
|