CFD Online Discussion Forums

CFD Online Discussion Forums (http://www.cfd-online.com/Forums/)
-   STAR-CD (http://www.cfd-online.com/Forums/star-cd/)
-   -   How to calculate liquid film mass in prostar? (http://www.cfd-online.com/Forums/star-cd/110114-how-calculate-liquid-film-mass-prostar.html)

skylent December 4, 2012 04:47

How to calculate liquid film mass in prostar?
 
Hi, everyone.
I wanna calculate the total liquid film mass on the cylinder wall(liner) boundary in IC engine by using pro-Star's postprocessing utility(data loaded from *.ccmt file).

The commands I used as follows:
----------------------------------------------------------------
bset,newset,region,11
! boundary region 11->stands for liner
cset,newset,bset
operate,getw,lfm_1,1
!put area average liquid film mass in register 1(kg/m^2)
operate,getw,area,2
!put (wall)area in register 2,the unit of area ( mm^2)
operate,multi,1,2,3
!put the product of register1*register2 to register 3
operate,smulti,1.0e-6,3,4
!put the product of 1.0e-6*register3 to register 4 (kg)
summarise,cset
----------------------------------------------------------------
but the last command cannot get the right results.
Can anyone help me?
thanks!

Pauli December 4, 2012 11:39

This may work better:

bset,newset,region,11
! boundary region 11->stands for liner
operate,getw,lfm_1,1
vset news bset
cset news vset all
cset subs shell
!put area average liquid film mass in register 1(kg/m^2)
operate,getw,area,2
!put (wall)area in register 2,the unit of area ( mm^2)
operate,multi,1,2,3
!put the product of register1*register2 to register 3
operate,smulti,1.0e-6,3,4
!put the product of 1.0e-6*register3 to register 4 (kg)
summarise,cset

skylent December 5, 2012 20:50

Thanks very much to pauli, it seems work very well.
I think you are a real expert in star-cd.


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