CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Running, Solving & CFD

SampledSurfacesFunctionObject

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   September 13, 2008, 18:06
Default Good afternoon, I'm trying
  #1
Senior Member
 
Pierre-Olivier Dallaire
Join Date: Mar 2009
Location: Montreal, Quebec, Canada
Posts: 192
Rep Power: 17
podallaire is on a distinguished road
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
podallaire is offline   Reply With Quote

Old   September 13, 2008, 21:25
Default try this: surfaces ( Tes
  #2
Member
 
Maxim Loginov
Join Date: Mar 2009
Posts: 33
Rep Power: 17
zeliboba is on a distinguished road
try this:

surfaces
(
TestSection
{
type plane;
basePoint (0 -2.2175 0);
normalVector (0 1 0);
}
)
zeliboba is offline   Reply With Quote

Old   September 14, 2008, 10:10
Default Ok, worked ! I see the trick n
  #3
Senior Member
 
Pierre-Olivier Dallaire
Join Date: Mar 2009
Location: Montreal, Quebec, Canada
Posts: 192
Rep Power: 17
podallaire is on a distinguished road
Ok, worked ! I see the trick now

Thanks and have a good day !

PO
podallaire is offline   Reply With Quote

Old   February 25, 2009, 18:42
Default Hi, I've tried this method
  #4
New Member
 
Tim Stovall
Join Date: Mar 2009
Posts: 12
Rep Power: 17
tstovall is on a distinguished road
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
tstovall 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



All times are GMT -4. The time now is 10:22.