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

Define scalar wall boundary by USRBCS?

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   November 26, 2003, 06:14
Default Define scalar wall boundary by USRBCS?
  #1
windhair
Guest
 
Posts: n/a
How can I define a user scalar boundary condition on the wall using USRBCS? I'm not totally understand the meaning of A, B and C. Can someone kindly do me a favour.

Thx.
  Reply With Quote

Old   November 26, 2003, 07:31
Default Re: Define scalar wall boundary by USRBCS?
  #2
Dougal McQueen
Guest
 
Posts: n/a
Hi, I'm just been through the same problem myself. In my opinion it is a rather wierd way of working. As you will see in the code the equation is formed: AT + BQ = C, so if you want the scalar quantity at the wall to equal X, set A=1, B=0, C=X. If you want the scalar flux equal to Y set A = 0, B = 1, C=Y. You get the idea. You need to specify the scalar poointer as thus: e.g. CALL GETVAR('USRBCS','SCAL ',IVSCAL) CALL GETSCA('SCALAR NAME',ITSCAL,CWORK) ISCAL = IVSCAL - 1 + ITSCAL then in a loop: VARBCS(ISCAL,IPHS,INODE) = #Value

I hope that this helps a little.
  Reply With Quote

Old   November 26, 2003, 08:00
Default Re: Define scalar wall boundary by USRBCS?
  #3
windhair
Guest
 
Posts: n/a
Thanks, I got it.

For my problem, it will look like

DO I = 1, NPT INODE = IPT(I) A(ISCAL, IPHASE, INODE) = 1.0 B(ISCAL, IPHASE, INODE) = 0.0 C(ISCAL, IPHASE, INODE) = 0.3 ENDDO

this will define a value scalar on boundary. Right?
  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
Installing OF 1.6 on Mac OS X gschaider OpenFOAM Installation 129 June 19, 2010 09:23
[Gmsh] Import problem ARC OpenFOAM Meshing & Mesh Conversion 0 February 27, 2010 10:56
define a non-adiabatic wall boundary condition Karl Siemens 2 April 22, 2008 03:50
Deal with wall boundary with moving mesh by FVM? aiya Main CFD Forum 6 May 10, 2007 11:33
UDF FOR UNSTEADY TIME STEP mayur FLUENT 3 August 9, 2006 10:19


All times are GMT -4. The time now is 15:51.