45 const label fluentFieldIdentifier,
54 << fluentFieldIdentifier <<
" " 59 <<
"1 " << phiInternal.size()
65 << phiInternal[celli].x() <<
" " 66 << phiInternal[celli].y() <<
" " 67 << phiInternal[celli].z() <<
" " 74 label nWrittenFaces = phiInternal.size();
84 << fluentFieldIdentifier <<
" " 88 << nWrittenFaces + 1 <<
" " << nWrittenFaces + patchPhi.size()
92 nWrittenFaces += patchPhi.size();
97 << patchPhi[facei].x() <<
" " 98 << patchPhi[facei].y() <<
" " 99 << patchPhi[facei].z() <<
" " Ostream & endl(Ostream &os)
Add newline and flush stream.
GeometricField< vector, fvPatchField, volMesh > volVectorField
#define forAll(list, i)
Loop across all elements in list.
void writeFluentField(const volScalarField &phi, const label fluentFieldIdentifier, Ostream &stream)
Field< vector > vectorField
Specialisation of Field<T> for vector.