sample 1.06 KB
Newer Older
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
// -*- C++ -*-

sample1
{
    type        sets;
    libs        (sampling);
    setFormat   gltf;

    interpolationScheme cellPointFace;

    formatOptions
    {
        // Optionally add colours to fields
        // - default: colour map limits set to field limits
        colour          yes;

        fieldInfo
        {
            T
            {
                colourMap       fire;

                alpha           field; // uniform | field;
                //alphaValue      0.1; // uniform alpha value
                alphaField      T;
                normalise       yes;
            }
        }
    }

    fields          ( p T k epsilon U );
    writeControl    writeTime;

    sets
    (
        line
        {
            type            face;
            axis            xyz;
            start           (0 0.5 0);
            end             (4 0.5 0.05);
            nPoints         10;
        }
        cells
        {
            type            cellCentre;
        }
    );
}


// ************************************************************************* //