|
[Sponsors] |
request for volScalarField k from objectRegistry region0 failed+(DPMFoam) |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
July 16, 2018, 19:36 |
|
#21 |
Senior Member
Ali Shayegh
Join Date: Oct 2015
Posts: 131
Rep Power: 11 |
Thank You.
Anyway, I prefered to use y+ function in controlDict so that results are written in postProcessing folder without excess effort. Friends who have the same problem can copy the following statements into their controlDict at the end. Code:
functions { yPlus { type yPlus; libs ("libfieldFunctionObjects.so"); writeControl writeTime; } } |
|
August 22, 2018, 11:04 |
yPlus
|
#22 |
New Member
Rui Carneiro
Join Date: Mar 2014
Posts: 12
Rep Power: 12 |
Hello everyone,
I'm getting a similar error, can somebody help me? used code: pimpleFoam -postProcess -func yPlus Code:
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // Create time Create mesh for time = 0 PIMPLE: No convergence criteria found PIMPLE: Operating solver in PISO mode Time = 0 Reading field p Reading field U Reading/calculating face flux field phi Selecting incompressible transport model Newtonian Selecting turbulence model type RAS Selecting RAS turbulence model kEpsilon RAS { ... } No MRF models present No finite volume options present yPlus yPlus write: writing object yPlus patch wall y+ : min = 2.77492, max = 2.79733, average = 2.79134 Time = 0.0377083 Reading field p Reading field U Reading/calculating face flux field phi Selecting incompressible transport model Newtonian Selecting turbulence model type RAS Selecting RAS turbulence model kEpsilon RAS { ... } No MRF models present No finite volume options present --> FOAM FATAL ERROR: request for volScalarField yPlus from objectRegistry region0 failed available objects of type volScalarField are 5 ( nut k nu p epsilon ) From function const Type& Foam::objectRegistry::lookupObject(const Foam::word&) const [with Type = Foam::GeometricField<double, Foam::fvPatchField, Foam::volMesh>] in file /home/ubuntu/OpenFOAM/OpenFOAM-6/src/OpenFOAM/lnInclude/objectRegistryTemplates.C at line 193. FOAM aborting #0 Foam::error::printStack(Foam::Ostream&) at ??:? #1 Foam::error::abort() at ??:? #2 Foam::GeometricField<double, Foam::fvPatchField, Foam::volMesh> const& Foam::objectRegistry::lookupObject<Foam::GeometricField<double, Foam::fvPatchField, Foam::volMesh> >(Foam::word const&) const at ??:? #3 Foam::functionObjects::yPlus::execute() at ??:? #4 Foam::functionObjects::timeControl::execute() at ??:? #5 Foam::functionObjectList::execute() at ??:? #6 ? in "/opt/openfoam6/platforms/linux64GccDPInt32Opt/bin/pimpleFoam" #7 __libc_start_main in "/lib/x86_64-linux-gnu/libc.so.6" #8 ? in "/opt/openfoam6/platforms/linux64GccDPInt32Opt/bin/pimpleFoam" Aborted (core dumped) But if I use in the controlDict the following function: Code:
functions { yPluswall { type yPlus; libs ("libfieldFunctionObjects.so"); executeControl writeTime; writeControl writeTime; } } Last edited by wyldckat; August 24, 2018 at 16:19. Reason: Added [CODE][/CODE] markers |
|
August 24, 2018, 16:23 |
|
#23 |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,982
Blog Entries: 45
Rep Power: 128 |
Quick answer: This is a bug and has already been corrected:
__________________
|
|
August 28, 2018, 16:42 |
|
#24 |
New Member
Rui Carneiro
Join Date: Mar 2014
Posts: 12
Rep Power: 12 |
I've followed the Foundation instructions.
Now I've tried the following commands but the problem is not solved: sudo apt-get update sudo apt-get install --only-upgrade openfoam6 What I'm doing wrong? Thanks |
|
September 1, 2018, 14:40 |
|
#25 |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,982
Blog Entries: 45
Rep Power: 128 |
Greetings Rui,
My apologies, but I didn't test this sooner myself. This issue was reported at https://bugs.openfoam.org/view.php?id=3055 - but I wasn't given a clear indication that the latest Deb package from 20180805 does not solve this issue, but I've confirmed so earlier today. There are a few possible solutions at the moment:
Bruno |
|
January 18, 2019, 04:23 |
Same error with T
|
#26 |
New Member
Enrico
Join Date: Jan 2019
Location: Italy
Posts: 2
Rep Power: 0 |
Hi all,
I'm sorry but I was unable to get what to do to correct my case in which the error is very similar: Code:
Pstream initialized with: floatTransfer : 0 nProcsSimpleSum : 0 commsType : nonBlocking polling iterations : 0 sigFpe : Enabling floating point exception trapping (FOAM_SIGFPE). fileModificationChecking : Monitoring run-time modified files using timeStampMaster allowSystemOperations : Allowing user-supplied system call operations // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // Create time Create mesh for time = 1000 Reading field, p... Reading field, U... Creating vorticity field, omega... Creating second-invariant of strain-rate tensor field, Q... Reading/calculating face flux field phi Selecting incompressible transport model Newtonian Selecting turbulence model type LESModel Selecting LES turbulence model oneEqEddyABL Selecting LES delta type smooth Selecting LES delta type cubeRootVol [281] [281] [281] --> FOAM FATAL ERROR: [281] request for volScalarField T from objectRegistry region0 failed available objects of type volScalarField are 7 ( nuSgs Q nu delta p l geometricDelta ) [281] [281] [281] From function objectRegistry::lookupObject<Type>(const word&) const [281] in file /marconi_work/Pra16_4200/pablo/OpenFOAM//OpenFOAM-2.4.x/src/OpenFOAM/lnInclude/objectRegistryTemplates.C at line 198. [281] FOAM parallel run aborting Code:
request for volScalarField T from objectRegistry region0 failed available objects of type volScalarField are Code:
/marconi_work/Pra16_4200/pablo/OpenFOAM//OpenFOAM-2.4.x/src/OpenFOAM/lnInclude/objectRegistryTemplates.C Thank you eg |
|
January 20, 2019, 17:16 |
|
#27 |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,982
Blog Entries: 45
Rep Power: 128 |
Quick answer @enricoGuss: Please follow the instructions given at How to give enough info to get help - because from your description, if it were a "T" or an alien from outer space, it wouldn't make much difference for anyone reading your post
At the very least, some context of the case you've created would make it a tiny bit easier to understand how you might have configured your case... that and which solver you've used... and which reference tutorial case you based your case on... Because "T" usually is the temperature field... so I'm guessing it is either being requested by one of the boundary conditions or by a function object... or perhaps you are using some model that is meant to be used with a solver that does have the "T" field...
__________________
|
|
January 21, 2019, 07:06 |
|
#28 | |
New Member
Enrico
Join Date: Jan 2019
Location: Italy
Posts: 2
Rep Power: 0 |
Quote:
Quantities that I'm using are Rwall T U cellDist k kappat nuSgs p_rgh qwall I don't know which file could be useful to show you because I don't understand from where does it comes from. So what I ask you is if you can have an idea of what calls objectRegistry region0. |
||
January 22, 2019, 20:51 |
|
#29 |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,982
Blog Entries: 45
Rep Power: 128 |
Quick questions/answers:
|
|
February 18, 2019, 17:19 |
|
#30 |
New Member
Nilay Kulkarni
Join Date: May 2018
Posts: 24
Rep Power: 8 |
I am trying to run a turbulent flow simulation using reactingParcelFilmFoam. But even after defining the turbulent properties and transportProperties, I get the following error
Code:
--> FOAM FATAL ERROR: request for dictionary transportProperties from objectRegistry region0 failed available objects of type dictionary are 13 ( MRFProperties radiationProperties turbulenceProperties fvSchemes fvOptions fvSolution thermophysicalProperties data reactingCloud1Properties combustionProperties additionalControls reactingCloud1OutputProperties wallFilmRegionOutputProperties ) From function const Type& Foam::objectRegistry::lookupObject(const Foam::word&, bool) const [with Type = Foam::IOdictionary] in file /usr/local/apps/OpenFOAM/gcc482-v1706/OpenFOAM-v1706/src/OpenFOAM/lnInclude/objectRegistryTemplates.C at line 239. FOAM aborting Does anyone know how to solve this issue? Thank you |
|
February 19, 2019, 04:30 |
|
#31 |
Senior Member
|
Hi,
Since there is almost no context, I try to guess: you have used incompressible turbulent heat diffusivity wall function for compressible simulation. I.e. instead of simple alphatJayatillekeWallFunction it should be compressible::alphatJayatillekeWallFunction. As far as grep shows, alphatJayatillekeWallFunction is the only class, which looks up transportProperties in object registry. |
|
February 19, 2019, 11:00 |
|
#32 |
New Member
Nilay Kulkarni
Join Date: May 2018
Posts: 24
Rep Power: 8 |
Alexey,
Sorry about the lack of information but your guess was correct. And the simulation is running now. Thank you! |
|
February 20, 2019, 12:59 |
|
#33 |
New Member
Nilay Kulkarni
Join Date: May 2018
Posts: 24
Rep Power: 8 |
Alexey,
Is there a way to convert reactingParcelFilmFoam to a steady state solver (something along the lines of simpleReactingParcelFoam)? I tried but I can just get the reactingCloud and the flow field correct.The fields in the wallFilmRegion diverge for the slightest change in the surfaceFilmProperties (although these changes work for the transient solver). Is there a way to go about it? Thanks |
|
March 20, 2019, 22:16 |
|
#34 | |
Member
andres
Join Date: Jul 2011
Posts: 31
Rep Power: 15 |
Hi guys,
I'm using the MPPICFoam solver in my case. I'm trying to incorporate ke model in order to resolve it. My simulation runs perfectly using laminar model as the tutorial of MPPIC called injection. But, the same error appear to me related with k. Quote:
http://https://drive.google.com/open...goaUpXbQ3wWgUC Things that I did: - I incorporated the line in k.air file (k k.air) - I add the lines folllow all recomedation How to use MPPICFoam with turbulence effects on particle motion? I hope that you can find the solution as soon as possible. Thank you in advance |
||
March 21, 2019, 05:03 |
|
#35 |
Senior Member
|
Hi,
For epsilon inlet you utilise turbulentMixingLengthDissipationRateInlet, which uses k field for calculation (it would be nice to see extended error message to confirm, that error happens in this boundary condition). To configure this BC to use another k field, add "k k.air" in 0/epsilon.air. |
|
March 21, 2019, 12:55 |
|
#36 |
Member
andres
Join Date: Jul 2011
Posts: 31
Rep Power: 15 |
Thank you alexeym!!
I ran my case with your advice, afterward more errors were showed related with the definition of variables in fvSchemes and fvSolution. And then I put also "U U.air" in k.air and epsilon.air files. However, I fixed all of them, so I have the turbulent ke case running as well laminar. Thanks a lot! |
|
March 29, 2019, 14:20 |
|
#37 |
Member
Farshad
Join Date: Sep 2010
Posts: 36
Rep Power: 16 |
Hi guys;
I have the same problem, I've read the thread, thanks for instructions. Using rhoReactingBuoyantFoam to model fire, I've encountered following error: Code:
--> FOAM FATAL ERROR: request for volScalarField ph_rgh.CH3OH from objectRegistry region0 failed available objects of type volScalarField are 65 ( thermo:mu OH C2H3 thermo:psi CH3 C2H5 h C3H8 C2H6 CO2 HCO Qdot H2 (1|A(U)) dpdt O2_0 C3H7 alphat CH4_0 p CH2O T CH2 H2O TabulationResults AR N2 nut K C2H CH2CO K_0 C2H4 rho CH2OH C2H2 k H2O2 HCCOH h_0 O2 CH2(S) p_rgh CH2CHO HCCO (thermo:psi*p) gh delta rDeltaT C CH4 HO2 CH3CHO CH3OH HO2_0 rho_0 CO O CH3O CO_0 H thermo:rho EDC<rhoReactionThermo>:kappa thermo:alpha CH ) From function const Type& Foam::objectRegistry::lookupObject(const Foam::word&) const [with Type = Foam::GeometricField<double, Foam::fvPatchField, Foam::volMesh>] in file /home/farshad/OpenFOAM/OpenFOAM-6/src/OpenFOAM/lnInclude/objectRegistryTemplates.C at line 193. FOAM aborting #0 Foam::error::printStack(Foam::Ostream&) at ??:? #1 Foam::error::abort() at ??:? #2 Foam::GeometricField<double, Foam::fvPatchField, Foam::volMesh> const& Foam::objectRegistry::lookupObject<Foam::GeometricField<double, Foam::fvPatchField, Foam::volMesh> >(Foam::word const&) const at ??:? #3 Foam::prghTotalHydrostaticPressureFvPatchScalarField::updateCoeffs() at ??:? #4 Foam::fvMatrix<double>::fvMatrix(Foam::GeometricField<double, Foam::fvPatchField, Foam::volMesh> const&, Foam::dimensionSet const&) at ??:? #5 Foam::tmp<Foam::fvMatrix<double> > Foam::fv::optionList::operator()<double>(Foam::GeometricField<double, Foam::fvPatchField, Foam::volMesh> const&, Foam::GeometricField<double, Foam::fvPatchField, Foam::volMesh>&, Foam::word const&) at ??:? #6 ? at ??:? #7 __libc_start_main in "/lib/x86_64-linux-gnu/libc.so.6" #8 ? at ??:? Aborted (core dumped) Code:
FoamFile { version 2.0; format ascii; class volScalarField; location "0"; object p_rgh; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // dimensions [1 -1 -2 0 0 0 0]; internalField uniform 0; boundaryField { "(outlet|sides)" { type prghTotalHydrostaticPressure; p0 $internalField; ph_rgh ph_rgh.CH3OH; value $internalField; } frontAndBack { type prghTotalHydrostaticPressure; p0 $internalField; ph_rgh ph_rgh.CH3OH; value $internalField; } base { type fixedFluxPressure; value $internalField; } inlet { type fixedFluxPressure; value $internalField; } /*frontAndBack { type empty; }*/ } |
|
March 29, 2019, 17:47 |
|
#38 |
Member
Farshad
Join Date: Sep 2010
Posts: 36
Rep Power: 16 |
Thanks to #15 I changed the BC and got rid of the problem.
But still need good explanation. if any. Immensely appreciated. |
|
April 8, 2019, 11:21 |
Similar error
|
#39 |
New Member
Malini Dasgupta
Join Date: Mar 2019
Location: Germany
Posts: 6
Rep Power: 7 |
Hi,
I had the similar error except it shows the following: --> FOAM FATAL ERROR: request for volScalarField none from objectRegistry region0 failed available objects of type volScalarField are 28 ( H2O_0 thermo:mu HMDSO_0 thermosi nut N2 K K_0 CO2_0 h rho CO2 k h_0 Qdot (1|A(U)) dpdt Ox_0 Ox thermosi_0 alphat HMDSO rho_0 p T H2O epsilon thermo:alpha ) Can someone please tell me what I need to do here? |
|
April 8, 2019, 19:43 |
|
#40 |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,982
Blog Entries: 45
Rep Power: 128 |
Quick answer: You need to follow the instructions give here: How to give enough info to get help - so that we get more information about how you got to that error. Otherwise it's just a guessing game...
__________________
|
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Foam::error::printStack(Foam::Ostream&) with simpleFoam -parallel | U.Golling | OpenFOAM Running, Solving & CFD | 52 | September 23, 2023 04:35 |
Initial conditions for uniform flow | andreas | OpenFOAM | 5 | November 16, 2012 16:00 |
[OpenFOAM] ParaView/Parafoam error when making animation | Disco_Caine | ParaView | 6 | September 28, 2010 10:54 |
user subroutine error | CFDUSER | CFX | 2 | December 9, 2006 07:31 |
user defined function | cfduser | CFX | 0 | April 29, 2006 11:58 |