CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Running, Solving & CFD

How to set all X variable to zero at all boundaries

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   June 1, 2006, 19:14
Default Dear all, I need to set som
  #1
Member
 
diablo80@web.de
Join Date: Mar 2009
Posts: 93
Rep Power: 17
sampaio is on a distinguished road
Dear all,

I need to set some surfaceScalarField, lets say, "X", to zero only at boundaries, but at all boundaries.

Can I use something like:

X.boundaryField() = 0.0 * X.boundaryField();

(I dont need to loop through patches, do I?)

I know this is a simple question, but I read somewhere else that sometimes you need == instead of =, and I need to make sure X is zero at all boundaries...

Thanks a lot,
luiz
sampaio is offline   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
RP_Set_Real("variable-name", variable name) bohis FLUENT 1 March 9, 2009 08:44
UDF and boundaries deneb FLUENT 1 October 24, 2008 04:32
Pro-am boundaries Nalleli Siemens 1 July 13, 2005 02:08
boundaries Peter Siemens 3 June 17, 2004 17:14
variable inlet boundaries Bengham Main CFD Forum 0 February 5, 2002 11:10


All times are GMT -4. The time now is 22:38.