Skip to main content Skip to navigation

Inflow BC

Seo Yoon

Re

  • Re_theta=300
  • Re at inlet=280, at exit=360.
  • Re at inlet=260, at exit=340.

Grid points

(NX,NY,NZ)=(64,64,64) or (128,64,64)

(L,H,W)=(80,30,40) theta

Dt=0.3 based on theta

Amp=0.5

NSTEP=10000

Transient takes about 400 Dts.

Restarting file

Grid

Cs_y=0.05
Y(0)=0.0
Y(1)=0.0

N2=NY+1

N2M=NY

ALY=HEIGHT


DO 4 J=2,N2
Y(J)=1.0-TANH(Cs_y*DBLE(N2-J))/TANH(Cs_y*DBLE(N2M))
4 Y(J)=Y(J)*ALY