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

Sampling surfaces

Register Blogs Community New Posts Updated Threads Search

Like Tree2Likes

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

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!
FAbian
braennstroem is offline   Reply With Quote

Old   November 18, 2011, 15:37
Default
  #22
New Member
 
G.Paulo
Join Date: Jul 2011
Location: Delft, Netherlands
Posts: 4
Rep Power: 14
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.

Regards.
G.Oliveira
gpextra is offline   Reply With Quote

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


Has anyone tried using the arcUniform utility for postProcessing (https://cpp.openfoam.org/v6/classFoa...Uniform.html)?


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, 01:52
Default
  #24
Senior Member
 
Join Date: Oct 2017
Posts: 121
Rep Power: 8
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

Old   December 23, 2021, 08:57
Default
  #25
New Member
 
Nishant
Join Date: Feb 2011
Posts: 4
Rep Power: 15
nishant.kumar is on a distinguished road
Quote:
Originally Posted by braennstroem View Post
Hi,

does anyone know, if there is an option for the foamFile output, which omits the output of the points and faces except for the last write out? This would help saving disk space.

Fabian
Hello Fabian, were you able to do this? I want to exclude the output of coordinates in all the sampling output files as I am passing this information externally and it remains constant throughout the simulation.

You mentioned this in another reply as a solution(?):
Quote:
Originally Posted by braennstroem View Post
me again... fyi: basically I just commented out the not needed points and faces... this worked quite good.
Can you please explain where exactly this change is made?
nishant.kumar is offline   Reply With Quote

Reply

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
Importing or Creating 2D Flat Surfaces into CFX Sam CFX 5 March 30, 2013 11: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 10:41


All times are GMT -4. The time now is 19:22.