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

Home Forums OpenFOAM Forum propeller run case

  • propeller run case

    Posted by Srinivas on February 8, 2023 at 5:04 pm

    I was running the propeller case by replacing the geometry.

    I have run the propeller case with geometry which is present in resources. it run perfectly.

    but now I have change the propeller all commands run perfectly, but while running the case I got following error

    PIMPLE: iteration 1
    AMI: Creating addressing and weights between 98110 source faces and 98576 target faces
    –> FOAM Warning :
    From void Foam::advancingFrontAMI::checkPatches() const
    in file AMIInterpolation/AMIInterpolation/advancingFrontAMI/advancingFrontAMI.C at line 71
    Source and target patch bounding boxes are not similar
    source box span : (106.905 361.434 366.419)
    target box span : (101.191 361.434 80)
    source box : (-53.4526 -180.717 -183.21) (53.4526 180.717 183.21)
    target box : (-50.5954 -180.717 -40) (50.5954 180.717 40)
    inflated target box : (-69.7836 -199.905 -59.1882) (69.7835 199.905 59.1882)
    –> FOAM Warning :
    From bool Foam::advancingFrontAMI::initialiseWalk(Foam::label&, Foam::label&)
    in file AMIInterpolation/AMIInterpolation/advancingFrontAMI/advancingFrontAMI.C at line 183
    6236 source faces but no target faces
    [3]
    [3]
    [3] –> FOAM FATAL ERROR: (openfoam-2212)
    [3] Unable to set target face for source face 44664
    [3]
    [3] From virtual bool Foam::faceAreaWeightAMI::setNextFaces(Foam::label&, Foam::label&, Foam::label&, const Foam::bitSet&, Foam::labelList&, const Foam::DynamicList<int>&, bool) const
    [3] in file AMIInterpolation/AMIInterpolation/faceAreaWeightAMI/faceAreaWeightAMI.C at line 361.
    [3]
    FOAM parallel run aborting
    [3]
    [3] #0 Foam::error::printStack(Foam::Ostream&) in /usr/lib/openfoam/openfoam2212/platforms/linux64GccDPInt32Opt/lib/libOpenFOAM.so
    [3] #1 Foam::error::simpleExit(int, bool) in /usr/lib/openfoam/openfoam2212/platforms/linux64GccDPInt32Opt/lib/libOpenFOAM.so
    [3] #2 Foam::faceAreaWeightAMI::setNextFaces(int&, int&, int&, Foam::bitSet const&, Foam::List<int>&, Foam::DynamicList<int, 16> const&, bool) const in /usr/lib/openfoam/openfoam2212/platforms/linux64GccDPInt32Opt/lib/libmeshTools.so
    [3] #3 Foam::faceAreaWeightAMI::calcAddressing(Foam::List<Foam::DynamicList<int, 16> >&, Foam::List<Foam::DynamicList<double, 16> >&, Foam::List<Foam::DynamicList<Foam::Vector<double>, 16> >&, Foam::List<Foam::DynamicList<int, 16> >&, Foam::List<Foam::DynamicList<double, 16> >&, int, int)[2]
    in /usr/lib/openfoam/openfoam2212/platforms/linux64GccDPInt32Opt/lib/libmeshTools.so
    [2]
    [2] –> FOAM FATAL ERROR: (openfoam-2212)
    [2] Unable to set target face for source face 47208
    [2]
    [2] From virtual bool Foam::faceAreaWeightAMI::setNextFaces(Foam::label&, Foam::label&, Foam::label&, const Foam::bitSet&, Foam::labelList&, const Foam::DynamicList<int>&, bool) const
    [2] in file AMIInterpolation/AMIInterpolation/faceAreaWeightAMI/faceAreaWeightAMI.C at line 361.
    [2]
    FOAM parallel run aborting
    [2]
    [2] #0 Foam::error::printStack(Foam::Ostream&)[3] #4 Foam::faceAreaWeightAMI::calculate(Foam::PrimitivePatch<Foam::SubList<Foam::face>, Foam::Field<Foam::Vector<double> > const&> const&, Foam::PrimitivePatch<Foam::SubList<Foam::face>, Foam::Field<Foam::Vector<double> > const&> const&, Foam::autoPtr<Foam::searchableSurface> const&) in /usr/lib/openfoam/openfoam2212/platforms/linux64GccDPInt32Opt/lib/libmeshTools.so
    [3] #5 Foam::cyclicAMIPolyPatch::resetAMI(Foam::UList<Foam::Vector<double> > const&) const in /usr/lib/openfoam/openfoam2212/platforms/linux64GccDPInt32Opt/lib/libOpenFOAM.so
    [2] #1 Foam::error::simpleExit(int, bool) in /usr/lib/openfoam/openfoam2212/platforms/linux64GccDPInt32Opt/lib/libmeshTools.so
    [3] #6 Foam::cyclicAMIPolyPatch::AMI() const in /usr/lib/openfoam/openfoam2212/platforms/linux64GccDPInt32Opt/lib/libOpenFOAM.so
    [2] #2 Foam::faceAreaWeightAMI::setNextFaces(int&, int&, int&, Foam::bitSet const&, Foam::List<int>&, Foam::DynamicList<int, 16> const&, bool) const in /usr/lib/openfoam/openfoam2212/platforms/linux64GccDPInt32Opt/lib/libmeshTools.so
    [3] #7 Foam::cyclicAMIPolyPatch::applyLowWeightCorrection() const in /usr/lib/openfoam/openfoam2212/platforms/linux64GccDPInt32Opt/lib/libmeshTools.so
    [2] #3 Foam::faceAreaWeightAMI::calcAddressing(Foam::List<Foam::DynamicList<int, 16> >&, Foam::List<Foam::DynamicList<double, 16> >&, Foam::List<Foam::DynamicList<Foam::Vector<double>, 16> >&, Foam::List<Foam::DynamicList<int, 16> >&, Foam::List<Foam::DynamicList<double, 16> >&, int, int) in /usr/lib/openfoam/openfoam2212/platforms/linux64GccDPInt32Opt/lib/libmeshTools.so
    [3] #8 ? in /usr/lib/openfoam/openfoam2212/platforms/linux64GccDPInt32Opt/lib/libmeshTools.so
    [2] #4 Foam::faceAreaWeightAMI::calculate(Foam::PrimitivePatch<Foam::SubList<Foam::face>, Foam::Field<Foam::Vector<double> > const&> const&, Foam::PrimitivePatch<Foam::SubList<Foam::face>, Foam::Field<Foam::Vector<double> > const&> const&, Foam::autoPtr<Foam::searchableSurface> const&) in /usr/lib/openfoam/openfoam2212/platforms/linux64GccDPInt32Opt/lib/libfiniteVolume.so
    [3] #9 ? in /usr/lib/openfoam/openfoam2212/platforms/linux64GccDPInt32Opt/lib/libmeshTools.so
    [2] #5 Foam::cyclicAMIPolyPatch::resetAMI(Foam::UList<Foam::Vector<double> > const&) const in /usr/lib/openfoam/openfoam2212/platforms/linux64GccDPInt32Opt/lib/libmeshTools.so
    in /usr/lib/openfoam/openfoam2212/platforms/linux64GccDPInt32Opt/lib/libfiniteVolume.so
    [3] #10 ?[2] #6 Foam::cyclicAMIPolyPatch::AMI() const in /usr/lib/openfoam/openfoam2212/platforms/linux64GccDPInt32Opt/lib/libmeshTools.so
    [2] #7 Foam::cyclicAMIPolyPatch::applyLowWeightCorrection() const in /usr/lib/openfoam/openfoam2212/platforms/linux64GccDPInt32Opt/lib/libdynamicFvMesh.so
    [3] #11 Foam::dynamicMotionSolverFvMesh::update() in /usr/lib/openfoam/openfoam2212/platforms/linux64GccDPInt32Opt/lib/libdynamicFvMesh.so
    [3] #12 Foam::dynamicFvMesh::controlledUpdate() in /usr/lib/openfoam/openfoam2212/platforms/linux64GccDPInt32Opt/lib/libmeshTools.so
    [2] #8 ? in /usr/lib/openfoam/openfoam2212/platforms/linux64GccDPInt32Opt/lib/libdynamicFvMesh.so
    [3] #13 in /usr/lib/openfoam/openfoam2212/platforms/linux64GccDPInt32Opt/lib/libfiniteVolume.so
    [2] #9 ?? in /usr/lib/openfoam/openfoam2212/platforms/linux64GccDPInt32Opt/lib/libfiniteVolume.so
    [2] #10 ? in /usr/lib/openfoam/openfoam2212/platforms/linux64GccDPInt32Opt/bin/pimpleFoam
    [3] #14 ? in /usr/lib/openfoam/openfoam2212/platforms/linux64GccDPInt32Opt/lib/libdynamicFvMesh.so
    [2] #11 Foam::dynamicMotionSolverFvMesh::update() in /lib/x86_64-linux-gnu/libc.so.6
    [3] #15 __libc_start_main in /usr/lib/openfoam/openfoam2212/platforms/linux64GccDPInt32Opt/lib/libdynamicFvMesh.so
    [2] #12 Foam::dynamicFvMesh::controlledUpdate() in /lib/x86_64-linux-gnu/libc.so.6
    [3] #16 in /usr/lib/openfoam/openfoam2212/platforms/linux64GccDPInt32Opt/lib/libdynamicFvMesh.so
    [2] #13 ?? in /usr/lib/openfoam/openfoam2212/platforms/linux64GccDPInt32Opt/bin/pimpleFoam
    in /usr/lib/openfoam/openfoam2212/platforms/linux64GccDPInt32Opt/bin/pimpleFoam
    [2] #14 ?————————————————————————–
    MPI_ABORT was invoked on rank 3 in communicator MPI_COMM_WORLD
    with errorcode 1.

    NOTE: invoking MPI_ABORT causes Open MPI to kill all MPI processes.
    You may or may not see output from other processes, depending on
    exactly when Open MPI kills them.

    Barış Bicer replied 1 year, 2 months ago 3 Members · 29 Replies
  • 29 Replies
  • Barış Bicer

    Moderator
    February 9, 2023 at 10:26 am

    you have some mistake in the assigning of AMI surfaces.

    Apply all commands step by step and try to see where it comes from

  • Srinivas

    Member
    February 10, 2023 at 7:48 am

    I have watch the video 5 times and i have run the case 3 times same error is showing
    i have run the case with original propeller it run successfully.

  • Barış Bicer

    Moderator
    February 12, 2023 at 8:32 pm

    so it worked finally?

  • Barış Bicer

    Moderator
    February 12, 2023 at 8:32 pm

    so it worked finally?

  • Srinivas

    Member
    February 13, 2023 at 6:27 am

    no Sir

     

  • Srinivas

    Member
    February 13, 2023 at 6:55 am

    in original propeller case o/U folder is shown below

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

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

    internalField uniform (0 0 0);

    boundaryField
    {
    #includeEtc “caseDicts/setConstraintTypes”

    inlet
    {
    type fixedValue;
    value uniform (0 -5 0);
    }

    outlet
    {
    type inletOutlet;
    inletValue uniform (0 0 0);
    value uniform (0 0 0);
    }

    outerCylinder
    {
    type noSlip;
    }

    “propeller.*”
    {
    type movingWallVelocity;
    value uniform (0 0 0);
    }
    }

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

     

    where is ” #includeEtc “caseDicts/setConstraintTypes”” file.

    when I say decomposePar it says “cannot find Patch entry”,

    and iPropeller/0 folder there is no caseDicts file

     

  • Srinivas

    Member
    February 13, 2023 at 6:58 am

    Processor 2
    Number of cells = 720
    Number of points = 1014
    Number of faces shared with processor 1 = 144
    Number of faces shared with processor 3 = 144
    Number of processor patches = 2
    Number of processor faces = 288
    Number of boundary faces = 240

    Processor 3
    Number of cells = 720
    Number of points = 1014
    Number of faces shared with processor 2 = 144
    Number of processor patches = 1
    Number of processor faces = 144
    Number of boundary faces = 384

    Number of processor faces = 432
    Max number of cells = 720 (0% above average 720)
    Max number of processor patches = 2 (33.3333% above average 1.5)
    Max number of faces between processors = 288 (33.3333% above average 216)

    Time = 0

    –> FOAM FATAL IO ERROR: (openfoam-2212)
    Cannot find patchField entry for walls

    file: 0/U.boundaryField at line 11 to 46.

    From void Foam::GeometricBoundaryField<Type, PatchField, GeoMesh>::readField(const Foam::DimensionedField<TypeR, GeoMesh>&, const Foam::dictionary&) [with Type = Foam::Vector<double>; PatchField = Foam::fvPatchField; GeoMesh = Foam::volMesh]
    in file ./src/OpenFOAM/lnInclude/GeometricBoundaryField.C at line 177.

    FOAM exiting

  • Srinivas

    Member
    February 13, 2023 at 9:25 am

    to check the openfoam commands i have copy the original case and decided to re-run without changing the geometry.

    but cannot decomposePar (error “cannot find patch field entry “)

    I have run the command toposet and createpatch.

    but when newly when i install the openfoam, i have run the case it run successfully

    I am not able to post picture in the forum.

    then I decided to with not to run with parallel and simply given command pimpleFoam

     

  • Srinivas

    Member
    February 13, 2023 at 9:26 am

    o

  • Vivek Kunjithaya

    Administrator
    February 13, 2023 at 9:53 am

    Dear all,

    Please ignore this.

    This is been written to test if the forum works fine.

     

    Regards,

    Vivek,

    Flowthermolab Support Team

     

  • Srinivas

    Member
    February 13, 2023 at 10:08 am

  • Srinivas

    Member
    February 13, 2023 at 10:09 am

  • Srinivas

    Member
    February 14, 2023 at 12:28 pm

    I tried my self to solve my error, it get solved but now my run stop un expectedly,

    without any error.

  • Barış Bicer

    Moderator
    February 14, 2023 at 4:35 pm

    Hi Srinivas,

    It is nice to hear that you try to solve your problem and also let us how to solve it.

    Above picture looks that simulation quited without any error. this may related to your memory.

    Run your case again and check your RAM and memory usage. Your mesh can be so high for your computer.

    For your information

  • Srinivas

    Member
    February 15, 2023 at 5:33 am

    when I decompose the rotating mesh with scotch, method it face the problem while reconstructing.

    when i decompose the mesh with hierarchical method, it works.

    but above error came.

    your saying its because of memory but I have quite good laptop. i will show below.

    see my specification of laptop and recommend me which minimum are requirement of the system to run simulation.

Page 1 of 2

Log in to reply.

error: Content is protected !!