mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
STYLE: code read-ability updates
This commit is contained in:
@ -107,9 +107,9 @@ Foam::SprayCloud<CloudType>::SprayCloud
|
||||
{
|
||||
parcelType::readFields(*this, this->composition());
|
||||
}
|
||||
}
|
||||
|
||||
Info << " Average parcel mass: " << averageParcelMass_ << endl;
|
||||
Info << "Average parcel mass: " << averageParcelMass_ << endl;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@ -172,17 +172,20 @@ void Foam::SprayCloud<CloudType>::checkParcelProperties
|
||||
fullyDescribed
|
||||
);
|
||||
|
||||
const scalarField& Y(parcel.Y());
|
||||
scalarField X(this->composition().liquids().X(Y));
|
||||
const liquidMixtureProperties& liqMix = this->composition().liquids();
|
||||
|
||||
// override rho and cp from constantProperties
|
||||
parcel.Cp() = this->composition().liquids().Cp(parcel.pc(), parcel.T(), X);
|
||||
parcel.rho() = this->composition().liquids().rho(parcel.pc(), parcel.T(), X);
|
||||
const scalarField& Y(parcel.Y());
|
||||
scalarField X(liqMix.X(Y));
|
||||
|
||||
// override rho and Cp from constantProperties
|
||||
parcel.Cp() = liqMix.Cp(parcel.pc(), parcel.T(), X);
|
||||
parcel.rho() = liqMix.rho(parcel.pc(), parcel.T(), X);
|
||||
|
||||
// store the injection position and initial drop size
|
||||
parcel.position0() = parcel.position();
|
||||
parcel.d0() = parcel.d();
|
||||
|
||||
|
||||
parcel.y() = breakup().y0();
|
||||
parcel.yDot() = breakup().yDot0();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user