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