Go to the documentation of this file.
36 int main(
int argc,
char *argv[])
54 for (
int i=1; i<xf4.size()-1; i++)
56 scalar gradx4a = (xf4[i] - xf4[i-1])/(xf[i] - xf[i-1]);
57 Info<< (gradx4a - gradx4[i])/gradx4a <<
endl;
const surfaceVectorField & Cf() const
Return face centres as surfaceVectorField.
tmp< GeometricField< cmptType, PatchField, GeoMesh > > component(const direction) const
Return a component of the field.
void component(FieldField< Field, typename FieldField< Field, Type >::cmptType > &sf, const FieldField< Field, Type > &f, const direction d)
tmp< GeometricField< typename outerProduct< vector, Type >::type, fvPatchField, volMesh >> grad(const GeometricField< Type, fvsPatchField, surfaceMesh > &ssf)
tmp< GeometricField< Type, fvPatchField, volMesh > > curl(const GeometricField< Type, fvPatchField, volMesh > &vf)
Ostream & endl(Ostream &os)
Add newline and flush stream.
int main(int argc, char *argv[])
dimensionedScalar pow(const dimensionedScalar &ds, const dimensionedScalar &expt)
const volVectorField & C() const
Return cell centres as volVectorField.
Generic GeometricField class.