I have a case in which I know the velocity at the inlet and the total surface of the inlet, and I want to set the outlet so the flow leaving the domain is the same as the flow entering it. What do you think is the best way to program it in usclim ?
For now what I did is :
Code: Select all
CALL GETFBR('Sortie',NLELT,LSTELT)
C ===========
DO ILELT = 1, NLELT
C
IFAC = LSTELT(ILELT)
C
DO IPHAS = 1, NPHAS
ITYPFB(IFAC,IPHAS) = ISOLIB
ICODCL(IFAC,IU(IPHAS))=1
! Dirichlet condition for the velocity u
RCODCL(IFAC,IU(IPHAS),1) = -2.33D0
! This is the Dirichlet value
ICODCL(IFAC,IV(IPHAS))=1
! Dirichlet condition for the velocity v
RCODCL(IFAC,IV(IPHAS),1) = 0.D0
! This is the Dirichlet value
ICODCL(IFAC,IW(IPHAS))=1
! Dirichlet condition for the velocity w
RCODCL(IFAC,IW(IPHAS),1) = 0.D0
! This is the Dirichlet value
ENDDO
C
ENDDO
Thanks in advance for your help,
Alicia