|
[Sponsors] |
Error in implementing probe-post processing utility |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
June 15, 2015, 06:41 |
Error in implementing probe-post processing utility
|
#1 | ||
Member
baran
Join Date: Aug 2014
Posts: 45
Rep Power: 12 |
Hi,
Greeting all!!! I want to implement "probe" to get temperature variation with change in time in chtMultiRegionFoam tutorial (multiRegionHeater) of OpenFOAM-2.4. So as per incompressible/pisoFoam/pitzDaily/system/controlDict file i have made following changes.. in my case.. Quote:
Quote:
Thanks & regards, baran |
|||
June 16, 2015, 02:59 |
|
#2 |
Senior Member
Dr. Fabian Schlegel
Join Date: Apr 2009
Location: Dresden, Germany
Posts: 222
Rep Power: 18 |
This should be some mesh issue or something with your probe location. OpenFoam tells your where the problem is:
-> FOAM FATAL ERROR: request for objectRegistry region0 from objectRegistry probe_check failed available objects of type objectRegistry are 5 ( rightSolid bottomWater heater topAir leftSolid ) You should check if your probe locations is within the specified region and if you have some misspellings in your dictionary. Best regards Fabian |
|
June 16, 2015, 05:15 |
|
#3 |
Member
baran
Join Date: Aug 2014
Posts: 45
Rep Power: 12 |
Greeting all!!!
@fabian...thanks for your reply... I have cross checks the controlDict file... 1. There is no spelling error as per tutorial case... 2. I have taken different points from polyMesh directory to check it. But same error is coming... Regards, Baran |
|
June 16, 2015, 06:24 |
|
#4 |
Senior Member
Dr. Fabian Schlegel
Join Date: Apr 2009
Location: Dresden, Germany
Posts: 222
Rep Power: 18 |
The code for your probes seems to be outdated (I use OF 2.4.x). Have a look, e.g., at multiphase/interDyMFoam/ras/sloshingTank2D/system/controlDict how probes are used.
|
|
June 16, 2015, 07:39 |
|
#5 |
Member
baran
Join Date: Aug 2014
Posts: 45
Rep Power: 12 |
I am also using openFoam-2.4.
I have taken the command from tutorial/incompressible/pisoFoam/pitzDaily/system/controlDict It is also showing the same error... according to your suggestion Mostly some other issue is there which I am missing... Regards, Baran |
|
June 16, 2015, 08:27 |
|
#6 |
Senior Member
Dr. Fabian Schlegel
Join Date: Apr 2009
Location: Dresden, Germany
Posts: 222
Rep Power: 18 |
I checked it and I am able to reproduce your error for the multiRegionHeater tutorial case. However, I do not have a clue at the moment, it seems to be related to the mesh and the various regions. To register the probe OF tries to access region0, which is not present. I think you have to dive into the code to fix this issue.
Best regards Fabian |
|
June 16, 2015, 11:14 |
|
#7 |
Senior Member
Dr. Fabian Schlegel
Join Date: Apr 2009
Location: Dresden, Germany
Posts: 222
Rep Power: 18 |
I found your problem. You have to add the region in your probe function, as I have done below:
Code:
probes { type probes; functionObjectLibs ("libsampling.so"); enabled true; outputControl timeStep; outputInterval 1; region heater; fields ( p ); probeLocations ( ( 0.0254 0.0253 0 ) ( 0.0508 0.0253 0 ) ( 0.0762 0.0253 0 ) ( 0.1016 0.0253 0 ) ( 0.127 0.0253 0 ) ( 0.1524 0.0253 0 ) ( 0.1778 0.0253 0 ) ); Fabian |
|
June 17, 2015, 03:18 |
|
#8 |
Member
baran
Join Date: Aug 2014
Posts: 45
Rep Power: 12 |
Greeting all!!
@Fabian thanks a lot for your reply..it works in this way..... Some observation I have seen as follows... 1. If we enter different region for probe location then it will give some garbage value....but not going to show any error... But i have another doubt....If we want to probe in two different fields then how to do this using probe?? I am trying in this way... but it is only reading last entry region.that means for this case it only log data for topAir.... Code:
probes { type probes; functionObjectLibs ("libsampling.so"); enabled true; outputControl outputTime; //timeStep; outputInterval 1; region heater; probeLocations ( (-0.013333333 0 -0.05) (-0.0066666667 0 -0.05) (0 0 -0.05) (0.0066666667 0 -0.05) (0.013333333 0 -0.05) (-0.013333333 0.008 -0.05) (-0.0066666667 0.008 -0.05) (0 0.008 -0.05) ); fields ( T ); } probes { type probes; functionObjectLibs ("libsampling.so"); enabled true; outputControl outputTime; outputInterval 1; region topAir; probeLocations ( (-0.1 0.008 -0.05) (-0.093333333 0.008 -0.05) (-0.086666667 0.008 -0.05) (-0.08 0.008 -0.05) (-0.073333333 0.008 -0.05) (-0.066666667 0.008 -0.05) (-0.06 0.008 -0.05) (-0.053333333 0.008 -0.05) (-0.046666667 0.008 -0.05) (-0.04 0.008 -0.05) (-0.033333333 0.008 -0.05) (-0.026666667 0.008 -0.05) (-0.02 0.008 -0.05) ); fields ( T ); } Code:
probes { type probes; functionObjectLibs ("libsampling.so"); enabled true; outputControl outputTime; //timeStep; outputInterval 1; region heater; probeLocations ( (-0.013333333 0 -0.05) (-0.0066666667 0 -0.05) (0 0 -0.05) (0.0066666667 0 -0.05) (0.013333333 0 -0.05) (-0.013333333 0.008 -0.05) (-0.0066666667 0.008 -0.05) (0 0.008 -0.05) ); region topAir; probeLocations ( (-0.1 0.008 -0.05) (-0.093333333 0.008 -0.05) (-0.086666667 0.008 -0.05) (-0.08 0.008 -0.05) (-0.073333333 0.008 -0.05) (-0.066666667 0.008 -0.05) (-0.06 0.008 -0.05) (-0.053333333 0.008 -0.05) (-0.046666667 0.008 -0.05) (-0.04 0.008 -0.05) (-0.033333333 0.008 -0.05) (-0.026666667 0.008 -0.05) (-0.02 0.008 -0.05) ); fields ( T ); } Regards, Baran Last edited by wyldckat; June 17, 2015 at 16:27. Reason: Changed [QUOTE][/QUOTE] to [CODE][/CODE] |
|
June 17, 2015, 16:29 |
|
#9 |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,982
Blog Entries: 45
Rep Power: 128 |
Quick answer: You are using the same name for each named block:
Code:
probes { ... } probes { ... } Code:
heaterProbes { ... } topAirProbes { ... } |
|
June 18, 2015, 06:30 |
|
#10 |
Member
baran
Join Date: Aug 2014
Posts: 45
Rep Power: 12 |
Greeting All!!!
@bruno...thanks a lot for your reply..... Yea I have done some mistakes here....right now it is working properly... Regards, Baran |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
post processing for CEL expressions | Niru | CFX | 0 | May 10, 2013 14:13 |
Calculation of R using post processing utility | choudhury | OpenFOAM | 3 | March 24, 2013 12:59 |
Automated post processing using CFD Post | shreyasr | ANSYS | 0 | January 28, 2013 07:21 |
CFD post processing techniques & streamlining | klk | Main CFD Forum | 0 | October 19, 2010 08:37 |
post processing in CFD | MANISH BHARGAVA | Main CFD Forum | 0 | October 17, 1998 21:51 |