CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Programming & Development

Use cell values instead of vertices

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   November 15, 2016, 11:38
Default Use cell values instead of vertices
  #1
Senior Member
 
Agustín Villa
Join Date: Apr 2013
Location: Alcorcón
Posts: 314
Rep Power: 15
agustinvo is on a distinguished road
Hello

a long time ago, in this thread, I updated an application to do a spatial averaging in one direction. The application provides you a surface with your averaged data, but it is using vertices values, instead of cell values. I have been checking the code, but I don't know how to modify it to use the cell value (as all the surfaces you sample provides).

Does anyone have an idea? The code is here

Thanks!
agustinvo is offline   Reply With Quote

Old   November 15, 2016, 16:54
Default
  #2
Senior Member
 
Mahdi Hosseinali
Join Date: Apr 2009
Location: NB, Canada
Posts: 273
Rep Power: 18
anishtain4 is on a distinguished road
this might help:
http://www.cfd-online.com/Forums/ope...tml#post546806
anishtain4 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
Node or Cell Values Diger FLUENT 4 October 8, 2019 12:22
pointer to make one cell point to another to share values and future changes will99 OpenFOAM Running, Solving & CFD 0 July 11, 2014 01:23
Assigning values for outlet boundary from its adjacent cell Ali.nabavi Fluent UDF and Scheme Programming 7 July 12, 2013 16:11
cell values in UDF gayatri FLUENT 2 February 27, 2007 19:18
high difference between cell and nodal values Trilok FLUENT 2 November 13, 2003 04:38


All times are GMT -4. The time now is 19:20.