|
[Sponsors] |
Field Function: Distance between Cell Centers |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
October 20, 2013, 22:29 |
Field Function: Distance between Cell Centers
|
#1 |
Senior Member
Chaotic Water
Join Date: Jul 2012
Location: Elgrin Fau
Posts: 437
Rep Power: 18 |
Hi Everyone
Does anybody have any ideas on how can distance between current (in Field Function) Cell and neighbour Cells be calculated? A kind of average maybe (in case of polyhedral mesh). Idea is that i have negative Heat Source (written currently as a equation on a paper) that sets Heat Source according to difference between current Cell's Temperature and next to that neighbour's in x-direction Temperature; so that would be Code:
grad($Temperature)[0] In fluent that was possible due to damned C-code loop; in Star-CCM+ ... ? |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
User field function for specific heat deifnition | crevoise | STAR-CCM+ | 2 | January 28, 2013 05:25 |
OpenFOAM static build on Cray XT5 | asaijo | OpenFOAM Installation | 9 | April 6, 2011 13:21 |
Cells with t below lower limit | Purushothama | Siemens | 2 | May 31, 2010 22:58 |
Version 15 on Mac OS X | gschaider | OpenFOAM Installation | 113 | December 2, 2009 11:23 |
[Commercial meshers] Trimmed cell and embedded refinement mesh conversion issues | michele | OpenFOAM Meshing & Mesh Conversion | 2 | July 15, 2005 05:15 |