TUT: additional sampling planes, iso-surfaces
This commit is contained in:
parent
a2bc1fd3a6
commit
bf3e9b442d
@ -50,13 +50,16 @@ runTimeModifiable yes;
|
|||||||
functions
|
functions
|
||||||
{
|
{
|
||||||
#include "sampleDict"
|
#include "sampleDict"
|
||||||
|
#include "sampleIso"
|
||||||
|
#include "samplePlanes"
|
||||||
|
|
||||||
minMax
|
minMax
|
||||||
{
|
{
|
||||||
type fieldMinMax;
|
type fieldMinMax;
|
||||||
libs (fieldFunctionObjects);
|
libs (fieldFunctionObjects);
|
||||||
writeControl writeTime;
|
|
||||||
fields (U);
|
writeControl writeTime;
|
||||||
|
fields (U);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -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);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
// *********************************************************************** //
|
@ -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 );
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
// *********************************************************************** //
|
Loading…
Reference in New Issue
Block a user