|
[Sponsors] |
November 25, 2015, 09:08 |
How to interpolate values in probesDict
|
#1 |
New Member
Dion
Join Date: Dec 2014
Location: Bremen, Germany
Posts: 13
Rep Power: 11 |
Hello everyone,
I would like to know how can we use a interpolation scheme in probesDict. Currently i use probes utility to extract velocitiy component inside a cylinder. My probes location are placed at a equal distance of 1mm inside the cylinder. And i have like around 1000 location inside the calinder. The problem i face now is, The cell size in the volume mesh are large and at some location two prob point are at the same cell. Due to this i have two prob with the same velocity values. I belive these values are not interpolated and the same cell values are writen for both the probe location. I learnt from http://www.cfd-online.com/Forums/ope...tml#post574910 that we can use interpolation schems in probes dict. I would like to know from any one who can post a syntx, about how can we use a interpolation schemes in probesDict. #Note: My problem is same like http://www.cfd-online.com/Forums/sta...same-cell.html this thread. But i am using probes utility in openfoam. And the values are not interpolated. Thanks, Dinesh Last edited by dinolsky; November 25, 2015 at 11:26. |
|
March 23, 2016, 05:00 |
|
#2 |
New Member
stathis
Join Date: Feb 2016
Posts: 7
Rep Power: 10 |
hello!
you can add the following line in your probesDict file: interpolationScheme cellPointFace; You can find more information at: /applications/utilities/postProcessing/sampling/sample/sampleDict cheers |
|
November 29, 2017, 15:13 |
|
#3 | |
Member
Yeru
Join Date: Jul 2014
Location: UK
Posts: 36
Rep Power: 11 |
Quote:
Can I use the interpolationScheme syntax in controlDict as well? Regards, Yeru |
||
November 30, 2017, 04:56 |
|
#4 |
New Member
stathis
Join Date: Feb 2016
Posts: 7
Rep Power: 10 |
Hi Yeru,
Yes, you can. You can add something like this to your controlDict: Code:
YeruSampling { type sets; interpolationScheme cellPointFace; setFormat raw; sets ( lineZ { type uniform; axis z; start (0 0 1); end (0 0 5); nPoints 41; } ); fields ( p ); } Stathis |
|
November 30, 2017, 05:55 |
|
#5 |
Member
Yeru
Join Date: Jul 2014
Location: UK
Posts: 36
Rep Power: 11 |
Morning Stathis,
Thanks for that, can I do the same thing for probes in controlDict? Regards, Yeru |
|
November 30, 2017, 06:28 |
|
#6 |
New Member
stathis
Join Date: Feb 2016
Posts: 7
Rep Power: 10 |
Sure, it's applicable to probes as well.
Kind regards, Stathis |
|
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
TimeVaryingMappedFixedValue | irishdave | OpenFOAM Running, Solving & CFD | 32 | June 16, 2021 07:55 |
using chemkin | JMDag2004 | OpenFOAM Pre-Processing | 2 | March 8, 2016 23:38 |
Velocity values are normal but pressure values are too big | rv82 | OpenFOAM Running, Solving & CFD | 4 | April 13, 2015 04:59 |
Setting patch field values equal to internal field values | leroyv | OpenFOAM Programming & Development | 1 | October 21, 2014 16:49 |
Plotting raw data values | Wilesco | Siemens | 0 | January 5, 2006 06:34 |