|
[Sponsors] |
June 9, 2015, 08:06 |
SurfaceSampling
|
#1 |
New Member
Jim KIT
Join Date: Aug 2012
Location: Germany
Posts: 25
Rep Power: 13 |
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); } |
|
June 9, 2015, 08:13 |
|
#2 |
Senior Member
|
Hi,
If you open $FOAM_UTILITIES/postProcessing/sampling/sample/sampleDict, go to line #281, you find an example. Line #301 can also be relevant. |
|
|
|
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 |