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

Read table

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

Reply
 
LinkBack Thread Tools Display Modes
Old   August 30, 2006, 10:28
Default I want to read a list containg
  #1
Member
 
chris book
Join Date: Mar 2009
Posts: 85
Rep Power: 8
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, 03:32
Default Try a List >
  #2
Super Moderator
 
Mattijs Janssens
Join Date: Mar 2009
Posts: 1,416
Rep Power: 16
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

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


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


All times are GMT -4. The time now is 21:04.