Skip to content
Snippets Groups Projects
Commit 8629dca1 authored by Henry's avatar Henry
Browse files

P1 radiation model: only evaluate Qr on non-coupled patches

parent b5dc0921
Branches
Tags
...@@ -241,10 +241,14 @@ void Foam::radiation::P1::calculate() ...@@ -241,10 +241,14 @@ void Foam::radiation::P1::calculate()
); );
// Calculate radiative heat flux on boundaries. // Calculate radiative heat flux on boundaries.
forAll(mesh_.boundaryMesh(), patchI) forAll(mesh_.boundaryMesh(), patchi)
{ {
Qr_.boundaryField()[patchI] = if (!G_.boundaryField()[patchi].coupled())
-gamma.boundaryField()[patchI]*G_.boundaryField()[patchI].snGrad(); {
Qr_.boundaryField()[patchi] =
-gamma.boundaryField()[patchi]
*G_.boundaryField()[patchi].snGrad();
}
} }
} }
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment