2volScalarField&
T(
_T());
17 Tf[faceI] = k / H * (b * faceX + c) + a * faceX * faceX +
18 b * faceX * faceY + c * faceY - a * faceZ * faceZ + c;
28 heatFlux_gammaEx1[faceI] = k * 2 * a * faceZ;
40 heatFlux_gammaEx2[faceI] = - k * (2 * a * faceX + b * faceY);
48 heatFlux_gammaEx3[faceI] = 0;
58 heatFlux_gammaEx4[faceI] = k * (b * faceY);
63 if (patchI ==
mesh.boundaryMesh().findPatchID(
"coldSide"))
68 if (patchI ==
mesh.boundaryMesh().findPatchID(
"hotSide"))
73 if (patchI ==
mesh.boundaryMesh().findPatchID(
"gammaEx1"))
78 if (patchI ==
mesh.boundaryMesh().findPatchID(
"gammaEx2"))
83 if (patchI ==
mesh.boundaryMesh().findPatchID(
"gammaEx3"))
88 if (patchI ==
mesh.boundaryMesh().findPatchID(
"gammaEx4"))
void assignMixedBC(GeometricField< Type, fvPatchField, volMesh > &field, label BC_ind, List< Type > &value, List< Type > &grad, List< scalar > &valueFrac)
Assign value of a boundary condition of type "mixed".
void assignBC(GeometricField< scalar, fvPatchField, volMesh > &s, label BC_ind, double value)
Assign uniform Boundary Condition to a volScalarField.