CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   OpenFOAM (https://www.cfd-online.com/Forums/openfoam/)
-   -   Cannot find patchField entry for (https://www.cfd-online.com/Forums/openfoam/246028-cannot-find-patchfield-entry.html)

joco November 8, 2022 10:15

Cannot find patchField entry for
 
Hi
I am running openFoam-9. I manged to run a serial simulation. When I try to run in parallel, I get this message "Cannot find patchField entry for Submarine2.stl" in every "/processorN/0/p/boundaryField" entry. The /0/p file is as follows:


Code:

/*--------------------------------*- C++ -*----------------------------------*\
  =========                |
  \\      /  F ield        | OpenFOAM: The Open Source CFD Toolbox
  \\    /  O peration    | Website:  https://openfoam.org
    \\  /    A nd          | Version:  9
    \\/    M anipulation  |
\*---------------------------------------------------------------------------*/
FoamFile
{
    format      ascii;
    class      volScalarField;
    object      p;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //

#include        "include/initialConditions"

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

internalField  uniform $pressure;

boundaryField
{
    //- Set patchGroups for constraint patches
    #includeEtc "caseDicts/setConstraintTypes"

    inlet
    {
        type            zeroGradient;
    }

    outlet
    {
        type            fixedValue;
        value          $internalField;
    }

    lowerWall
    {
        type            zeroGradient;
    }

    upperWall
    {
        type            zeroGradient;
    }

    frontAndBack
    {
        type            zeroGradient;
    }

    Submarine2.stl
    {
        type            zeroGradient;
    }


    #include "include/frontBackUpperPatches"
}

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

I still don't know what I'm doing, so please be patient. Any advice is welcomed.
Thanks in advance.
/Joc


All times are GMT -4. The time now is 05:15.