mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
singleStepCombustion.C: Updated for SP compilation
This commit is contained in:
@ -119,7 +119,7 @@ singleStepCombustion<CombThermoType, ThermoType>::R
|
|||||||
{
|
{
|
||||||
const label fNorm = singleMixturePtr_->specieProd()[specieI];
|
const label fNorm = singleMixturePtr_->specieProd()[specieI];
|
||||||
const volScalarField fres(singleMixturePtr_->fres(specieI));
|
const volScalarField fres(singleMixturePtr_->fres(specieI));
|
||||||
wSpecie /= max(fNorm*(Y - fres), 1e-2);
|
wSpecie /= max(fNorm*(Y - fres), scalar(1e-2));
|
||||||
|
|
||||||
return -fNorm*wSpecie*fres + fNorm*fvm::Sp(wSpecie, Y);
|
return -fNorm*wSpecie*fres + fNorm*fvm::Sp(wSpecie, Y);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user