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)),
|
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();
|
||||||
|
|||||||
@ -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_;
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user