TUT: additional sampling planes, iso-surfaces

This commit is contained in:
Mark Olesen 2020-12-21 10:53:07 +01:00
parent a2bc1fd3a6
commit bf3e9b442d
3 changed files with 62 additions and 4 deletions

View File

@ -50,13 +50,16 @@ runTimeModifiable yes;
functions
{
#include "sampleDict"
#include "sampleIso"
#include "samplePlanes"
minMax
{
type fieldMinMax;
libs (fieldFunctionObjects);
writeControl writeTime;
fields (U);
type fieldMinMax;
libs (fieldFunctionObjects);
writeControl writeTime;
fields (U);
}
}

View File

@ -0,0 +1,25 @@
// -*- C++ -*-
sampleIso
{
type surfaces;
libs (sampling);
writeControl writeTime;
surfaceFormat vtk;
fields (U k epsilon nut);
surfaces
{
envelope
{
type isoSurface;
isoMethod topo;
isoField k;
isoValues (1.28 1.29 1.30 1.31 1.32 1.33);
}
}
}
// *********************************************************************** //

View File

@ -0,0 +1,30 @@
// -*- C++ -*-
samplePlanes
{
type surfaces;
libs (sampling);
writeControl writeTime;
surfaceFormat vtk;
fields (U k epsilon nut);
surfaces
{
planes
{
type cuttingPlane;
planeType pointAndNormal;
pointAndNormalDict
{
point (1e-8 0 0); // slightly inside the domain
normal (1 0 0);
}
offsets ( 500 1000 1500 2000 2500 3000 3500 4000 4500 );
}
}
}
// *********************************************************************** //