CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums

Entries for July 16, 2012

Register Blogs Community New Posts Updated Threads Search

Old

How to get an element of a wordList from a dictionary

Posted July 16, 2012 at 06:28 by tomislav_maric

Snippet:

Code:
 IOdictionary fvSchemes
    (
        IOobject
        (
           "fvSchemes", 
           runTime.system(), 
           runTime, 
           IOobject::MUST_READ, 
           IOobject::NO_WRITE
        )
    );

    Info << fvSchemes.subDict("divSchemes")["div(phi,alpha)"][1] << endl;
Senior Member
Posted in Uncategorized
Views 1642 Comments 0 tomislav_maric is offline Edit Tags
Old

what to care about when create your own case

Posted July 16, 2012 at 04:36 by Ahmed Khattab

when you create tour own case please take care of:

1- your mesh through editing blockMeshDict file
a- take care of factor of conversion to meter to get your dimensions right.
b- take care of the way you ordering points in hex deceleration because this order specifies direction of XYZ axis.
c- take care of number of cells in each direction because it specifies steps of calculation and plotting. ex: when you scope is the boundary...
Ahmed Khattab's Avatar
Senior Member
Posted in Uncategorized
Views 1169 Comments 0 Ahmed Khattab is offline Edit Tags

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