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

Simple manual cell deleting question

Register Blogs Community New Posts Updated Threads Search

 
 
LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
Old   June 15, 2012, 12:10
Default Simple manual cell deleting question
  #1
New Member
 
James Simpson
Join Date: Jun 2012
Posts: 10
Rep Power: 13
jasimpson89 is on a distinguished road
Hi, I am very new to CFD and the use of open foam.


I would like to be able to create a hex mesh over the whole bounding box of a geometry using blockMesh and then to go and remove all cells the lie outside the geometry.* The reason being is that I have a complex geometry that is difficult to block and can live with the CFD geometry being a stair-stepped approximation of the real geometry.* I want to automate the process so don't want to rely on a 3rd party mesher or snappyHexMesh * Has anyone done something similar?*

Currently I am using a very simple geometry of one block and a 3x1x1 cell configuration just to see a method of how I could automate this. So I have 3 cells adjacent to each other (012). What I am trying to do is delete cell 1 the middle cell of this system.

The procedure I am following is:

1. Editing the boundary file, subtracting off 2 faces because I have removed four faces but two of the internal faces have no become boundary faces. And setting the start to 0 (no more internal faces)

2. Editing the faces file to reflect the changed I have made of deleting the faces

3. Setting the neighbour file 0( ) as we have no neighbours now?

4. Deleting the in the owners file the owner associated with the faces I have deleted.

After all this is done when I open this in paraFoam, the internal mesh I am given is just weird it doesn't seem to reflect the changes I have made, Sometimes faces are missing and point join up in weird ways making weird and wonderful shapes.

Two things to note are:

1. All these changes are made after the command blockMesh is ran

2. I ran checkMesh on my edited geometry and obviously it crashed. However I did notice that it was expecting there to be 9 cells present, but I want 8 because I am trying to delete one. One would assume that paraFoam would be expecting 9 and not 8 so hence my weird shapes. But I don't know what file to edit to change the number of cells in my geometry. Does anyone know? or does checkMesh work it out from your blockMeshDict?

Apologies if anything I have mentioned is confusing I would be more than happy to clarify any of the points I have made.

Thanks in advance

James
jasimpson89 is offline   Reply With Quote

 


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
Simple Question Regarding Symmetry Planes Atella CFX 3 April 11, 2010 06:44
Simple Question Regarding Symmetry Planes Atella Main CFD Forum 0 April 9, 2010 10:58
Question of Anil Date's SIMPLE method universez Main CFD Forum 0 November 18, 2009 20:12
question on UDF manual example ak6g08 FLUENT 0 June 25, 2009 11:58
A Simple Question Thomas P. Abraham Main CFD Forum 3 September 6, 1999 18:19


All times are GMT -4. The time now is 21:31.