|
[Sponsors] |
July 12, 2017, 16:48 |
Unknown function type writeRegisteredObject
|
#1 |
Member
sibo
Join Date: Oct 2016
Location: Chicago
Posts: 55
Rep Power: 9 |
Dear Foamers,
I have a question about customized function in ControlDict. I used to use OF_2.1.1 and in my controlDict I added the following lines to use this customized function. Code:
writeduc { type writeRegisteredObject; functionObjectLibs ( "libIOFunctionObjects.so" ); objectNames ("ducSensor"); writeControl outputTime; } It works well! But Now I transferred to OF_4.1 and I did the same thing, OF gave me the following errors. Code:
--> FOAM Warning : From function bool Foam::functionObjectList::read() in file db/functionObjects/functionObjectList/functionObjectList.C at line 671 Caught FatalError --> FOAM FATAL ERROR: Unknown function type writeRegisteredObject Code:
- << " and use the 'writeRegisteredObject' functionObject." + << " and use the 'writeObjects' functionObject." Code:
--> FOAM Warning : From function bool Foam::functionObjectList::read() in file db/functionObjects/functionObjectList/functionObjectList.C at line 671 Caught FatalError --> FOAM FATAL ERROR: Unknown function type writeObjects Thanks in advance!!! Best |
|
November 16, 2018, 15:52 |
|
#2 |
New Member
Chen Shen
Join Date: Sep 2018
Posts: 14
Rep Power: 8 |
Try to use
libs ("libutilityFunctionObjects.so"); rather than functionObjectLibs ( "libIOFunctionObjects.so" ); because libIOFunctionObjects.so is decapredted in OpenFoam 5,6. Also: https://www.openfoam.com/documentati...teObjects.html Chen |
|
Tags |
writeregisteredobject |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
activeBaffleVelocity boundary condition ? | om3ro | OpenFOAM Programming & Development | 10 | November 16, 2020 23:26 |
[Commercial meshers] Mesh conversion problem (fluent3DMeshToFoam) | Aadhavan | OpenFOAM Meshing & Mesh Conversion | 2 | March 8, 2018 01:47 |
Inlet patch problems | martyn88 | OpenFOAM Running, Solving & CFD | 6 | April 21, 2017 18:34 |
[Commercial meshers] converting Fluent mesh to openfoam standard mesh | deepesh | OpenFOAM Meshing & Mesh Conversion | 31 | March 29, 2017 05:59 |
Error with Wmake | skabilan | OpenFOAM Installation | 3 | July 28, 2009 00:35 |