CFD Online Discussion Forums

CFD Online Discussion Forums (http://www.cfd-online.com/Forums/)
-   OpenFOAM Running, Solving & CFD (http://www.cfd-online.com/Forums/openfoam-solving/)
-   -   SampledSurfacesFunctionObject (http://www.cfd-online.com/Forums/openfoam-solving/57895-sampledsurfacesfunctionobject.html)

podallaire September 13, 2008 17:06

Good afternoon, I'm trying
 
Good afternoon,

I'm trying to use a combination of probes and surfaces (from libsampling) in my controlDict. However, I'm not able to get the surface section to work, here is what I have in the controlDict :

functions
(

.... probe stuff ...

S1
{
type surfaces;
functionObjectLibs ("libsampling.so");
surfaceFormat raw;
interpolationScheme cellPointFace;

fields
(
p
U
);

TestSection
{
type plane;
basePoint (0 -2.2175 0);
normalVector (0 1 0);
}
}
);

OF complains : keyword surfaces is undefined in dictionary "blablabla ... /system/controlDict::functions"

Any suggestion / idea ?

Thanks !

PO

zeliboba September 13, 2008 20:25

try this: surfaces ( Tes
 
try this:

surfaces
(
TestSection
{
type plane;
basePoint (0 -2.2175 0);
normalVector (0 1 0);
}
)

podallaire September 14, 2008 09:10

Ok, worked ! I see the trick n
 
Ok, worked ! I see the trick now

Thanks and have a good day !

PO

tstovall February 25, 2009 18:42

Hi, I've tried this method
 
Hi,

I've tried this method on a couple different cases and cannot get the files to write. Using

type patch;
patchName floor;
triangulate false;

I can get surface data files to write, but when I switch to

type plane;
normalVector (0 1 0);
basePoint (0 0 0);

the time folders are written, but they are empty.

I've checked that the basePoint is inside the domain.
The format should be correct for the type patch to work. Is there a trick that I'm missing?

thanks for the help,

-Tim


All times are GMT -4. The time now is 04:45.