mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
Merge branch 'master' of /home/dm4/OpenFOAM/repositories/OpenFOAM-dev
This commit is contained in:
@ -2,7 +2,7 @@
|
|||||||
========= |
|
========= |
|
||||||
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
||||||
\\ / O peration |
|
\\ / O peration |
|
||||||
\\ / A nd | Copyright (C) 2011-2013 OpenFOAM Foundation
|
\\ / A nd | Copyright (C) 2011-2014 OpenFOAM Foundation
|
||||||
\\/ M anipulation |
|
\\/ M anipulation |
|
||||||
-------------------------------------------------------------------------------
|
-------------------------------------------------------------------------------
|
||||||
License
|
License
|
||||||
@ -938,7 +938,9 @@ void Foam::refinementSurfaces::findNearestIntersection
|
|||||||
surface1 = -1;
|
surface1 = -1;
|
||||||
hit1.setSize(start.size());
|
hit1.setSize(start.size());
|
||||||
region1.setSize(start.size());
|
region1.setSize(start.size());
|
||||||
|
region1 = -1;
|
||||||
normal1.setSize(start.size());
|
normal1.setSize(start.size());
|
||||||
|
normal1 = vector::zero;
|
||||||
|
|
||||||
// Current end of segment to test.
|
// Current end of segment to test.
|
||||||
pointField nearest(end);
|
pointField nearest(end);
|
||||||
|
|||||||
@ -49,10 +49,12 @@ then
|
|||||||
then
|
then
|
||||||
#- Bit of a hack: ptscotch 6 requires scotch linked as well as. Can be
|
#- Bit of a hack: ptscotch 6 requires scotch linked as well as. Can be
|
||||||
# removed once ptscotch declares dependency on scotch itself.
|
# removed once ptscotch declares dependency on scotch itself.
|
||||||
if [ "$SCOTCH_VERSION" = "scotch_6.0.0" ]
|
case "$SCOTCH_VERSION" in
|
||||||
then
|
scotch_6.*)
|
||||||
export LINK_FLAGS="-lscotch"
|
export LINK_FLAGS="-lscotch"
|
||||||
fi
|
;;
|
||||||
|
esac
|
||||||
|
|
||||||
|
|
||||||
wmakeMpiLib ptscotchDecomp
|
wmakeMpiLib ptscotchDecomp
|
||||||
fi
|
fi
|
||||||
|
|||||||
@ -272,7 +272,7 @@ castellatedMeshControls
|
|||||||
// section reachable from the locationInMesh is kept.
|
// section reachable from the locationInMesh is kept.
|
||||||
// NOTE: This point should never be on a face, always inside a cell, even
|
// NOTE: This point should never be on a face, always inside a cell, even
|
||||||
// after refinement.
|
// after refinement.
|
||||||
locationInMesh (0 -0.5 0);
|
locationInMesh (0.01 -0.5 0.01);
|
||||||
|
|
||||||
|
|
||||||
// Whether any faceZones (as specified in the refinementSurfaces)
|
// Whether any faceZones (as specified in the refinementSurfaces)
|
||||||
|
|||||||
@ -37,7 +37,7 @@ writeFormat binary;
|
|||||||
|
|
||||||
writePrecision 6;
|
writePrecision 6;
|
||||||
|
|
||||||
writeCompression compressed;
|
writeCompression off;
|
||||||
|
|
||||||
timeFormat general;
|
timeFormat general;
|
||||||
|
|
||||||
|
|||||||
Binary file not shown.
Binary file not shown.
@ -3,6 +3,6 @@ cd ${0%/*} || exit 1 # run from this directory
|
|||||||
|
|
||||||
foamCleanTutorials cases
|
foamCleanTutorials cases
|
||||||
rm -rf processor*
|
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
|
# ----------------------------------------------------------------- end-of-file
|
||||||
|
|||||||
@ -33,11 +33,11 @@ writeInterval 0.005;
|
|||||||
|
|
||||||
purgeWrite 0;
|
purgeWrite 0;
|
||||||
|
|
||||||
writeFormat ascii;
|
writeFormat binary;
|
||||||
|
|
||||||
writePrecision 8;
|
writePrecision 8;
|
||||||
|
|
||||||
writeCompression compressed;
|
writeCompression off;
|
||||||
|
|
||||||
timeFormat general;
|
timeFormat general;
|
||||||
|
|
||||||
|
|||||||
@ -272,7 +272,7 @@ castellatedMeshControls
|
|||||||
// section reachable from the locationInMesh is kept.
|
// section reachable from the locationInMesh is kept.
|
||||||
// NOTE: This point should never be on a face, always inside a cell, even
|
// NOTE: This point should never be on a face, always inside a cell, even
|
||||||
// after refinement.
|
// after refinement.
|
||||||
locationInMesh (0 -0.5 0);
|
locationInMesh (0.01 -0.5 0.01);
|
||||||
|
|
||||||
|
|
||||||
// Whether any faceZones (as specified in the refinementSurfaces)
|
// Whether any faceZones (as specified in the refinementSurfaces)
|
||||||
|
|||||||
Reference in New Issue
Block a user