|
[Sponsors] |
March 25, 2019, 18:35 |
renaming and setting path types
|
#1 |
Senior Member
Brett
Join Date: May 2013
Posts: 217
Rep Power: 14 |
Hi Foamers.
I notice that after running cartesianMesh the boundary files has all my path types set to empty. Naturally the simple way around this is to just rename them. However I thought that could be done in meshDict? I've got this bit of code at the end of my meshDict but it doesn't seem to be working. renameBoundary { newPatchNames { "Inlet_Jet" { newName Inlet_Jet; newType patch; } "DS_Patch.*" { newName DS_Patch; newType patch; } "US_Patch.*" { newName US_Patch; newType patch; } "Bottom_Wall.*" { newName Bottom_Wall; newType wall; } "DS_Top_Wall.*" { newName DS_Top_Wall; newType wall; } "LHS_Wall.*" { newName LHS_Wall; newType wall; } "RHS_Wall.*" { newName RHS_Wall; newType wall; } "US_Top_Wall.*" { newName US_Top_Wall; newType wall; } } } |
|
|
|