0
how can we average our data over any time interval, after the simulation is finished?

i know i can time average data while running the case by using fieldAverage. but i want to get time averaged data from already run simulation (simulation is completed)?

so how can we do in OpenFoam, what function can do this.

thanks in advance


OpenFOAM 02-09-21, 5:06 p.m. mscoooldnb
0
Hi,

To use the fields from an already completed simulation, you'll need to use the postProcess utility in OpenFOAM. Unfortunately, fieldAverage cannot be used by the postProcess utility. You could try ParaView though. The 'Calculator' along with the 'Data over time' filters in ParaView should help you average your fields.

Regards,
Ashley
02-09-21, 9:10 p.m. ashleymelvin

my teacher says dont use paraview, do it itself in Openfoam, i am not able to find any command in Openfoam, i know how to do it in paraview. i just started openfoam not long ago, i dont know if there is any such function or not


02-09-21, 10:11 p.m. mscoooldnb

As I had mentioned earlier, the in-built fieldAverage function only can be used as a run-time function and not a post-processing one. So, for an already run simulation, even I'm not sure if there are any temporal avergaing post-processing functions available.

Regards,
Ashley


02-09-21, 10:29 p.m. ashleymelvin

thanks for reply, i will to convince my teacher. i dont thing there is any such command, i searched a lot. openfoam recommends paraview so why not to use it. finally i will get the same values.


02-09-21, 11:20 p.m. mscoooldnb

are you familiar with DFSEM velocity BC?, if you are can you give me idea about 'delta' and 'nCellPerEddy' 


02-09-21, 11:22 p.m. mscoooldnb

I haven't worked with the DFSEM velocity BC, but the condition is implemented in OpenFOAM based on the paper linked below. I hope it helps.

https://link.springer.com/article/10.1007/s10494-013-9488-2

Regards,
Ashley


03-09-21, 3:40 p.m. ashleymelvin

Login to add comment


0
thanks, i have read lots of paper about that, but its implementation in openfoam is not very clear
03-09-21, 3:52 p.m. mscoooldnb


0

Thank you for posting, I found a lot of interesting information here. A really good post, very thankful and helpful indigocard.

 

 

07-09-21, 1:08 p.m. conley59


Log-in to answer to this question.