CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   OpenFOAM Post-Processing (https://www.cfd-online.com/Forums/openfoam-post-processing/)
-   -   How to annotate functionObjects in ParaView? (https://www.cfd-online.com/Forums/openfoam-post-processing/230145-how-annotate-functionobjects-paraview.html)

zommuter September 10, 2020 08:21

How to annotate functionObjects in ParaView?
 
Greetings!


I've put


Code:

functions
{
    forces_impeller
    {
        type    forces;
        libs    ("libforces.so");
        writeControl  writeTime;
        writeFiels      no;



        patches (impeller);
   
        rho    rhoInf;
        rhoInf  1e3;
   
        CofR (0 0 0);
    }
}

into my controllDict to obtain a uniform/functionObjects/functionObjectProperties file for each time step containing the force. But I cannot find any option in ParaView to actually use those uniform values for an annotation or plot over time. I'm also out of ideas which Python Annotation Expressions to try, since that seems to expect an array as input instead of using a uniform value.


Can anyone help me?


Best regards
Tobias

zommuter September 10, 2020 08:44

My apologies, I missed the post about asking ParaView questions in its forum and there doesn't seem to be an option to move or delete this thread, so here's a copy: https://www.cfd-online.com/Forums/pa...tml#post782475. Sorry about the mess :(


All times are GMT -4. The time now is 20:37.