2 2

Next: Model setting without an Up: Alternative formulation Previous: Alternative formulation   Contents   Index

Physical Properties Setup

  • Physical properties are stored in directory constant
  • Let us look in it:
    # ls $FOAM_RUN/icoFoam/cavity/constant
    polyMesh  transportProperties
    

  • In the directory one can also find computational mesh and one configuration file transportProperties
  • There may be numerous files, depending on the solver
  • Let us write the file transportProperties as a standard output:
    # cat $FOAM_RUN/icoFoam/cavity/constant/transportProperties
    /*--------------------------------*- C++ -*----------------------------------*\
    | =========                 |                                                 |
    | \\      /  F ield         | OpenFOAM: The Open Source CFD Toolbox           |
    |  \\    /   O peration     | Version:  2.2.1                                  |
    |   \\  /    A nd           | Web:      www.OpenFOAM.com                      |
    |    \\/     M anipulation  |                                                 |
    \*---------------------------------------------------------------------------*/
    FoamFile
    {
        version     2.0;
        format      ascii;
        class       dictionary;
        location    "constant";
        object      transportProperties;
    }
    // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
    
    nu              nu [ 0 2 -1 0 0 0 0 ] 0.01;
    
    
    // ************************************************************************* //
    
  • Configuration file transportProperties has only one parameter – kinematic viscosity nu = 0.01 23
  • 19, 20, 21, 22
  • Reynolds number is:
    24(8.1)