CFD Online Logo CFD Online URL
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Post-Processing

Sampling surfaces

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

Like Tree1Likes

LinkBack Thread Tools Search this Thread Display Modes
Old   April 7, 2011, 15:07
Senior Member
Fabian Braennstroem
Join Date: Mar 2009
Posts: 407
Rep Power: 15
braennstroem is on a distinguished road

me again... fyi: basically I just commented out the not needed points and faces... this worked quite good.

Now, I would like actually write out the complete mesh information including a boundary, neighbour, owner files.

Do you have a hint, how I can do this?
Best REgards!
braennstroem is offline   Reply With Quote

Old   November 18, 2011, 16:37
New Member
Join Date: Jul 2011
Location: Delft, Netherlands
Posts: 4
Rep Power: 11
gpextra is on a distinguished road
Dear foamers

Sampling data from the cells close to a boundary or a wall might not be a trivial matter. That is why I am calling back this some two years old thread, which is closely related to my present question.

My geometry is composed of some curved walls and I need to collect some data, like U and p, from the very first layer of cells near the wall. It seems pretty straightforward to do that with the "sample" utility, if I new the coordinates of each cell centre, by just listing them under the type "cloud" in the sampleDict file. But this is where things go awry.

So, is there an easy way to get the coordinates of some specific cells, in particular those bordering a wall? I would guess that cellSet might be an answer, but I could not find something like a source "boundaryToCell" in the topoSetDict.

Or, alternatively, can anyone devise another approach to pick these close-to-the-wall cells values of velocity and pressure? BTW, this is almost exactly the question posed by Alejandro, above, but his problem was solved in a different way, so the the question remains alive. I would appreciate any suggestion on that.

I am using OpenFOAM 2.0.0.

gpextra is offline   Reply With Quote

Old   November 6, 2020, 00:19
Default arcUniform sampling utility
New Member
Join Date: Jun 2018
Posts: 6
Rep Power: 4
Prakriti is on a distinguished road
Hi all,

Has anyone tried using the arcUniform utility for postProcessing (

When I try to implement it, it just gives me an error saying "keyword endAngle is undefined in dictionary "controlDict.functions.sample.sample.sets""

I was wondering why it would do that?
Prakriti is offline   Reply With Quote

Old   November 6, 2020, 02:52
Join Date: Oct 2017
Posts: 72
Rep Power: 5
Krapf is on a distinguished road
You need to define endAngel. Or is the problem that you defined it but OpenFOAM is still complaining?
Krapf is offline   Reply With Quote



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
Importing or Creating 2D Flat Surfaces into CFX Sam CFX 5 March 30, 2013 12:11
creating new surfaces fluentguy FLUENT 1 May 7, 2009 04:34
Faceted surfaces in ICEM Chriss Main CFD Forum 1 May 6, 2008 16:18
Surfaces lost from ICEM to CFX-Pre 5.7 Mark CFX 6 October 1, 2004 00:07
Surfaces Mark FLUENT 2 February 9, 2004 11:41

All times are GMT -4. The time now is 10:14.