CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Post-Processing

How to interpolate values in probesDict

Register Blogs Members List Search Today's Posts Mark Forums Read

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   November 25, 2015, 09:08
Default How to interpolate values in probesDict
  #1
New Member
 
Dion
Join Date: Dec 2014
Location: Bremen, Germany
Posts: 13
Rep Power: 11
dinolsky is on a distinguished road
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.
dinolsky is offline   Reply With Quote

Old   March 23, 2016, 05:00
Default
  #2
New Member
 
stathis
Join Date: Feb 2016
Posts: 7
Rep Power: 10
stathisk is on a distinguished road
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
stathisk is offline   Reply With Quote

Old   November 29, 2017, 15:13
Default
  #3
Member
 
Yeru
Join Date: Jul 2014
Location: UK
Posts: 36
Rep Power: 11
shang is on a distinguished road
Quote:
Originally Posted by stathisk View Post
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
Hi Stathis,

Can I use the interpolationScheme syntax in controlDict as well?

Regards,
Yeru
shang is offline   Reply With Quote

Old   November 30, 2017, 04:56
Default
  #4
New Member
 
stathis
Join Date: Feb 2016
Posts: 7
Rep Power: 10
stathisk is on a distinguished road
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 );
    }
Regards,
Stathis
stathisk is offline   Reply With Quote

Old   November 30, 2017, 05:55
Default
  #5
Member
 
Yeru
Join Date: Jul 2014
Location: UK
Posts: 36
Rep Power: 11
shang is on a distinguished road
Morning Stathis,

Thanks for that, can I do the same thing for probes in controlDict?

Regards,
Yeru
shang is offline   Reply With Quote

Old   November 30, 2017, 06:28
Default
  #6
New Member
 
stathis
Join Date: Feb 2016
Posts: 7
Rep Power: 10
stathisk is on a distinguished road
Sure, it's applicable to probes as well.

Kind regards,
Stathis
stathisk is offline   Reply With Quote

Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are On


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


All times are GMT -4. The time now is 03:59.