From d510c14a7aee1b8311fb7ee1e45d274f01f53c9c Mon Sep 17 00:00:00 2001 From: sergio Date: Thu, 31 Mar 2016 10:43:30 -0700 Subject: [PATCH] ENH: Adding new trubulent constructor for buoyantBoussinesqPimpleFoam and buoyantBoussinesqSimpleFoam --- .../heatTransfer/buoyantBoussinesqPimpleFoam/createFields.H | 4 ++-- .../heatTransfer/buoyantBoussinesqSimpleFoam/createFields.H | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/applications/solvers/heatTransfer/buoyantBoussinesqPimpleFoam/createFields.H b/applications/solvers/heatTransfer/buoyantBoussinesqPimpleFoam/createFields.H index b8d07b1f1a..0916e2788d 100644 --- a/applications/solvers/heatTransfer/buoyantBoussinesqPimpleFoam/createFields.H +++ b/applications/solvers/heatTransfer/buoyantBoussinesqPimpleFoam/createFields.H @@ -47,9 +47,9 @@ volVectorField U #include "readTransportProperties.H" Info<< "Creating turbulence model\n" << endl; -autoPtr turbulence +autoPtr turbulence ( - incompressible::New(U, phi, laminarTransport) + incompressible::turbulenceModel::New(U, phi, laminarTransport) ); // Kinematic density for buoyancy force diff --git a/applications/solvers/heatTransfer/buoyantBoussinesqSimpleFoam/createFields.H b/applications/solvers/heatTransfer/buoyantBoussinesqSimpleFoam/createFields.H index 014bf8045c..e78daa67b3 100644 --- a/applications/solvers/heatTransfer/buoyantBoussinesqSimpleFoam/createFields.H +++ b/applications/solvers/heatTransfer/buoyantBoussinesqSimpleFoam/createFields.H @@ -47,9 +47,9 @@ volVectorField U #include "readTransportProperties.H" Info<< "Creating turbulence model\n" << endl; -autoPtr turbulence +autoPtr turbulence ( - incompressible::New(U, phi, laminarTransport) + incompressible::turbulenceModel::New(U, phi, laminarTransport) ); // Kinematic density for buoyancy force