CFD Online Logo CFD Online URL
Home > Forums > OpenFOAM Pre-Processing

Create an internal face

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

LinkBack Thread Tools Display Modes
Old   June 19, 2013, 09:42
Default Create an internal face
Senior Member
Join Date: Nov 2012
Location: Bavaria
Posts: 145
Rep Power: 7
aylalisa is on a distinguished road
Hi to All,

I simulate a flow in a channel.

-fluid: water
-transport model: Newtonian
-very small velocity at inlet face that results in a laminar flow in the whole channel

The channel has a length of 3,1m (x-direction, width = y-direction = 0,250m, height = z-direction = 0,02m).

Attempt 1

I would like to define an internal face in the blockMeshDict to be able to map the final velocity field of that internal face on the inlet face of another channel model as boundary condition with help of mapFields utility.

The channel consists of three blocks. The desired internal face connects block 1 (delta x = 0m - 1m = 1m) with block 2 (delta x = 1m - 2,5m = 1,5m).

If I add two additional patches (outlet_block1, inlet_block2) in the boundary () subdictionary and list them up in subdict mergePatchPairs () I get an error message after starting blockMesh.

Trying to specify a boundary face 4(0 3 7 4) on the face on cell 0 which is either an internal face or already belongs to some other patch. This is face 0 of patch 5 named Developing_outlet.

From function polyMesh::setTopology
const cellShapeList& cellsAsShapes,
const faceListList& boundaryFaces,
const wordList& boundaryPatchNames,
labelList& patchSizes,
labelList& patchStarts,
label& defaultPatchStart,
label& nFaces,
cellList& cells
in file meshes/polyMesh/polyMeshFromShapeMesh.C at line 360.

FOAM aborting
Attempt 2

I've created the velocity field of that internal face with sample utility --> folder surfaces is created and contains for each time step the required data. But then I am not able to map that data on the inlet boundary of the other model with help of mapFields.

MapFields maps the complete volume velocity field from model 1 to model 2. But I would like to map only the velocity field of the internal surface to the inlet surface (inlet boundary condition) of model 2.

Can anybody help???

aylalisa is offline   Reply With Quote

Old   June 19, 2013, 12:02
Senior Member
mturcios777's Avatar
Marco A. Turcios
Join Date: Mar 2009
Location: Vancouver, BC, Canada
Posts: 735
Rep Power: 21
mturcios777 will become famous soon enough
I don't believe you can do such a thing with blockMesh. Why not define a faceZone (using topoSet or similar tools), then sample off the faceZone and map. Though I'm not sure how I would map from a faceZone to a boundary; I need to think harder about this...
mturcios777 is offline   Reply With Quote


Thread Tools
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 On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
Meshing a Sphere Ajay FLUENT 10 September 3, 2016 14:18
[Workbench] Named selection for internal face not appearing in CFX-Pre francis1 ANSYS Meshing & Geometry 0 April 21, 2013 09:22
[ICEM] how to create internal wall? yuhehuan ANSYS Meshing & Geometry 24 October 31, 2012 13:30
TGridFluent mesh with internal by prism layer and internal face for diagnostic sponiar OpenFOAM Other Meshers: ICEM, Star, Ansys, Pointwise, GridPro, Ansa, ... 2 March 30, 2009 15:02
fluent add additional zones for the mesh file SSL FLUENT 2 January 26, 2008 12:55

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