|
[Sponsors] |
[OpenFOAM] Plot "integrated variables" along a line |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
September 14, 2019, 08:11 |
Plot "integrated variables" along a line
|
#1 |
New Member
Join Date: Sep 2019
Posts: 2
Rep Power: 0 |
Hello everybody,
My overall goal is to plot the mass flow averaged total pressure along the direction of flow so i can calculate k loss factors for ducts. I think that is what has been done in this paper https://www.researchgate.net/publica...rios_using_CFD and i want to replicate it. This is an image from the paper summarizing what i'm trying to do > totalpressurevsdistance.PNG I think I can get the mass flow averaged total pressure for a slice of my domain (perpendicular to the direction of flow) by doing something like this > https://public.kitware.com/pipermail...st/037661.html. But i want to see how the mass flow averaged total pressure varies as i move along the direction of flow, not just at one slice. I was imagining some way of plotting the 'integrated slices' along a line. I guess i could manually create loads of slices and integrate the total pressure on each slice and then plot the data points. But this isn't ideal. Does anyone know how i could do this? Thanks Olly Last edited by olly; September 14, 2019 at 11:13. |
|
September 21, 2019, 14:14 |
|
#2 |
Member
Damian Berghof
Join Date: May 2019
Posts: 41
Rep Power: 11 |
Hi olly,
I think, this could be done by using the "Programmable Filter". I could check it, if you provide some sample data. Best, Damian
__________________
Get more support about Meshing with Salome and Visualization with ParaView in my growing groups https://bit.ly/2lFfDkQ https://bit.ly/2k2u8Pj |
|
October 18, 2019, 14:05 |
|
#3 |
New Member
Join Date: Sep 2019
Posts: 2
Rep Power: 0 |
Hi Damian,
Ah, that does sound like it might do the job. I've never used it before though. I'm quite new to this, what would be the best way for me to upload the sample data? Thanks Olly |
|
Tags |
integrate variables, mass flow average, plot over line, pressure loss coefficient, slice |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
problem during mpi in server: expected Scalar, found on line 0 the word 'nan' | muth | OpenFOAM Running, Solving & CFD | 3 | August 27, 2018 05:18 |
[Gmsh] No cells read from file ".msh" | hwsv07 | OpenFOAM Meshing & Mesh Conversion | 5 | August 13, 2018 16:42 |
[OpenFOAM] Take derivative of mean velocity in paraFoam | hiuluom | ParaView | 13 | April 26, 2016 07:44 |
[blockMesh] BlockMeshmergePatchPairs polyTopoChanger | benru | OpenFOAM Meshing & Mesh Conversion | 3 | June 29, 2008 22:24 |
Problems of Duns Codes! | Martin J | Main CFD Forum | 8 | August 15, 2003 00:19 |