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

simpleFunctionObjects

Register Blogs Community New Posts Updated Threads Search

Like Tree1Likes
  • 1 Post By Bernhard

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   May 22, 2011, 04:36
Default simpleFunctionObjects
  #1
Senior Member
 
Nima Samkhaniani
Join Date: Sep 2009
Location: Tehran, Iran
Posts: 1,266
Blog Entries: 1
Rep Power: 24
nimasam is on a distinguished road
hi dear foamer
simpleFunctionObjects is compiled in openFoam1.6-x successfully and made a simpleFunctionObjects.so file in user lib but! and i aslo add these lines into controlDict

functions
{

type patchMassFlow;
functionObjectLibs ("libsimpleFunctionObjects.so");
verbose true;
outputControl timeStep;
outputInterval 1;
patches
(
inlet
outlet
);
}
and i expected a folder (patchMassFlow folder) is made and contains patchMassflow in each step!!!

but NOTHING happened

i dont know what the problem is?
nimasam is offline   Reply With Quote

Old   May 23, 2011, 01:52
Default
  #2
Senior Member
 
Bernhard
Join Date: Sep 2009
Location: Delft
Posts: 790
Rep Power: 21
Bernhard is on a distinguished road
I think you need to give the function a name, so
Code:
functions
{
    massFlowFunction
    {
        type ....
    }

}
nimasam likes this.
Bernhard is offline   Reply With Quote

Reply

Tags
simplefunctionobjects


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 13:06.