CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Running, Solving & CFD

renaming and setting path types

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   March 25, 2019, 18:35
Default renaming and setting path types
  #1
Senior Member
 
Brett
Join Date: May 2013
Posts: 217
Rep Power: 14
Bdew8556 is on a distinguished road
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;
}

}
}
Bdew8556 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



All times are GMT -4. The time now is 01:14.