diff --git a/etc/controlDict b/etc/controlDict index 68d8f86a44fed75a13585f2b46ad519493d827b2..022da2b70586061940c680225dade8fe419359ae 100644 --- a/etc/controlDict +++ b/etc/controlDict @@ -1,7 +1,7 @@ /*--------------------------------*- C++ -*----------------------------------*\ | ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: 2.0.0 | +| \\ / O peration | Version: 2.3.x | | \\ / A nd | Web: www.OpenFOAM.org | | \\/ M anipulation | | \*---------------------------------------------------------------------------*/ @@ -40,7 +40,7 @@ InfoSwitches writeDictionaries 0; // Allow case-supplied C++ code (#codeStream, codedFixedValue) - allowSystemOperations 0; + allowSystemOperations 1; } diff --git a/src/transportModels/twoPhaseMixture/twoPhaseMixture/twoPhaseMixture.H b/src/transportModels/twoPhaseMixture/twoPhaseMixture/twoPhaseMixture.H index aa5ae24d04b69e6ddbe86addf7b053e9c0d3be9e..3bd8108d9af3e0e68e68a0306a4509586229dee2 100644 --- a/src/transportModels/twoPhaseMixture/twoPhaseMixture/twoPhaseMixture.H +++ b/src/transportModels/twoPhaseMixture/twoPhaseMixture/twoPhaseMixture.H @@ -2,7 +2,7 @@ ========= | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox \\ / O peration | - \\ / A nd | Copyright (C) 2011-2013 OpenFOAM Foundation + \\ / A nd | Copyright (C) 2011-2014 OpenFOAM Foundation \\/ M anipulation | ------------------------------------------------------------------------------- License @@ -78,12 +78,12 @@ public: // Member Functions - const word phase1Name() const + const word& phase1Name() const { return phase1Name_; } - const word phase2Name() const + const word& phase2Name() const { return phase2Name_; }