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

Sampling surfaces

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

LinkBack Thread Tools Display Modes
Old   April 7, 2011, 14:07
Senior Member
Fabian Braennstroem
Join Date: Mar 2009
Posts: 407
Rep Power: 12
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: 8
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



Thread Tools
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 On
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 03:34
Faceted surfaces in ICEM Chriss Main CFD Forum 1 May 6, 2008 15:18
Surfaces lost from ICEM to CFX-Pre 5.7 Mark CFX 6 September 30, 2004 23:07
Surfaces Mark FLUENT 2 February 9, 2004 11:41

All times are GMT -4. The time now is 18:39.