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

functionObjects with different executeTime and writeTime

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   November 26, 2020, 06:08
Default functionObjects with different executeTime and writeTime
  #1
New Member
 
Marko Josic
Join Date: Dec 2010
Posts: 20
Rep Power: 15
emjay is on a distinguished road
Hello Community,

I am using an OpenFOAM 4.x version and I can't figure out, how to write the correct settings for a specific functionObject.

I am using the SRFSimpleFoam Solver, and yPlus should be written every 50th timeStep in postProcessing folder and also every 500th timeStep the yPlus field should be written.


OpenFOAM: User Guide: Function objects

Code:
functions
{
    #includeFunc  residuals

    yPlus
    {
     	type                    yPlus;
        libs                    ("libfieldFunctionObjects.so");
        log                     no;
        executeControl          timeStep;
        executeInterval         1;
        writeControl            timeStep;
        writeInterval           5;
    }
}
Thank you in advance!
emjay is offline   Reply With Quote

Reply

Tags
executecontrol, executeintervall, functionobject, writecontrol, writeintervall


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 07:50.