cfx-tascflow transient boundary conditions
Hello, I'am trying to impose a transient total mass flow at the inlet. I modified the bcdtrn.f, and i wonder where to specify the proper label in tascflow in order to read the total mass flow value.
Thanks for your help. Donatien. This is a part of my bcdtrn.f VAL = 0.0 KEY = 999 n=99 T=0.75 pi=4.*atan(1.) IF (LABEL.EQ.'TOTAL_MASS_FLOW') THEN C-------- Total mass flow though ALL faces assigned a transient mass b.c C VAL = ((2 * STIME * STIME) + (0.25 * STIME)) VAL=ao*0.5 DO i=1,n f=2.*pi*float(i)/T VAL=VAL+a(i)*cos(f*STIME)+b(i)*sin(f*STIME) ENDDO ENDIF C RETURN END |
All times are GMT -4. The time now is 02:27. |