|
[Sponsors] |
reactionsSensitivityAnalysis does not work in OpenFOAM-v1806 |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
September 7, 2018, 12:07 |
reactionsSensitivityAnalysis does not work in OpenFOAM-v1806
|
#1 |
Member
K
Join Date: Jul 2017
Posts: 97
Rep Power: 9 |
Dear foamers,
I installed the version 1806 of openfoam by following step by step the following link: https://www.openfoam.com/download/install-source.php I did that as there is a new post processing tool in this version which is called reactionsSensitivityAnalysis: (please have a look at https://www.openfoam.com/releases/op...processing.php) And there is a tutorial case in /OpenFOAM/OpenFOAM-v1806/tutorials/combustion/reactingFoam/laminar/counterFlowFlame2D/ which includes this functionObjetc in the controlDict: functions { sensitivityAnalysis { functionObjectLibs ("libutilityFunctionObjects.so"); type psiReactionsSensitivityAnalysis; outputControl outputTime; enabled true; } } However when I run the case, I have the following error : From function static Foam::autoPtr<Foam::functionObject> Foam::functionObject::New(const Foam::word&, const Foam::Time&, const Foam::dictionary&) 105 in file db/functionObjects/functionObject/functionObject.C at line 108. 106 From function bool Foam::functionObjectList::read() 107 in file db/functionObjects/functionObjectList/functionObjectList.C at line 832 108 109 --> while loading function object 'sensitivityAnalysis' 110 111 112 Starting time loop 113 114 --> FOAM Warning : 115 Unknown function type psiReactionsSensitivityAnalysis 116 117 Valid function types : 118 119 22 120 ( 121 abort 122 coded 123 ensightWrite 124 patchProbes 125 probes 126 psiReactionThermoMoleFractions 127 psiSpecieReactionRates 128 removeRegisteredObject 129 residuals 130 rhoReactionThermoMoleFractions 131 rhoSpecieReactionRates 132 runTimeControl 133 setTimeStep 134 sets 135 surfMeshes 136 surfaces 137 systemCall 138 thermoCoupleProbes 139 timeActivatedFileUpdate 140 vtkWrite 141 writeDictionary 142 writeObjects 143 ) As I can see in /home/maryam/OpenFOAM/OpenFOAM-v1806/src/functionObjects/field/Make/file, the library name is libfieldFunctionObjects and not libutilityFunctionObjects. I change that and I have : --> FOAM Warning : 72 Function object only applicable to single cell cases 73 74 From function Foam::functionObjects::reactionsSensitivityAnalysi s<chemistryType>::reactionsSensitivityAnalysis(con st Foam::word&, const Foam::Time&, const Foam::dictionary&) [with chemistryType = Foam: :BasicChemistryModel<Foam:siReactionThermo>] 75 in file reactionSensitivityAnalysis/reactionsSensitivityAnalysis.C at line 204. 76 From function bool Foam::functionObjectList::read() 77 in file db/functionObjects/functionObjectList/functionObjectList.C at line 832 Anyone has experience with this reaction sensitivity analysis tool ? Is it working ? It is so strange that the tutorial case does not work. Anyone can help me with that ? Am I doing a mistake or is there a bug ? Thanks in advance |
|
September 12, 2018, 06:29 |
|
#2 |
Member
K
Join Date: Jul 2017
Posts: 97
Rep Power: 9 |
No one can help me with this post process tool ?
|
|
September 12, 2018, 14:51 |
|
#3 |
Member
K
Join Date: Jul 2017
Posts: 97
Rep Power: 9 |
I tried the tutorial case of openFoam, the gri in solver/combustion/chemFoam. If you put :
functions { sensitivityAnalysis { libs ("libfieldFunctionObjects.so"); type psiReactionsSensitivityAnalysis; writeControl writeTime; } } in controlDict, it works fine during the run time. But if you remove the postProcessing folder generated during the run time and you try to generate the same folder after the simulation is finished by running chemFoam -postProcess -func psiReactionsSensitivityAnalysis , you have : --> FOAM Warning : From function static bool Foam::functionObjectList::readFunctionObject(const Foam::string&, Foam::dictionary&, Foam::HashSet<Foam::wordRe>&, const Foam::word&) in file db/functionObjects/functionObjectList/functionObjectList.C at line 276 Cannot find functionObject file psiReactionsSensitivityAnalysis Time = 0 --> FOAM FATAL ERROR: Cannot find file "points" in directory "polyMesh" in times "0" down to constant From function virtual Foam::IOobject Foam::fileOperation::findInstance(const Foam::IOobject&, Foam::scalar, const Foam::word&) const in file global/fileOperations/fileOperation/fileOperation.C at line 876. FOAM exiting Is it normal ? Isn't it a bug ? |
|
July 19, 2019, 03:23 |
|
#4 |
New Member
Jiangkuan Xing
Join Date: Mar 2017
Posts: 9
Rep Power: 9 |
I have also met this bug on the post-processing psiSpecieReactionRates, which is used to calculate reaction rate of each species in each reaction pathway. When testing the reactingFoam tutorial, counterFlowFlame2D, It works well in run-time postprocessing. While I remove the generated postprocessing file, and use the command:reactingFoam -postProcess, it reports:
Create time Create mesh for time = 0 PIMPLE: Operating solver in PISO mode --> FOAM Warning : Function object only applicable to single cell cases From function Foam::functionObjects::reactionsSensitivityAnalysi s<chemistryType>::reactionsSensitivityAnalysis(con st Foam::word&, const Foam::Time&, const Foam::dictionary&) [with chemistryType = Foam:siChemistryModel] in file reactionSensitivityAnalysis/reactionsSensitivityAnalysis.C at line 204. From function bool Foam::functionObjectList::read() in file db/functionObjects/functionObjectList/functionObjectList.C at line 840 --> FOAM Warning : request for psi chemistryProperties from objectRegistry region0 failed available objects of type psi are 0() From function const Type& Foam:bjectRegistry::lookupObject(const Foam::word&, bool) const [with Type = Foam:siChemistryModel] in file /gpfs01/home/xingjiangkuan/OpenFOAM/OpenFOAM-v1712/src/OpenFOAM/lnInclude/objectRegistryTemplates.C at line 239. From function bool Foam::functionObjectList::read() I am also confused with this problem. Anyone has some suggestions on solving this issue. We can discuss and solve this bug together. |
|
Tags |
openfoam-v1806, postprocessing, reactions, sensitivity analysis |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
OpenFOAM 4.0 Released | CFDFoundation | OpenFOAM Announcements from OpenFOAM Foundation | 2 | October 6, 2017 06:40 |
OpenFOAM Training, London, Chicago, Munich, Houston 2016-2017 | cfd.direct | OpenFOAM Announcements from Other Sources | 0 | September 14, 2016 04:19 |
OpenFOAM Training Beijing 22-26 Aug 2016 | cfd.direct | OpenFOAM Announcements from Other Sources | 0 | May 3, 2016 05:57 |
Do any of the GPU accelerators for OpenFOAM actually work for real cases? | kyle | OpenFOAM | 2 | January 28, 2014 06:05 |
New OpenFOAM Forum Structure | jola | OpenFOAM | 2 | October 19, 2011 07:55 |