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

Transient Sliding Mesh - StarCD v3.26

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

Reply
 
LinkBack Thread Tools Display Modes
Old   February 9, 2009, 21:50
Default Transient Sliding Mesh - StarCD v3.26
  #1
Sameera
Guest
 
Posts: n/a
Does anyone know how to calculate the mass flow rate through a given surface, over some specified time interval? I know that the mass flux can be plotted for a single cell for some time period, but what I need is to get the mass flux over a specified surface over sometime period.

  Reply With Quote

Old   February 10, 2009, 09:05
Default Re: Transient Sliding Mesh - StarCD v3.26
  #2
ping
Guest
 
Posts: n/a
You could use a boundary monitor for this - assuming the surface is aligned with cell faces, then apply an Internal Boundary.
  Reply With Quote

Old   February 10, 2009, 09:55
Default Re: Transient Sliding Mesh - StarCD v3.26
  #3
Sameera
Guest
 
Posts: n/a
Ping, Thanks. But the boundary surface that I'm interested in is of Attach boundary type.
  Reply With Quote

Old   March 12, 2009, 19:54
Default Re: Transient Sliding Mesh - StarCD v3.26
  #4
KO
Guest
 
Posts: n/a
Try putting this into your posdat.f subroutine.

DO i = 1, NBMAXU

IRNB = IRN(IB)

if (irnb.eq."boundary region number of interest") then

ic=LX(i)/7

ip=ICLMAP(ic)

indx=MOD(LX(IB),7)

ibnd=LQ(indx,ip)

IDIR = NDIN(INDX)

IF ( IDIR.GT.0 ) THEN

IBS = IP

ISENS = 1

ELSE

IBS = IBND

IDIR =-IDIR

ISENS =-1

ENDIF

flux = flux+(F(IDIR,IBS)*ISENS) ! kg/s

ENDIF ENDDO

This will loop though all of the boundaries and calculate the mass flux in kg/s across any boundary number of interest.
  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
read mesh from starcd-ccm+ jack CD-adapco 1 August 12, 2008 07:40
A question about the StarCD mesh HSeldon CD-adapco 1 November 14, 2006 02:42
how to import gambit mesh to starcd kathir CD-adapco 2 June 27, 2006 04:16
Transient simulation and sliding mesh problems alige FLUENT 0 May 8, 2006 03:51
Mesh in stardesign to starcd! xhliu1 CD-adapco 2 July 6, 2005 23:06


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