|
[Sponsors] |
probe and sample point in same place producing different data |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
May 9, 2015, 09:34 |
probe and sample point in same place producing different data
|
#1 |
Member
Olie
Join Date: Oct 2013
Posts: 51
Rep Power: 13 |
Hi,
In a case I'm running I have put a probe in a particular location to record velocity at run time, and have also put a sampleDict entry at the same location to record velocity post-solving. Obviously the data produced from both SHOULD be identical, but it's not, does anyone know why? Is it something to do with the fact that the solver (pimpleFoam) is running in parallel? I seem to remember someone telling me in the past to use average(U) or something when solving in parallel? Below are the probe and sampleDict entries: probe (located in system/controlDict): Code:
actuator_probe { type probes; functionObjectLibs ("libsampling.so"); enabled true; outputControl outputTime; //timeStep; outputInterval 1; probeLocations ( (-0.015 0 0.5) ); fields ( U ); } sampleDict entry (located in system/sampleDict): Code:
actuator_velocity { type uniform; axis z; start (-0.015 0 0); end (-0.015 0 1); nPoints 3; } So the data they record SHOULD be the same, and yet it is not. Any ideas? Thank you. |
|
May 13, 2015, 13:41 |
|
#2 |
Member
Olie
Join Date: Oct 2013
Posts: 51
Rep Power: 13 |
Anyone?
|
|
November 30, 2015, 12:31 |
|
#3 |
Member
Olie
Join Date: Oct 2013
Posts: 51
Rep Power: 13 |
I still haven't got to the bottom of this - I've attached an image which shows plots of velocity (x & y components) recorded at a certain location (-0.015, 0, 0.5) on the domain, and of vorticity (z component) recorded at a certain location (0, -0.5, 0.5), using both a probe and sampling.
Interestingly, the velocities recorded with probe and sample (at (-0.015, 0, 0.5)) don't appear to agree at all, yet the vorticity recorded at (0, -0.5, 0.5) seem to pretty much agree, although not perfectly (which I don't understand). Also, the velocity recordings are actually on a boundary where I have prescribed a sinusoidal oscillatory velocity boundary condition using groovyBC, so I know what the recording SHOULD BE as I was the one that specified it, and the sampled data (black line) DOES agree with this - so I trust the data I obtain through sampling, but not through using a probe. Anyone able to shed some light? |
|
May 2, 2016, 03:35 |
|
#4 |
Member
DB
Join Date: Apr 2011
Posts: 87
Rep Power: 15 |
Hey,
I am looking to probe vorticity during run-time, does the probes utility allow this or ( I have seen in some ancient posts here) do I need to create a new probe for vorticity. If you have ine the latter, can your share your code ( createProbes.H etc) ? Cheers, D
__________________
-D.B |
|
Tags |
probe, sampledict |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
probe a line or lines as similar by sample | michael1023 | OpenFOAM Post-Processing | 6 | June 13, 2020 22:12 |
Using Probe for part of a patch | ndr | OpenFOAM Running, Solving & CFD | 7 | April 4, 2019 07:26 |
Using probe function or sample utility on a patch | hfs | OpenFOAM Post-Processing | 1 | January 27, 2019 04:49 |
Probe vs. Sample | Madeleine P. Vincent | OpenFOAM Post-Processing | 0 | May 1, 2014 13:28 |
interDyMFOAM sloshingtank2d probe sample does not make sense | musahossein | OpenFOAM Running, Solving & CFD | 0 | July 29, 2013 11:45 |