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

Multiple cell zones definition

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

LinkBack Thread Tools Display Modes
Old   February 26, 2012, 15:36
Default Multiple cell zones definition
New Member
Join Date: Feb 2012
Posts: 7
Rep Power: 7
ciberbob1987 is on a distinguished road
Hi everybody,
I'm using porousSimpleFoam and I need to define multiple porous zones.

The computational domain is composed by 6 porous petals (similar to 6 pipes), each one twisted with other around a central hole (see attached image).

At the moment, the porous region (isotropic) is defined by the setSet command and the batch file:
cellSet porousCylinder new surfaceToCell "porousCylinderInlets.stl" ( (0 0 0) (-0.017 0 0) ) true true false -1 -100
a render of porousCylinderInlets.stl is shown in the image below:

I need to define an anisotropic porosity along the axial and radial directions of each petal.
I think that the right way is:
  1. define various sections for each petal, of fixed thickness along the z axe (an example is given in the image)
  2. group in a set the cells of every section
  3. create a cellZones from the sets
  4. define a local axes and porosity for each zone in porousZones file

I can generate sections (only surface!) with the script attached. A render of the sections extracted is shown below:

Now, I want to ask if is it possible to generate the cellSets and CellZones (points 1, 2, 3 of above list) by a script.

Many thanks to all.
ciberbob1987 is offline   Reply With Quote

Old   February 26, 2012, 15:49
New Member
Join Date: Feb 2012
Posts: 7
Rep Power: 7
ciberbob1987 is on a distinguished road
I forgot the script to generate the section surfaces
Attached Files
File Type: gz Script.tar.gz (45.1 KB, 33 views)
ciberbob1987 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
how to set periodic boundary conditions Ganesh FLUENT 13 January 22, 2014 05:11
OpenFOAM static build on Cray XT5 asaijo OpenFOAM Installation 9 April 6, 2011 12:21
Cells with t below lower limit Purushothama Siemens 2 May 31, 2010 21:58
Trimmed cell and embedded refinement mesh conversion issues michele OpenFOAM Other Meshers: ICEM, Star, Ansys, Pointwise, GridPro, Ansa, ... 2 July 15, 2005 04:15
Warning 097- AB Siemens 6 November 15, 2004 05:41

All times are GMT -4. The time now is 11:19.