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

Multiple cell zones definition

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   February 26, 2012, 14:36
Default Multiple cell zones definition
  #1
New Member
 
Marco
Join Date: Feb 2012
Posts: 7
Rep Power: 14
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:
Code:
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.
Marco
ciberbob1987 is offline   Reply With Quote

Old   February 26, 2012, 14:49
Default
  #2
New Member
 
Marco
Join Date: Feb 2012
Posts: 7
Rep Power: 14
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, 38 views)
ciberbob1987 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
how to set periodic boundary conditions Ganesh FLUENT 15 November 18, 2020 06:09
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
[Commercial meshers] Trimmed cell and embedded refinement mesh conversion issues michele OpenFOAM Meshing & Mesh Conversion 2 July 15, 2005 04:15
Warning 097- AB Siemens 6 November 15, 2004 04:41


All times are GMT -4. The time now is 13:27.