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/)
-   -   Problem with rotationBC (https://www.cfd-online.com/Forums/openfoam-pre-processing/64296-problem-rotationbc.html)

eliam May 6, 2009 10:17

Problem with rotationBC
 
Hi all

I have a rotating cylinder in my problem. I used rotationBC to get the good BC for U, but now I refine the mesh and I get weird BC.
The diameter is 0.2, and the angle speed is 100 rad/s (20 m/s on perimeter).
The BC begin with :
wheel
{
type fixedValue;
value nonuniform List<vector>
1043
(
(-8.479432e-44 0 -0)
(20 8.750005 -0)
(20 9.050035 -0)
(20 40.45565 -0)
(20 237.475 -0)
(20 239.475 -0)
(20 9.85393 -0)
(15 35.76775 -0)
(20 9.150045 -0)
(20 9.75086 -0)
(20 9.350065 -0)
(20 35.7176 -0)
....
(20 360.4865 -0)
(20 358.486 -0)
(20 365.487 -0)
(20 364.487 -0)
(20 332.484 -0)
(20 335.484 -0)
(20 277.4785 -0)
(20 272.478 -0)
(20 316.482 -0)
(20 394.49 -0)
...

rotationBCDict contains :

wheel
{
omega 100;
axis (0 0 1);
centre (0 0.2 0);
}

What can be wrong ?

eliam May 12, 2009 11:20

The problem is solved. It came from my definition of my Patch with gmsh.
Sorry


All times are GMT -4. The time now is 20:38.