CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Running, Solving & CFD

Overset CellTypes not updated correctly

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   August 14, 2020, 22:28
Default Overset CellTypes not updated correctly
  #1
Senior Member
 
Join Date: Jan 2019
Posts: 125
Blog Entries: 1
Rep Power: 0
Michael@UW is on a distinguished road
I use overPimpleDyMFoam in OpenFOAM v2006 to simulate the oscillating rotation of two valves.

The cellTypes of some cells are not switched back to 'calculated' but keep 'hole' after the valves leave these cells (see figure attached). It seems the 'cellTypes' are updated correctly during the open process but the issue occurs during the close process.

I use adjustableRunTime and adjustTimeStep to gurantee maxCo to be smaller than 2.0.

I also attached the dictionary files. Hope someone can help me figure out how to solve the problem.

Thanks in advance!

Michael


controlDict
Code:
application     overPimpleDyMFoam;


startFrom		latestTime;

deltaT          0.0001028;

startTime		0;

endTime		0.073502;

writeControl    adjustableRunTime;
writeInterval   0.0001028;

purgeWrite      0;

writeFormat     binary;

writePrecision  10;

writeCompression off;

timeFormat      general;

timePrecision   10;

runTimeModifiable yes;
adjustTimeStep	yes;
maxCo 2.0;
maxDeltaT 0.0001028;
fvSchemes
Code:
ddtSchemes
{
    default         Euler;
}

gradSchemes
{
    default         Gauss linear;
}

divSchemes
{
    default         none;
    div(phi,U)      Gauss upwind;

    div((nuEff*dev2(T(grad(U))))) Gauss linear;
}

laplacianSchemes
{
    default         Gauss linear corrected;
    laplacian(diffusivity,cellDisplacement)  Gauss linear corrected;
}

interpolationSchemes
{
    default         linear;
}

snGradSchemes
{
    default         corrected;
}

oversetInterpolation
{
    method          cellVolumeWeight;
}

fluxRequired
{
    default         no;
    pcorr           ;
    p               ;
}

oversetInterpolationSuppressed
{
    grad(p);
    surfaceIntegrate(phiHbyA);
	//cellMotionU;
	//pointMotionU;
}

fvSolution
Code:
solvers
{
    "(cellMotionU|cellDisplacement.*)"
    {
        solver          PCG;
        preconditioner  DIC;

        tolerance       1e-9;
        relTol          0;
    }

    p
    {
        solver          PBiCGStab;
        preconditioner  DILU;
        tolerance       1e-11;
        relTol          0.01;
    }

    pFinal
    {
        $p;
        relTol          0;
    }

    pcorr
    {
        $p;
        solver          PCG;
        preconditioner  DIC;
    }

    pcorrFinal
    {
        $pcorr;
        relTol          0;
    }

    "(U|k|epsilon)"
    {
        solver          smoothSolver;
        smoother        symGaussSeidel;
        tolerance       1e-6;
        relTol          0;
    }

    "(U|k|epsilon)Final"
    {
        $U;
        tolerance       1e-6;
        relTol          0;
    }
}

PIMPLE
{
    momentumPredictor   false;
    correctPhi          false;
    nOuterCorrectors    1;
    nCorrectors         3;
    nNonOrthogonalCorrectors 1;

    residualControl
    {
        U
        {
                tolerance  1e-5;
                relTol      0;
        }
        p
        {
                tolerance  5e-4;
                relTol      0;
        }
    }

    ddtCorr             true;

    pRefPoint           (-0.000372638 -0.00338073 0);
    pRefValue           0.0;

	checkMeshCourantNo 		yes;
	moveMeshOuterCorrectors true;
}

relaxationFactors
{
    fields
    {
        p      0.3;
        pFinal   1;
    }
    equations
    {
        "U|k|epsilon"     0.3;
        "(U|k|epsilon)Final"   1;
    }
}
Attached Images
File Type: jpg Untitled.jpg (43.6 KB, 64 views)
Michael@UW is offline   Reply With Quote

Reply


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 Off
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
2DOF Planning hull resistance study with overset CFD_fan OpenFOAM Running, Solving & CFD 7 July 13, 2021 06:03
objects oscillate at high speed causing collapse in Dynamic mesh and overset mesh ca insane OpenFOAM Running, Solving & CFD 0 May 17, 2020 23:35
Overset Mesh error : no startcell found ! Cris ZC STAR-CCM+ 4 September 9, 2019 11:43
Help in setting up an overset mesh RKE STAR-CCM+ 1 February 21, 2014 22:35
Overset MESH problem DFBI 6DOF Ale85 STAR-CCM+ 0 October 1, 2013 13:25


All times are GMT -4. The time now is 12:18.