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

Question in correctBoundaryVelocity in MRFZoneC

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

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   April 13, 2008, 05: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: 309
Rep Power: 18
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, 06:18
Default Hi in my calculation,it loo
  #2
Senior Member
 
wayne.zhang
Join Date: Mar 2009
Location: Shanghai, Shanghai, P.R.China
Posts: 309
Rep Power: 18
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 Search this Thread
Search this Thread:

Advanced Search
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 Off
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 07:05
Question concerning VOF Flora FLUENT 2 July 9, 2007 10:50
question about LES gino briganti FLUENT 3 June 27, 2005 07:05
A question zhhuang Siemens 0 April 29, 2003 02:44
Another UDF question Christian FLUENT 7 July 23, 2002 05:19


All times are GMT -4. The time now is 03:40.