![]() |
Problems with probes
Hello everyone,
I'm running a simulation in chtMultiRegionFoam, and I need to know the values of the temperature in some points, so I used the function probe in this way: probe { type probes; enabled yes; writeControl timeStep; writeInterval 1; fields (T); probeLocations ( (-0.0408 0.03735 0.03) (0.051 0.0897 0.03) (0.051 -0.015 0.03) (-0.0408 -0.06735 0.03) (0.051 -0.1197 0.03) ); } but when I run the simulation OpenFoam gives me this error: --> FOAM Warning : From function bool Foam::functionObjectList::read() in file db/functionObjects/functionObjectList/functionObjectList.C at line 871 Caught FatalError --> FOAM FATAL ERROR: request for objectRegistry region0 from objectRegistry caso_thermo failed available objects of type objectRegistry are 2 ( fluid solid ) From function const Type& Foam::objectRegistry::lookupObject(const Foam::word&) const [with Type = Foam::objectRegistry] in file /home/fabio/OpenFOAM/OpenFOAM-8/src/OpenFOAM/lnInclude/objectRegistryTemplates.C at line 211. Am I doing something wrong? |
Hello Fabio,
I never tried it on probes, but usually with chtMultiRegionFoam you have to specify the region in the function definition. Try adding a "region" parameter: Code:
probe Let me know if it solves your problem! Yann |
Thank you very much now it works!
|
All times are GMT -4. The time now is 02:18. |