|
[Sponsors] |
lookup of successful but it is not a dictionary, it is a dictionary!! |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
October 22, 2021, 08:06 |
lookup of successful but it is not a dictionary, it is a dictionary!!
|
#1 |
Senior Member
ONESP-RO
Join Date: Feb 2021
Location: Somwhere on Planet Earth
Posts: 127
Rep Power: 5 |
Hello,
I am trying to access the "data" object from ObjectRegistry in a coded function object. Here is what I have tried: Code:
Info << mesh().lookupObject<dictionary>("data") << endl; Code:
--> FOAM FATAL ERROR: lookup of data from objectRegistry region0 successful but it is not a dictionary, it is a dictionary Thank you (Sorry for the typo in the title, I can't fix it) |
|
October 23, 2021, 12:37 |
|
#2 |
Senior Member
Join Date: Apr 2020
Location: UK
Posts: 663
Rep Power: 13 |
Maybe try:
Code:
Info << mesh().lookupObject<objectRegistry>("data") << endl; |
|
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Long output in terminal. | ssa_cfd | OpenFOAM Running, Solving & CFD | 1 | March 18, 2019 06:25 |
ill defined primitiveEntry starting at keyword 'value' on line 197 ChangeDictionary | Struggle_Achieve | OpenFOAM Pre-Processing | 2 | December 20, 2017 04:58 |
DPMFoam - Serious Error --particle-laden flow in simple geometric config | benz25 | OpenFOAM Running, Solving & CFD | 27 | December 19, 2017 21:47 |
Convergence on anisotropic tetahedral meshes | pbo | OpenFOAM Running, Solving & CFD | 12 | December 14, 2010 12:59 |
Problem with rhoSimpleFoam | matteo_gautero | OpenFOAM Running, Solving & CFD | 0 | February 28, 2008 07:51 |