10 surfaceScalarField* phibPtr;
12 if (phibHeader.headerOk())
14 Info<< "Reading face flux field phib\n" << endl;
16 phibPtr = new surfaceScalarField
31 Info<< "Calculating face flux field phib\n" << endl;
35 Ub.boundaryField().size(),
36 calculatedFvPatchScalarField::typeName
39 for (label i=0; i<Ub.boundaryField().size(); i++)
41 if (isType<fixedValueFvPatchVectorField>(Ub.boundaryField()[i]))
43 phiTypes[i] = fixedValueFvPatchScalarField::typeName;
47 phibPtr = new surfaceScalarField
57 fvc::interpolate(Ub) & mesh.Sf(),
62 surfaceScalarField& phib = *phibPtr;