CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > ANSYS > FLUENT

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

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   December 28, 2005, 07:03
Default How to set B.C. of the 2nd or 3rd type in UDS?
  #1
Ray Hong
Guest
 
Posts: n/a
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
  Reply With Quote

Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
compilation problem with "fvPatch::lookupPatchField" Ya_Squall2010 OpenFOAM Programming & Development 9 November 15, 2021 23:01
[Commercial meshers] Fluent3DMeshToFoam simvun OpenFOAM Meshing & Mesh Conversion 50 January 19, 2020 16:33
buoyantSimpleRadiationFoam msarkar OpenFOAM 0 February 15, 2010 07:22
Flow Around a Cylinder ronaldo OpenFOAM 5 September 18, 2009 09:13
Urgent! Help on UDF to set B.C. of 3rd type Ray Hong FLUENT 0 December 28, 2005 20:35


All times are GMT -4. The time now is 07:13.