|
[Sponsors] |
June 22, 2015, 03:26 |
Writing dictionary at run time.
|
#1 |
Member
Divyaprakash
Join Date: Jun 2014
Posts: 71
Rep Power: 12 |
I want to write the following dictionary at run time. Can someone guide me on which syntax to use?
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 ); } ) As far as I understand, the dictionary should be within curly braces, then why are some entries such as defaultFieldValues have entries within parenthesiss. Last edited by Divyaprakash; June 22, 2015 at 05:42. |
|
Tags |
dictionaries, run time |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
time step directories naming issue | Andrea_85 | OpenFOAM | 3 | April 3, 2014 09:38 |
dynamic Mesh is faster than MRF???? | sharonyue | OpenFOAM Running, Solving & CFD | 14 | August 26, 2013 08:47 |
mixerVesselAMI2D's mass is not balancing | sharonyue | OpenFOAM Running, Solving & CFD | 6 | June 10, 2013 10:34 |
Orifice Plate with a fully developed flow - Problems with convergence | jonmec | OpenFOAM Running, Solving & CFD | 3 | July 28, 2011 06:24 |
Problem with rhoSimpleFoam | matteo_gautero | OpenFOAM Running, Solving & CFD | 0 | February 28, 2008 07:51 |