Search code examples
paraviewopenfoam

How to get nodal values in OpenFOAM?


I would appreciate knowing how I can convert the cell values given after the OpenFOAM solution into the ones on the grid points. Is there any direct command for such a thing or I should work with the sampling option?

Thanks a lot for your help.


Solution

  • When you open your case using Paraview/paraFoam, then the interpolated fields at the points (nodes) are already computed by Paraview:

    enter image description here

    Fields with an orange small circle are the point data, while the fields that have an orange cube icon are the data at the cell centers, i.e:

    types of fields

    You can also see the values of the fields (points or cell) using the Spreadsheet view and export them as CSV:

    enter image description here