|
[Sponsors] |
lookup of successful but it is not a dictionary, it is a dictionary!! |
![]() |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
![]() |
![]() |
#1 |
New Member
ONESP-RO
Join Date: Feb 2021
Posts: 24
Rep Power: 3 ![]() |
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) |
|
![]() |
![]() |
![]() |
![]() |
#2 |
Senior Member
Join Date: Apr 2020
Location: UK
Posts: 424
Rep Power: 11 ![]() |
Maybe try:
Code:
Info << mesh().lookupObject<objectRegistry>("data") << endl; |
|
![]() |
![]() |
![]() |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Long output in terminal. | ssa_cfd | OpenFOAM Running, Solving & CFD | 1 | March 18, 2019 05:25 |
ill defined primitiveEntry starting at keyword 'value' on line 197 ChangeDictionary | Struggle_Achieve | OpenFOAM Pre-Processing | 2 | December 20, 2017 03:58 |
DPMFoam - Serious Error --particle-laden flow in simple geometric config | benz25 | OpenFOAM Running, Solving & CFD | 27 | December 19, 2017 20:47 |
Convergence on anisotropic tetahedral meshes | pbo | OpenFOAM Running, Solving & CFD | 12 | December 14, 2010 11:59 |
Problem with rhoSimpleFoam | matteo_gautero | OpenFOAM Running, Solving & CFD | 0 | February 28, 2008 06:51 |