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

[mesh manipulation] stitch mesh - problem with boundary

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   June 19, 2014, 09:54
Default stitch mesh - problem with boundary
  #1
Senior Member
 
M. C.
Join Date: May 2013
Location: Italy
Posts: 286
Blog Entries: 6
Rep Power: 16
student666 is on a distinguished road
Hi all,

I'm trying to mesh the following 3 regions.

I use the following createPatchDict to merge:

- fak12 with fak13
- wall_tubo with wall
- fak31 with fak32


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


pointSync false;


patches
(
    {
        // Name of new patch
        name tubo_inlet;

        // Dictionary to construct new patch from
        patchInfo
        {
            type patch;
   

         
        }

 
        constructFrom patches;

       
        patches (fak12 fak13);

        // If constructFrom = set : name of faceSet
      //  set f0;
    }
 
    {

        name tubo_asp;

      
        patchInfo
        {
            type patch;

        }

       constructFrom patches;

        patches (fak31 fak32);

     }


    {
        name wall_TUBO;
      
        patchInfo
        {
            type patch;

        }

       constructFrom patches;

        patches (wall wall_tubo1);

     }

);

// ************************************************************************* //
After I perform stitchMesh between fak21 & fak22.

Then I delete the patches with 0 faces from boundary file.

When I perform stitchMesh between fak11 and tubo_inlet I get the following:

Code:
Create time

Create mesh for time = 0

Coupling patches fak11 and tubo_inlet
Resulting (internal) faces will be in faceZone fak11tubo_inletCutFaceZone

Note: the overall area covered by both patches should be identical ("integral" interface).
If this is not the case use the -partial option



--> FOAM FATAL ERROR: 
Not all zones and patches needed in the definition have been found.  Please check your mesh definition.

    From function void slidingInterface::checkDefinition()
    in file slidingInterface/slidingInterface.C at line 85.

FOAM aborting
but in the boundary file definition I find the patches. So I can't understand the error..

Can someone help me please?
Attached Images
File Type: jpg Cattura.JPG (62.3 KB, 38 views)
student666 is offline   Reply With Quote

Old   June 19, 2014, 12:26
Default
  #2
Senior Member
 
M. C.
Join Date: May 2013
Location: Italy
Posts: 286
Blog Entries: 6
Rep Power: 16
student666 is on a distinguished road
I found the solution here.

http://www.cfd-online.com/Forums/ope...o-patches.html

Thanks anyway.
student666 is offline   Reply With Quote

Reply


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
Out File does not show Imbalance in % Mmaragann CFX 5 January 20, 2017 10:20
Waterwheel shaped turbine inside a pipe simulation problem mshahed91 CFX 3 January 10, 2015 11:19
Moving mesh Niklas Wikstrom (Wikstrom) OpenFOAM Running, Solving & CFD 122 June 15, 2014 06:20
An error has occurred in cfx5solve: volo87 CFX 5 June 14, 2013 17:44
[Commercial meshers] Trimmed cell and embedded refinement mesh conversion issues michele OpenFOAM Meshing & Mesh Conversion 2 July 15, 2005 04:15


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