CFD Online Discussion Forums

CFD Online Discussion Forums (http://www.cfd-online.com/Forums/)
-   OpenFOAM Programming & Development (http://www.cfd-online.com/Forums/openfoam-programming-development/)
-   -   New Boundary Condition: Reading Dictionary Problem (http://www.cfd-online.com/Forums/openfoam-programming-development/109760-new-boundary-condition-reading-dictionary-problem.html)

Koga November 26, 2012 06:01

New Boundary Condition: Reading Dictionary Problem
 
Hello,

I am working on a new boundary condition and I want to read a dictionary within the updateCoeffs() function.

I know that I usually can read a dictionary with the following code:

Code:

dictionary& dict = db.lookupObject<IOdictionary>("dictName");
This works fine for all dictionaries expect new dictionaries. Do I have to register a new dictionary somewhere to get access to the dictionary?


All times are GMT -4. The time now is 03:28.