# Define scalar wall boundary by USRBCS?

 Register Blogs Members List Search Today's Posts Mark Forums Read

 November 26, 2003, 07:14 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.

 November 26, 2003, 08:31 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.

 November 26, 2003, 09:00 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?

 Thread Tools Display Modes Linear Mode

 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 OffTrackbacks are On Pingbacks are On Refbacks are On Forum Rules

 Similar Threads Thread Thread Starter Forum Replies Last Post gschaider OpenFOAM Installation on Windows, Mac and other Unsupported Platforms 129 June 19, 2010 09:23 ARC Open Source Meshers: Gmsh, Netgen, CGNS, ... 0 February 27, 2010 11:56 Karl Siemens 2 April 22, 2008 03:50 aiya Main CFD Forum 6 May 10, 2007 11:33 mayur FLUENT 3 August 9, 2006 10:19

All times are GMT -4. The time now is 19:05.