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, 15: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, 16:37
Default
  #22
New Member
 
G.Paulo
Join Date: Jul 2011
Location: Delft, Netherlands
Posts: 4
Rep Power: 15
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 6, 2020, 00:19
Default arcUniform sampling utility
  #23
New Member
 
Prakriti
Join Date: Jun 2018
Posts: 6
Rep Power: 8
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, 02:52
Default
  #24
Senior Member
 
Join Date: Oct 2017
Posts: 131
Rep Power: 9
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, 09: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

Old   November 7, 2024, 12:12
Default
  #26
Senior Member
 
Dr. Alexander Vakhrushev
Join Date: Mar 2009
Posts: 256
Blog Entries: 1
Rep Power: 19
makaveli_lcf is on a distinguished road
Send a message via ICQ to makaveli_lcf
Hi folks!


the new syntax is:


Code:
<surfaceName>
{
    type        patch;
    patches     (<patche_names>);


   // Export interpolated point-based data
    interpolate true;
}
Cheers!
__________________
Best regards,

Dr. Alexander VAKHRUSHEV

Christian Doppler Laboratory for "Metallurgical Applications of Magnetohydrodynamics"

Simulation and Modelling of Metallurgical Processes
Department of Metallurgy
University of Leoben

http://smmp.unileoben.ac.at
makaveli_lcf 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 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 20:48.