CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > CD-adapco

POSDAT boundary problem

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

Reply
 
LinkBack Thread Tools Display Modes
Old   May 14, 2008, 14:41
Default POSDAT boundary problem
  #1
Duarte Albuquerque
Guest
 
Posts: n/a
I am trying to access pressure and position of a boundary region using posdat.f I identify mine region with the following code.

do 220 ib=1,NBP23

irnb=IRN(ib)

if(irnb.eq.27) then

ENDIF 220 continue

what I need to access pressure and position of the boundary? Can someone help me?
  Reply With Quote

Old   May 14, 2008, 14:42
Default Re: POSDAT boundary problem
  #2
Duarte Albuquerque
Guest
 
Posts: n/a
Star3.26 by the way
  Reply With Quote

Old   May 15, 2008, 15:26
Default Re: POSDAT boundary problem
  #3
Goulash
Guest
 
Posts: n/a
stop using CONTINUE from fortran60, use do/enddo and indent your code. this is rubish
  Reply With Quote

Old   May 19, 2008, 04:34
Default Re: POSDAT boundary problem
  #4
A
Guest
 
Posts: n/a
I think you can access pressure simply by the variable P(ib).

For accessing the centroid of a boundary in postdat you need to add the following pointer to your coding:

POINTER (P_CX,CX(3,-NBMAX:NCTMAX))

COMMON /DC021/ P_CX

CX(I,IB) returns you the coordinates of the cell center were 'I' can take the Values 1,2,3 for X,Y or Z coordinate.

Regards

andreas
  Reply With Quote

Old   July 25, 2008, 16:00
Default Re: POSDAT boundary problem
  #5
ze
Guest
 
Posts: n/a
Hi all

It appears to not work properly.

The boundaries in the CX(I,IB) array are not in the IB position.

Can someone clarify this please?

thanks

jmcp
  Reply With Quote

Old   September 16, 2008, 02:29
Default Re: POSDAT boundary problem *NM*
  #6
tobias roessler
Guest
 
Posts: n/a
  Reply With Quote

Old   October 1, 2008, 10:41
Default Aircraft design
  #7
habtamu G/mariam
Guest
 
Posts: n/a
I need to know simple aircraft design rules for homebuilet aircrafts.
  Reply With Quote

Reply

Thread Tools
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 On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Boundary cell looping in posdat.f [v4.06] hirokata CD-adapco 6 September 22, 2008 14:34
CFL in posdat hamodi CD-adapco 2 August 6, 2007 02:27
Wierd...POSDAT boundary problem...please help StarCD CD-adapco 2 June 30, 2004 19:19
How can I know a cell is boundary in the posdat.f wy CD-adapco 1 August 9, 2002 02:53
posdat in HPC Won-Geun Lee CD-adapco 0 May 23, 2001 20:03


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