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

How to sample including value of boundary points

Register Blogs Community New Posts Updated Threads Search

 
 
LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
Old   April 14, 2017, 17:29
Default How to sample including value of boundary points
  #1
TML
New Member
 
TIAN
Join Date: Apr 2017
Posts: 2
Rep Power: 0
TML is on a distinguished road
Hello,

I am running a 2D annular flow case, and I am trying to get velocity distribution at a certain location using sample utility. The problem is that the result gives by sample does not include the boundary point which should be (0 0 0) for a no-slip wall. I have tried cellPoint, cellPointFace, and cellPatchConstrained for the interpolationScheme, but none of them works.

This is my sampleDict:

FoamFile
{
version 2.0;
format ascii;
class dictionary;
object sampleDict;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //

setFormat csv;


interpolationScheme cellPatchConstrained;


fields
(
Ux
);

sets
(
lineX1
{
type uniform;
axis y;

start (0.06 0.02 0); //inner wall
end (0.06 0.03 0); //outer wall
nPoints 40;
}

);
//************************************************** * //

Any help is appreciated!

Last edited by TML; April 17, 2017 at 10:34.
TML is offline   Reply With Quote

 

Tags
sample


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
CFD analaysis of Pelton turbine amodpanthee CFX 31 April 19, 2018 18:02
Out File does not show Imbalance in % Mmaragann CFX 5 January 20, 2017 10:20
Velocity vector in impeller passage ngoc_tran_bao CFX 24 May 3, 2016 21:16
[mesh manipulation] Importing Multiple Meshes thomasnwalshiii OpenFOAM Meshing & Mesh Conversion 18 December 19, 2015 18:57
[snappyHexMesh] No layers in a small gap bobburnquist OpenFOAM Meshing & Mesh Conversion 6 August 26, 2015 09:38


All times are GMT -4. The time now is 20:50.