CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > OpenFOAM Paraview & paraFoam

What

Register Blogs Members List Search Today's Posts Mark Forums Read

Reply
 
LinkBack Thread Tools Display Modes
Old   July 12, 2006, 13:17
Default FROM tutorials/contactStressFo
  #1
Member
 
Terry Jordan
Join Date: Mar 2009
Posts: 95
Rep Power: 8
tj22 is on a distinguished road
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.
tj22 is offline   Reply With Quote

Old   July 13, 2006, 11:59
Default The logic starts putting eleme
  #2
Super Moderator
 
Mattijs Janssens
Join Date: Mar 2009
Posts: 1,416
Rep Power: 16
mattijs is on a distinguished road
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.
mattijs is offline   Reply With Quote

Old   July 17, 2006, 08:42
Default That seems strange to me is th
  #3
Member
 
Terry Jordan
Join Date: Mar 2009
Posts: 95
Rep Power: 8
tj22 is on a distinguished road
That seems strange to me is that saiving you anything by doing it that way?
tj22 is offline   Reply With Quote

Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT -4. The time now is 16:45.