# May I use global coordinate of cell centers in subroutine Posdat

 User Name Remember Me Password
 Register Blogs Members List Search Today's Posts Mark Forums Read

 March 27, 2000, 16:47 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

 March 28, 2000, 05:36 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)

 March 28, 2000, 09:01 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?

 March 28, 2000, 11:52 Thanks #4 H. Shen Guest   Posts: n/a Dear Mr. Luo: I have got the point. Thanks Shen

 March 29, 2000, 09:20 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.

 Thread Tools Display Modes Linear Mode

 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 OffTrackbacks are On Pingbacks are On Refbacks are On Forum Rules

 Similar Threads Thread Thread Starter Forum Replies Last Post hirokata Siemens 6 September 22, 2008 14:34 tipakorn Siemens 1 July 26, 2006 05:32 Henry Huang Siemens 0 March 10, 2006 00:21 wy Siemens 1 August 9, 2002 02:53 Roberto Ciardulli Siemens 2 December 15, 2000 06:58

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

 Contact Us - CFD Online - Privacy Statement - Top