|
[Sponsors] |
March 31, 2016, 04:53 |
renameBoundary
|
#1 |
Member
Ervin Adorean
Join Date: Mar 2009
Posts: 76
Rep Power: 17 |
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 |
|
March 31, 2016, 05:43 |
|
#2 |
Member
Ervin Adorean
Join Date: Mar 2009
Posts: 76
Rep Power: 17 |
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 |
|
April 7, 2016, 09:34 |
|
#3 |
New Member
benoit Augier
Join Date: Nov 2014
Posts: 2
Rep Power: 0 |
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 |
|
April 8, 2016, 05:15 |
|
#4 |
Member
Ervin Adorean
Join Date: Mar 2009
Posts: 76
Rep Power: 17 |
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 |
|
April 8, 2016, 09:35 |
|
#5 |
New Member
benoit Augier
Join Date: Nov 2014
Posts: 2
Rep Power: 0 |
I found my answer in the tutorial you mentionned.
Thanks |
|
February 5, 2020, 04:23 |
|
#6 |
Member
Honza Höll
Join Date: Mar 2016
Location: Brno, CZ
Posts: 34
Rep Power: 10 |
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 ) 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; } } } |
|
February 5, 2020, 10:50 |
|
#7 | |
Senior Member
Kmeti Rao
Join Date: May 2019
Posts: 145
Rep Power: 7 |
Hi Honza,
Try something like this Quote:
|
||
February 7, 2020, 03:50 |
|
#8 |
Member
Honza Höll
Join Date: Mar 2016
Location: Brno, CZ
Posts: 34
Rep Power: 10 |
Thank you, already know about this. I wanted to point out, that defaultName and defaultType don't work properly.
|
|
|
|
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 |