CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > OpenFOAM

mixerGgi Tutorial 1.5-dev

Register Blogs Members List Search Today's Posts Mark Forums Read

Reply
 
LinkBack Thread Tools Display Modes
Old   September 9, 2010, 20:33
Default mixerGgi Tutorial 1.5-dev
  #1
Senior Member
 
Robert
Join Date: Sep 2010
Posts: 154
Rep Power: 6
lordvon is on a distinguished road
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

Last edited by lordvon; September 9, 2010 at 21:58.
lordvon is offline   Reply With Quote

Old   September 9, 2010, 21:56
Default
  #2
Senior Member
 
Robert
Join Date: Sep 2010
Posts: 154
Rep Power: 6
lordvon is on a distinguished road
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?
lordvon is offline   Reply With Quote

Old   September 10, 2010, 11:11
Default
  #3
Senior Member
 
Martin Beaudoin
Join Date: Mar 2009
Posts: 330
Rep Power: 13
mbeaudoin will become famous soon enough
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
mbeaudoin is offline   Reply With Quote

Old   September 10, 2010, 13:25
Default
  #4
Senior Member
 
Robert
Join Date: Sep 2010
Posts: 154
Rep Power: 6
lordvon is on a distinguished road
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)?
lordvon is offline   Reply With Quote

Old   September 10, 2010, 14:24
Default
  #5
Senior Member
 
Martin Beaudoin
Join Date: Mar 2009
Posts: 330
Rep Power: 13
mbeaudoin will become famous soon enough
> 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
mbeaudoin is offline   Reply With Quote

Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
OpenFOAM 1.5 dev LVDH OpenFOAM 98 May 5, 2010 17:01
TwoPhaseEulerFoam bed tutorial case crashes in 1.6. Stable in 1.5 hemph OpenFOAM Bugs 2 February 17, 2010 09:10
Paraview/Parafoam in OpenFoam 1.5 dev titio OpenFOAM Post-Processing 0 December 9, 2009 13:13
Paraview/Parafoam in OpenFoam 1.5 dev titio OpenFOAM Paraview & paraFoam 0 December 9, 2009 13:12
TwoPhaseEulerFoam bed tutorial case stable in 1.5, crashes in 1.6 hemph OpenFOAM 3 December 5, 2009 05:19


All times are GMT -4. The time now is 01:54.