CFD Online Discussion Forums

CFD Online Discussion Forums (http://www.cfd-online.com/Forums/)
-   OpenFOAM Running, Solving & CFD (http://www.cfd-online.com/Forums/openfoam-solving/)
-   -   Read table (http://www.cfd-online.com/Forums/openfoam-solving/60036-read-table.html)

chris1980 August 30, 2006 10:28

I want to read a list containg
 
I want to read a list containg a bunch ogf corresponding components from a dictionary file:

Example:

Components
{
AL AG
BL BG
. .
. .
}

In my application I need to read in the component list column by column e.g

L = {AL,BL,...}
G = {AG,BG,...}

Ok it is a simple task to work with to list but I want to use a single list containing two entries!


Does anybody know how to do this?

mattijs August 31, 2006 03:32

Try a List >
 
Try a List<fixedlist<word,2> >

(capitalisation of FixedList above is displayed incorrect)


All times are GMT -4. The time now is 18:56.