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

Home Forums OpenFOAM Forum Lecture 24 Golfball Reply To: Lecture 24 Golfball

  • John

    Member
    May 26, 2022 at 6:48 am

    Find attached the SurfaceFeaturesDict for OF9:

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

    surfaces
    (
    “golfBall.stl”
    );

    // Identify a feature when angle between faces < includedAngle
    includedAngle 170;

    trimFeatures
    {
    // Remove features with fewer than the specified number of edges
    minElem 10;
    }

    subsetFeatures
    {
    // Keep nonManifold edges (edges with >2 connected faces)
    nonManifoldEdges no;

    // Keep open edges (edges with 1 connected face)
    openEdges yes;

    // Write options
    // Write features to obj format for postprocessing
    writeObj yes;
    }

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

error: Content is protected !!