|
[Sponsors] |
June 18, 2015, 07:14 |
Including lists in a dictionary.
|
#1 |
Member
Divyaprakash
Join Date: Jun 2014
Posts: 71
Rep Power: 12 |
Hi,
I need to create a dictionary at run time. I have found the syntax for writing a dictionary within a dictionary on these forums but I need to include a list within a dictionary. How do I do that. Here's the dictionary which I intend to write at run time. Please tell me about which syntax is to be used for including a list. defaultFieldValues ( volScalarFieldValue FOAM_MASK 0 ); regions ( cylinderToCell { p1 (0.1 0 0); p2 (0.1 0 0.01); radius 0.05; fieldValues ( volScalarFieldValue FOAM_MASK 1 ); } ) |
|
Tags |
dictionary, lists, run time, syntax |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
writing subDict in a dictionary | ubaid | OpenFOAM Programming & Development | 3 | October 25, 2014 18:17 |
New Boundary Condition: Reading Dictionary Problem | Koga | OpenFOAM Programming & Development | 0 | November 26, 2012 06:01 |
reading a list of lists from a dictionary | kian | OpenFOAM Running, Solving & CFD | 2 | June 3, 2009 11:44 |
Problem with rhoSimpleFoam | matteo_gautero | OpenFOAM Running, Solving & CFD | 0 | February 28, 2008 07:51 |
FoamX error aachenBomb case | Ervin Adorean (Adorean) | OpenFOAM Pre-Processing | 13 | March 7, 2005 04:50 |