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 Members List Search Today's Posts Mark Forums Read

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   October 20, 2013, 21:29
Default Field Function: Distance between Cell Centers
  #1
cwl
Senior Member
 
Chaotic Water
Join Date: Jul 2012
Location: Elgrin Fau
Posts: 435
Rep Power: 17
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

Thread Tools Search this Thread
Search this Thread:

Advanced Search
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 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 04:25
OpenFOAM static build on Cray XT5 asaijo OpenFOAM Installation 9 April 6, 2011 12:21
Cells with t below lower limit Purushothama Siemens 2 May 31, 2010 21:58
Version 15 on Mac OS X gschaider OpenFOAM Installation 113 December 2, 2009 10:23
[Commercial meshers] Trimmed cell and embedded refinement mesh conversion issues michele OpenFOAM Meshing & Mesh Conversion 2 July 15, 2005 04:15


All times are GMT -4. The time now is 00:47.