openfoam/tutorials
Henry Weller 5c51836501 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
..
basic Merge branch 'master' of github.com-OpenFOAM:OpenFOAM/OpenFOAM-dev 2017-03-18 17:19:35 +00:00
combustion The "<type>Coeffs" sub-dictionary is now optional for most model parameters 2017-04-20 09:14:48 +01:00
compressible The "<type>Coeffs" sub-dictionary is now optional for most model parameters 2017-04-20 09:14:48 +01:00
discreteMethods postProcessing: Replaced 'foamCalc' and the 'postCalc' utilities 2016-05-28 18:58:48 +01:00
DNS/dnsFoam/boxTurb16 tutorials Allrun scripts: Update running of postProcess application 2016-08-02 16:24:28 +01:00
electromagnetics tutorials Allrun scripts: Update running of postProcess application 2016-08-02 16:24:28 +01:00
financial/financialFoam/europeanCall PBiCGStab: New preconditioned bi-conjugate gradient stabilized solver for asymmetric lduMatrices 2016-09-05 11:46:42 +01:00
heatTransfer fvOptions: The "<type>Coeffs" sub-dictionary is now optional 2017-04-13 13:30:17 +01:00
incompressible The "<type>Coeffs" sub-dictionary is now optional for most model parameters 2017-04-20 09:14:48 +01:00
lagrangian fvOptions: The "<type>Coeffs" sub-dictionary is now optional 2017-04-13 13:30:17 +01:00
mesh The "<type>Coeffs" sub-dictionary is now optional for most model parameters 2017-04-20 09:14:48 +01:00
multiphase The "<type>Coeffs" sub-dictionary is now optional for most model parameters 2017-04-20 09:14:48 +01:00
resources/geometry GIT: Repo update 2014-12-11 08:35:10 +00:00
stressAnalysis tutorials Allrun scripts: Update running of postProcess application 2016-08-02 16:24:28 +01:00
Allclean scripts: Reformat with consistent section separators 2016-02-15 18:30:24 +00:00
Allrun Sprucing up the tutorials folder and adding -dict to "collapseEdges" 2016-03-06 19:06:44 +00:00
Alltest tutorials: Renamed .org -> .orig 2016-04-30 21:53:50 +01:00