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

Home Forums OpenFOAM Forum Cylinder assignment

  • Cylinder assignment

    Posted by Harshavardhan on December 7, 2022 at 12:06 pm

    When I try to run the surfaceFeatureExtract for the cylinder, I get an error stating that the file is not available. I tried renaming the file again to .stl, but it did not work. Attaching images for your reference.

     

     

    Barış Bicer replied 1 year, 4 months ago 2 Members · 8 Replies
  • 8 Replies
  • Harshavardhan

    Member
    December 7, 2022 at 12:07 pm

  • Harshavardhan

    Member
    December 7, 2022 at 12:07 pm

  • Harshavardhan

    Member
    December 9, 2022 at 3:18 am

    The problem has been fixed with the help of Midhun from support team. I had given triSurafce instead of trisurface(capital S).

  • Barış Bicer

    Moderator
    December 10, 2022 at 2:29 pm

    Thats great.

    Unfortunately, OpenFOAM is very sensitive to letters especailly for execution of utilities 🙂

    But, it is good that you are learning with trials and see!

    Great!

  • Harshavardhan

    Member
    December 20, 2022 at 1:17 am

    thank you baris. Unfotunatley, I am not able to run the snappy hex mesh and i get the following error.

    /*—————————————————————————*\
    | ========= | |
    | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
    | \\ / O peration | Version: 2206 |
    | \\ / A nd | Website: http://www.openfoam.com |
    | \\/ M anipulation | |
    \*—————————————————————————*/
    Build : _76d719d1e6-20220624 OPENFOAM=2206 version=v2206
    Arch : “LSB;label=32;scalar=64”
    Exec : snappyHexMesh
    Date : Dec 20 2022
    Time : 12:16:20
    Host : hk3956-VirtualBox
    PID : 11803
    I/O : uncollated
    Case : /home/hk3956/OpenFOAM/hk3956-v2206/run/cyclinder/motorBike
    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

    Create mesh for time = 0

    Read mesh in = 0 s

    –> FOAM FATAL IO ERROR: (openfoam-2206)
    Entry ‘addLayersControls’ not found in dictionary “/home/hk3956/OpenFOAM/hk3956-v2206/run/cyclinder/motorBike/system/snappyHexMeshDict”

    file: system/snappyHexMeshDict at line 18 to 323.

    From static const Foam::dictionary& Foam::meshRefinement::subDict(const Foam::dictionary&, const Foam::word&, bool, Foam::keyType::option)
    in file meshRefinement/meshRefinement.C at line 3803.

    FOAM exiting

  • Barış Bicer

    Moderator
    December 20, 2022 at 6:17 pm

    Hi Konka,

    It says that you somehow deleted the addLayersControl dictionary inside snappyHexMeshdict file.

    Please compare your snappy file with an original one and check in which line you have deleted addLayersControl

    Best

  • Harshavardhan

    Member
    December 22, 2022 at 7:22 am

    Hi baris,

    I was able to fix the issue and complete the assignment. Unfortunately I am not able to upload the case files as it says too large. Pls let me know how I can upload it.

  • Barış Bicer

    Moderator
    December 22, 2022 at 8:52 am

    Hi Konka,

    Please contact with support and write them an email related to problem.

    They will help you.

    Best

Log in to reply.

error: Content is protected !!