CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > Siemens > STAR-CCM+

Field Function: Distance between Cell Centers

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   October 20, 2013, 22:29
Default Field Function: Distance between Cell Centers
  #1
cwl
Senior Member
 
Chaotic Water
Join Date: Jul 2012
Location: Elgrin Fau
Posts: 437
Rep Power: 18
cwl is on a distinguished road
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]
that should be multiplied by Δx.

In fluent that was possible due to damned C-code loop; in Star-CCM+ ... ?
cwl 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
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


All times are GMT -4. The time now is 12:59.