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

[cfMesh] Non-conformal meshes using cfMesh

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   July 27, 2017, 06:17
Default Non-conformal meshes using cfMesh
  #1
New Member
 
Lucas Ribeiro
Join Date: Aug 2016
Posts: 23
Rep Power: 10
Warlord is on a distinguished road
Hello folks,

I am running a FSI (Fluid-Structure Interaction) case, which the fluid is confined inside the solid. There is plane of symmetry on the right hand side and this is a 2D case. I am using two very simple cfMesh dictionaries (the simplest in fact). Here they are:

Code:
surfaceFile "models/solid/solid.fms";

maxCellSize   0.0001875;
Code:
surfaceFile "models/fluid/fluid.fms";

maxCellSize   0.0001875;
Mesh:
https://www.dropbox.com/s/o2pmzigzek...lMesh.jpg?dl=0

https://www.dropbox.com/s/o2pmzigzek...lMesh.jpg?dl=0

I would like them to be conformal to with other at the interface. Does anyone know how to do it?

Ps: Using cfMesh 1.1.2 form official site https://sourceforge.net/projects/cfmesh/
Warlord is offline   Reply With Quote

Old   July 31, 2017, 06:24
Default
  #2
Member
 
benoit paillard
Join Date: Mar 2010
Posts: 96
Rep Power: 16
bennn is on a distinguished road
Hi !

If you use two different geometries and two different meshing procedures, there is not much you can do about having them perfectly conformal during at mesh generation...

BUT if you give two identical refinements on two identical surfaces (with surfaceRefinement for instance), then the two meshes will be similar enough, and then you can conform them with stitchMesh.

Another option is to use a single mesh procedure, and then separate the two zones.

Good luck !
bennn is offline   Reply With Quote

Old   August 1, 2017, 05:54
Default
  #3
New Member
 
Lucas Ribeiro
Join Date: Aug 2016
Posts: 23
Rep Power: 10
Warlord is on a distinguished road
Thank you for your help!

Quote:
BUT if you give two identical refinements on two identical surfaces (with surfaceRefinement for instance), then the two meshes will be similar enough, and then you can conform them with stitchMesh.
I have looked at the documentation of stitchMesh and I could not see how to use in my case, since I need two separeted meshes in order to run the solver. If have understood correctly, after using it I would end up with a single mesh, am I wrong?

Quote:
Another option is to use a single mesh procedure, and then separate the two zones.
Are you talking about SplitMeshRegions? If yes, would the procedure be like this?
1) Generate the mesh for the whole domain(using cfMesh of course) and, using stl files, refine the internal boundaries.
2) Use SplitMeshRegions. But for my case I would have a problem with the symmetry boundary of the fluid. This one has two boundaries, FSI boundary and symmetry boundary. Using SplitMeshRegions I would end up with only one boundary.

Too much complicated
I think I'll return to this problem later. I thinking on another possibility, i.e., changing the code of cfMesh to support the use of a reference mesh created by previously cfMesh procedure. Something like this:
1) The same algorithm of cfMesh, but at the moment of the removing internal cells (in this case the fluid domain) the code would save this removed cell into file A.
2) Run for cfMesh for the fluid, but now use a base mesh specified by A.
Warlord is offline   Reply With Quote

Reply

Tags
cfmesh, conformal meshes, openfoam


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
[cfMesh] mesh improvements for 'face tets' pici OpenFOAM Community Contributions 1 September 2, 2015 05:31
Getting prism to inflate into mixed tet-hex meshes Joe CFX 16 October 10, 2011 08:06
Do Merged Patch Pairs require identical (conformal) meshes? delic OpenFOAM 1 April 19, 2010 09:05
[ICEM] how to create meshes of conformal nodes? snailstb ANSYS Meshing & Geometry 2 March 12, 2010 04:23
[GAMBIT] Conformal Mapped BL Meshes Forrest ANSYS Meshing & Geometry 0 August 20, 2009 16:02


All times are GMT -4. The time now is 16:24.