ENH: Delete unused Qin_ variable on laserDTRM.H

This commit is contained in:
sergio
2019-03-26 10:57:45 -07:00
committed by Andrew Heather
parent b319e058e2
commit c787edc846
2 changed files with 2 additions and 32 deletions

View File

@ -353,19 +353,6 @@ Foam::radiation::laserDTRM::laserDTRM(const volScalarField& T)
alphaCut_(lookupOrDefault<scalar>("alphaCut", 0.5)), alphaCut_(lookupOrDefault<scalar>("alphaCut", 0.5)),
Qin_
(
IOobject
(
"Qin",
mesh_.time().timeName(),
mesh_,
IOobject::NO_READ,
IOobject::AUTO_WRITE
),
mesh_,
dimensionedScalar(dimPower/dimArea, Zero)
),
a_ a_
( (
IOobject IOobject
@ -462,19 +449,6 @@ Foam::radiation::laserDTRM::laserDTRM
alphaCut_(lookupOrDefault<scalar>("alphaCut", 0.5)), alphaCut_(lookupOrDefault<scalar>("alphaCut", 0.5)),
Qin_
(
IOobject
(
"Qin",
mesh_.time().timeName(),
mesh_,
IOobject::NO_READ,
IOobject::AUTO_WRITE
),
mesh_,
dimensionedScalar(dimPower/dimArea, Zero)
),
a_ a_
( (
IOobject IOobject
@ -586,8 +560,7 @@ void Foam::radiation::laserDTRM::calculate()
volVectorField& nHat = tnHat.ref(); volVectorField& nHat = tnHat.ref();
// Reset the fields // Reset the field
Qin_ == dimensionedScalar(Qin_.dimensions(), Zero);
Q_ == dimensionedScalar(Q_.dimensions(), Zero); Q_ == dimensionedScalar(Q_.dimensions(), Zero);
a_ = absorptionEmission_->a(); a_ = absorptionEmission_->a();

View File

@ -2,7 +2,7 @@
========= | ========= |
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox \\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / O peration | \\ / O peration |
\\ / A nd | Copyright (C) 2017 OpenCFD Ltd. \\ / A nd | Copyright (C) 2017-2019 OpenCFD Ltd.
\\/ M anipulation | \\/ M anipulation |
------------------------------------------------------------------------------- -------------------------------------------------------------------------------
License License
@ -178,9 +178,6 @@ private:
// Fields // Fields
//- Incident radiative heat flux [W/m2]
volScalarField Qin_;
//- Absorption coefficient //- Absorption coefficient
volScalarField a_; volScalarField a_;