CFD Online Discussion Forums

CFD Online Discussion Forums (
-   OpenFOAM Pre-Processing (
-   -   Rotating wall BC (

stefano.garbin September 2, 2010 11:59

Rotating wall BC
Hello foamers

My question was already asked before in this forum but I could not understand how to solve my problem: I need to impose to one or more patches a rotational velocity. How can I do this without modifying solvers? I saw about groovyBC, but I really could not understand how it works.
I'm using OF1.7 and simpleFoam with snappyHexMesh.

Thanks a lot!


madad2005 September 2, 2010 12:16

I think this is the syntax for a rotating wall velocity.

type rotatingWallVelocity;
origin (0, 0, 0);
axis (0, 1, 0);
omega 100; //rev/s, I believe

hope it helps.


stefano.garbin September 23, 2010 06:11

Perfect!! It works great!
Thanks a lot!

Unfortunately there are many many things that are undocumented like this one...

madad2005 September 23, 2010 06:43

No problem.

All the boundary conditions are located in this directory:


Should help you in the future.

All times are GMT -4. The time now is 08:25.