CFD Online Discussion Forums

CFD Online Discussion Forums (http://www.cfd-online.com/Forums/)
-   OpenFOAM (http://www.cfd-online.com/Forums/openfoam/)
-   -   mixerGgi Tutorial 1.5-dev (http://www.cfd-online.com/Forums/openfoam/79972-mixerggi-tutorial-1-5-dev.html)

lordvon September 9, 2010 20:33

mixerGgi Tutorial 1.5-dev
 
Hello everyone,

I recently installed 1.5-dev, and I am able to run the cavity tutorial with no problem.

I am also able to mesh the mixerGgi model and view it in parafoam, however I cannot run icoDyMFoam. I get the following error:

Code:

...
Reading field p

Attempt to cast type patch to type lduInterface

    From function refCast<To>(From&)
    in file /home/lordvon/OpenFOAM/OpenFOAM-1.5-dev/src/OpenFOAM/lnInclude/typeInfo.H at line 106.

FOAM aborting

Aborted

Where lduinterface is: An abstract base class for implicitly-coupled interfaces e.g. processor and cyclic patches. (From: http://foam.sourceforge.net/doc/Doxy...Interface.html )

Does anybody know what the problem is? I'll post more info if needed.

Thanks,
Robert

lordvon September 9, 2010 21:56

I seem to have two boundary files, one inside 'constant' folder, and one immediately outside. There is a difference between the two files, isolated to the inside and outside sliders. The boundary file in the constant folder has:
Code:

    insideSlider
    {
        type            patch;
        nFaces          36;
        startFace      1192;
    }
    outsideSlider
    {
        type            patch;
        nFaces          36;
        startFace      1228;
    }

while the other file has:
Code:

    insideSlider
    {
        type            ggi;
        nFaces          36;
        startFace      1192;
        shadowPatch    outsideSlider;
        zone            insideZone;
        bridgeOverlap  false;
    }
    outsideSlider
    {
        type            ggi;
        nFaces          36;
        startFace      1228;
        shadowPatch    insideSlider;
        zone            outsideZone;
        bridgeOverlap  false;
    }

Could someone give me a working ggi tutorial?

mbeaudoin September 10, 2010 11:11

Hello,

> Could someone give me a working ggi tutorial?

You do have a working ggi tutorial with the mixerGGI tutorial.

This tutorial is running every single night through an OpenFOAM test harness I am running on two of our systems.

See here for the current status of this specific tutorial:
http://openfoam-extend.sourceforge.n...ate=2010-09-10

The complete OF-1.5-dev source code being used for running this test harness is updated and compiled every night.

I would suggest you revisit your compilation logs, maybe something is missing.

As for the presence of 2 "boundary" files, take a look at the tutorial Allrun script, you will understand why there is two. Of course, you are running this tutorial using the Allrun script, do you?

Martin

lordvon September 10, 2010 13:25

Hi,

Thank you SO much for your response.

I was not using Allrun.

I will be more careful in my wording next time; I did not mean to imply the software was bad, but I just wanted to compare files because in my particular case the installation and compilation was a bit messy.

Well anyways, What does the cell array rAU contain (can be seen in the ParaView properties tab)?

mbeaudoin September 10, 2010 14:24

> I will be more careful in my wording next time; I did not mean to imply the software was bad, but I just wanted to compare files because in my particular case >the installation and compilation was a bit messy.

No problem. It looks to me you did a lot of progress in the past week. OpenFOAM is also about climbing a few unfamiliar learning curves here and there.

>Well anyways, What does the cell array rAU contain (can be seen in the ParaView properties tab)

Now is the time for you to explore the source code of the solver.

Take a look at the following files:

applications/solvers/incompressible/icoDyMFoam/icoDyMFoam.C : for the definition of the field rAU. "rAU = 1.0/UEqn.A();"
applications/solvers/incompressible/icoDyMFoam/UEqn.H : for the definition of the matrix UEqn.
src/finiteVolume/lnInclude/fvMatrix.H: for the definition of the method fvMatrix::A()

Then you will be able to stitch this all together and understand what rAU is.

Best,

Martin


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