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

How to set all X variable to zero at all boundaries

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

Reply
 
LinkBack Thread Tools Display Modes
Old   June 1, 2006, 18:14
Default Dear all, I need to set som
  #1
Member
 
diablo80@web.de
Join Date: Mar 2009
Posts: 93
Rep Power: 8
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

Thread Tools
Display Modes

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 On
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 03:32
Pro-am boundaries Nalleli CD-adapco 1 July 13, 2005 01:08
boundaries Peter CD-adapco 3 June 17, 2004 16:14
variable inlet boundaries Bengham Main CFD Forum 0 February 5, 2002 11:10


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