|
[Sponsors] |
![]() |
![]() |
#1 |
Senior Member
Pierre-Olivier Dallaire
Join Date: Mar 2009
Location: Montreal, Quebec, Canada
Posts: 192
Rep Power: 17 ![]() |
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 |
|
![]() |
![]() |
![]() |
![]() |
#2 |
Member
Maxim Loginov
Join Date: Mar 2009
Posts: 33
Rep Power: 17 ![]() |
try this:
surfaces ( TestSection { type plane; basePoint (0 -2.2175 0); normalVector (0 1 0); } ) |
|
![]() |
![]() |
![]() |
![]() |
#3 |
Senior Member
Pierre-Olivier Dallaire
Join Date: Mar 2009
Location: Montreal, Quebec, Canada
Posts: 192
Rep Power: 17 ![]() |
Ok, worked ! I see the trick now
Thanks and have a good day ! PO |
|
![]() |
![]() |
![]() |
![]() |
#4 |
New Member
Tim Stovall
Join Date: Mar 2009
Posts: 12
Rep Power: 17 ![]() |
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 |
|
![]() |
![]() |
![]() |
|
|