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/)
-   -   Moving Mesh - Difference between fixedValue and movingWalVelocity (https://www.cfd-online.com/Forums/openfoam-pre-processing/147447-moving-mesh-difference-between-fixedvalue-movingwalvelocity.html)

bjoern1 January 21, 2015 11:53

Moving Mesh - Difference between fixedValue and movingWalVelocity
 
Hi together!

in my case, I am using the dynamicMeshDict as follows:

Code:


/*--------------------------------*- C++ -*----------------------------------*\
| =========                |                                                |
| \\      /  F ield        | OpenFOAM: The Open Source CFD Toolbox          |
|  \\    /  O peration    | Version:  2.3.0                                |
|  \\  /    A nd          | Web:      www.OpenFOAM.org                      |
|    \\/    M anipulation  |                                                |
\*---------------------------------------------------------------------------*/
FoamFile
{
    version    2.0;
    format      ascii;
    class      dictionary;
    location    "constant";
    object      dynamicMeshDict;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //

dynamicFvMesh  solidBodyMotionFvMesh;

motionSolverLibs ( "libfvMotionSolvers.so" );

solidBodyMotionFvMeshCoeffs
{
    cellZone        c0Zone; //


    solidBodyMotionFunction  rotatingMotion;
    rotatingMotionCoeffs
    {
        origin      (0 0 0);
        axis        (0 0 1);
        omega      158; //
    }
}


// ************************************************************************* //

inside of the rotated zone is a hole, that should represent a 2-d-cylinder.
The cylinder should neither move nor rotate. Now I wonder how I can get the zero velocity at the wall of the cylinder, whereas the mesh is rotating.

I know there are these types for the bc's :

- fixedValue
- movingWallVelocity
- rotatingWallVelocity

But I am not sure which one to use for the wall patches, or what the difference is...
Can someone help me with that?


Thanks a lot in advance!


Björn


All times are GMT -4. The time now is 11:03.