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

sample on a plane during the runtime

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   March 23, 2015, 17:40
Default sample on a plane during the runtime
  #1
Senior Member
 
Join Date: Jan 2013
Posts: 372
Rep Power: 14
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: 159
Rep Power: 17
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, 01:27
Default
  #3
New Member
 
Kossivi's Avatar
 
Kossivi GOKPI
Join Date: Jun 2010
Location: France
Posts: 28
Rep Power: 16
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


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
[Gmsh] Problem with Gmsh nishant_hull OpenFOAM Meshing & Mesh Conversion 23 August 5, 2015 03:09
runtime sample plan: how to get gradP Sylv OpenFOAM Programming & Development 5 September 17, 2013 04: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 14:23


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