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

Home Forums OpenFOAM Forum golf ball simulation Reply To: golf ball simulation

  • shivam

    Member
    May 23, 2022 at 8:58 am

    /*——————————–*- C++ -*———————————-*\
    ========= |
    \\ / F ield | OpenFOAM: The Open Source CFD Toolbox
    \\ / O peration | Website: https://openfoam.org
    \\ / A nd | Version: 7
    \\/ M anipulation |
    \*—————————————————————————*/
    FoamFile
    {
    version 2.0;
    format ascii;
    class volScalarField;
    location “0”;
    object k;
    }
    // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //

    dimensions [0 2 -2 0 0 0 0];

    internalField uniform 1.5;

    boundaryField
    {
    inlet
    {
    type fixedValue;
    value $internalField;
    }

    farfield
    {

    type inletOutlet;
    inletValue $internalField;
    value $internalField;
    }

    golfBall
    {
    type kqRWallFunction;
    value $internalField;
    }

    }

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

error: Content is protected !!