Merge branch 'master' of /home/dm4/OpenFOAM/repositories/OpenFOAM-dev

This commit is contained in:
andy
2014-02-11 11:58:17 +00:00
9 changed files with 14 additions and 10 deletions

View File

@ -2,7 +2,7 @@
========= |
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / O peration |
\\ / A nd | Copyright (C) 2011-2013 OpenFOAM Foundation
\\ / A nd | Copyright (C) 2011-2014 OpenFOAM Foundation
\\/ M anipulation |
-------------------------------------------------------------------------------
License
@ -938,7 +938,9 @@ void Foam::refinementSurfaces::findNearestIntersection
surface1 = -1;
hit1.setSize(start.size());
region1.setSize(start.size());
region1 = -1;
normal1.setSize(start.size());
normal1 = vector::zero;
// Current end of segment to test.
pointField nearest(end);

View File

@ -49,10 +49,12 @@ then
then
#- Bit of a hack: ptscotch 6 requires scotch linked as well as. Can be
# removed once ptscotch declares dependency on scotch itself.
if [ "$SCOTCH_VERSION" = "scotch_6.0.0" ]
then
case "$SCOTCH_VERSION" in
scotch_6.*)
export LINK_FLAGS="-lscotch"
fi
;;
esac
wmakeMpiLib ptscotchDecomp
fi

View File

@ -272,7 +272,7 @@ castellatedMeshControls
// section reachable from the locationInMesh is kept.
// NOTE: This point should never be on a face, always inside a cell, even
// after refinement.
locationInMesh (0 -0.5 0);
locationInMesh (0.01 -0.5 0.01);
// Whether any faceZones (as specified in the refinementSurfaces)

View File

@ -37,7 +37,7 @@ writeFormat binary;
writePrecision 6;
writeCompression compressed;
writeCompression off;
timeFormat general;

View File

@ -3,6 +3,6 @@ cd ${0%/*} || exit 1 # run from this directory
foamCleanTutorials cases
rm -rf processor*
rm -rf 0/p_rgh.gz 0/p.gz 0/alpha.water.gz 0/T.gz
rm -rf 0/p_rgh 0/p 0/alpha.water 0/T 0/T.air 0/T.water
# ----------------------------------------------------------------- end-of-file

View File

@ -33,11 +33,11 @@ writeInterval 0.005;
purgeWrite 0;
writeFormat ascii;
writeFormat binary;
writePrecision 8;
writeCompression compressed;
writeCompression off;
timeFormat general;

View File

@ -272,7 +272,7 @@ castellatedMeshControls
// section reachable from the locationInMesh is kept.
// NOTE: This point should never be on a face, always inside a cell, even
// after refinement.
locationInMesh (0 -0.5 0);
locationInMesh (0.01 -0.5 0.01);
// Whether any faceZones (as specified in the refinementSurfaces)