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 2:45 pm

    you are correct but I have already changed my velocity file ..
    this is my velocity file …… .

    ………………………………… 0/U

    /*——————————–*- 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 volVectorField;
    object U;
    }
    // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //

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

    internalField uniform (1 0 0);

    boundaryField
    {
    inlet
    {
    type fixedValue;
    value uniform (20 0 0);
    }

    farfield
    {
    type inletOutlet;
    inletValue uniform (1 0 0);
    value $internalField;

    }

    golfBall
    {
    type noSlip;
    }

    }

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

error: Content is protected !!