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

Time-averaging of fields doubt

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   July 31, 2016, 13:07
Question Time-averaging of fields doubt
  #1
New Member
 
Max Vorstadt
Join Date: May 2016
Posts: 28
Rep Power: 10
jet_engine is on a distinguished road
Hi! I would like to ask a question regarding the time-averaging of the main fields of a simulation. Let's say I have a simulation running from time 0 to 1 seconds, but the results did not converge for enough time yet so I want to run it up to 1.5 seconds to prove the convergence.

My controlDict looks like this:

Code:
functions
{
meanValues
    {
        type            fieldAverage;
        functionObjectLibs ("libfieldFunctionObjects.so");
        enabled                 true;
        cleanRestart            false;
        outputControl           outputTime;
        resetOnOutput           false;
        resetOnRestart          false;
        fields
        (
            U
            {
                mean        on;
                prime2Mean  off;
                base        time;
            }
        )
    }
}
My two questions are:
  • How can I indicate that I want it to average from 0.7 (let's say here it begins to converge) and up to 1.5 seconds?
  • If I am already at time 1 seconds and I indicate that the average begins at 0.7, will it work or does it need to average from the moment the simulation is (re)started? I mean, in my case, does it need to start at t=1 if I'm at that point already or can I restart the simulation at t=1 but also starting the average taking into account previous values (from t=0.7)?

Thanks in advance!
jet_engine is offline   Reply With Quote

Reply

Tags
averaging, controldict, field average, mean flow field


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


Similar Threads
Thread Thread Starter Forum Replies Last Post
Elastic or Plastic Deformations in OpenFOAM NickolasPl OpenFOAM Pre-Processing 36 September 23, 2023 09:22
simpleFoam error - "Floating point exception" mbcx4jc2 OpenFOAM Running, Solving & CFD 12 August 4, 2015 03:20
[solidMechanics] solidMechanics gear contact in rotation nlc OpenFOAM CC Toolkits for Fluid-Structure Interaction 3 January 11, 2015 07:41
Micro Scale Pore, icoFoam gooya_kabir OpenFOAM Running, Solving & CFD 2 November 2, 2013 14:58
AMI interDyMFoam for mixer nu problem danny123 OpenFOAM Programming & Development 8 September 6, 2013 03:34


All times are GMT -4. The time now is 08:47.