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

[cfMesh] I should like group and rename patches AFTER meshing

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   August 6, 2015, 11:44
Question I should like group and rename patches AFTER meshing
  #1
Member
 
pici's Avatar
 
Pierluigi Cirrottola
Join Date: Jun 2013
Posts: 52
Rep Power: 13
pici is on a distinguished road
Hi to everybody.
I did a long session, that should have terminated with grouping together all patches like "pareti.*" and rename the resulting single patch simply "pareti"
(in Italian, pareti means walls).
Anything goes well, but patches are not grouped and not renamed.
There is an utility able to do this job AFTER meshing process?
I ask this because the whole meshing process take more then a couple of hours . . .
Thank you in advance
Piero
pici is offline   Reply With Quote

Old   August 6, 2015, 11:57
Red face
  #2
Member
 
pici's Avatar
 
Pierluigi Cirrottola
Join Date: Jun 2013
Posts: 52
Rep Power: 13
pici is on a distinguished road
Quote:
Originally Posted by pici View Post
Hi to everybody.
I did a long session, that should have terminated with grouping together all patches like "pareti.*" and rename the resulting single patch simply "pareti"
(in Italian, pareti means walls).
Anything goes well, but patches are not grouped and not renamed.
There is an utility able to do this job AFTER meshing process?
I ask this because the whole meshing process take more then a couple of hours . . .
Thank you in advance
Piero
Just now I noted that, in meshDict, there was an extra "}" just before the renameBoundary sub-dictionary. Obviously, this should be the error reason. But my question could be still valid, because it is easy to make this kind of typing mistake.
Many thanks
Piero
pici is offline   Reply With Quote

Old   August 20, 2015, 17:32
Default cfMesh: renameBoundary option
  #3
Senior Member
 
Franjo Juretic
Join Date: Aug 2011
Location: Velika Gorica, Croatia
Posts: 124
Rep Power: 17
franjo_j is on a distinguished road
Send a message via Skype™ to franjo_j
Hi,

I hope that your problems are resolved by removing an extra }.
Currently, it is not possible to rename boundary patches because it is not implemented as a separate utility. It is not difficult to do, all you need is to create a new utility and copy the code for renaming boundaries from cartesianMeshGenerator.C.
How many cells are there in the case lasting a couple of hours and how many cores were available for the meshing job?

Ciao,

Franjo
__________________
Principal Developer of cfMesh and CF-MESH+
www.cfmesh.com
Social media: LinkedIn, Twitter, YouTube, Facebook, Pinterest, Instagram
franjo_j is offline   Reply With Quote

Old   August 21, 2015, 07:25
Thumbs up
  #4
Member
 
pici's Avatar
 
Pierluigi Cirrottola
Join Date: Jun 2013
Posts: 52
Rep Power: 13
pici is on a distinguished road
Quote:
Originally Posted by franjo_j View Post
Hi,

I hope that your problems are resolved by removing an extra }.
Yes, at all.

Quote:
Currently, it is not possible to rename boundary patches because it is not implemented as a separate utility. It is not difficult to do, all you need is to create a new utility and copy the code for renaming boundaries from cartesianMeshGenerator.C.
How many cells are there in the case lasting a couple of hours and how many cores were available for the meshing job?

Ciao,

Franjo
About the possibility to do the utility by myself, I don't like to do this kind of job, because I'm not a good programmer.
About the size of the problem, the final mesh has about 7.5 Million Cells; the hardware is a little obsolete: 2xAMD Opteron 2222 (totale 4 cores), 16 GB memory, but only DDR2 at 666 MHz.

Actually I see a decisive increment in performances: only 12 minutes to calculate about 10 Million Cells. Perhaps I'm now more experienced (the hw is still the same) . . . .
Ciao e grazie
Piero
pici is offline   Reply With Quote

Reply

Tags
cfmesh, patches, pre-processing


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 16:40.