From 92e0e64f018714b040e5ed2da96d03db55a78ad0 Mon Sep 17 00:00:00 2001 From: Hrvoje Jasak Date: Wed, 29 Sep 2010 22:21:40 +0100 Subject: [PATCH] Fixed name clash for Y[0]: deleted from objectRegistry --- applications/solvers/combustion/dieselEngineFoam/YEqn.H | 2 +- applications/solvers/combustion/reactingFoam/YEqn.H | 2 +- applications/solvers/combustion/rhoReactingFoam/YEqn.H | 2 +- applications/solvers/lagrangian/coalChemistryFoam/YEqn.H | 2 +- .../lagrangian/porousExplicitSourceReactingParcelFoam/YEqn.H | 2 +- applications/solvers/lagrangian/reactingParcelFoam/YEqn.H | 2 +- 6 files changed, 6 insertions(+), 6 deletions(-) diff --git a/applications/solvers/combustion/dieselEngineFoam/YEqn.H b/applications/solvers/combustion/dieselEngineFoam/YEqn.H index 589e9fce6..baedf9d73 100644 --- a/applications/solvers/combustion/dieselEngineFoam/YEqn.H +++ b/applications/solvers/combustion/dieselEngineFoam/YEqn.H @@ -12,7 +12,7 @@ tmp > mvConvection { label inertIndex = -1; - volScalarField Yt = 0.0*Y[0]; + volScalarField Yt("Yt", 0.0*Y[0]); for (label i = 0; i < Y.size(); i++) { diff --git a/applications/solvers/combustion/reactingFoam/YEqn.H b/applications/solvers/combustion/reactingFoam/YEqn.H index 54437268b..1916a756a 100644 --- a/applications/solvers/combustion/reactingFoam/YEqn.H +++ b/applications/solvers/combustion/reactingFoam/YEqn.H @@ -11,7 +11,7 @@ tmp > mvConvection { label inertIndex = -1; - volScalarField Yt = 0.0*Y[0]; + volScalarField Yt("Yt", 0.0*Y[0]); for (label i = 0; i < Y.size(); i++) { diff --git a/applications/solvers/combustion/rhoReactingFoam/YEqn.H b/applications/solvers/combustion/rhoReactingFoam/YEqn.H index cda24ec2f..38fe97896 100644 --- a/applications/solvers/combustion/rhoReactingFoam/YEqn.H +++ b/applications/solvers/combustion/rhoReactingFoam/YEqn.H @@ -11,7 +11,7 @@ tmp > mvConvection { label inertIndex = -1; - volScalarField Yt = 0.0*Y[0]; + volScalarField Yt("Yt", 0.0*Y[0]); for (label i=0; i > mvConvection { label inertIndex = -1; - volScalarField Yt = 0.0*Y[0]; + volScalarField Yt("Yt", 0.0*Y[0]); forAll(Y, i) { diff --git a/applications/solvers/lagrangian/porousExplicitSourceReactingParcelFoam/YEqn.H b/applications/solvers/lagrangian/porousExplicitSourceReactingParcelFoam/YEqn.H index f54be04bb..9c91c8cf7 100644 --- a/applications/solvers/lagrangian/porousExplicitSourceReactingParcelFoam/YEqn.H +++ b/applications/solvers/lagrangian/porousExplicitSourceReactingParcelFoam/YEqn.H @@ -13,7 +13,7 @@ tmp > mvConvection { label inertIndex = -1; - volScalarField Yt = 0.0*Y[0]; + volScalarField Yt("Yt", 0.0*Y[0]); forAll(Y, i) { diff --git a/applications/solvers/lagrangian/reactingParcelFoam/YEqn.H b/applications/solvers/lagrangian/reactingParcelFoam/YEqn.H index c687f2035..3a0eea2b5 100644 --- a/applications/solvers/lagrangian/reactingParcelFoam/YEqn.H +++ b/applications/solvers/lagrangian/reactingParcelFoam/YEqn.H @@ -12,7 +12,7 @@ tmp > mvConvection { label inertIndex = -1; - volScalarField Yt = 0.0*Y[0]; + volScalarField Yt("Yt", 0.0*Y[0]); forAll(Y, i) {