|
[Sponsors] |
February 9, 2009, 21:50 |
Transient Sliding Mesh - StarCD v3.26
|
#1 |
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.
|
|
February 10, 2009, 09:05 |
Re: Transient Sliding Mesh - StarCD v3.26
|
#2 |
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.
|
|
February 10, 2009, 09:55 |
Re: Transient Sliding Mesh - StarCD v3.26
|
#3 |
Guest
Posts: n/a
|
Ping, Thanks. But the boundary surface that I'm interested in is of Attach boundary type.
|
|
March 12, 2009, 19:54 |
Re: Transient Sliding Mesh - StarCD v3.26
|
#4 |
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. |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
read mesh from starcd-ccm+ | jack | Siemens | 1 | August 12, 2008 08:40 |
A question about the StarCD mesh | HSeldon | Siemens | 1 | November 14, 2006 02:42 |
how to import gambit mesh to starcd | kathir | Siemens | 2 | June 27, 2006 05:16 |
Transient simulation and sliding mesh problems | alige | FLUENT | 0 | May 8, 2006 04:51 |
Mesh in stardesign to starcd! | xhliu1 | Siemens | 2 | July 7, 2005 00:06 |