Find answers, ask questions, and connect with our <br>community around the world.

Home Forums OpenFOAM Forum Rotating Machines SST kOmega error Reply To: Rotating Machines SST kOmega error

  • Adityan

    Member
    June 15, 2022 at 5:24 pm

    Hi Baris,
    I defined the omega file as this
    /*——————————–*- C++ -*———————————-*\
    | ========= | |
    | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
    | \\ / O peration | Version: v2112 |
    | \\ / A nd | Website: http://www.openfoam.com |
    | \\/ M anipulation | |
    \*—————————————————————————*/
    FoamFile
    {
    version 2.0;
    format ascii;
    class volScalarField;
    object omega;
    }
    // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //

    dimensions [0 0 -1 0 0 0 0];

    internalField uniform 0.1;

    boundaryField
    {
    outerCylinder
    {
    type omegaWallFunction;
    value uniform 0.1;
    }
    propellerTip
    {
    type omegaWallFunction;
    value nonuniform List<scalar> 0;
    }
    propellerStem1
    {
    type omegaWallFunction;
    value nonuniform List<scalar> 0;
    }
    propellerStem2
    {
    type omegaWallFunction;
    value nonuniform List<scalar> 0;
    }
    propellerStem3
    {
    type omegaWallFunction;
    value nonuniform List<scalar> 0;
    }
    AMI1
    {
    type cyclicAMI;
    value uniform 0.1;
    }

    AMI2
    {
    type cyclicAMI;
    value uniform 0.1;
    }
    inlet
    {
    type fixedValue;
    value nonuniform List<scalar> 0;
    }
    outlet
    {
    type inletOutlet;
    inletValue uniform 0.1;
    value uniform 0.1;
    }
    procBoundary0to1
    {
    type processor;
    value uniform 0.1;
    }
    }

    // ************************************************************************* //
    But I got this message while running decomposePar
    /*—————————————————————————*\
    | ========= | |
    | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
    | \\ / O peration | Version: 2112 |
    | \\ / A nd | Website: http://www.openfoam.com |
    | \\/ M anipulation | |
    \*—————————————————————————*/
    Build : _d44c8318-20220111 OPENFOAM=2112 version=2112
    Arch : “LSB;label=32;scalar=64”
    Exec : decomposePar
    Date : Jun 15 2022
    Time : 22:50:57
    Host : DESKTOP-QJKQ6RU
    PID : 589
    I/O : uncollated
    Case : /home/adityan/OpenFOAM/adityan-v2112/run/propeller
    nProcs : 1
    trapFpe: Floating point exception trapping enabled (FOAM_SIGFPE).
    fileModificationChecking : Monitoring run-time modified files using timeStampMaster (fileModificationSkew 5, maxFileModificationPolls 20)
    allowSystemOperations : Allowing user-supplied system call operations

    // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
    Create time

    Decomposing mesh

    Create mesh

    Calculating distribution of cells
    Decomposition method hierarchical [4] (region region0)

    Finished decomposition in 0.17 s

    Calculating original mesh data

    Distributing cells to processors

    Distributing faces to processors

    Distributing points to processors

    Constructing processor meshes

    Processor 0
    Number of cells = 131518
    Number of faces shared with processor 1 = 2748
    Number of processor patches = 1
    Number of processor faces = 2748
    Number of boundary faces = 464

    Processor 1
    Number of cells = 131518
    Number of faces shared with processor 0 = 2748
    Number of faces shared with processor 2 = 6388
    Number of processor patches = 2
    Number of processor faces = 9136
    Number of boundary faces = 14503

    Processor 2
    Number of cells = 131518
    Number of faces shared with processor 1 = 6388
    Number of faces shared with processor 3 = 8860
    Number of processor patches = 2
    Number of processor faces = 15248
    Number of boundary faces = 22152

    Processor 3
    Number of cells = 131518
    Number of faces shared with processor 2 = 8860
    Number of processor patches = 1
    Number of processor faces = 8860
    Number of boundary faces = 25616

    Number of processor faces = 17996
    Max number of cells = 131518 (0% above average 131518)
    Max number of processor patches = 2 (33.3333% above average 1.5)
    Max number of faces between processors = 15248 (69.4599% above average 8998)

    Time = 0
    AMI: Creating addressing and weights between 18496 source faces and 18720 target faces
    AMI: Patch source sum(weights) min:0.983877 max:1.00392 average:1.00005
    AMI: Patch target sum(weights) min:0.969379 max:1.00428 average:0.99995

    –> FOAM FATAL IO ERROR: (openfoam-2112)
    Expected a ‘(‘ or a ‘{‘ while reading List, found on line 31: punctuation ‘;’

    file: 0/omega at line 31.

    From char Foam::Istream::readBeginList(const char*)
    in file db/IOstreams/IOstreams/Istream.C at line 155.

    FOAM exiting

error: Content is protected !!