From 99d67c8cdc2b27033309e011fb4138566106bfcf Mon Sep 17 00:00:00 2001 From: Henry <Henry> Date: Wed, 23 Apr 2014 12:11:07 +0100 Subject: [PATCH] Uf and rhoUf: Corrected handling of restart --- src/finiteVolume/cfdTools/compressible/createRhoUf.H | 6 +----- src/finiteVolume/cfdTools/incompressible/createUf.H | 7 +------ 2 files changed, 2 insertions(+), 11 deletions(-) diff --git a/src/finiteVolume/cfdTools/compressible/createRhoUf.H b/src/finiteVolume/cfdTools/compressible/createRhoUf.H index 312aec60dca..2759c8915ff 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 0b65f2daed2..8f8d60507c9 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)); -} - // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // -- GitLab