diff --git a/src/finiteVolume/cfdTools/compressible/createRhoUf.H b/src/finiteVolume/cfdTools/compressible/createRhoUf.H index 312aec60dca9cdaffbd448bd17b3053e9731a3fe..2759c8915ffa9e3404a3a872bfdd19cc4cb67389 100644 --- a/src/finiteVolume/cfdTools/compressible/createRhoUf.H +++ b/src/finiteVolume/cfdTools/compressible/createRhoUf.H @@ -2,7 +2,7 @@ ========= | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox \\ / O peration | - \\ / A nd | Copyright (C) 2013 OpenFOAM Foundation + \\ / A nd | Copyright (C) 2013-2014 OpenFOAM Foundation \\/ M anipulation | ------------------------------------------------------------------------------- License @@ -49,10 +49,6 @@ surfaceVectorField rhoUf fvc::interpolate(rho*U) ); -{ - surfaceVectorField n(mesh.Sf()/mesh.magSf()); - rhoUf += n*(phi/mesh.magSf() - (n & rhoUf)); -} // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // diff --git a/src/finiteVolume/cfdTools/incompressible/createUf.H b/src/finiteVolume/cfdTools/incompressible/createUf.H index 0b65f2daed23a820fd4850cea3852e61d4ddf21d..8f8d60507c9529d3cc49063737be1a89a0fd7cb0 100644 --- a/src/finiteVolume/cfdTools/incompressible/createUf.H +++ b/src/finiteVolume/cfdTools/incompressible/createUf.H @@ -2,7 +2,7 @@ ========= | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox \\ / O peration | - \\ / A nd | Copyright (C) 2013 OpenFOAM Foundation + \\ / A nd | Copyright (C) 2013-2014 OpenFOAM Foundation \\/ M anipulation | ------------------------------------------------------------------------------- License @@ -49,11 +49,6 @@ surfaceVectorField Uf fvc::interpolate(U) ); -{ - surfaceVectorField n(mesh.Sf()/mesh.magSf()); - Uf += n*(phi/mesh.magSf() - (n & Uf)); -} - // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //