CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   OpenFOAM (https://www.cfd-online.com/Forums/openfoam/)
-   -   simpleFunctionObjects (https://www.cfd-online.com/Forums/openfoam/88620-simplefunctionobjects.html)

nimasam May 22, 2011 04:36

simpleFunctionObjects
 
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?

Bernhard May 23, 2011 01:52

I think you need to give the function a name, so
Code:

functions
{
    massFlowFunction
    {
        type ....
    }

}



All times are GMT -4. The time now is 17:27.