Bugfixes for fvDOM
This commit is contained in:
parent
3539477f95
commit
1ea9d81566
3 changed files with 3 additions and 3 deletions
|
@ -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)
|
||||
{
|
||||
|
|
|
@ -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];
|
||||
|
|
|
@ -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
|
||||
)
|
||||
);
|
||||
|
||||
|
|
Reference in a new issue