CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   OpenFOAM Meshing & Mesh Conversion (https://www.cfd-online.com/Forums/openfoam-meshing/)
-   -   [mesh manipulation] extrudeMesh can't find any patches (https://www.cfd-online.com/Forums/openfoam-meshing/202941-extrudemesh-cant-find-any-patches.html)

shang2 June 12, 2018 10:35

extrudeMesh can't find any patches
 
I ran snappyHexMesh and am now trying to run extrudeMesh. However, extrudeMesh can't seem to find any of my patches. Do I have some sort of syntax error or do I just not understand how extrudeMesh works?

extrudeMeshDict (excerpt)
Code:

/*--------------------------------*- C++ -*----------------------------------*\
| =========                |                                                |
| \\      /  F ield        | OpenFOAM: The Open Source CFD Toolbox          |
|  \\    /  O peration    | Version:  5                                    |
|  \\  /    A nd          | Web:      www.OpenFOAM.org                      |
|    \\/    M anipulation  |                                                |
\*---------------------------------------------------------------------------*/
FoamFile
{
    version    2.0;
    format      ascii;
    class      dictionary;
    object      extrudeMeshDict;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //

// What to extrude:
//      patch  : from patch of another case ('sourceCase')
//      mesh    : as above but with original case included
//      surface : from externally read surface

//constructFrom mesh;
constructFrom patch;
//constructFrom surface;

// If construct from patch/mesh:
sourceCase ".";
sourcePatches (right);


Output:
Code:

/*---------------------------------------------------------------------------*\
| =========                |                                                |
| \\      /  F ield        | OpenFOAM: The Open Source CFD Toolbox          |
|  \\    /  O peration    | Version:  5.x                                  |
|  \\  /    A nd          | Web:      www.OpenFOAM.org                      |
|    \\/    M anipulation  |                                                |
\*---------------------------------------------------------------------------*/
Build  : 5.x-197d9d3bf20a
Exec  : extrudeMesh
Date  : Jun 12 2018
Time  : 10:30:43
Host  : "LAPTOP-CJTPIN3R"
PID    : 1693
I/O    : uncollated
Case  : /mnt/c/subTransfer/nozzle16/case4.base
nProcs : 1
sigFpe : Enabling floating point exception trapping (FOAM_SIGFPE).
fileModificationChecking : Monitoring run-time modified files using timeStampMaster (fileModificationSkew 10)
allowSystemOperations : Allowing user-supplied system call operations

// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
Create time

Create mesh for time = 0

Selecting extrudeModel linearNormal
Extruding from patch using model linearNormal
Not collapsing any edges after extrusion

Extruding patches 1(right) on mesh "/mnt/c/subTransfer/nozzle16/case4.base"

Create mesh for time = 0

Adding overall 0 processor patches.


--> FOAM FATAL ERROR:
Cannot find patch boundary in the source mesh.
Valid patch names are
6
(
inlet
left
mirror
nozzle
outlet
right
)


    From function Foam::label findPatchID(const Foam::polyBoundaryMesh&, const Foam::word&)
    in file extrudeMesh.C at line 141.

FOAM exiting


shang2 June 12, 2018 10:36

Disregard, I was being an idiot.

mrishi April 19, 2019 09:10

What were you doing wrong? I have the same issue.

mrishi April 20, 2019 04:49

Never mind, I understand :D:D

dragon boy February 5, 2021 20:42

I have the same issue, how to solve it?

JEBland February 26, 2021 09:00

Quote:

Originally Posted by dragon boy (Post 795432)
I have the same issue, how to solve it?


Double check that your point in the snappyHexMeshDict is inside the volume generated by the extrudeMesh.That fixed it for mine.

dragon boy February 26, 2021 20:46

Quote:

Originally Posted by JEBland (Post 797342)
Double check that your point in the snappyHexMeshDict is inside the volume generated by the extrudeMesh.That fixed it for mine.

ok thank you!


All times are GMT -4. The time now is 03:49.