Access UMean at runtime
Good day to all. Is it possible to access UMean at runtime? I need it to perform compute the u'? Or can I just access u' at runtime? Thanks.
in absence of better idea, I did it on the following way: I calculate UMean in the solver on the same way as it would be calculated by the averaging function written in controlDict (check fieldAverageTemplates.C)
alpha = ( time-startStatistics - dt ) / ( time-startStatistics );
beta = dt / ( time-startStatistics);
UM = alpha*UM + beta*U;
If you know how to access UMean directly, please let me know.
Thank you Dejan, I will certainly take a look at the code.
|All times are GMT -4. The time now is 21:20.|