diff --git a/applications/test/fvc/Test-fvc.C b/applications/test/fvc/Test-fvc.C index 9851a9c9c54cbb8fd4238a661989df820f77d489..029b96ef17363eb1c3dab28ec0b82fb923840969 100644 --- a/applications/test/fvc/Test-fvc.C +++ b/applications/test/fvc/Test-fvc.C @@ -35,17 +35,18 @@ Description int main(int argc, char *argv[]) { + #include "setRootCase.H" -# include "setRootCase.H" + #include "createTime.H" + #include "createMesh.H" -# include "createTime.H" -# include "createMesh.H" - - volScalarField fx(pow(mesh.C().component(vector::X), 2)); + volScalarField fx(pow(mesh.C().component(vector::X), 1)); fx.write(); volScalarField gradx4(fvc::grad(fx)().component(vector::X)); gradx4.write(); + Info<< fvc::snGrad(fx) - (mesh.Sf()/mesh.magSf())().component(vector::X) << endl; + //volVectorField curlC(fvc::curl(1.0*mesh.C())); //curlC.write();