CFD Online Discussion Forums

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

Koga November 26, 2012 05: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 20:09.