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

How to use the other cell in subroutine?

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   October 1, 2004, 23:11
Default How to use the other cell in subroutine?
  #1
Rich
Guest
 
Posts: n/a
As I know, within user subroutine (e.g. SORENT.f, SORCA.f...) we use the cell-based values, also the process of calculation is performed on the cell-based values. But I want to use the other cell value (Pressure, temperature, concentration...).

For example, in SORENT.f Current cell number is 1000 now, and I want to use the temperature or pressure values of cells within cell number from 5000 to 10000.

How to handle this problem?

Thanks for reading my question.
  Reply With Quote

Old   October 2, 2004, 05:44
Default Re: How to use the other cell in subroutine?
  #2
Richard
Guest
 
Posts: n/a
One way is to collect the values you want in a subroutine which has access to all the cells simultaneously (e.g. posdat) and put them in your own common block.

Another way is to contact cd and ask them for the common block which star itself uses to store these arrays, if there is one.
  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
cell velocity U and its cell face area Chinayu Siemens 0 May 6, 2006 22:44
Subroutine and cell number Celia Siemens 7 December 1, 2003 09:19
How to get index of a cell by user subroutine? windhair CFX 1 November 19, 2003 10:30
Cell-vertex and cell-centered finite volume method Praveen Main CFD Forum 4 September 8, 2003 23:58
May I use global coordinate of cell centers in subroutine Posdat H. Shen Siemens 4 March 29, 2000 09:20


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