|
[Sponsors] |
February 11, 2015, 07:44 |
boxToCell alternatives
|
#1 |
New Member
Mvuyisi
Join Date: Nov 2014
Posts: 2
Rep Power: 0 |
I want to simulate a compressible flow inside a cylindrical pipe what alternatives that I can use instead of boxToCell to setFields. I'm still new in openFoam
|
|
February 11, 2015, 08:19 |
|
#2 |
Senior Member
|
Hi,
As setFields uses topoSetSource for selecting cells, you can use examples from topoSet utility (with certain modifications), you can find them in $FOAM_APP/utilities/mesh/manipulation/topoSet/topoSetDict file. Below is an example of cylinderToCell source usage in setFieldsDict file: Code:
regions ( cylinderToCell { p1 (0 0 -1.0); p2 (0 0 1.0); radius 0.35; fieldValues ( volScalarFieldValue T 393.15 ); } ); |
|
February 12, 2015, 04:58 |
|
#3 |
New Member
Mvuyisi
Join Date: Nov 2014
Posts: 2
Rep Power: 0 |
Hi Alexeym,
Thanks a lot for your reply Silo |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Could someone tell me what boxToCell means | dan | OpenFOAM Pre-Processing | 13 | June 25, 2018 13:48 |
[Other] boxToCell versus rotatedBoxToCell | engineer_the | OpenFOAM Meshing & Mesh Conversion | 2 | August 6, 2014 14:07 |
.setSet problems | Grimoli | OpenFOAM | 9 | July 31, 2013 13:24 |
Bug? refineMesh boxToCell negative coordinates | lindstroem | OpenFOAM | 2 | June 20, 2011 08:06 |
How to use BoxToCell | waynezw0618 | OpenFOAM Running, Solving & CFD | 0 | December 17, 2006 22:39 |