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

Question in correctBoundaryVelocity in MRFZoneC

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

Reply
 
LinkBack Thread Tools Display Modes
Old   April 13, 2008, 04:20
Default Hi Everyone when i look at th
  #1
Senior Member
 
wayne.zhang
Join Date: Mar 2009
Location: Shanghai, Shanghai, P.R.China
Posts: 307
Rep Power: 9
waynezw0618 is on a distinguished road
Send a message via MSN to waynezw0618 Send a message via Skype™ to waynezw0618
Hi Everyone
when i look at the MRFZone.C,i have some question about the member function
void Foam::MRFZone::correctBoundaryVelocity
.....
forAll(patchLabels_, i)
{
U.boundaryField()[patchLabels_[i]] ==
(Omega ^ (mesh_.Cf().boundaryField()[patchLabels_[i]] - origin));
}



could you please tell me, what is the "==" doing here?and what is the mean of that.
for example if a patch is inlet,which is fixedValue in velocity.what will this function do with the inlet ?and what should this function do with the inlet ? change the U to the Omega^R or add Omega^R to U?

i guess the function should add Omega^R to U,but here it will change to Omega^R.is that right?

thanks
wayne
waynezw0618 is offline   Reply With Quote

Old   April 14, 2008, 05:18
Default Hi in my calculation,it loo
  #2
Senior Member
 
wayne.zhang
Join Date: Mar 2009
Location: Shanghai, Shanghai, P.R.China
Posts: 307
Rep Power: 9
waynezw0618 is on a distinguished road
Send a message via MSN to waynezw0618 Send a message via Skype™ to waynezw0618
Hi

in my calculation,it looks like that this function modify the U.boudaryfiedl()[patchLabels[i]] to the (Omega ^ (mesh_.Cf().boundaryField()[patchLabels_[i]] - origin)) at all patch.so take point at inlet for example,if the velocity inlet is fixed valued as [1 0 0]m/s,and rotation speed at that point is [0 0 1]m/s after the function the speed at the point will be [0 0 1]m/s.but what I think it should be [1 0 1]m/s for the
U_absolute = C_relative +W_rotation
could anybody help?

wayne
waynezw0618 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
C question kar OpenFOAM Running, Solving & CFD 26 May 20, 2008 06:05
Question concerning VOF Flora FLUENT 2 July 9, 2007 09:50
question about LES gino briganti FLUENT 3 June 27, 2005 06:05
A question zhhuang CD-adapco 0 April 29, 2003 01:44
Another UDF question Christian FLUENT 7 July 23, 2002 04:19


All times are GMT -4. The time now is 23:49.