Skip to content

GitLab

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
openfoam
openfoam
  • Project overview
    • Project overview
    • Details
    • Activity
    • Releases
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 348
    • Issues 348
    • List
    • Boards
    • Labels
    • Service Desk
    • Milestones
  • Merge Requests 8
    • Merge Requests 8
  • Wiki
    • Wiki
  • Members
    • Members
  • Collapse sidebar
  • Activity
  • Graph
  • Create a new issue
  • Commits
  • Issue Boards
  • Development
  • openfoamopenfoam
  • Issues
  • #1972

Closed
Open
Opened Jan 04, 2021 by Brecht Devolder@brecht.devolder

Incompressible non-uniform density turbulent model for VOF not compatible with multiphaseStabilizedTurbulence fvOption

v2012 includes an incompressible non-uniform density turbulent model for VOF by adding

density variable;

in the turbulenceProperties dictionary (https://openfoam.com/releases/openfoam-v2012/solver-and-physics.php#solver-and-physics-multiphase-rho-turbulence).

This is not compatible with the multiphaseStabilizedTurbulence fvOption (https://openfoam.com/releases/openfoam-v1912/solver-and-physics.php#solver-and-physics-vof-turbulence-stabilization).

Modify damBreak tutorial (tutorials/multiphase/interFoam/RAS/damBreak) by adding system/fvOptions

/*--------------------------------*- C++ -*----------------------------------*\
| =========                 |                                                 |
| \\      /  F ield         | OpenFOAM: The Open Source CFD Toolbox           |
|  \\    /   O peration     | Version:  v2012                                 |
|   \\  /    A nd           | Website:  www.openfoam.com                      |
|    \\/     M anipulation  |                                                 |
\*---------------------------------------------------------------------------*/
FoamFile
{
    version     2.0;
    format      ascii;
    class       dictionary;
    object      fvOptions;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //

multiphaseStabilizedTurbulence1
{
    type            multiphaseStabilizedTurbulence;
    active          yes;

    multiphaseStabilizedTurbulenceCoeffs
    {
        // Optional coefficients
        lambda2         0.1;   // A value of 0 sets the nut correction to 0
        Cmu             0.09;  // from k-epsilon model
        C               1.51;  // model coefficient from k-omega model
        alpha           1.36;  // 1/Prt
    }
}

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

Error message:

Creating finite volume options from "system/fvOptions"

Selecting finite volume options type multiphaseStabilizedTurbulence
    Source: multiphaseStabilizedTurbulence1


--> FOAM FATAL ERROR: (openfoam-2012)
Unable to find incompressible turbulence model

    From Foam::fv::multiphaseStabilizedTurbulence::multiphaseStabilizedTurbulence(const Foam::word&, const Foam::word&, const Foam::dictionary&, const Foam::fvMesh&)
    in file sources/derived/multiphaseStabilizedTurbulence/multiphaseStabilizedTurbulence.C at line 121.

FOAM exiting
Edited Jan 04, 2021 by Brecht Devolder
Assignee
Assign to
None
Milestone
None
Assign milestone
Time tracking
None
Due date
None
Reference: Development/openfoam#1972