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

Formulating Field function with cell index

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   March 16, 2012, 05:06
Default Formulating Field function with cell index
  #1
New Member
 
Raminel
Join Date: Mar 2012
Posts: 5
Rep Power: 14
raminel is on a distinguished road
Dear all,

I am trying to formulate a source term for the 2-D transport equation, which is a function of the passive scalar value in the cell and the cell above it. Is there a way to address the cells by the index?

e.g. ${Passive Scalar}(i)*div($$Velocity(i)*$Volume(i)-${Passive Scalar}(i+1)*div($$Velocity(i+1)*$Volume(i+1)



Thank you very much in advance!
raminel 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
Field function lcg44 STAR-CCM+ 1 November 29, 2011 23:13
[swak4Foam] get the value of a field in the neighbour cell of a patch face miles_davis OpenFOAM Community Contributions 7 October 5, 2011 11:57
OpenFOAM static build on Cray XT5 asaijo OpenFOAM Installation 9 April 6, 2011 12:21
latest OpenFOAM-1.6.x from git failed to compile phsieh2005 OpenFOAM Bugs 25 February 9, 2010 04:37
Scalar-Difference Field Function f09 STAR-CCM+ 0 August 24, 2009 05:11


All times are GMT -4. The time now is 10:29.