mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
ENH: Delete unused Qin_ variable on laserDTRM.H
This commit is contained in:
@ -353,19 +353,6 @@ Foam::radiation::laserDTRM::laserDTRM(const volScalarField& T)
|
||||
|
||||
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_
|
||||
(
|
||||
IOobject
|
||||
@ -462,19 +449,6 @@ Foam::radiation::laserDTRM::laserDTRM
|
||||
|
||||
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_
|
||||
(
|
||||
IOobject
|
||||
@ -586,8 +560,7 @@ void Foam::radiation::laserDTRM::calculate()
|
||||
volVectorField& nHat = tnHat.ref();
|
||||
|
||||
|
||||
// Reset the fields
|
||||
Qin_ == dimensionedScalar(Qin_.dimensions(), Zero);
|
||||
// Reset the field
|
||||
Q_ == dimensionedScalar(Q_.dimensions(), Zero);
|
||||
|
||||
a_ = absorptionEmission_->a();
|
||||
|
||||
@ -2,7 +2,7 @@
|
||||
========= |
|
||||
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
||||
\\ / O peration |
|
||||
\\ / A nd | Copyright (C) 2017 OpenCFD Ltd.
|
||||
\\ / A nd | Copyright (C) 2017-2019 OpenCFD Ltd.
|
||||
\\/ M anipulation |
|
||||
-------------------------------------------------------------------------------
|
||||
License
|
||||
@ -178,9 +178,6 @@ private:
|
||||
// Fields
|
||||
|
||||
|
||||
//- Incident radiative heat flux [W/m2]
|
||||
volScalarField Qin_;
|
||||
|
||||
//- Absorption coefficient
|
||||
volScalarField a_;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user