OpenFOAM-5.x/tutorials/incompressible/simpleFoam
Henry Weller 9801c25788 The "<type>Coeffs" sub-dictionary is now optional for most model parameters
except turbulence and lagrangian which will also be updated shortly.

For example in the nonNewtonianIcoFoam offsetCylinder tutorial the viscosity
model coefficients may be specified in the corresponding "<type>Coeffs"
sub-dictionary:

transportModel  CrossPowerLaw;

CrossPowerLawCoeffs
{
    nu0         [0 2 -1 0 0 0 0]  0.01;
    nuInf       [0 2 -1 0 0 0 0]  10;
    m           [0 0 1 0 0 0 0]   0.4;
    n           [0 0 0 0 0 0 0]   3;
}

BirdCarreauCoeffs
{
    nu0         [0 2 -1 0 0 0 0]  1e-06;
    nuInf       [0 2 -1 0 0 0 0]  1e-06;
    k           [0 0 1 0 0 0 0]   0;
    n           [0 0 0 0 0 0 0]   1;
}

which allows a quick change between models, or using the simpler

transportModel  CrossPowerLaw;

nu0         [0 2 -1 0 0 0 0]  0.01;
nuInf       [0 2 -1 0 0 0 0]  10;
m           [0 0 1 0 0 0 0]   0.4;
n           [0 0 0 0 0 0 0]   3;

if quick switching between models is not required.

To support this more convenient parameter specification the inconsistent
specification of seedSampleSet in the streamLine and wallBoundedStreamLine
functionObjects had to be corrected from

    // Seeding method.
    seedSampleSet   uniform;  //cloud; //triSurfaceMeshPointSet;

    uniformCoeffs
    {
        type        uniform;
        axis        x;  //distance;

        // Note: tracks slightly offset so as not to be on a face
        start       (-1.001 -0.05 0.0011);
        end         (-1.001 -0.05 1.0011);
        nPoints     20;
    }

to the simpler

    // Seeding method.
    seedSampleSet
    {
        type        uniform;
        axis        x;  //distance;

        // Note: tracks slightly offset so as not to be on a face
        start       (-1.001 -0.05 0.0011);
        end         (-1.001 -0.05 1.0011);
        nPoints     20;
    }

which also support the "<type>Coeffs" form

    // Seeding method.
    seedSampleSet
    {
        type        uniform;

        uniformCoeffs
        {
            axis        x;  //distance;

            // Note: tracks slightly offset so as not to be on a face
            start       (-1.001 -0.05 0.0011);
            end         (-1.001 -0.05 1.0011);
            nPoints     20;
        }
    }
2017-04-20 09:14:48 +01:00
..
airFoil2D Tutorials fvSolution files: removed solver entries which use default 2016-06-15 07:39:37 +01:00
mixerVessel2D Tutorials fvSolution files: removed solver entries which use default 2016-06-15 07:39:37 +01:00
motorBike The "<type>Coeffs" sub-dictionary is now optional for most model parameters 2017-04-20 09:14:48 +01:00
pipeCyclic Tutorials fvSolution files: removed solver entries which use default 2016-06-15 07:39:37 +01:00
pitzDaily pitzDaily tutorials: updated blockMeshDict files to use multi-grading 2017-03-17 12:42:20 +00:00
pitzDailyExptInlet The "<type>Coeffs" sub-dictionary is now optional for most model parameters 2017-04-20 09:14:48 +01:00
rotorDisk fvOptions: The "<type>Coeffs" sub-dictionary is now optional 2017-04-13 13:30:17 +01:00
T3A tutorials/incompressible/simpleFoam/T3A: ERCOFTAC T3A 3% test-case for the kOmegaSSTLM model 2016-07-29 10:51:42 +01:00
turbineSiting fvOptions: The "<type>Coeffs" sub-dictionary is now optional 2017-04-13 13:30:17 +01:00
windAroundBuildings snappyHexMesh: Added "noRefinement" writeFlag to control the writing of cellLevel, pointLevel etc. files 2017-01-24 22:28:36 +00:00