|
[Sponsors] |
Specifying points for sampling surfaces in sampleDict |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
April 20, 2016, 08:11 |
Specifying points for sampling surfaces in sampleDict
|
#1 |
Senior Member
ArielJ
Join Date: Aug 2015
Posts: 127
Rep Power: 11 |
Hi there,
I'm trying to get a more accurate pressure reading for flow around a cylinder. I tried first setting up probes and running probeLocations, but I then discovered the sample surfaces utility, which seemed to take the value directly on the patch, rather than the distance away that I had the probe set up. I tried to set up the probes directly on the cylinder (as the surfaces does), but it said it had zero values and the surfaces utility seems to work well so now I want to set it up to sample the surface around the whole cylinder. I have this set up inside my sampleDict: Code:
surfaces ( surfaceSampling { type patch; //surfaces; //functionObjectLibs ( "libsampling.so" ); patches ("cylinder"); enabled true; outputControl timeStep; outputInterval 1; interpolationScheme cellPoint; surfaceFormat csv; fields ( p magSqrU vorticity magvorticity ); surfaces ( nearWall { type patch; patches ("cylinder"); interpolate true; triangulate false; } ); } ); EDIT: Ok I've answered my own question -- I am sampling around the entire surface (I didn't scroll the whole way down, they are ordered strangely). I'm still wondering the same question though -- is there a way to specify exactly where is being sampled? Last edited by arieljeds; April 20, 2016 at 08:27. Reason: Answered my own question :-) |
|
Tags |
cylinder, sample surface, sampledict, surface, wavefoam |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
[mesh manipulation] Calculate cross product of mesh points and given vector | DE25VT | OpenFOAM Meshing & Mesh Conversion | 5 | January 13, 2016 11:05 |
[snappyHexMesh] No layers in a small gap | bobburnquist | OpenFOAM Meshing & Mesh Conversion | 6 | August 26, 2015 10:38 |
[snappyHexMesh] determining displacement for added points | CFDnewbie147 | OpenFOAM Meshing & Mesh Conversion | 1 | October 22, 2013 10:53 |
[snappyHexMesh] snappyHexMesh not refining surfaces | Hydro1004 | OpenFOAM Meshing & Mesh Conversion | 3 | August 29, 2012 12:56 |
extreme points problem | Lipo Wang | Main CFD Forum | 2 | August 18, 2004 04:15 |