|
[Sponsors] |
January 31, 2012, 06:10 |
How to access keywords from dictionaries
|
#1 |
Member
Francesco Capuano
Join Date: May 2010
Posts: 81
Rep Power: 16 |
Hi all,
I'm writing a custom application in OF and, just after the typical "include" list of files, I would like to access a keyword from a dictionary, e.g. the divergence scheme for div(phi,U). So I write const dictionary& fvSchemes = db().lookupObject("fvSchemes") so that, afterwards, I could call fvSchemes.lookup("div(phi,U)") However, the compiler complains: db not declared in this scope How can I define the database object? Thanks in advance. |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Online libraries - with access to Journals | momentum_waves | Main CFD Forum | 2 | December 12, 2007 10:08 |
UDF Data Access Macro | Woo Meng Wai | FLUENT | 0 | November 6, 2007 20:23 |
Error: access: unbound variable,HELP | sudhakar | FLUENT | 0 | January 15, 2007 23:21 |
Access Density | Allan Walsh | FLUENT | 3 | October 4, 2005 07:55 |
access to variables at interface of porous media? | Mazyar | FLUENT | 0 | October 10, 2003 14:59 |