|
[Sponsors] |
October 19, 2020, 16:59 |
Problems with probes
|
#1 |
New Member
Fabio Bianchi
Join Date: Oct 2020
Posts: 6
Rep Power: 5 |
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:bjectRegistry::lookupObject(const Foam::word&) const [with Type = Foam:bjectRegistry] in file /home/fabio/OpenFOAM/OpenFOAM-8/src/OpenFOAM/lnInclude/objectRegistryTemplates.C at line 211. Am I doing something wrong? |
|
October 20, 2020, 03:33 |
|
#2 |
Senior Member
Yann
Join Date: Apr 2012
Location: France
Posts: 1,066
Rep Power: 26 |
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 {type probes; enabled yes; writeControl timeStep; writeInterval 1; region your_region_name; 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) );} Let me know if it solves your problem! Yann |
|
October 20, 2020, 15:26 |
|
#3 |
New Member
Fabio Bianchi
Join Date: Oct 2020
Posts: 6
Rep Power: 5 |
Thank you very much now it works!
|
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
[ICEM] Problems with coedge curves and surfaces | tommymoose | ANSYS Meshing & Geometry | 6 | December 1, 2020 11:12 |
probes chtMultiRegionFoam (OF v7) | carl_r | OpenFOAM Post-Processing | 1 | April 30, 2020 23:21 |
Error in probes functions!!! | Jingxue Wang | OpenFOAM Running, Solving & CFD | 9 | November 25, 2017 09:21 |
[mesh manipulation] Problems with rotational cyclic boundaries | TReviol | OpenFOAM Meshing & Mesh Conversion | 8 | July 11, 2014 03:45 |
problems with probes() function in chtMultiRegionFoam | Victor | OpenFOAM | 0 | November 25, 2009 15:08 |