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

How create a mesh with no "face-to-face"-cells?

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   August 10, 2011, 12:22
Default How create a mesh with no "face-to-face"-cells?
  #1
New Member
 
Fabian
Join Date: Jan 2010
Posts: 27
Rep Power: 16
gautcho is on a distinguished road
Hello,

I want to create a pretty simple mesh, but gmsh doesn't want me to do it. I want to have a mesh, in which for example 2 cells are connected to one face of another cell, so the one face from this cell is in contact to 2 faces and not just one.
As far as I got, gmsh doesn't allow meshes of this type. Do you have any idea how to do it anyway (perhaps with blockmesh?)?

Regards
gautcho is offline   Reply With Quote

Old   August 10, 2011, 18:47
Default
  #2
Senior Member
 
Nima Samkhaniani
Join Date: Sep 2009
Location: Tehran, Iran
Posts: 1,267
Blog Entries: 1
Rep Power: 25
nimasam is on a distinguished road
do you want to share a face from one cell with two other cell's face?
as i know, its not possible! you can use block mesh to make this mesh! but when you run the case! it cant resolve phi in shared face! and it stops! then you are supposed to use merge patches! to merge that two faces
nimasam is offline   Reply With Quote

Old   August 11, 2011, 00:20
Default
  #3
New Member
 
Fabian
Join Date: Jan 2010
Posts: 27
Rep Power: 16
gautcho is on a distinguished road
A colleague of mine does use a refinment alg and for him its possible to work with some mesh like this.

Perhaps my description was not good, I try to "paint" something :


--------------
| .............. |
|............... |
| .............. |
--------------
| ...... |..... |
| ...... | .... |
--------------

I want something like this. One cell on top, 2 cells under it (ignore the points!).
gautcho is offline   Reply With Quote

Old   August 11, 2011, 18:02
Default
  #4
Senior Member
 
Nima Samkhaniani
Join Date: Sep 2009
Location: Tehran, Iran
Posts: 1,267
Blog Entries: 1
Rep Power: 25
nimasam is on a distinguished road
means one block share its face with two other block
make it in block mesh easily! use merge patches in block mesh to merge faces together
nimasam is offline   Reply With Quote

Old   August 12, 2011, 01:42
Default
  #5
New Member
 
Fabian
Join Date: Jan 2010
Posts: 27
Rep Power: 16
gautcho is on a distinguished road
Okay, thank you. I thought about blockMesh but an other colleague told me, that this isnt possible with blockMesh.
gautcho is offline   Reply With Quote

Old   August 15, 2011, 08:26
Default
  #6
New Member
 
Fabian
Join Date: Jan 2010
Posts: 27
Rep Power: 16
gautcho is on a distinguished road
Okay, I am very sorry. I didnt tell you, that I need a structured mesh. Can OpenFOAM even handle meshes like this?
gautcho is offline   Reply With Quote

Old   August 15, 2011, 15:56
Default
  #7
Senior Member
 
Wouter van der Meer
Join Date: May 2009
Location: Elahuizen, Netherlands
Posts: 203
Rep Power: 18
wouter is on a distinguished road
in 5.1.1.2 faces the statement is:

Internal faces
Those faces that connect two cells (and it can never be more than two).
For each internal face, the ordering of the point labels is such that the face normal
points into the cell with the larger label, i.e. for cells 2 and 5, the normal points
into 5;

hope this helps
Wouter
wouter is offline   Reply With Quote

Old   August 16, 2011, 02:42
Default
  #8
New Member
 
Fabian
Join Date: Jan 2010
Posts: 27
Rep Power: 16
gautcho is on a distinguished road
I have found that too, but I dont know if its because of my bad english, but I understand it otherwise.

It says, that one face can not connect more than two cells and I am fine with this. But it doesnt say, that tweo cells can not be connected by more than two faces.

Or it is at least not clear and both interpretations are possible...

What do you think?
gautcho is offline   Reply With Quote

Old   August 16, 2011, 02:58
Default
  #9
Member
 
Join Date: Nov 2009
Location: Germany
Posts: 96
Rep Power: 16
val46 is on a distinguished road
Hi,

you can create such a mesh but as far as I know Openfoam can only handle conformal meshes (no hanging nodes).
You can try ggi-interface in dev-version (extend project) of Openfoam.
__________________
"When I meet God, I am going to ask him two questions: Why relativity? And why turbulence? I really believe he will have an answer for the first." Werner Heisenberg
val46 is offline   Reply With Quote

Old   August 16, 2011, 03:15
Default
  #10
Senior Member
 
Wouter van der Meer
Join Date: May 2009
Location: Elahuizen, Netherlands
Posts: 203
Rep Power: 18
wouter is on a distinguished road
gautcho,

In chapter 5.1.1.3 Cells:

cells must not overlap
every cell must be convex, center inside the cell
the angle between the face area vector and the centre-to-centre vector must always be less than 90°

So I do not think that one cell can have two faces in common with another cell.

best
Wouter
wouter 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


Similar Threads
Thread Thread Starter Forum Replies Last Post
[snappyHexMesh] SnappyHexMesh - no layer added bejbro OpenFOAM Meshing & Mesh Conversion 5 February 1, 2020 20:05
[ICEM] Unstructure Meshing Around Imported Plot3D Structured Mesh ICEM kawamatt2 ANSYS Meshing & Geometry 17 December 20, 2011 11:45
[ICEM] Can't create prism layer on 2D extruded mesh PedroC ANSYS Meshing & Geometry 19 April 19, 2011 20:48
Empty cells in mesh Nikolaos FLOW-3D 2 October 21, 2008 23:17
unstructured vs. structured grids Frank Muldoon Main CFD Forum 1 January 5, 1999 10:09


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