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/)
-   -   Integration in time with OpenFOAM utilities (https://www.cfd-online.com/Forums/openfoam-post-processing/206181-integration-time-openfoam-utilities.html)

ilhado August 31, 2018 09:23

Integration in time with OpenFOAM utilities
 
Hello everyone,

I am solving flows in human arteries where the flow is non-stationary and I solved it using the pisoFoam solver. To calculate one variable related to the hemodynamics, the so-called oscillatory shear index (osi), I need to calculate the integral in time of the wall shear stress values in each cell of the wall domain (i.e. after it I will have only one field of osi).

I am able to do it using other tools for post processing, however I would like to do it specifically using OpenFOAM classes, if already exists utilities for that.

So I would like to know if there is any form of performing time integration of OpenFOAM results without having to start directly with C++ to implement it.

Thanks in advance!
Regards,
iago

Jeneas September 6, 2018 10:19

I have never use that but it seem to be with the "TemporalStatistics" tool

Dave110 September 10, 2018 05:00

Hi Iago Lessa,

You can try this.

First calculate wallShearStress using OpenFOAM PostPrecess utility.

Then Open the case in ParaView and Use Filter "Temporal Statistics". It will give you options for calculating min, max, average and standard deviation.

If your delta t is fixed or constant then you can use averaging in time.

May it will help you.

ilhado September 11, 2018 20:04

Quote:

Originally Posted by Dave110 (Post 705877)
Hi Iago Lessa,

You can try this.

First calculate wallShearStress using OpenFOAM PostPrecess utility.

Then Open the case in ParaView and Use Filter "Temporal Statistics". It will give you options for calculating min, max, average and standard deviation.

If your delta t is fixed or constant then you can use averaging in time.

May it will help you.

Hello Sagar and Jeneas,

Thanks very much for the answer, I haven't realized that ParaView had these filters. Temporal Statistics did the trick! :)

Best Regards,
Iago

dewey May 23, 2019 14:20

Quote:

Originally Posted by ilhado (Post 706118)
Hello Sagar and Jeneas,

Thanks very much for the answer, I haven't realized that ParaView had these filters. Temporal Statistics did the trick! :)

Best Regards,
Iago


I can see that you find the way to calculate the OSI and show in Paraview,

Could you help me?


I've tried but with out success.


I will really apreciate if you help me.


All times are GMT -4. The time now is 05:45.