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

sample on a plane during the runtime

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

Reply
 
LinkBack Thread Tools Display Modes
Old   March 23, 2015, 17:40
Default sample on a plane during the runtime
  #1
Senior Member
 
Join Date: Jan 2013
Posts: 197
Rep Power: 4
openfoammaofnepo is on a distinguished road
Hi All,

I was wondering if OF have a function to sample the data on the plane (which is located in the interior of the computational domain) during the runtime. For example, we would like to extract the pressure values on the plane x=5 mm?
It seems that surfaceSampling is only for patch, not for an interiro plane.

Anybody knows something about problems?

Thank you. OFFO
openfoammaofnepo is offline   Reply With Quote

Old   March 24, 2015, 04:16
Default
  #2
Senior Member
 
Jens Höpken
Join Date: Apr 2009
Location: Duisburg, Germany
Posts: 156
Rep Power: 8
jhoepken is on a distinguished road
Send a message via Skype™ to jhoepken
Please have a look at the sampling utility.
__________________
Blog: sourceflux.de/blog
"The OpenFOAM Technology Primer": sourceflux.de/book
Twitter: @sourceflux_de
Interested in courses on OpenFOAM?
jhoepken is offline   Reply With Quote

Old   April 4, 2015, 00:27
Default
  #3
New Member
 
Kossivi GOKPI
Join Date: Jun 2010
Location: France
Posts: 9
Rep Power: 7
Kossivi is on a distinguished road
Quote:
Originally Posted by jhoepken View Post
Please have a look at the sampling utility.
I would like to ask a similar question.

For sampling on surface we have vtk, raw, foamFile format. I want to do some modification in the raw file to have a suitable format to my output. So base on the example of the how to implement an application, i cpoy the raw file in src/sampling/sampledsurface/writers/raw to my User directory and perform the modification. Now my question is :

How can link this modification to the sampleDict in the utility so that my modification can be taken to write my format when I use the utility sample fater run simulation.

any help will be appreciated.

Thanks
Kossivi is offline   Reply With Quote

Reply

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
Problem with Gmsh nishant_hull Open Source Meshers: Gmsh, Netgen, CGNS, ... 22 Yesterday 22:12
runtime sample plan: how to get gradP Sylv OpenFOAM Programming & Development 5 September 17, 2013 03:35
sample 2D Plane ChrisPro OpenFOAM Post-Processing 0 March 22, 2012 09:44
How to sample (with interpolation) at runtime ole OpenFOAM Programming & Development 4 December 14, 2010 13:57
Simple plane sample not working marupio OpenFOAM Post-Processing 2 May 18, 2010 13:23


All times are GMT -4. The time now is 01:25.