|
[Sponsors] | |||||
|
|
|
#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
|
|
|
|
|
|
|
|
|
#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
);
}
);
|
|
|
|
|
|
|
|
|
#3 |
|
New Member
Mvuyisi
Join Date: Nov 2014
Posts: 2
Rep Power: 0 ![]() |
Hi Alexeym,
Thanks a lot for your reply Silo |
|
|
|
|
|
![]() |
| Thread Tools | Search this Thread |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Could someone tell me what boxToCell means | dan | OpenFOAM Pre-Processing | 13 | June 25, 2018 14:48 |
| [Other] boxToCell versus rotatedBoxToCell | engineer_the | OpenFOAM Meshing & Mesh Conversion | 2 | August 6, 2014 15:07 |
| .setSet problems | Grimoli | OpenFOAM | 9 | July 31, 2013 14:24 |
| Bug? refineMesh boxToCell negative coordinates | lindstroem | OpenFOAM | 2 | June 20, 2011 09:06 |
| How to use BoxToCell | waynezw0618 | OpenFOAM Running, Solving & CFD | 0 | December 17, 2006 23:39 |