diff --git a/src/functionObjects/field/blendingFactor/blendingFactor.C b/src/functionObjects/field/blendingFactor/blendingFactor.C index 9b76f3b4f5..83b3cff5ac 100644 --- a/src/functionObjects/field/blendingFactor/blendingFactor.C +++ b/src/functionObjects/field/blendingFactor/blendingFactor.C @@ -78,8 +78,6 @@ bool Foam::functionObjects::blendingFactor::read(const dictionary& dict) { phiName_ = dict.lookupOrDefault("phi", "phi"); - resultName_ = "blendingFactor:" + fieldName_; - return true; } diff --git a/src/functionObjects/field/components/componentsTemplates.C b/src/functionObjects/field/components/componentsTemplates.C index be4294d07e..7b2c17f4fd 100644 --- a/src/functionObjects/field/components/componentsTemplates.C +++ b/src/functionObjects/field/components/componentsTemplates.C @@ -2,7 +2,7 @@ ========= | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox \\ / O peration | Website: https://openfoam.org - \\ / A nd | Copyright (C) 2016-2018 OpenFOAM Foundation + \\ / A nd | Copyright (C) 2016-2019 OpenFOAM Foundation \\/ M anipulation | ------------------------------------------------------------------------------- License @@ -41,10 +41,8 @@ bool Foam::functionObjects::components::calcFieldComponents() for (direction i=0; i(fieldName_); - resultName_ = fieldName_ + "Random"; - tmp rfieldt(new VolFieldType(field)); VolFieldType& rfield = rfieldt.ref();