# Physical model: MRF RANS

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

 January 31, 2014, 18:11 Physical model: MRF RANS #1 Member   Julian Langowski Join Date: May 2011 Location: Bremen, Germany Posts: 91 Rep Power: 8 Sponsored Links Dear Foamers, again I have a question. I am simulating a wind turbine, using SIMPLE, the MRF approach with a 120° wedge and cyclic boundaries and RANS (kOmegaSST) turbulence modelling. Currently I am trying to figure out the exact physical equations I am actually using. I do know and understand: - the Navier Stokes equation and its RANS formulation - the formulation of the Navier Stokes equation in its MRF formuation (from here: http://openfoamwiki.net/index.php/Se...RF_development) What I don't understand: - How do both formulations look like in combination? - Does MRFSource in fvOptions only add the Coriolis term? - Would the MRF approach work for unsteady flows? As I understand, for unsteady flow there have to be considered further time-dependent terms. If somebody knows a helpful reference or already has figured it out, I would be greatful for any help. I am not very experienced in reading the source code, but I am also thankful for hints, where in the code to look. Best regards Julian __________________ πάντα ῥεῖ - Heraclitus

 February 5, 2014, 11:22 #2 Member   Julian Langowski Join Date: May 2011 Location: Bremen, Germany Posts: 91 Rep Power: 8 Hi, my current thoughts: The formula looks like the one described in the link above, but instead of kinematic viscosity (nu) I simply have (nu + nut). Does that sound right? Best regards Julian __________________ πάντα ῥεῖ - Heraclitus

 February 5, 2014, 11:25 #3 New Member   Farhad N. Join Date: Apr 2010 Posts: 6 Rep Power: 9 as far as I know you can use pimpleFoam (an unsteady solver) with fvOption where you'll be able to add MRF zones. I believe you can use any turbulence model available with pimple. best

 February 15, 2014, 09:21 #4 Member   Julian Langowski Join Date: May 2011 Location: Bremen, Germany Posts: 91 Rep Power: 8 Dear farhad, thanks for your reply. Good to know, that fvOptions does work with pimple, too. Any other suggestions, how the Navier Stokes equation looks in the combined MRF + RANS formulation? Best regards Julian __________________ πάντα ῥεῖ - Heraclitus

February 17, 2014, 07:14
#5
Senior Member

Gerhard Holzinger
Join Date: Feb 2012
Location: Austria
Posts: 207
Rep Power: 19
Quote:
 Originally Posted by Ruli Dear Foamers, What I don't understand: - Does MRFSource in fvOptions only add the Coriolis term? Best regards Julian
Hi,

the file MRFZone.C contains a method called correctBoundaryVelocity(). There the velocity at all boundaries within the MRFZone are corrected, i.e. the solid body rotation is applied.

Code:
```void Foam::MRFZone::correctBoundaryVelocity(volVectorField& U) const
{
const vector Omega = this->Omega();

// Included patches
forAll(includedFaces_, patchi)
{
const vectorField& patchC = mesh_.Cf().boundaryField()[patchi];

vectorField pfld(U.boundaryField()[patchi]);

forAll(includedFaces_[patchi], i)
{
label patchFacei = includedFaces_[patchi][i];

pfld[patchFacei] = (Omega ^ (patchC[patchFacei] - origin_));
}

U.boundaryField()[patchi] == pfld;
}
}```

 Tags cyclic, mrf, rans, simple, wind turbine

 Thread Tools Display Modes Linear Mode

 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 OffTrackbacks are On Pingbacks are On Refbacks are On Forum Rules

 Similar Threads Thread Thread Starter Forum Replies Last Post Jade M Main CFD Forum 27 August 11, 2017 15:41 DropsandSimulations OpenFOAM 9 December 20, 2012 11:26 kamal_g65 FLUENT 0 September 15, 2010 20:24 HS FLUENT 0 April 12, 2006 04:37 Beno Main CFD Forum 0 August 30, 2004 06:06