CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Meshing & Mesh Conversion

[mesh manipulation] extrudeMesh can't find any patches

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   June 12, 2018, 11:35
Default extrudeMesh can't find any patches
  #1
New Member
 
Join Date: Apr 2018
Location: Ohio, USA
Posts: 15
Rep Power: 8
shang2 is on a distinguished road
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 is offline   Reply With Quote

Old   June 12, 2018, 11:36
Default
  #2
New Member
 
Join Date: Apr 2018
Location: Ohio, USA
Posts: 15
Rep Power: 8
shang2 is on a distinguished road
Disregard, I was being an idiot.
shang2 is offline   Reply With Quote

Old   April 19, 2019, 10:10
Question
  #3
Member
 
Rishikesh
Join Date: Apr 2016
Posts: 63
Rep Power: 10
mrishi is on a distinguished road
What were you doing wrong? I have the same issue.
mrishi is offline   Reply With Quote

Old   April 20, 2019, 05:49
Default
  #4
Member
 
Rishikesh
Join Date: Apr 2016
Posts: 63
Rep Power: 10
mrishi is on a distinguished road
Never mind, I understand
mrishi is offline   Reply With Quote

Old   February 5, 2021, 21:42
Default
  #5
New Member
 
Minglong Lu
Join Date: Oct 2020
Posts: 3
Rep Power: 6
dragon boy is on a distinguished road
I have the same issue, how to solve it?
dragon boy is offline   Reply With Quote

Old   February 26, 2021, 10:00
Default
  #6
New Member
 
Jared Bland
Join Date: Nov 2020
Posts: 18
Rep Power: 6
JEBland is on a distinguished road
Quote:
Originally Posted by dragon boy View Post
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.
JEBland is offline   Reply With Quote

Old   February 26, 2021, 21:46
Default
  #7
New Member
 
Minglong Lu
Join Date: Oct 2020
Posts: 3
Rep Power: 6
dragon boy is on a distinguished road
Quote:
Originally Posted by JEBland View Post
Double check that your point in the snappyHexMeshDict is inside the volume generated by the extrudeMesh.That fixed it for mine.
ok thank you!
dragon boy is offline   Reply With Quote

Reply

Tags
extrudemesh, meshing, snappyhexmesh


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Decomposing meshes Tobi OpenFOAM Pre-Processing 22 February 24, 2023 10:23
Rotating Mesh, errors in Cyclic AMI interface WhiteW OpenFOAM 2 September 26, 2016 10:12
[foam-extend.org] Installing foam-extend 3.1 on Ubuntu 14.04 stephie OpenFOAM Installation 16 April 23, 2015 17:18
OpenFOAM 1.6-ext git installation on Ubuntu 11.10 x64 Attesz OpenFOAM Installation 45 January 13, 2012 13:38
Problem Building OF on Centos cluster (no admin rights) CKH OpenFOAM Installation 5 November 13, 2011 07:32


All times are GMT -4. The time now is 13:19.