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

[OpenFOAM] converting velocities from cell centers to corner

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   March 13, 2013, 14:54
Default converting velocities from cell centers to corner
  #1
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?

thank
torsy87 is offline   Reply With Quote

Old   April 14, 2013, 09:09
Default
  #2
Retired Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,981
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: https://github.com/wyldckat/reconstr...te-fields/wiki
    Study its code if you want to implement this feature into a custom solver you are making.
Best regards,
Bruno
__________________
wyldckat 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
[Other] refineWallLayer Error Yuby OpenFOAM Meshing & Mesh Conversion 2 November 11, 2021 12:04
[snappyHexMesh] Creating multiple multiple cell zones with snappyHexMesh - a newbie in deep water! divergence OpenFOAM Meshing & Mesh Conversion 0 January 23, 2019 05:17
Tabulated viscosity data, viscosity vs cell centers pedramtx OpenFOAM Programming & Development 10 August 29, 2017 07:12
Solver Run-Time Value Output fatirishman53 OpenFOAM Running, Solving & CFD 6 September 25, 2015 17:37
interpolating velocities to cell vertices orco Main CFD Forum 0 September 6, 2008 01:39


All times are GMT -4. The time now is 16:22.