|
[Sponsors] |
February 7, 2018, 10:49 |
multiphaseInterFoam & localEuler
|
#1 |
Member
Join Date: Apr 2017
Posts: 68
Rep Power: 9 |
Hi,
When trying to run multiphaseInterFoam with localEuler I get the following error message Code:
--> FOAM FATAL ERROR: request for volScalarField rDeltaT from objectRegistry region0 failed available objects of type volScalarField are 21 ( alpha.air_0 nut alpha.saltWater yWall alphas nu.freshWater rho k alpha.saltWater_0 p_rgh nu gh nu.air sumAlpha p rho_0 alpha.freshWater nu.saltWater alpha.air omega alpha.freshWater_0 ) From function const Type& Foam::objectRegistry::lookupObject(const Foam::word&) const [with Type = Foam::GeometricField<double, Foam::fvPatchField, Foam::volMesh>] in file /home/ubuntu/OpenFOAM/OpenFOAM-5.x/src/OpenFOAM/lnInclude/objectRegistryTemplates.C at line 193. FOAM aborting #0 Foam::error::printStack(Foam::Ostream&) at ??:? #1 Foam::error::abort() at ??:? #2 Foam::GeometricField<double, Foam::fvPatchField, Foam::volMesh> const& Foam::objectRegistry::lookupObject<Foam::GeometricField<double, Foam::fvPatchField, Foam::volMesh> >(Foam::word const&) const at ??:? #3 Foam::multiphaseMixture::solveAlphas(double) at ??:? #4 Foam::multiphaseMixture::solve() at ??:? #5 ? in "/opt/openfoam5/platforms/linux64GccDPInt32Opt/bin/multiphaseInterFoam" #6 __libc_start_main in "/lib/x86_64-linux-gnu/libc.so.6" #7 ? in "/opt/openfoam5/platforms/linux64GccDPInt32Opt/bin/multiphaseInterFoam" Aborted (core dumped) Code:
/*--------------------------------*- C++ -*----------------------------------*\ | ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | | \\ / O peration | Version: 5 | | \\ / A nd | Web: www.OpenFOAM.org | | \\/ M anipulation | | \*---------------------------------------------------------------------------*/ FoamFile { version 2.0; format ascii; class dictionary; location "system"; object controlDict; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // application multiphaseInterFoam; startFrom startTime; startTime 0; stopAt endTime; endTime 4000; deltaT 1; writeControl timeStep; writeInterval 10; purgeWrite 0; writeFormat binary; writePrecision 6; writeCompression uncompressed; timeFormat general; timePrecision 6; runTimeModifiable yes; maxCo 10; maxAlphaCo 5; functions { #includeFunc residuals } // ************************************************************************* // Code:
/*--------------------------------*- C++ -*----------------------------------*\ | ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | | \\ / O peration | Version: 5 | | \\ / A nd | Web: www.OpenFOAM.org | | \\/ M anipulation | | \*---------------------------------------------------------------------------*/ FoamFile { version 2.0; format ascii; class dictionary; location "system"; object fvSolution; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // solvers { "alpha.*" { nAlphaCorr 2; nAlphaSubCycles 1; cAlpha 1; icAlpha 0; MULESCorr yes; nLimiterIter 10; alphaApplyPrevCorr yes; solver smoothSolver; smoother symGaussSeidel; tolerance 1e-8; relTol 0; minIter 1; } "pcorr.*" { solver PCG; preconditioner { preconditioner GAMG; smoother GaussSeidel; tolerance 1e-5; relTol 0; }; tolerance 1e-5; relTol 0; }; p_rgh { solver GAMG; smoother DIC; tolerance 1e-7; relTol 0.01; }; p_rghFinal { $p_rgh; relTol 0; } "(U|k|omega).*" { solver smoothSolver; smoother symGaussSeidel; nSweeps 1; tolerance 1e-7; relTol 0.1; minIter 1; }; } PIMPLE { momentumPredictor no; nOuterCorrectors 1; nCorrectors 2; nNonOrthogonalCorrectors 0; maxCo 10; maxAlphaCo 5; rDeltaTSmoothingCoeff 0.05; rDeltaTDampingCoeff 0.5; nAlphaSpreadIter 0; nAlphaSweepIter 0; maxDeltaT 1; } relaxationFactors { equations { ".*" 1; } } cache { grad(U); } // ************************************************************************* // Code:
/*--------------------------------*- C++ -*----------------------------------*\ | ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | | \\ / O peration | Version: 5 | | \\ / A nd | Web: www.OpenFOAM.org | | \\/ M anipulation | | \*---------------------------------------------------------------------------*/ FoamFile { version 2.0; format ascii; class dictionary; location "system"; object fvSchemes; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // ddtSchemes { default localEuler; } gradSchemes { default Gauss linear; limitedGrad cellLimited Gauss linear 1; } divSchemes { div(rhoPhi,U) Gauss linearUpwind grad(U); div(phi,alpha) Gauss vanLeer; div(phirb,alpha) Gauss linear; div(phi,k) Gauss linearUpwind limitedGrad; div(phi,omega) Gauss linearUpwind limitedGrad; div(((rho*nuEff)*dev2(T(grad(U))))) Gauss linear; } laplacianSchemes { default Gauss linear corrected; } interpolationSchemes { default linear; } snGradSchemes { default corrected; } wallDist { method meshWave; } // ************************************************************************* // Does anybody see how this can be fixed? |
|
February 20, 2018, 10:09 |
|
#2 |
Member
Join Date: Apr 2017
Posts: 68
Rep Power: 9 |
Hi again,
I run into this problem again. It seems like "rSubDeltaT" is the problem. When I run with the same fvSolution and fvScheme in a comparable case with interFoam, instead of multiphaseInterfoam, localEuler works. |
|
June 14, 2018, 05:47 |
|
#3 |
New Member
Saicharan
Join Date: Jan 2018
Location: Bangalore, India
Posts: 29
Rep Power: 8 |
Hello.
Any updates regarding this? I am getting the same error with my solver (modified version of interMixingFoam). |
|
June 15, 2018, 08:37 |
|
#4 |
Member
Join Date: Apr 2017
Posts: 68
Rep Power: 9 |
||
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Dynamic contact angle calculation in multiphaseInterFoam | rajeshchem | OpenFOAM | 3 | December 23, 2022 15:00 |
multiphaseInterFoam vs multiphaseEulerFoam | rahulksoni | OpenFOAM | 0 | August 11, 2017 03:14 |
The interface become fuzzy with multiphaseinterFoam | becklei | OpenFOAM Running, Solving & CFD | 4 | February 18, 2016 10:08 |
multiphaseInterFoam: timestep error by simulating a co-extrusion nozzle | Quatschinsky | OpenFOAM Running, Solving & CFD | 7 | March 27, 2014 06:08 |
VOF fraction in multiphaseInterFoam | mahaputra | OpenFOAM Running, Solving & CFD | 1 | August 27, 2009 09:15 |