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

simpleFunctionObjects

Register Blogs Members List Search Today's Posts Mark Forums Read

Like Tree1Likes
  • 1 Post By Bernhard

Reply
 
LinkBack Thread Tools Display Modes
Old   May 22, 2011, 04:36
Default simpleFunctionObjects
  #1
Senior Member
 
Nima Sam
Join Date: Sep 2009
Location: Tehran, Iran
Posts: 1,123
Blog Entries: 1
Rep Power: 14
nimasam is on a distinguished road
Send a message via Yahoo to nimasam
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: 12
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

Thread Tools
Display Modes

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 On
Pingbacks are On
Refbacks are On



All times are GMT -4. The time now is 16:12.