CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   OpenFOAM Pre-Processing (https://www.cfd-online.com/Forums/openfoam-pre-processing/)
-   -   Rotating wall BC (https://www.cfd-online.com/Forums/openfoam-pre-processing/79750-rotating-wall-bc.html)

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!

Stefano

madad2005 September 2, 2010 12:16

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

rear-wheel
{
type rotatingWallVelocity;
origin (0, 0, 0);
axis (0, 1, 0);
omega 100; //rev/s, I believe
}

hope it helps.

Adriano

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:

OpenFOAM-1.6.x/src/finiteVolume/fields/fvPatchFields

Should help you in the future.


All times are GMT -4. The time now is 19:32.