|
[Sponsors] |
Question in correctBoundaryVelocity in MRFZoneC |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
April 13, 2008, 05:20 |
Hi Everyone
when i look at th
|
#1 |
Senior Member
|
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 |
|
April 14, 2008, 06:18 |
Hi
in my calculation,it loo
|
#2 |
Senior Member
|
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 |
|
Thread Tools | Search this Thread |
Display Modes | |
|
|
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 |