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
|