CFD Online Logo CFD Online URL
Home > Forums > Visualization & Post-Processing Software > ParaView

[OpenFOAM] converting velocities from cell centers to corner

Register Blogs Members List Search Today's Posts Mark Forums Read

LinkBack Thread Tools Search this Thread Display Modes
Old   March 13, 2013, 13:54
Default converting velocities from cell centers to corner
New Member
Mauro Torsello
Join Date: Mar 2013
Posts: 1
Rep Power: 0
torsy87 is on a distinguished road
Hello All,
I am trying to convert velocities from cell centers to corners.
OpenFOAM saves information of velocities in cell centers but
paraView displays velocities on the corners. How can I do that?
In few words, how can I obtain the numerical values of the velocities
displayed with paraView (in the corners), while velocities files
save the values in the cell centers?

torsy87 is offline   Reply With Quote

Old   April 14, 2013, 08:09
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,975
Blog Entries: 45
Rep Power: 128
wyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to all
Greetings Mauro and welcome to the forum!

Sorry for the late reply, but I was hoping that someone else would have answered you sooner, while I was busy for these past weeks.

As for your question, I can't figure out what exactly you want to do with the values afterwards. Because I think there are two possible answers to your question:
  • If you want the values from ParaView on the vertexes, you can simply export the values to CSV: File -> Save Data
  • If you want to calculate in OpenFOAM the values of U on the corners of the cells, then I think what you are looking for is the following utility:
    Study its code if you want to implement this feature into a custom solver you are making.
Best regards,
wyldckat is offline   Reply With Quote


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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
[Other] refineWallLayer Error Yuby OpenFOAM Meshing & Mesh Conversion 2 November 11, 2021 11:04
[snappyHexMesh] Creating multiple multiple cell zones with snappyHexMesh - a newbie in deep water! divergence OpenFOAM Meshing & Mesh Conversion 0 January 23, 2019 04:17
Tabulated viscosity data, viscosity vs cell centers pedramtx OpenFOAM Programming & Development 10 August 29, 2017 06:12
Solver Run-Time Value Output fatirishman53 OpenFOAM Running, Solving & CFD 6 September 25, 2015 16:37
interpolating velocities to cell vertices orco Main CFD Forum 0 September 6, 2008 00:39

All times are GMT -4. The time now is 04:00.