Bugfixes for fvDOM

This commit is contained in:
Henrik Rusche 2012-05-28 16:59:08 +02:00
parent 3539477f95
commit 1ea9d81566
3 changed files with 3 additions and 3 deletions

View file

@ -174,7 +174,7 @@ updateCoeffs()
radiativeIntensityRay& ray =
const_cast<radiativeIntensityRay&>(dom.IRay(rayId));
ray.Qr().boundaryField()[patchI] += Iw*(-n & ray.dAve());
ray.Qr().boundaryField()[patchI] += Iw*(n & ray.dAve());
forAll(Iw, faceI)
{

View file

@ -164,7 +164,7 @@ updateCoeffs()
radiativeIntensityRay& ray =
const_cast<radiativeIntensityRay&>(dom.IRay(rayId));
ray.Qr().boundaryField()[patchI] += Iw*(-n & ray.dAve());
ray.Qr().boundaryField()[patchI] += Iw*(n & ray.dAve());
const scalarField Eb =
dom.blackBody().bLambda(lambdaId).boundaryField()[patchI];

View file

@ -199,7 +199,7 @@ Foam::scalar Foam::radiation::radiativeIntensityRay::correct()
1.0/Foam::mathematicalConstant::pi*omega_
*(
k*blackBody_.bLambda(lambdaI)
+ absorptionEmission_.ECont(lambdaI)
+ absorptionEmission_.ECont(lambdaI)/4
)
);