CFD Online Discussion Forums

CFD Online Discussion Forums (http://www.cfd-online.com/Forums/)
-   FLUENT (http://www.cfd-online.com/Forums/fluent/)
-   -   How to set B.C. of the 2nd or 3rd type in UDS? (http://www.cfd-online.com/Forums/fluent/39069-how-set-b-c-2nd-3rd-type-uds.html)

Ray Hong December 28, 2005 07:03

How to set B.C. of the 2nd or 3rd type in UDS?
 
Dear friends,

While programming using source code, it is very easy to send B.C. of any type:

C B.C. of the first type

DO 100 J=NJ1+1,NJ

FIM(1,J) = 0.0 100 CONTINUE

C B.C. of the second type

DO 200 J=1,NJ1

FIM(1,J) = FIM(2,J) 200 CONTINUE

C B.C. of the third type

DO 300 I=2,NI

FIM(I,1) = FIM(I,2) + DHM0 * VYCV(1) * COS(PI * X(I) / DLMAG) 300 CONTINUE

When solving the UDS, how to set the B.C. of the second and third types?

Thank you very much in advance.

Ray


All times are GMT -4. The time now is 23:52.