CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   OpenFOAM Running, Solving & CFD (https://www.cfd-online.com/Forums/openfoam-solving/)
-   -   Setting up case with a moving part between to static ones (https://www.cfd-online.com/Forums/openfoam-solving/95882-setting-up-case-moving-part-between-static-ones.html)

Kaskade January 6, 2012 04:03

Setting up case with a moving part between to static ones
 
Hello,
I was wondering if someone could help me out. I am trying to set up a transient 3D case using pimpleDyMFoam and GGIs, consisting of a rotating pump impeller connected to a static inlet duct and a static outlet spiral. I haven't seen a tutorial so far which explains how to hande two pairs of moving-static-interfaces, and don't know how to set them up in the dynamicMeshDict.
Also: is it correct, that the moving CellZone needs to be called movingCells? Or will the solver deduct this from the connected moving faces?
I am using OF-1.6-ext. Thanks in advance for any advice.

Kaskade February 12, 2012 14:03

In dynamicMeshDict:

slider
{
moving ( FACE1a FACE2a );
static ( FACE1b FACE2b );
}

The names can of course be chosen freely.

linnemann February 13, 2012 02:08

Using multiple rotating parts you need to use something like this

Code:

/*--------------------------------*- C++ -*----------------------------------*\
| =========                |                                                |
| \\      /  F ield        | OpenFOAM Extend Project: Open Source CFD        |
|  \\    /  O peration    | Version:  1.6-ext                              |
|  \\  /    A nd          | Web:      www.extend-project.de                |
|    \\/    M anipulation  |                                                |
\*---------------------------------------------------------------------------*/
FoamFile
{
    version    2.0;
    format      ascii;
    class      dictionary;
    object      dynamicMeshDict;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //

dynamicFvMesh      turboFvMesh;

turboFvMeshCoeffs
{
    coordinateSystem
    {
        type            cylindrical;
        origin          (0 0 0);
        axis            (0 0 1);
        direction      (1 0 0);
    }

    rpm
    {
        cellRegion0  60;
        cellRegion1  -20;
    }

    slider
    {
    }
}

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


linnemann February 13, 2012 02:09

Did not see you only had one rotating part,

Then yes using the mixerGgiFvMesh method the rotating cellZone has to be named movingCells.

Best

Kaskade February 13, 2012 09:32

Thanks for answering.

I think in OpenFOAM 2.1 the name of the mesh-part that is supposed to move can be chosen freely.

JulytoNovember March 31, 2012 19:33

Could you better help me to understand the turboFvMesh?
My case contains a co-axial rotor system, 2 rotors with 2 ggi's, inside a cylinder that represent the atmosphere.
1. Does it require a ggi? Or can it rotate meshes without the ggi? I see no slider info was input.
2. Is it a moving mesh? Viewing the meshes rotation is key for my case.

Kaskade April 1, 2012 01:13

Could you maybe send a drawing of your setup?


All times are GMT -4. The time now is 23:27.