CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Community Contributions

[cfMesh] renameBoundary

Register Blogs Community New Posts Updated Threads Search

Like Tree2Likes
  • 2 Post By indy07cz

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   March 31, 2016, 04:53
Default renameBoundary
  #1
Member
 
Ervin Adorean
Join Date: Mar 2009
Posts: 76
Rep Power: 17
adorean is on a distinguished road
Hello,

Is it only me, or cfMesh v1.1.1 windows and cfMesh in foam-extend 3.2 only renames boundaries with specified newName, but does not change type, with the one specified in newType?
All types are wall in the resulting constant/polyMesh/boundary file, no matter what (type) one specifies in newPatchNames subdictionary.

For reference, cfMesh cartesianMesh tutorial "elbow_90degree".

Thank you!

Best regards,

Ervin
adorean is offline   Reply With Quote

Old   March 31, 2016, 05:43
Default
  #2
Member
 
Ervin Adorean
Join Date: Mar 2009
Posts: 76
Rep Power: 17
adorean is on a distinguished road
Well, I found the culprit;

in the meshDict, one needs to put "type" as in the UserGuide, not "newType" as in the tutorial file.

Best regards,

Ervin
adorean is offline   Reply With Quote

Old   April 7, 2016, 09:34
Default
  #3
New Member
 
benoit Augier
Join Date: Nov 2014
Posts: 2
Rep Power: 0
baugier is on a distinguished road
Hi Ervin,
I have the same issue, but it is not solved by your simple typo change.
The only command working in my case is defaultName. Nothing regarding the type is working. Have you figure something else out?

Best,
Ben
baugier is offline   Reply With Quote

Old   April 8, 2016, 05:15
Default
  #4
Member
 
Ervin Adorean
Join Date: Mar 2009
Posts: 76
Rep Power: 17
adorean is on a distinguished road
Hi,

I really do not understand your statements.
I have given all the necessary details about the issue and the fix, in my 2 posts.
All you have to do is search in the manual and the tutorial (both mentioned in my posts).

Ervin
adorean is offline   Reply With Quote

Old   April 8, 2016, 09:35
Default
  #5
New Member
 
benoit Augier
Join Date: Nov 2014
Posts: 2
Rep Power: 0
baugier is on a distinguished road
I found my answer in the tutorial you mentionned.
Thanks
baugier is offline   Reply With Quote

Old   February 5, 2020, 04:23
Default
  #6
Member
 
Honza Höll
Join Date: Mar 2016
Location: Brno, CZ
Posts: 34
Rep Power: 10
indy07cz is on a distinguished road
Hi meshers, I have some strange problem with renaming boundaries in the case of fms input file. FMS file is exported from Salome with 5 patches:

Code:
5
(
inlet    wall
outletTG2    wall
privadec    wall
natok    wall
krizeni    wall
)
Since I need different refinement levels for each of them I can't have 1 geometry for wall. Then I want to have "krizeni|provadec|natok" renamed to staticWall. But here comes the problem defaultName and defaultType doesn't work and I must define each part separately (below).

Code:
renameBoundary
{
    defaultName        staticWall;
    defaultType        wall;

    newPatchNames
    {
        inlet
        {
            newName     inlet;
            type     patch;
        }

        outletTG2
        {
            newName     outletTG2;
            type     patch;
        }
        
        privadec
        {
            newName     staticWall;
            type     wall;
        }

        natok
        {
            newName     staticWall;
            type     wall;
        }

        krizeni
        {
            newName     staticWall;
            type     wall;
        }
    }
}
Strange that for STL file everything works fine. So it's not a big problem but maybe a bug? I don't know.
indy07cz is offline   Reply With Quote

Old   February 5, 2020, 10:50
Default
  #7
Senior Member
 
Kmeti Rao
Join Date: May 2019
Posts: 145
Rep Power: 7
Krao is on a distinguished road
Hi Honza,

Try something like this

Quote:
"(privadec|natok|krizeni)"
{
newName staticWall;
type wall;
}
K. Rao
Krao is offline   Reply With Quote

Old   February 7, 2020, 03:50
Default
  #8
Member
 
Honza Höll
Join Date: Mar 2016
Location: Brno, CZ
Posts: 34
Rep Power: 10
indy07cz is on a distinguished road
Thank you, already know about this. I wanted to point out, that defaultName and defaultType don't work properly.
Krao and Ollemand like this.
indy07cz 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
[cfMesh] I should like group and rename patches AFTER meshing pici OpenFOAM Community Contributions 3 August 21, 2015 06:25


All times are GMT -4. The time now is 20:30.