Post processing tools
Moderator: oliveroxtoby
Forum rules
and Helpful information for the FEM forum
and Helpful information for the FEM forum
Post processing tools
Hello,
Is there any macros or patches to calculate for example the mass flow rate ?
How do you proceed ?
Sorry but i have very few experience with openfoam
Best regards
Is there any macros or patches to calculate for example the mass flow rate ?
How do you proceed ?
Sorry but i have very few experience with openfoam
Best regards
-
- Veteran
- Posts: 3156
- Joined: Sat May 20, 2017 12:06 pm
- Location: Germany
Re: Post processing tools
In paraview, use filters "slice" and "integrate variables".
In this case, Ux represents the volume-flow at the slice.
Multiplied by the fluid density you get the mass-flow through the slice.
But if you have an incompressible fluid, the mass flow at every slice at the channel
must be the same, so you can calculate the mass flow from your inlet parameters.
In this case, Ux represents the volume-flow at the slice.
Multiplied by the fluid density you get the mass-flow through the slice.
But if you have an incompressible fluid, the mass flow at every slice at the channel
must be the same, so you can calculate the mass flow from your inlet parameters.
Re: Post processing tools
Thank you thschrader,
Ok I have test it, is a simple and good solution for incompressible flow.
I try to compute a compressible flow case but I have some error.
Is the volumic mass data available in Paraview for compressible mass flows calculation?
Best regards
Julien
Ok I have test it, is a simple and good solution for incompressible flow.
I try to compute a compressible flow case but I have some error.
Is the volumic mass data available in Paraview for compressible mass flows calculation?
Best regards
Julien
-
- Veteran
- Posts: 3156
- Joined: Sat May 20, 2017 12:06 pm
- Location: Germany
Re: Post processing tools
I have the following error
My case is joined
Best regards
Julien
My case is joined
Best regards
Julien
- Attachments
-
- test9.FCStd
- compressible case
- (27.82 KiB) Downloaded 50 times
-
- Veteran
- Posts: 3156
- Joined: Sat May 20, 2017 12:06 pm
- Location: Germany
Re: Post processing tools
You are using the His solver for pipe flow with 0,5 m/s inlet speed.
Hisa was developed for external high speed aerodynamics.
http://hisa.gitlab.io/
However, at inlet/outlet use the far-field boundary. Here are some examples: https://forum.freecadweb.org/viewtopic. ... 1&start=10
Bedtime...
Re: Post processing tools
Hello
Do you know how to plot the drag and lift forces on function of time with paraview?
I do the same steps extract surface, generate normals, calculate pressure x normal x Rho.
If i try integrate variable and plot other time i have nothing in my graph.
Best regards
Do you know how to plot the drag and lift forces on function of time with paraview?
I do the same steps extract surface, generate normals, calculate pressure x normal x Rho.
If i try integrate variable and plot other time i have nothing in my graph.
Best regards
-
- Veteran
- Posts: 3156
- Joined: Sat May 20, 2017 12:06 pm
- Location: Germany
Re: Post processing tools
Not from scratch. I will have a look at it.julieng wrote: ↑Fri Dec 21, 2018 5:26 am Hello
Do you know how to plot the drag and lift forces on function of time with paraview?
I do the same steps extract surface, generate normals, calculate pressure x normal x Rho.
If i try integrate variable and plot other time i have nothing in my graph.
Best regards
When generating surface normals, dont forget to enable "compute cell normals".
After integrating the variables, switch from point data to cell data in List.
Thomas
Re: Post processing tools
Hello thschrader,
I have done "compute cell normals" and also choose cell data in the integration list.
Best regards
I have done "compute cell normals" and also choose cell data in the integration list.
Best regards