CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > OpenFOAM Paraview & paraFoam

converting velocities from cell centers to corner

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

Reply
 
LinkBack Thread Tools 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, 08:09
Default
  #2
Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 8,301
Blog Entries: 34
Rep Power: 84
wyldckat is just really nicewyldckat is just really nicewyldckat is just really nicewyldckat is just really nice
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

Thread Tools
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 On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
FvMatrix coefficients shrina OpenFOAM Running, Solving & CFD 10 October 3, 2013 14:38
snappyHexMesh: cell lower corner instead of cell centre andrea.pasquali OpenFOAM Programming & Development 4 February 11, 2013 07:22
Cells with t below lower limit Purushothama CD-adapco 2 May 31, 2010 21:58
Trimmed cell and embedded refinement mesh conversion issues michele OpenFOAM Other Meshers: ICEM, Star, Ansys, Pointwise, GridPro, Ansa, ... 2 July 15, 2005 04:15
Warning 097- AB CD-adapco 6 November 15, 2004 05:41


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