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

SurfaceSampling

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   June 9, 2015, 08:06
Default SurfaceSampling
  #1
New Member
 
Jim KIT
Join Date: Aug 2012
Location: Germany
Posts: 25
Rep Power: 13
sharifi is on a distinguished road
Hi,


i'm looking to use the surface sampling function in OpenFOAM to sample some field on a defined cylinder. Imagine you have a pipe with D=100 mm along x-axis mm and you need to sample pressure on a cylinder surface with D=50 mm along x-axis. It should be possible to define a .stl and sample on it.
Does any one have any experience about that?

OpenFOAM finction for sampling over a plane:

SurfaceSampling
{

type surfaces;
outputControl timeStep;
outputInterval 80;
surfaceFormat vtk;

fields
(
p

);

surfaces
(

plane1
{
type plane; //is stl possible????
basePoint (0 0 0);
normalVector (0 1 0);

}
sharifi is offline   Reply With Quote

Old   June 9, 2015, 08:13
Default
  #2
Senior Member
 
Alexey Matveichev
Join Date: Aug 2011
Location: Nancy, France
Posts: 1,930
Rep Power: 38
alexeym has a spectacular aura aboutalexeym has a spectacular aura about
Send a message via Skype™ to alexeym
Hi,

If you open $FOAM_UTILITIES/postProcessing/sampling/sample/sampleDict, go to line #281, you find an example. Line #301 can also be relevant.
alexeym 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
surface sampling with a step smaller than outputTime seiji_adachi OpenFOAM 3 April 15, 2014 04:44


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