|
[Sponsors] |
December 28, 2005, 20:35 |
Urgent! Help on UDF to set B.C. of 3rd type
|
#1 |
Guest
Posts: n/a
|
Dear friends,
While programming using source code, it is very easy to send B.C. of any type, for example: C (1) B.C. of the first type DO 100 J=NJ1+1,NJ FIM(1,J) = 0.0 100 CONTINUE C (2) B.C. of the second type DO 200 J=1,NJ1 FIM(1,J) = FIM(2,J) 200 CONTINUE C (3) 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 |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Instable natural convection case | Peter88 | OpenFOAM | 5 | August 18, 2011 02:23 |
Need help with boundary conditions: open to atmosphere | Wolle | OpenFOAM | 2 | April 11, 2011 08:32 |
[Other] StarToFoam error | Kart | OpenFOAM Meshing & Mesh Conversion | 1 | February 4, 2010 05:38 |
Problems with Turbulence Modeling | ezsoal | OpenFOAM Running, Solving & CFD | 4 | November 26, 2009 16:12 |
Urgent! Help on UDF to set inlet velocity | Ray Hong | FLUENT | 4 | December 30, 2005 13:32 |