CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Visualization & Post-Processing Software > ParaView

[General] Gradient Of Unstructured DataSet

Register Blogs Community New Posts Updated Threads Search

Like Tree1Likes
  • 1 Post By Ionut G

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   July 6, 2018, 05:52
Question Gradient Of Unstructured DataSet
  #1
New Member
 
G Ionut
Join Date: Sep 2016
Posts: 29
Rep Power: 9
Ionut G is on a distinguished road
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
Attached Images
File Type: png image001.png (36.6 KB, 30 views)
Fahime likes this.
Ionut G is offline   Reply With Quote

Old   June 25, 2019, 09:25
Default
  #2
New Member
 
Fahime Firoozpour
Join Date: Jan 2018
Posts: 10
Rep Power: 8
Fahime is on a distinguished road
hi Stelian
Did you find out your answer? I have the same problem.

thanks
Fahime is offline   Reply With Quote

Old   June 27, 2019, 10:07
Default
  #3
New Member
 
G Ionut
Join Date: Sep 2016
Posts: 29
Rep Power: 9
Ionut G is on a distinguished road
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
Ionut G is offline   Reply With Quote

Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are On


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


All times are GMT -4. The time now is 17:42.