CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   OpenFOAM (https://www.cfd-online.com/Forums/openfoam/)
-   -   Rotor - stator how to create mesh? (https://www.cfd-online.com/Forums/openfoam/80796-rotor-stator-how-create-mesh.html)

davidmd October 6, 2010 14:43

Rotor - stator how to create mesh?
 
1 Attachment(s)
In this thread I used the boundary condition rotatingWall for bottom of cylinder filled with liquid. But now my task a little harder. I need to create an edges at the bottom of the cylinder. Like on the picture.
In this case, the bottom together with the edges should rotate. Can someone help or give links to related tutorial?
As I understand, I have to use a rotor and a stator patches. How to do it? Or may have another way?
I apologize for my silly drawings and terrible English :)

maddalena October 7, 2010 02:38

Hi David,
Quote:

Originally Posted by davidmd (Post 278142)
In this case, the bottom together with the edges should rotate. Can someone help or give links to related tutorial?
As I understand, I have to use a rotor and a stator patches. How to do it? Or may have another way?

in this case you should use MRFsimpleFoam, since you consider the air between the "blades" rotating as the rotor. Thus, starting with the tutorial of this solver can be a good idea.
Cheers,

mad

davidmd October 15, 2010 15:30

[QUOTE=maddalena;278205]Hi David,
Quote:

Originally Posted by davidmd (Post 278142)
In this case, the bottom together with the edges should rotate. Can someone help or give links to related tutorial?
As I understand, I have to use a rotor and a stator patches. How to do it? Or may have another way?/QUOTE]in this case you should use MRFsimpleFoam, since you consider the air between the "blades" rotating as the rotor. Thus, starting with the tutorial of this solver can be a good idea.
Cheers,

mad

Hi maddalena! Once again thank you for helpful advice! I can not even imagine what I would do without you! :) It seems that it works, but the problem is solved with the turbulence, while I need laminar. Is there any way to turn off turbulence for this solver? I mean MRFSimpleFoam.
Best wishes!

paka October 16, 2010 00:40

I'm not sure if it possible in OpenFOAM, but I would just assign all the members to the same patch and assign rotation. Just a first idea which came to my mind.

FG_HSRM October 16, 2010 05:52

[QUOTE=davidmd;279416]
Quote:

Originally Posted by maddalena (Post 278205)
Is there any way to turn off turbulence for this solver? I mean MRFSimpleFoam.
Best wishes!

Hi David
Yes there is, just go in to the RasProperties file and switch it off.

sarahk October 25, 2010 07:26

Hey,

do you know how the Coriolis Force is implemented in MRFSimpleFoam or in OpenFoam in general?
I cant find the file.

the equations i got from OpenFoam Wiki include the Coriolis and Zentripetal force, but in the MRFSimpleFoam.C file it is written that they just add the Coriolis term.

Thanks

Sarah

kathrin_kissling October 25, 2010 08:12

Hi Sarah,

I thinks its a little hidden in the MRFZone.C file.

Within the member function there are two overloaded addCoriolis functions (in the internet doxygen it's line 294
( void Foam::MRFZone::addCoriolis(fvVectorMatrix& UEqn) const)
and 315
( void Foam::MRFZone::addCoriolis (const volScalarField& rho, fvVectorMatrix& UEqn) const).

If you click on the Foam::MRFZone::addCoriolis it is linked to the doxygen.

Hope this helps

Kathrin


All times are GMT -4. The time now is 00:06.