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

boxToCell alternatives

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   February 11, 2015, 07:44
Default boxToCell alternatives
  #1
New Member
 
Mvuyisi
Join Date: Nov 2014
Posts: 2
Rep Power: 0
silo is on a distinguished road
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
silo is offline   Reply With Quote

Old   February 11, 2015, 08:19
Default
  #2
Senior Member
 
Alexey Matveichev
Join Date: Aug 2011
Location: Nancy, France
Posts: 1,930
Rep Power: 38
alexeym has a spectacular aura aboutalexeym has a spectacular aura about
Send a message via Skype™ to alexeym
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
        );
    }
);
alexeym is offline   Reply With Quote

Old   February 12, 2015, 04:58
Default
  #3
New Member
 
Mvuyisi
Join Date: Nov 2014
Posts: 2
Rep Power: 0
silo is on a distinguished road
Hi Alexeym,

Thanks a lot for your reply

Silo
silo 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
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


All times are GMT -4. The time now is 14:03.