CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   ParaView (https://www.cfd-online.com/Forums/paraview/)
-   -   [OpenFOAM] What (https://www.cfd-online.com/Forums/paraview/61259-what.html)

tj22 July 12, 2006 13:17

What
 
FROM tutorials/contactStressFoam/ballAndBrick/500/sigmaEq

So I hit another snag which is with boundary data in a scalar file.

topBrickDown
{
type calculated;
value nonuniform List<scalar>
20
(
7.25133e+07
3.14218e+08
7.28482e+08
1.26474e+09
1.93784e+09
3.04389e+09
2.53692e+09
3.12726e+09
3.52083e+09
3.71729e+09
3.7175e+09
3.52148e+09
3.12833e+09
2.53801e+09
3.04275e+09
1.93932e+09
1.26598e+09
7.29215e+08
3.14555e+08
7.26247e+07
)
;
}

and

topBrickRight
{
type calculated;
value nonuniform List<scalar> 10(5.28854e+06 7.70467e+07 1.82706e+08 3.12856e+08 4.54249e+08 5.93731e+08 7.18908e+08 8.18234e+08 8.8145e+....
}

Entry 1: the number of values is on the next line. And each entry is on its own line.
Entry 2: the number of values is on the same line.
And so are all the values.
why? This makes the file reading mor difficult.

mattijs July 13, 2006 11:59

The logic starts putting eleme
 
The logic starts putting elements of Lists on separate lines if size>10. The idea is that short lists (e.g. a face) gets printed on one line.

tj22 July 17, 2006 08:42

That seems strange to me is th
 
That seems strange to me is that saiving you anything by doing it that way?


All times are GMT -4. The time now is 10:27.