|
[Sponsors] |
April 23, 2010, 05:12 |
How to create my own functionObject ?
|
#1 |
Senior Member
Jiang
Join Date: Oct 2009
Location: Japan
Posts: 186
Rep Power: 16 |
Dear all,
I use functionObjedt like following: functions { extraction { type surfaces; functionObjectLibs ("libsampling.so"); enabled true; outputControl timeStep; outputInterval 5; surfaceFormat foamFile; interpolationScheme cellPointFace; fields ( U T ); surfaces ( aplane { type plane; basePoint (-0.4 0 0.5); normalVector (1.0 0 0); } ); } } my purpose is to extract a plane data of internal domain in every time step. But the file directory is not what I want. I copy src/sampling ,and modify a little ,create another called libmysampling.so. but when using, it displays: --> FOAM Warning : From function dlLibraryTable:pen(const dictionary& dict, const word& libsEntry, const TablePtr tablePtr) in file lnInclude/dlLibraryTableTemplates.C at line 68 library "libmysampling.so" did not introduce any new entries It seems that my own libmysampling.so doesn't take effect. Could any one tell me how to create functionObject type ? Thanks. |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Meshing a Sphere | Ajay | FLUENT | 10 | September 3, 2016 14:18 |
Steps to create a quater O grid or Y grid | brissyben | ANSYS Meshing & Geometry | 3 | April 12, 2012 05:46 |
Actuator disk model | audrich | FLUENT | 0 | September 21, 2009 07:06 |
Where's the singularity/mesh flaw? | audrich | FLUENT | 3 | August 4, 2009 01:07 |
fluent add additional zones for the mesh file | SSL | FLUENT | 2 | January 26, 2008 11:55 |