|
[Sponsors] |
June 18, 2015, 06:14 |
Including lists in a dictionary.
|
#1 |
Member
Divyaprakash
Join Date: Jun 2014
Posts: 70
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 |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
writing subDict in a dictionary | ubaid | OpenFOAM Programming & Development | 3 | October 25, 2014 17:17 |
New Boundary Condition: Reading Dictionary Problem | Koga | OpenFOAM Programming & Development | 0 | November 26, 2012 05:01 |
reading a list of lists from a dictionary | kian | OpenFOAM Running, Solving & CFD | 2 | June 3, 2009 10:44 |
Problem with rhoSimpleFoam | matteo_gautero | OpenFOAM Running, Solving & CFD | 0 | February 28, 2008 06:51 |
FoamX error aachenBomb case | Ervin Adorean (Adorean) | OpenFOAM Pre-Processing | 13 | March 7, 2005 03:50 |