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

[cfMesh] How does cfMesh determine which region to mesh

Register Blogs Members List Search Today's Posts Mark Forums Read

Like Tree1Likes
  • 1 Post By franjo_j

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   March 24, 2015, 03:28
Default How does cfMesh determine which region to mesh
  #1
Senior Member
 
BastiL
Join Date: Mar 2009
Posts: 527
Rep Power: 18
bastil is on a distinguished road
Hello all,

I have a stl-File with multiple volume regions in. CfMesh warns me about non-manifoldness which is caused by the multi-regions present.
However, it just meshes one of the regions - and an unimportant one. I want to have the choice which region to be meshed or to keep all regions and delete the unrequired once afterwards.

Thanks for your hints.
bastil is offline   Reply With Quote

Old   March 26, 2015, 12:27
Default ... same here ....
  #2
Member
 
Carsten Thorenz
Join Date: Mar 2009
Location: Germany
Posts: 34
Rep Power: 15
carsten is on a distinguished road
Hi Bastil,

I have the same request, as I quite often use STLs which form multiple "volumes", but I found no way in cartesianMesh to define a "region of interest" by a seed point or the like.

Apart from that I think that cfmesh is really nice. It works much better than snappyHexMesh at difficult curved surfaces, IMHO.

Best,

Carsten
carsten is offline   Reply With Quote

Old   March 27, 2015, 08:38
Default
  #3
Senior Member
 
Franjo Juretic
Join Date: Aug 2011
Location: Velika Gorica, Croatia
Posts: 124
Rep Power: 15
franjo_j is on a distinguished road
Send a message via Skype™ to franjo_j
Hello,

In the current form, cfMesh generates a mesh in a single domain. If there exist multiple disconnected parts, it will only keep the part with most cells and remove cells from the other ones.
The warning "Surface is not a manifold" is just a warning that the topology of the surface mesh cannot be preserved in the volume mesh.
The functionality to capture all domains is not in the official release. There is a branch feature-multiMaterial in the git repository containing some basic work towards multi-material meshing. It allows for using allowDisconnectedDomains 1 in meshDict, and the mesher then preserves the mesh inside all volumes and meshes them independently, and it does not ensure conformal connection between the domains. This serves as a temporary solution.
I hope this helps.

Regards,

Franjo
akashpatel95 likes this.
franjo_j is offline   Reply With Quote

Old   April 15, 2015, 10:52
Default
  #4
Member
 
amine
Join Date: Jan 2014
Location: FRANCE
Posts: 78
Rep Power: 10
aminem is on a distinguished road
Dear Franjo,
I have download and compiled a cfMesh-code to test the feature-multiMaterial by adding allowDisconnectedDomains 1 in my meshDict but it's doesn't work!!!
Do I have something wrong with my approach?
Thanks
aminem is offline   Reply With Quote

Old   August 9, 2022, 05:40
Default
  #5
Senior Member
 
Join Date: Jan 2012
Posts: 197
Rep Power: 12
itsme_kit is on a distinguished road
Hi Franjo

I have followed your solution to generate mesh independently.

I'm wondering if we have a solution to build a conformal mesh up to now.

Looking forward to hearing from you.

Best Regards,

Kit

Quote:
Originally Posted by franjo_j View Post
Hello,

In the current form, cfMesh generates a mesh in a single domain. If there exist multiple disconnected parts, it will only keep the part with most cells and remove cells from the other ones.
The warning "Surface is not a manifold" is just a warning that the topology of the surface mesh cannot be preserved in the volume mesh.
The functionality to capture all domains is not in the official release. There is a branch feature-multiMaterial in the git repository containing some basic work towards multi-material meshing. It allows for using allowDisconnectedDomains 1 in meshDict, and the mesher then preserves the mesh inside all volumes and meshes them independently, and it does not ensure conformal connection between the domains. This serves as a temporary solution.
I hope this helps.

Regards,

Franjo
itsme_kit is offline   Reply With Quote

Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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
sliding mesh problem in CFX Saima CFX 46 September 11, 2021 08:38
How I can introduce my power heat (W) in chtMultiRegionFoam? aminem OpenFOAM Pre-Processing 32 August 29, 2019 03:23
[TurboGrid] Holes and overlap of Mesh elements in Shroud Region vishwasvemra ANSYS Meshing & Geometry 0 July 12, 2017 02:39
[snappyHexMesh] snappyHexMesh won't work - zeros everywhere! sc298 OpenFOAM Meshing & Mesh Conversion 2 March 27, 2011 22:11
How to control Minximum mesh space? hung FLUENT 7 April 18, 2005 10:38


All times are GMT -4. The time now is 17:23.