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

May I use global coordinate of cell centers in subroutine Posdat

Register Blogs Members List Search Today's Posts Mark Forums Read

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   March 27, 2000, 17:47
Default May I use global coordinate of cell centers in subroutine Posdat
  #1
H. Shen
Guest
 
Posts: n/a
Question:

When I tried to make a user subroutine "Postdat", I need to know the global coordinates of cell centers. However, I checked all the data avialable in Postdat file and did not find these data. I don't know if there is no these data in this User Subroutine or I have to use some other method to obtaine these coordinates. If some one has ideas about this, please let me know. Thanks H. Shen
  Reply With Quote

Old   March 28, 2000, 06:36
Default Re: May I use global coordinate of cell centers in subroutine Posdat
  #2
J. Y. Luo
Guest
 
Posts: n/a
Dear Shen,

Posdat is an extremely powerful routine which can be used for almost any purpose. STAR is designed such a way that you can access almost any data. The best way to achieve it is by using the common block such that

C*****************************

SUBROUTINE POSDAT(KEY,...)

C*********************************

INCLUDE '../parm.inc'

COMMON/DCO21/ CX(3,-NBMAX:NCTMAX)

COMMON /C1C001/ ICLMAP(4)

where CX is the global coordinates of cell center. For example, I want to visit all coordinate:

do ip=1,ncell (ncell - total no. of fluid cells)

x=cx(1,ip)

y=cx(2,ip)

z=cx(3,ip)

enddo

For any star cell no., you can also get its PROSTAR cell no.

IPprostar=ICLMAP(IPstar)
  Reply With Quote

Old   March 28, 2000, 10:01
Default Re: May I use global coordinate of cell centers in subroutine Posdat
  #3
Steve Amphlett
Guest
 
Posts: n/a
Obviously, with access to all STAR's named commons you can do just about anything you like. However, I can find no documentation that describes the named common blocks: DCO21 and C1C001, so I can't afford to risk using them.

Is there a manual reference for this information?

  Reply With Quote

Old   March 28, 2000, 12:52
Default Thanks
  #4
H. Shen
Guest
 
Posts: n/a
Dear Mr. Luo: I have got the point. Thanks Shen
  Reply With Quote

Old   March 29, 2000, 10:20
Default Re: May I use global coordinate of cell centers in subroutine Posdat
  #5
J. Y. Luo
Guest
 
Posts: n/a
Hi, Steve,

All common blocks can be found in $STARDIR/solve/starin.f. It's not quite possible to describe all variables. But if you need some specific information, please let me know.

  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
Boundary cell looping in posdat.f [v4.06] hirokata Siemens 6 September 22, 2008 15:34
parameter in POSDAT subroutine tipakorn Siemens 1 July 26, 2006 06:32
How to get vertex pressure in posdat.f subroutine? Henry Huang Siemens 0 March 10, 2006 00:21
How can I know a cell is boundary in the posdat.f wy Siemens 1 August 9, 2002 03:53
global coordinate sys Roberto Ciardulli Siemens 2 December 15, 2000 06:58


All times are GMT -4. The time now is 04:17.