|
[Sponsors] |
July 6, 2018, 05:52 |
Gradient Of Unstructured DataSet
|
#1 |
New Member
G Ionut
Join Date: Sep 2016
Posts: 29
Rep Power: 9 |
Hi all,
I am simulating a test case of a steady state 3D Flat plate flow. I run the simulation for 500 iterations and for post-processing the results I use Paraview. I am calculating the pressure gradient in Code_saturne with with a built-in function, "field_gradient_scalar". The gradient computed by Code_Saturne uses a discretization consistent with that of the code (2-point finite volume with gradient reconstruction), and takes precribed boundary conditions into account. For the post-processing part, in Paraview I found a filter for calculating the gradient of a variable, "GradientOfUnstructuredDataSet", and I apply this filter to the pressure in order to calculate the pressure gradient. When I compare the pressure gradient calculated in Code_saturne with the pressure gradient calculated in Paraview I notice some differences. Does anybody know the reason for these differences? I didn't found the algorithm that Paraview uses for calculating the gradient with the "GradientOfUnstructuredDataSet" filter. I attached the figure with the differences that I am talking about. Thank you, Ionut |
|
June 25, 2019, 09:25 |
|
#2 |
New Member
Fahime Firoozpour
Join Date: Jan 2018
Posts: 10
Rep Power: 8 |
hi Stelian
Did you find out your answer? I have the same problem. thanks |
|
June 27, 2019, 10:07 |
|
#3 |
New Member
G Ionut
Join Date: Sep 2016
Posts: 29
Rep Power: 9 |
Hi Fahime
Since I didn't found the formula for how is calculated the gradient in ParaView, I have used the built-in function, from Code_Saturne, "field_gradient_scalar". Maybe this forum helps https://www.code-saturne.org/forum/v...php?f=2&t=2291 Best Regards, Ionut |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
"Gauss linear" gradient makes OpenFOAM zeroth-order accurate on unstructured meshes | alexandross | OpenFOAM Running, Solving & CFD | 32 | January 14, 2020 06:34 |
[General] [Code/Theory] Gradient/Gradient of Unstructured Dataset | JMuskat | ParaView | 0 | September 25, 2018 17:40 |
pisoFOAM (LES) - internal pipe flow - convergence | gu1 | OpenFOAM Running, Solving & CFD | 0 | January 11, 2018 16:39 |
question regarding LES of pipe flow - pimpleFoam | Dan1788 | OpenFOAM Running, Solving & CFD | 37 | December 26, 2017 14:42 |
Periodic flow using Cyclic - comparison with Fluent | nusivares | OpenFOAM Running, Solving & CFD | 30 | December 12, 2017 05:35 |