CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Post-Processing

How to display thermal gradients in Paraview

Register Blogs Community New Posts Updated Threads Search

 
 
LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
Old   June 20, 2019, 04:00
Default How to display thermal gradients in Paraview
  #1
Member
 
Adam
Join Date: Nov 2018
Posts: 36
Rep Power: 7
Adam_K is on a distinguished road
I am using the chtMultiRegionFoam solver to look at transient conduction through multi-phase systems. The simulations are running correctly and I am able to visualize the temperature maps using Paraview, however I would like to be able to see the thermal gradients as well.

When I apply the Gradient of Unstrcutred DataSet filter in Paraview I get the following error:
Code:
ERROR: In C:\bbd\ecd3383f\build\superbuild\paraview\src\VTK\Filters\General\vtkGradientFilter.cxx, line 318
vtkGradientFilter (00000205FBC4A420): No input array. If this dataset is part of a composite dataset check to make sure that all non-empty blocks have this array.

ERROR: In C:\bbd\ecd3383f\build\superbuild\paraview\src\VTK\Common\ExecutionModel\vtkExecutive.cxx, line 782
vtkPVCompositeDataPipeline (00000205F4C65220): Algorithm vtkGradientFilter(00000205FBC4A420) returned failure for request: vtkInformation (0000020592472820)
  Debug: Off
  Modified Time: 19414550
  Reference Count: 1
  Registered Events: (none)
  Request: REQUEST_DATA
  FROM_OUTPUT_PORT: 0
  FORWARD_DIRECTION: 0
  ALGORITHM_AFTER_FORWARD: 1
In the T file, I can see the following lines, so it looks like a gradient has been calculated (although I don't see a direction associated to these magnitudes).:
Code:
        refGradient     uniform 0;
        valueFraction   nonuniform List<scalar> 
1520
(
0.0033887263
0.0033894414
Can anyone point me in the right direction? I have seen some cases where people need to modify the solvers itself in order to export certain fields but for something as simple as dT/dx, dT/dy and their magnitude it seems like there should be an easier way.
Adam_K is offline   Reply With Quote

 


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
decomposePar -cellDist: Display cellDecomposition in ParaView Sean95 OpenFOAM Post-Processing 5 November 6, 2021 00:31
[OpenFOAM] Paraview display problem jiejie ParaView 4 October 13, 2013 21:29
[OpenFOAM] Display lift and Drag in paraview SamerAli ParaView 1 May 16, 2013 12:51
paraview installation woes vex OpenFOAM Installation 15 January 30, 2011 07:11
Info: Short Course On Thermal Design of Electronic Equipment Arnold Free Main CFD Forum 0 August 10, 1999 10:18


All times are GMT -4. The time now is 05:43.