CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Running, Solving & CFD

Read table

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   August 30, 2006, 11:28
Default I want to read a list containg
  #1
Member
 
chris book
Join Date: Mar 2009
Posts: 85
Rep Power: 17
chris1980 is on a distinguished road
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?
chris1980 is offline   Reply With Quote

Old   August 31, 2006, 04:32
Default Try a List >
  #2
Senior Member
 
Mattijs Janssens
Join Date: Mar 2009
Posts: 1,419
Rep Power: 26
mattijs is on a distinguished road
Try a List<fixedlist<word,2> >

(capitalisation of FixedList above is displayed incorrect)
mattijs is offline   Reply With Quote

Reply


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 Off
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
design table Nick Sessions FloEFD, FloWorks & FloTHERM 0 October 7, 2008 17:00
h(t,p)-Table amu CFX 0 January 16, 2006 09:43
table entry carno Siemens 1 May 28, 2005 12:29
RGP table Atit Koonsrisuk CFX 1 January 10, 2004 12:14
use table Moon Siemens 6 September 18, 2003 09:58


All times are GMT -4. The time now is 12:54.