mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
TUT: mesh: clean up tutorials
This commit is contained in:
committed by
Andrew Heather
parent
6120e13d29
commit
3a858ac682
15
tutorials/mesh/foamyHexMesh/Allclean
Executable file
15
tutorials/mesh/foamyHexMesh/Allclean
Executable file
@ -0,0 +1,15 @@
|
||||
#!/bin/sh
|
||||
cd "${0%/*}" || exit # Run from this directory
|
||||
. ${WM_PROJECT_DIR:?}/bin/tools/CleanFunctions # Tutorial clean functions
|
||||
#------------------------------------------------------------------------------
|
||||
|
||||
( cd blob && ./Allclean )
|
||||
( cd simpleShapes && ./Allclean )
|
||||
|
||||
if notTest "$@"
|
||||
then
|
||||
( cd flange && ./Allclean )
|
||||
( cd mixerVessel && ./Allclean )
|
||||
fi
|
||||
|
||||
#------------------------------------------------------------------------------
|
||||
@ -5,18 +5,6 @@ cd "${0%/*}" || exit # Run from this directory
|
||||
|
||||
cleanCase0
|
||||
|
||||
rm -rf constant/triSurface/blob.stl.gz
|
||||
|
||||
rm -rf constant/cellAlignments
|
||||
rm -rf constant/targetCellSize
|
||||
rm -rf constant/internalDelaunayVertices
|
||||
|
||||
(
|
||||
cd constant/backgroundMeshDecomposition/polyMesh 2>/dev/null || exit
|
||||
rm -f boundary faces neighbour owner points
|
||||
)
|
||||
|
||||
rm -rf snapToSurface?.obj
|
||||
rm -rf tetsToSnapTo.obj
|
||||
rm -rf constant/
|
||||
|
||||
#------------------------------------------------------------------------------
|
||||
|
||||
@ -3,8 +3,11 @@ cd "${0%/*}" || exit # Run from this directory
|
||||
. ${WM_PROJECT_DIR:?}/bin/tools/RunFunctions # Tutorial run functions
|
||||
#------------------------------------------------------------------------------
|
||||
|
||||
# copy flange surface from resources directory
|
||||
cp $FOAM_TUTORIALS/resources/geometry/blob.stl.gz constant/triSurface/
|
||||
mkdir -p constant/triSurface/
|
||||
|
||||
cp -f \
|
||||
"$FOAM_TUTORIALS"/resources/geometry/blob.stl.gz \
|
||||
constant/triSurface
|
||||
|
||||
runApplication foamyHexMesh
|
||||
|
||||
@ -16,5 +19,4 @@ runApplication -s collapseFaceSet \
|
||||
|
||||
runApplication checkMesh -latestTime -allGeometry -allTopology
|
||||
|
||||
|
||||
#------------------------------------------------------------------------------
|
||||
|
||||
@ -3,8 +3,11 @@ cd "${0%/*}" || exit # Run from this directory
|
||||
. ${WM_PROJECT_DIR:?}/bin/tools/RunFunctions # Tutorial run functions
|
||||
#------------------------------------------------------------------------------
|
||||
|
||||
# copy flange surface from resources directory
|
||||
cp $FOAM_TUTORIALS/resources/geometry/blob.stl.gz constant/triSurface/
|
||||
mkdir -p constant/triSurface/
|
||||
|
||||
cp -f \
|
||||
"$FOAM_TUTORIALS"/resources/geometry/blob.stl.gz \
|
||||
constant/triSurface
|
||||
|
||||
runApplication blockMesh -region backgroundMeshDecomposition
|
||||
runApplication decomposePar -region backgroundMeshDecomposition
|
||||
@ -21,5 +24,4 @@ runParallel checkMesh -latestTime -allTopology -allGeometry
|
||||
|
||||
runApplication reconstructParMesh -latestTime
|
||||
|
||||
|
||||
#------------------------------------------------------------------------------
|
||||
|
||||
@ -1,4 +0,0 @@
|
||||
Directory to house tri-surfaces
|
||||
|
||||
The Allrun script copies the surface from the $FOAM_TUTORIALS/resources/geometry
|
||||
directory
|
||||
@ -66,4 +66,5 @@ mergePatchPairs
|
||||
(
|
||||
);
|
||||
|
||||
|
||||
// ************************************************************************* //
|
||||
|
||||
@ -17,16 +17,6 @@ FoamFile
|
||||
numberOfSubdomains 2;
|
||||
|
||||
method scotch;
|
||||
//method ptscotch;
|
||||
// method hierarchical;
|
||||
|
||||
coeffs
|
||||
{
|
||||
n (2 1 1);
|
||||
}
|
||||
|
||||
distributed no;
|
||||
|
||||
roots ( );
|
||||
|
||||
// ************************************************************************* //
|
||||
|
||||
@ -10,7 +10,6 @@ FoamFile
|
||||
version 2.0;
|
||||
format ascii;
|
||||
class dictionary;
|
||||
location "system";
|
||||
object fvSolution;
|
||||
}
|
||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||
@ -19,4 +18,5 @@ solvers
|
||||
{
|
||||
}
|
||||
|
||||
|
||||
// ************************************************************************* //
|
||||
|
||||
@ -5,7 +5,6 @@
|
||||
| \\ / A nd | Website: www.openfoam.com |
|
||||
| \\/ M anipulation | |
|
||||
\*---------------------------------------------------------------------------*/
|
||||
|
||||
FoamFile
|
||||
{
|
||||
version 2.0;
|
||||
@ -13,7 +12,6 @@ FoamFile
|
||||
class dictionary;
|
||||
object controlDict;
|
||||
}
|
||||
|
||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||
|
||||
startFrom startTime;
|
||||
@ -44,4 +42,5 @@ timePrecision 6;
|
||||
|
||||
runTimeModifiable yes;
|
||||
|
||||
|
||||
// ************************************************************************* //
|
||||
|
||||
@ -17,12 +17,6 @@ FoamFile
|
||||
numberOfSubdomains 2;
|
||||
|
||||
method scotch;
|
||||
//method ptscotch;
|
||||
// method hierarchical;
|
||||
|
||||
coeffs
|
||||
{
|
||||
n (2 1 1);
|
||||
}
|
||||
|
||||
// ************************************************************************* //
|
||||
|
||||
@ -10,7 +10,6 @@ FoamFile
|
||||
version 2.0;
|
||||
format ascii;
|
||||
class dictionary;
|
||||
location "system";
|
||||
object fvSchemes;
|
||||
}
|
||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||
@ -45,4 +44,5 @@ snGradSchemes
|
||||
default none;
|
||||
}
|
||||
|
||||
|
||||
// ************************************************************************* //
|
||||
|
||||
@ -10,7 +10,6 @@ FoamFile
|
||||
version 2.0;
|
||||
format ascii;
|
||||
class dictionary;
|
||||
location "system";
|
||||
object fvSolution;
|
||||
}
|
||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||
@ -19,4 +18,5 @@ solvers
|
||||
{
|
||||
}
|
||||
|
||||
|
||||
// ************************************************************************* //
|
||||
|
||||
@ -1,302 +0,0 @@
|
||||
/*--------------------------------*- C++ -*----------------------------------*\
|
||||
| ========= | |
|
||||
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
|
||||
| \\ / O peration | Version: v2012 |
|
||||
| \\ / A nd | Website: www.openfoam.com |
|
||||
| \\/ M anipulation | |
|
||||
\*---------------------------------------------------------------------------*/
|
||||
FoamFile
|
||||
{
|
||||
version 2.0;
|
||||
format ascii;
|
||||
class dictionary;
|
||||
object snappyHexMeshDict;
|
||||
}
|
||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||
|
||||
// Which of the steps to run
|
||||
castellatedMesh false;
|
||||
snap false;
|
||||
addLayers true;
|
||||
|
||||
|
||||
// Geometry. Definition of all surfaces. All surfaces are of class
|
||||
// searchableSurface.
|
||||
// Surfaces are used
|
||||
// - to specify refinement for any mesh cell intersecting it
|
||||
// - to specify refinement for any mesh cell inside/outside/near
|
||||
// - to 'snap' the mesh boundary to the surface
|
||||
geometry
|
||||
{
|
||||
// motorBike.obj
|
||||
// {
|
||||
// type triSurfaceMesh;
|
||||
// name motorBike;
|
||||
// }
|
||||
//
|
||||
// refinementBox
|
||||
// {
|
||||
// type box;
|
||||
// min (-1.0 -0.7 0.0);
|
||||
// max ( 8.0 0.7 2.5);
|
||||
// }
|
||||
}
|
||||
|
||||
|
||||
|
||||
// Settings for the castellatedMesh generation.
|
||||
castellatedMeshControls
|
||||
{
|
||||
|
||||
// Refinement parameters
|
||||
// ~~~~~~~~~~~~~~~~~~~~~
|
||||
|
||||
// If local number of cells is >= maxLocalCells on any processor
|
||||
// switches from from refinement followed by balancing
|
||||
// (current method) to (weighted) balancing before refinement.
|
||||
maxLocalCells 100000;
|
||||
|
||||
// Overall cell limit (approximately). Refinement will stop immediately
|
||||
// upon reaching this number so a refinement level might not complete.
|
||||
// Note that this is the number of cells before removing the part which
|
||||
// is not 'visible' from the keepPoint. The final number of cells might
|
||||
// actually be a lot less.
|
||||
maxGlobalCells 2000000;
|
||||
|
||||
// The surface refinement loop might spend lots of iterations refining just a
|
||||
// few cells. This setting will cause refinement to stop if <= minimumRefine
|
||||
// are selected for refinement. Note: it will at least do one iteration
|
||||
// (unless the number of cells to refine is 0)
|
||||
minRefinementCells 10;
|
||||
|
||||
// Allow a certain level of imbalance during refining
|
||||
// (since balancing is quite expensive)
|
||||
// Expressed as fraction of perfect balance (= overall number of cells /
|
||||
// nProcs). 0=balance always.
|
||||
maxLoadUnbalance 0.10;
|
||||
|
||||
|
||||
// Number of buffer layers between different levels.
|
||||
// 1 means normal 2:1 refinement restriction, larger means slower
|
||||
// refinement.
|
||||
nCellsBetweenLevels 3;
|
||||
|
||||
|
||||
|
||||
// Explicit feature edge refinement
|
||||
// ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
|
||||
// Specifies a level for any cell intersected by its edges.
|
||||
// This is a featureEdgeMesh, read from constant/triSurface for now.
|
||||
features
|
||||
(
|
||||
//{
|
||||
// file "someLine.eMesh";
|
||||
// level 2;
|
||||
//}
|
||||
);
|
||||
|
||||
|
||||
|
||||
// Surface based refinement
|
||||
// ~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
|
||||
// Specifies two levels for every surface. The first is the minimum level,
|
||||
// every cell intersecting a surface gets refined up to the minimum level.
|
||||
// The second level is the maximum level. Cells that 'see' multiple
|
||||
// intersections where the intersections make an
|
||||
// angle > resolveFeatureAngle get refined up to the maximum level.
|
||||
|
||||
refinementSurfaces
|
||||
{
|
||||
// motorBike
|
||||
// {
|
||||
// // Surface-wise min and max refinement level
|
||||
// level (5 6);
|
||||
//
|
||||
// // Optional specification of patch type (default is wall). No
|
||||
// // constraint types (cyclic, symmetry) etc. are allowed.
|
||||
// patchInfo
|
||||
// {
|
||||
// type wall;
|
||||
// inGroups (motorBike);
|
||||
// }
|
||||
// }
|
||||
}
|
||||
|
||||
// Resolve sharp angles
|
||||
resolveFeatureAngle 30;
|
||||
|
||||
|
||||
// Region-wise refinement
|
||||
// ~~~~~~~~~~~~~~~~~~~~~~
|
||||
|
||||
// Specifies refinement level for cells in relation to a surface. One of
|
||||
// three modes
|
||||
// - distance. 'levels' specifies per distance to the surface the
|
||||
// wanted refinement level. The distances need to be specified in
|
||||
// descending order.
|
||||
// - inside. 'levels' is only one entry and only the level is used. All
|
||||
// cells inside the surface get refined up to the level. The surface
|
||||
// needs to be closed for this to be possible.
|
||||
// - outside. Same but cells outside.
|
||||
|
||||
refinementRegions
|
||||
{
|
||||
// refinementBox
|
||||
// {
|
||||
// mode inside;
|
||||
// levels ((1E15 4));
|
||||
// }
|
||||
}
|
||||
|
||||
|
||||
// Mesh selection
|
||||
// ~~~~~~~~~~~~~~
|
||||
|
||||
// After refinement patches get added for all refinementSurfaces and
|
||||
// all cells intersecting the surfaces get put into these patches. The
|
||||
// section reachable from the locationInMesh is kept.
|
||||
// NOTE: This point should never be on a face, always inside a cell, even
|
||||
// after refinement.
|
||||
locationInMesh (-1 0 0);
|
||||
|
||||
|
||||
// Whether any faceZones (as specified in the refinementSurfaces)
|
||||
// are only on the boundary of corresponding cellZones or also allow
|
||||
// free-standing zone faces. Not used if there are no faceZones.
|
||||
allowFreeStandingZoneFaces true;
|
||||
}
|
||||
|
||||
|
||||
|
||||
// Settings for the snapping.
|
||||
snapControls
|
||||
{
|
||||
//- Number of patch smoothing iterations before finding correspondence
|
||||
// to surface
|
||||
nSmoothPatch 3;
|
||||
|
||||
//- Relative distance for points to be attracted by surface feature point
|
||||
// or edge. True distance is this factor times local
|
||||
// maximum edge length.
|
||||
tolerance 4.0;
|
||||
|
||||
//- Number of mesh displacement relaxation iterations.
|
||||
nSolveIter 0;
|
||||
|
||||
//- Maximum number of snapping relaxation iterations. Should stop
|
||||
// before upon reaching a correct mesh.
|
||||
nRelaxIter 5;
|
||||
|
||||
//- Highly experimental and wip: number of feature edge snapping
|
||||
// iterations. Leave out altogether to disable.
|
||||
// Do not use here since mesh resolution too low and baffles present
|
||||
//nFeatureSnapIter 10;
|
||||
}
|
||||
|
||||
|
||||
|
||||
// Settings for the layer addition.
|
||||
addLayersControls
|
||||
{
|
||||
// Are the thickness parameters below relative to the undistorted
|
||||
// size of the refined cell outside layer (true) or absolute sizes (false).
|
||||
relativeSizes false;
|
||||
|
||||
// Per final patch (so not geometry!) the layer information
|
||||
layers
|
||||
{
|
||||
blob.stl_patch1
|
||||
{
|
||||
nSurfaceLayers 4;
|
||||
}
|
||||
}
|
||||
|
||||
// Expansion factor for layer mesh
|
||||
expansionRatio 1.5;
|
||||
|
||||
// Wanted thickness of final added cell layer. If multiple layers
|
||||
// is the thickness of the layer furthest away from the wall.
|
||||
// Relative to undistorted size of cell outside layer.
|
||||
// See relativeSizes parameter.
|
||||
finalLayerThickness 0.02;
|
||||
|
||||
// Minimum thickness of cell layer. If for any reason layer
|
||||
// cannot be above minThickness do not add layer.
|
||||
// Relative to undistorted size of cell outside layer.
|
||||
minThickness 0.005;
|
||||
|
||||
// If points get not extruded do nGrow layers of connected faces that are
|
||||
// also not grown. This helps convergence of the layer addition process
|
||||
// close to features.
|
||||
// Note: changed(corrected) w.r.t 1.7.x! (didn't do anything in 1.7.x)
|
||||
nGrow 0;
|
||||
|
||||
// Advanced settings
|
||||
|
||||
// When not to extrude surface. 0 is flat surface, 90 is when two faces
|
||||
// are perpendicular
|
||||
featureAngle 90;
|
||||
|
||||
// Maximum number of snapping relaxation iterations. Should stop
|
||||
// before upon reaching a correct mesh.
|
||||
nRelaxIter 3;
|
||||
|
||||
// Number of smoothing iterations of surface normals
|
||||
nSmoothSurfaceNormals 1;
|
||||
|
||||
// Number of smoothing iterations of interior mesh movement direction
|
||||
nSmoothNormals 3;
|
||||
|
||||
// Smooth layer thickness over surface patches
|
||||
nSmoothThickness 10;
|
||||
|
||||
// Stop layer growth on highly warped cells
|
||||
maxFaceThicknessRatio 1000;
|
||||
|
||||
// Reduce layer growth where ratio thickness to medial
|
||||
// distance is large
|
||||
maxThicknessToMedialRatio 0.3;
|
||||
|
||||
// Angle used to pick up medial axis points
|
||||
// Note: changed(corrected) w.r.t 1.7.x! 90 degrees corresponds to 130
|
||||
// in 1.7.x.
|
||||
minMedialAxisAngle 90;
|
||||
|
||||
|
||||
// Create buffer region for new layer terminations
|
||||
nBufferCellsNoExtrude 0;
|
||||
|
||||
|
||||
// Overall max number of layer addition iterations. The mesher will exit
|
||||
// if it reaches this number of iterations; possibly with an illegal
|
||||
// mesh.
|
||||
nLayerIter 50;
|
||||
}
|
||||
|
||||
|
||||
|
||||
// Generic mesh quality settings. At any undoable phase these determine
|
||||
// where to undo.
|
||||
meshQualityControls
|
||||
{
|
||||
#include "meshQualityDict"
|
||||
|
||||
// Advanced
|
||||
|
||||
//- Number of error distribution iterations
|
||||
nSmoothScale 4;
|
||||
//- Amount to scale back displacement at error points
|
||||
errorReduction 0.75;
|
||||
}
|
||||
|
||||
|
||||
// Advanced
|
||||
|
||||
// Merge tolerance. Is fraction of overall bounding box of initial mesh.
|
||||
// Note: the write tolerance needs to be higher than this.
|
||||
mergeTolerance 1e-6;
|
||||
|
||||
|
||||
// ************************************************************************* //
|
||||
@ -12,7 +12,6 @@ FoamFile
|
||||
class dictionary;
|
||||
object topoSetDict;
|
||||
}
|
||||
|
||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||
|
||||
actions
|
||||
@ -119,4 +118,5 @@ actions
|
||||
}
|
||||
);
|
||||
|
||||
|
||||
// ************************************************************************* //
|
||||
|
||||
@ -5,17 +5,7 @@ cd "${0%/*}" || exit # Run from this directory
|
||||
|
||||
cleanCase0
|
||||
|
||||
rm -f constant/triSurface/flange.stl.gz
|
||||
|
||||
rm -rf constant/extendedFeatureEdgeMesh
|
||||
rm -f constant/ccx constant/ccy constant/ccz
|
||||
rm -f constant/internalDelaunayVertices constant/targetCellSize
|
||||
|
||||
(
|
||||
cd constant/backgroundMeshDecomposition/polyMesh 2>/dev/null && \
|
||||
rm -f faces neighbour owner points
|
||||
)
|
||||
|
||||
rm -rf constant/
|
||||
rm -f *.obj
|
||||
|
||||
#------------------------------------------------------------------------------
|
||||
|
||||
@ -3,8 +3,11 @@ cd "${0%/*}" || exit # Run from this directory
|
||||
. ${WM_PROJECT_DIR:?}/bin/tools/RunFunctions # Tutorial run functions
|
||||
#------------------------------------------------------------------------------
|
||||
|
||||
# copy flange surface from resources directory
|
||||
cp $FOAM_TUTORIALS/resources/geometry/flange.stl.gz constant/triSurface/
|
||||
mkdir -p constant/triSurface/
|
||||
|
||||
cp -f \
|
||||
"$FOAM_TUTORIALS"/resources/geometry/flange.stl.gz \
|
||||
constant/triSurface
|
||||
|
||||
runApplication foamyHexMesh
|
||||
|
||||
@ -16,5 +19,4 @@ runApplication -s collapseFaceSet \
|
||||
|
||||
runApplication checkMesh -latestTime -allGeometry -allTopology
|
||||
|
||||
|
||||
#------------------------------------------------------------------------------
|
||||
|
||||
@ -3,8 +3,11 @@ cd "${0%/*}" || exit # Run from this directory
|
||||
. ${WM_PROJECT_DIR:?}/bin/tools/RunFunctions # Tutorial run functions
|
||||
#------------------------------------------------------------------------------
|
||||
|
||||
# copy flange surface from resources directory
|
||||
cp $FOAM_TUTORIALS/resources/geometry/flange.stl.gz constant/triSurface/
|
||||
mkdir -p constant/triSurface/
|
||||
|
||||
cp -f \
|
||||
"$FOAM_TUTORIALS"/resources/geometry/flange.stl.gz \
|
||||
constant/triSurface
|
||||
|
||||
# Create tight-fitting background mesh
|
||||
runApplication blockMesh -region backgroundMeshDecomposition
|
||||
@ -22,5 +25,4 @@ runParallel checkMesh -latestTime -allTopology -allGeometry
|
||||
|
||||
runApplication reconstructParMesh -latestTime
|
||||
|
||||
|
||||
#------------------------------------------------------------------------------
|
||||
|
||||
@ -1,4 +0,0 @@
|
||||
Directory to house tri-surfaces
|
||||
|
||||
The Allrun script copies the surface from the $FOAM_TUTORIALS/resources/geometry
|
||||
directory
|
||||
@ -66,4 +66,5 @@ mergePatchPairs
|
||||
(
|
||||
);
|
||||
|
||||
|
||||
// ************************************************************************* //
|
||||
|
||||
@ -16,7 +16,6 @@ FoamFile
|
||||
|
||||
numberOfSubdomains 8;
|
||||
|
||||
//method scotch;
|
||||
method hierarchical;
|
||||
|
||||
coeffs
|
||||
@ -24,8 +23,5 @@ coeffs
|
||||
n (2 2 2);
|
||||
}
|
||||
|
||||
distributed no;
|
||||
|
||||
roots ( );
|
||||
|
||||
// ************************************************************************* //
|
||||
|
||||
@ -10,7 +10,6 @@ FoamFile
|
||||
version 2.0;
|
||||
format ascii;
|
||||
class dictionary;
|
||||
location "system";
|
||||
object fvSolution;
|
||||
}
|
||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||
@ -26,4 +25,5 @@ solvers
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
// ************************************************************************* //
|
||||
|
||||
@ -5,7 +5,6 @@
|
||||
| \\ / A nd | Website: www.openfoam.com |
|
||||
| \\/ M anipulation | |
|
||||
\*---------------------------------------------------------------------------*/
|
||||
|
||||
FoamFile
|
||||
{
|
||||
version 2.0;
|
||||
@ -13,7 +12,6 @@ FoamFile
|
||||
class dictionary;
|
||||
object controlDict;
|
||||
}
|
||||
|
||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||
|
||||
application foamyHexMesh;
|
||||
|
||||
@ -16,7 +16,6 @@ FoamFile
|
||||
|
||||
numberOfSubdomains 8;
|
||||
|
||||
//method scotch;
|
||||
method hierarchical;
|
||||
|
||||
coeffs
|
||||
@ -24,8 +23,5 @@ coeffs
|
||||
n (2 2 2);
|
||||
}
|
||||
|
||||
distributed no;
|
||||
|
||||
roots ( );
|
||||
|
||||
// ************************************************************************* //
|
||||
|
||||
@ -12,7 +12,6 @@ FoamFile
|
||||
class dictionary;
|
||||
object faceSetDict;
|
||||
}
|
||||
|
||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||
|
||||
// Name of set to operate on
|
||||
@ -32,4 +31,5 @@ topoSetSources
|
||||
}
|
||||
);
|
||||
|
||||
|
||||
// ************************************************************************* //
|
||||
|
||||
@ -10,7 +10,6 @@ FoamFile
|
||||
version 2.0;
|
||||
format ascii;
|
||||
class dictionary;
|
||||
location "system";
|
||||
object fvSchemes;
|
||||
}
|
||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||
@ -46,4 +45,5 @@ snGradSchemes
|
||||
default corrected;
|
||||
}
|
||||
|
||||
|
||||
// ************************************************************************* //
|
||||
|
||||
@ -10,7 +10,6 @@ FoamFile
|
||||
version 2.0;
|
||||
format ascii;
|
||||
class dictionary;
|
||||
location "system";
|
||||
object fvSolution;
|
||||
}
|
||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||
@ -26,4 +25,5 @@ solvers
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
// ************************************************************************* //
|
||||
|
||||
@ -1,310 +0,0 @@
|
||||
/*--------------------------------*- C++ -*----------------------------------*\
|
||||
| ========= | |
|
||||
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
|
||||
| \\ / O peration | Version: v2012 |
|
||||
| \\ / A nd | Website: www.openfoam.com |
|
||||
| \\/ M anipulation | |
|
||||
\*---------------------------------------------------------------------------*/
|
||||
FoamFile
|
||||
{
|
||||
version 2.0;
|
||||
format ascii;
|
||||
class dictionary;
|
||||
object snappyHexMeshDict;
|
||||
}
|
||||
|
||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||
|
||||
// Which of the steps to run
|
||||
castellatedMesh true;
|
||||
snap true;
|
||||
addLayers false;
|
||||
|
||||
|
||||
foamyHexMesh
|
||||
{
|
||||
#include "foamyHexMeshDict"
|
||||
}
|
||||
|
||||
|
||||
|
||||
// Geometry. Definition of all surfaces. All surfaces are of class
|
||||
// searchableSurface.
|
||||
// Surfaces are used
|
||||
// - to specify refinement for any mesh cell intersecting it
|
||||
// - to specify refinement for any mesh cell inside/outside/near
|
||||
// - to 'snap' the mesh boundary to the surface
|
||||
geometry
|
||||
{
|
||||
${:foamyHexMesh.geometry};
|
||||
}
|
||||
|
||||
|
||||
// Settings for the castellatedMesh generation.
|
||||
castellatedMeshControls
|
||||
{
|
||||
|
||||
// Refinement parameters
|
||||
// ~~~~~~~~~~~~~~~~~~~~~
|
||||
|
||||
// If local number of cells is >= maxLocalCells on any processor
|
||||
// switches from from refinement followed by balancing
|
||||
// (current method) to (weighted) balancing before refinement.
|
||||
maxLocalCells 100000;
|
||||
|
||||
// Overall cell limit (approximately). Refinement will stop immediately
|
||||
// upon reaching this number so a refinement level might not complete.
|
||||
// Note that this is the number of cells before removing the part which
|
||||
// is not 'visible' from the keepPoint. The final number of cells might
|
||||
// actually be a lot less.
|
||||
maxGlobalCells 2000000;
|
||||
|
||||
// The surface refinement loop might spend lots of iterations refining just a
|
||||
// few cells. This setting will cause refinement to stop if <= minimumRefine
|
||||
// are selected for refinement. Note: it will at least do one iteration
|
||||
// (unless the number of cells to refine is 0)
|
||||
minRefinementCells 0;
|
||||
|
||||
// Number of buffer layers between different levels.
|
||||
// 1 means normal 2:1 refinement restriction, larger means slower
|
||||
// refinement.
|
||||
nCellsBetweenLevels 1;
|
||||
|
||||
|
||||
|
||||
// Explicit feature edge refinement
|
||||
// ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
|
||||
// Specifies a level for any cell intersected by its edges.
|
||||
// This is a featureEdgeMesh, read from constant/triSurface for now.
|
||||
features
|
||||
(
|
||||
{
|
||||
file "flange.eMesh";
|
||||
level 0;
|
||||
}
|
||||
);
|
||||
|
||||
|
||||
|
||||
// Surface based refinement
|
||||
// ~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
|
||||
// Specifies two levels for every surface. The first is the minimum level,
|
||||
// every cell intersecting a surface gets refined up to the minimum level.
|
||||
// The second level is the maximum level. Cells that 'see' multiple
|
||||
// intersections where the intersections make an
|
||||
// angle > resolveFeatureAngle get refined up to the maximum level.
|
||||
|
||||
refinementSurfaces
|
||||
{
|
||||
flange
|
||||
{
|
||||
// Surface-wise min and max refinement level
|
||||
level (2 2);
|
||||
}
|
||||
}
|
||||
|
||||
// Resolve sharp angles
|
||||
resolveFeatureAngle 30;
|
||||
|
||||
|
||||
// Region-wise refinement
|
||||
// ~~~~~~~~~~~~~~~~~~~~~~
|
||||
|
||||
// Specifies refinement level for cells in relation to a surface. One of
|
||||
// three modes
|
||||
// - distance. 'levels' specifies per distance to the surface the
|
||||
// wanted refinement level. The distances need to be specified in
|
||||
// descending order.
|
||||
// - inside. 'levels' is only one entry and only the level is used. All
|
||||
// cells inside the surface get refined up to the level. The surface
|
||||
// needs to be closed for this to be possible.
|
||||
// - outside. Same but cells outside.
|
||||
|
||||
refinementRegions
|
||||
{
|
||||
refineHole
|
||||
{
|
||||
mode inside;
|
||||
levels ((1E15 3));
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
// Mesh selection
|
||||
// ~~~~~~~~~~~~~~
|
||||
|
||||
// After refinement patches get added for all refinementSurfaces and
|
||||
// all cells intersecting the surfaces get put into these patches. The
|
||||
// section reachable from the locationInMesh is kept.
|
||||
// NOTE: This point should never be on a face, always inside a cell, even
|
||||
// after refinement.
|
||||
locationInMesh ${:foamyHexMesh.surfaceConformation.locationInMesh};
|
||||
|
||||
|
||||
// Whether any faceZones (as specified in the refinementSurfaces)
|
||||
// are only on the boundary of corresponding cellZones or also allow
|
||||
// free-standing zone faces. Not used if there are no faceZones.
|
||||
allowFreeStandingZoneFaces true;
|
||||
}
|
||||
|
||||
|
||||
|
||||
// Settings for the snapping.
|
||||
snapControls
|
||||
{
|
||||
//- Number of patch smoothing iterations before finding correspondence
|
||||
// to surface
|
||||
nSmoothPatch 3;
|
||||
|
||||
//- Relative distance for points to be attracted by surface feature point
|
||||
// or edge. True distance is this factor times local
|
||||
// maximum edge length.
|
||||
tolerance 1.0;
|
||||
|
||||
//- Number of mesh displacement relaxation iterations.
|
||||
nSolveIter 300;
|
||||
|
||||
//- Maximum number of snapping relaxation iterations. Should stop
|
||||
// before upon reaching a correct mesh.
|
||||
nRelaxIter 5;
|
||||
|
||||
// Feature snapping
|
||||
|
||||
// Number of feature edge snapping iterations.
|
||||
// Leave out altogether to disable.
|
||||
nFeatureSnapIter 10;
|
||||
|
||||
// Detect (geometric only) features by sampling the surface
|
||||
// (default=false).
|
||||
implicitFeatureSnap true;
|
||||
|
||||
// Use castellatedMeshControls::features (default = true)
|
||||
explicitFeatureSnap false;
|
||||
|
||||
// Detect features between multiple surfaces
|
||||
// (only for explicitFeatureSnap, default = false)
|
||||
multiRegionFeatureSnap true;
|
||||
}
|
||||
|
||||
|
||||
|
||||
// Settings for the layer addition.
|
||||
addLayersControls
|
||||
{
|
||||
// Are the thickness parameters below relative to the undistorted
|
||||
// size of the refined cell outside layer (true) or absolute sizes (false).
|
||||
relativeSizes false;
|
||||
|
||||
// Per final patch (so not geometry!) the layer information
|
||||
layers
|
||||
{
|
||||
"flange_.*"
|
||||
{
|
||||
nSurfaceLayers 1;
|
||||
}
|
||||
}
|
||||
|
||||
// Expansion factor for layer mesh
|
||||
expansionRatio 1.0;
|
||||
|
||||
|
||||
// Wanted thickness of final added cell layer. If multiple layers
|
||||
// is the thickness of the layer furthest away from the wall.
|
||||
// Relative to undistorted size of cell outside layer.
|
||||
// See relativeSizes parameter.
|
||||
finalLayerThickness 0.0003;
|
||||
|
||||
// Minimum thickness of cell layer. If for any reason layer
|
||||
// cannot be above minThickness do not add layer.
|
||||
// Relative to undistorted size of cell outside layer.
|
||||
minThickness 0.0001;
|
||||
|
||||
// If points get not extruded do nGrow layers of connected faces that are
|
||||
// also not grown. This helps convergence of the layer addition process
|
||||
// close to features.
|
||||
nGrow 0;
|
||||
|
||||
|
||||
// Advanced settings
|
||||
|
||||
// When not to extrude surface. 0 is flat surface, 90 is when two faces
|
||||
// are perpendicular
|
||||
featureAngle 90;
|
||||
|
||||
// Maximum number of snapping relaxation iterations. Should stop
|
||||
// before upon reaching a correct mesh.
|
||||
nRelaxIter 3;
|
||||
|
||||
// Number of smoothing iterations of surface normals
|
||||
nSmoothSurfaceNormals 1;
|
||||
|
||||
// Number of smoothing iterations of interior mesh movement direction
|
||||
nSmoothNormals 3;
|
||||
|
||||
// Smooth layer thickness over surface patches
|
||||
nSmoothThickness 10;
|
||||
|
||||
// Stop layer growth on highly warped cells
|
||||
maxFaceThicknessRatio 1000;
|
||||
|
||||
// Reduce layer growth where ratio thickness to medial
|
||||
// distance is large
|
||||
maxThicknessToMedialRatio 0.3;
|
||||
|
||||
// Angle used to pick up medial axis points
|
||||
minMedialAxisAngle 90;
|
||||
|
||||
// Create buffer region for new layer terminations
|
||||
nBufferCellsNoExtrude 0;
|
||||
|
||||
|
||||
// Overall max number of layer addition iterations. The mesher will exit
|
||||
// if it reaches this number of iterations; possibly with an illegal
|
||||
// mesh.
|
||||
nLayerIter 50;
|
||||
|
||||
// Max number of iterations after which relaxed meshQuality controls
|
||||
// get used. Up to nRelaxIter it uses the settings in meshQualityControls,
|
||||
// after nRelaxIter it uses the values in meshQualityControls::relaxed.
|
||||
nRelaxedIter 20;
|
||||
}
|
||||
|
||||
|
||||
|
||||
// Generic mesh quality settings. At any undoable phase these determine
|
||||
// where to undo.
|
||||
meshQualityControls
|
||||
{
|
||||
// Generic mesh quality settings. At any undoable phase these determine
|
||||
// where to undo.
|
||||
#include "meshQualityDict"
|
||||
|
||||
maxNonOrtho 65;
|
||||
|
||||
// Optional : some meshing phases allow usage of relaxed rules.
|
||||
// See e.g. addLayersControls::nRelaxedIter.
|
||||
relaxed
|
||||
{
|
||||
//- Maximum non-orthogonality allowed. Set to 180 to disable.
|
||||
maxNonOrtho 75;
|
||||
}
|
||||
|
||||
// Advanced
|
||||
|
||||
//- Number of error distribution iterations
|
||||
nSmoothScale 4;
|
||||
//- Amount to scale back displacement at error points
|
||||
errorReduction 0.75;
|
||||
}
|
||||
|
||||
|
||||
// Advanced
|
||||
|
||||
// Merge tolerance. Is fraction of overall bounding box of initial mesh.
|
||||
// Note: the write tolerance needs to be higher than this.
|
||||
mergeTolerance 1E-6;
|
||||
|
||||
|
||||
// ************************************************************************* //
|
||||
@ -34,4 +34,5 @@ actions
|
||||
}
|
||||
);
|
||||
|
||||
|
||||
// ************************************************************************* //
|
||||
|
||||
@ -12,7 +12,6 @@ FoamFile
|
||||
class dictionary;
|
||||
object topoSetDict;
|
||||
}
|
||||
|
||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||
|
||||
zSlice -0.009;
|
||||
@ -122,4 +121,5 @@ actions
|
||||
}
|
||||
);
|
||||
|
||||
|
||||
// ************************************************************************* //
|
||||
|
||||
@ -8,7 +8,7 @@
|
||||
FoamFile
|
||||
{
|
||||
version 2.0;
|
||||
format binary;
|
||||
format ascii;
|
||||
class volVectorField;
|
||||
object U;
|
||||
}
|
||||
|
||||
@ -44,4 +44,5 @@ boundaryField
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
// ************************************************************************* //
|
||||
|
||||
@ -46,4 +46,5 @@ boundaryField
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
// ************************************************************************* //
|
||||
|
||||
@ -45,4 +45,5 @@ boundaryField
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
// ************************************************************************* //
|
||||
|
||||
@ -40,4 +40,5 @@ boundaryField
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
// ************************************************************************* //
|
||||
|
||||
@ -5,18 +5,15 @@ cd "${0%/*}" || exit # Run from this directory
|
||||
|
||||
cleanCase0
|
||||
|
||||
rm -rf constant/extendedFeatureEdgeMesh/
|
||||
rm -rf constant/extendedFeatureEdgeMesh
|
||||
rm -rf constant/triSurface/rawSurfaces
|
||||
rm -f constant/triSurface/*.eMesh*
|
||||
rm -f constant/triSurface/*.stl
|
||||
rm -f constant/triSurface/*.vtp*
|
||||
rm -f constant/triSurface/*.stl*
|
||||
rm -f constant/triSurface/*.obj
|
||||
rm -f constant/triSurface/problemFaces
|
||||
rm -f *.obj
|
||||
|
||||
rm -f constant/backgroundMeshDecomposition/polyMesh/boundary
|
||||
rm -f constant/backgroundMeshDecomposition/polyMesh/faces
|
||||
rm -f constant/backgroundMeshDecomposition/polyMesh/neighbour
|
||||
rm -f constant/backgroundMeshDecomposition/polyMesh/owner
|
||||
rm -f constant/backgroundMeshDecomposition/polyMesh/points
|
||||
|
||||
rm -rf constant/backgroundMeshDecomposition
|
||||
|
||||
#------------------------------------------------------------------------------
|
||||
|
||||
@ -3,10 +3,29 @@ cd "${0%/*}" || exit # Run from this directory
|
||||
. ${WM_PROJECT_DIR:?}/bin/tools/RunFunctions # Tutorial run functions
|
||||
#------------------------------------------------------------------------------
|
||||
|
||||
# Generate mesh
|
||||
./Allrun-pre
|
||||
./Allrun.pre
|
||||
|
||||
# Run simulation
|
||||
./Allrun-simulation
|
||||
cp -f system/controlDict.flow system/controlDict
|
||||
|
||||
rm -rf 0
|
||||
|
||||
runApplication createBaffles -overwrite
|
||||
|
||||
runApplication mergeOrSplitBaffles -split -overwrite
|
||||
|
||||
# Get rid of zero faced patches
|
||||
runApplication createPatch -overwrite
|
||||
|
||||
# Copy fields after meshing to avoid the generation of unnecessary patch fields
|
||||
restore0Dir
|
||||
|
||||
# Initialize alpha
|
||||
runApplication setFields
|
||||
|
||||
runApplication -s main decomposePar -force
|
||||
|
||||
runParallel $(getApplication)
|
||||
|
||||
runApplication reconstructPar -noFunctionObjects
|
||||
|
||||
#------------------------------------------------------------------------------
|
||||
|
||||
@ -1,33 +0,0 @@
|
||||
#!/bin/sh
|
||||
cd "${0%/*}" || exit # Run from this directory
|
||||
. ${WM_PROJECT_DIR:?}/bin/tools/RunFunctions # Tutorial run functions
|
||||
#------------------------------------------------------------------------------
|
||||
|
||||
cp system/controlDict.flow system/controlDict
|
||||
|
||||
rm -rf 0
|
||||
|
||||
runApplication createBaffles -overwrite
|
||||
runApplication mergeOrSplitBaffles -split -overwrite
|
||||
|
||||
# Get rid of zero faced patches
|
||||
runApplication createPatch -overwrite
|
||||
|
||||
# Copy fields after meshing to avoid the generation of unnecessary patch fields
|
||||
restore0Dir
|
||||
|
||||
# Initialize alpha
|
||||
runApplication setFields
|
||||
|
||||
# Decompose
|
||||
runApplication -s main \
|
||||
decomposePar -force
|
||||
|
||||
# Run
|
||||
runParallel $(getApplication)
|
||||
|
||||
# Reconstruct
|
||||
runApplication reconstructPar -noFunctionObjects
|
||||
|
||||
|
||||
#------------------------------------------------------------------------------
|
||||
@ -16,13 +16,17 @@ intersectSurfaces()
|
||||
}
|
||||
|
||||
|
||||
rm -rf 0
|
||||
#------------------------------------------------------------------------------
|
||||
|
||||
cp -rf \
|
||||
"$FOAM_TUTORIALS"/resources/geometry/mixerVessel \
|
||||
constant/triSurface/rawSurfaces
|
||||
|
||||
rm -rf 0
|
||||
|
||||
# Run the surface preparation script
|
||||
./constant/triSurface/surfaceProcess.sh > log.surfaceProcess 2>&1
|
||||
|
||||
|
||||
# Surface intersections
|
||||
intersectSurfaces vessel.stl spargerShaft.stl -perturb
|
||||
|
||||
@ -40,14 +44,13 @@ intersectSurfaces rotating.stl shaft.stl -surf1Baffle -perturb
|
||||
for bladeI in $(seq 1 6)
|
||||
do
|
||||
intersectSurfaces \
|
||||
stirrer_baffles_$bladeI.obj \
|
||||
stirrer_baffles_"$bladeI".obj \
|
||||
stirrer_baffles_plate.obj \
|
||||
-surf1Baffle -surf2Baffle
|
||||
done
|
||||
|
||||
|
||||
# Meshing
|
||||
\cp system/controlDict.mesh system/controlDict
|
||||
cp -f system/controlDict.mesh system/controlDict
|
||||
|
||||
runApplication blockMesh -region backgroundMeshDecomposition
|
||||
|
||||
@ -71,12 +74,12 @@ runParallel checkMesh -allTopology -allGeometry -latestTime
|
||||
# Copy the mesh from the latest time folder into polyMesh and delete that
|
||||
# latest time folder
|
||||
latestTime=$(foamListTimes -latestTime -processor)
|
||||
if [ "$latestTime" != "constant" ] && [ -d processor0/$latestTime/polyMesh ]
|
||||
if [ "$latestTime" != "constant" ] && [ -d processor0/"$latestTime"/polyMesh ]
|
||||
then
|
||||
runApplication reconstructParMesh -latestTime
|
||||
|
||||
\cp -r $latestTime/polyMesh constant
|
||||
rm -rf $latestTime
|
||||
cp -rf "$latestTime"/polyMesh constant
|
||||
rm -rf "$latestTime"
|
||||
fi
|
||||
|
||||
|
||||
@ -10,7 +10,6 @@ FoamFile
|
||||
version 2.0;
|
||||
format ascii;
|
||||
class dictionary;
|
||||
location "constant";
|
||||
object dynamicMeshDict;
|
||||
}
|
||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||
|
||||
@ -10,7 +10,6 @@ FoamFile
|
||||
version 2.0;
|
||||
format ascii;
|
||||
class uniformDimensionedVectorField;
|
||||
location "constant";
|
||||
object g;
|
||||
}
|
||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||
|
||||
@ -10,7 +10,6 @@ FoamFile
|
||||
version 2.0;
|
||||
format ascii;
|
||||
class dictionary;
|
||||
location "constant";
|
||||
object transportProperties;
|
||||
}
|
||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||
@ -33,4 +32,5 @@ phase2
|
||||
|
||||
sigma 0.07;
|
||||
|
||||
|
||||
// ************************************************************************* //
|
||||
|
||||
@ -1,114 +0,0 @@
|
||||
solid baffles
|
||||
facet normal 0.707107 0.707107 -0
|
||||
outer loop
|
||||
vertex 0.137322 -0.137322 0.025
|
||||
vertex 0.137322 -0.137322 0.4
|
||||
vertex 0.155 -0.155 0.025
|
||||
endloop
|
||||
endfacet
|
||||
facet normal 0.707107 0.707107 0
|
||||
outer loop
|
||||
vertex 0.137322 -0.137322 0.4
|
||||
vertex 0.155 -0.155 0.4
|
||||
vertex 0.155 -0.155 0.025
|
||||
endloop
|
||||
endfacet
|
||||
facet normal 0.707107 0.707107 -0
|
||||
outer loop
|
||||
vertex 0.155 -0.155 0.025
|
||||
vertex 0.155 -0.155 0.4
|
||||
vertex 0.172678 -0.172678 0.025
|
||||
endloop
|
||||
endfacet
|
||||
facet normal 0.707107 0.707107 0
|
||||
outer loop
|
||||
vertex 0.155 -0.155 0.4
|
||||
vertex 0.172678 -0.172678 0.4
|
||||
vertex 0.172678 -0.172678 0.025
|
||||
endloop
|
||||
endfacet
|
||||
facet normal 0.707107 0.707107 -0
|
||||
outer loop
|
||||
vertex 0.137322 -0.137322 0.4
|
||||
vertex 0.137322 -0.137322 0.775
|
||||
vertex 0.155 -0.155 0.4
|
||||
endloop
|
||||
endfacet
|
||||
facet normal 0.707107 0.707107 0
|
||||
outer loop
|
||||
vertex 0.137322 -0.137322 0.775
|
||||
vertex 0.155 -0.155 0.775
|
||||
vertex 0.155 -0.155 0.4
|
||||
endloop
|
||||
endfacet
|
||||
facet normal 0.707107 0.707107 -0
|
||||
outer loop
|
||||
vertex 0.155 -0.155 0.4
|
||||
vertex 0.155 -0.155 0.775
|
||||
vertex 0.172678 -0.172678 0.4
|
||||
endloop
|
||||
endfacet
|
||||
facet normal 0.707107 0.707107 0
|
||||
outer loop
|
||||
vertex 0.155 -0.155 0.775
|
||||
vertex 0.172678 -0.172678 0.775
|
||||
vertex 0.172678 -0.172678 0.4
|
||||
endloop
|
||||
endfacet
|
||||
facet normal 0.707107 0.707107 -0
|
||||
outer loop
|
||||
vertex -0.172678 0.172678 0.025
|
||||
vertex -0.172678 0.172678 0.4
|
||||
vertex -0.155 0.155 0.025
|
||||
endloop
|
||||
endfacet
|
||||
facet normal 0.707107 0.707107 0
|
||||
outer loop
|
||||
vertex -0.172678 0.172678 0.4
|
||||
vertex -0.155 0.155 0.4
|
||||
vertex -0.155 0.155 0.025
|
||||
endloop
|
||||
endfacet
|
||||
facet normal 0.707107 0.707107 -0
|
||||
outer loop
|
||||
vertex -0.155 0.155 0.025
|
||||
vertex -0.155 0.155 0.4
|
||||
vertex -0.137322 0.137322 0.025
|
||||
endloop
|
||||
endfacet
|
||||
facet normal 0.707107 0.707107 0
|
||||
outer loop
|
||||
vertex -0.155 0.155 0.4
|
||||
vertex -0.137322 0.137322 0.4
|
||||
vertex -0.137322 0.137322 0.025
|
||||
endloop
|
||||
endfacet
|
||||
facet normal 0.707107 0.707107 -0
|
||||
outer loop
|
||||
vertex -0.172678 0.172678 0.4
|
||||
vertex -0.172678 0.172678 0.775
|
||||
vertex -0.155 0.155 0.4
|
||||
endloop
|
||||
endfacet
|
||||
facet normal 0.707107 0.707107 0
|
||||
outer loop
|
||||
vertex -0.172678 0.172678 0.775
|
||||
vertex -0.155 0.155 0.775
|
||||
vertex -0.155 0.155 0.4
|
||||
endloop
|
||||
endfacet
|
||||
facet normal 0.707107 0.707107 -0
|
||||
outer loop
|
||||
vertex -0.155 0.155 0.4
|
||||
vertex -0.155 0.155 0.775
|
||||
vertex -0.137322 0.137322 0.4
|
||||
endloop
|
||||
endfacet
|
||||
facet normal 0.707107 0.707107 0
|
||||
outer loop
|
||||
vertex -0.155 0.155 0.775
|
||||
vertex -0.137322 0.137322 0.775
|
||||
vertex -0.137322 0.137322 0.4
|
||||
endloop
|
||||
endfacet
|
||||
endsolid baffles
|
||||
@ -1,254 +0,0 @@
|
||||
solid gasInlet
|
||||
facet normal 0 0 1
|
||||
outer loop
|
||||
vertex 0.0984808 0.0173648 0
|
||||
vertex 0 0 0
|
||||
vertex 0.1 0 0
|
||||
endloop
|
||||
endfacet
|
||||
facet normal 0 0 1
|
||||
outer loop
|
||||
vertex 0.0939693 0.034202 0
|
||||
vertex 0 0 0
|
||||
vertex 0.0984808 0.0173648 0
|
||||
endloop
|
||||
endfacet
|
||||
facet normal 0 0 1
|
||||
outer loop
|
||||
vertex 0.0866025 0.05 0
|
||||
vertex 0 0 0
|
||||
vertex 0.0939693 0.034202 0
|
||||
endloop
|
||||
endfacet
|
||||
facet normal 0 0 1
|
||||
outer loop
|
||||
vertex 0.0766044 0.0642788 0
|
||||
vertex 0 0 0
|
||||
vertex 0.0866025 0.05 0
|
||||
endloop
|
||||
endfacet
|
||||
facet normal 0 0 1
|
||||
outer loop
|
||||
vertex 0.0642788 0.0766044 0
|
||||
vertex 0 0 0
|
||||
vertex 0.0766044 0.0642788 0
|
||||
endloop
|
||||
endfacet
|
||||
facet normal 0 0 1
|
||||
outer loop
|
||||
vertex 0.05 0.0866025 0
|
||||
vertex 0 0 0
|
||||
vertex 0.0642788 0.0766044 0
|
||||
endloop
|
||||
endfacet
|
||||
facet normal 0 0 1
|
||||
outer loop
|
||||
vertex 0.034202 0.0939693 0
|
||||
vertex 0 0 0
|
||||
vertex 0.05 0.0866025 0
|
||||
endloop
|
||||
endfacet
|
||||
facet normal 0 0 1
|
||||
outer loop
|
||||
vertex 0.0173648 0.0984808 0
|
||||
vertex 0 0 0
|
||||
vertex 0.034202 0.0939693 0
|
||||
endloop
|
||||
endfacet
|
||||
facet normal 0 0 1
|
||||
outer loop
|
||||
vertex 6.12323e-18 0.1 0
|
||||
vertex 0 0 0
|
||||
vertex 0.0173648 0.0984808 0
|
||||
endloop
|
||||
endfacet
|
||||
facet normal -0 0 1
|
||||
outer loop
|
||||
vertex -0.0173648 0.0984808 0
|
||||
vertex 0 0 0
|
||||
vertex 6.12323e-18 0.1 0
|
||||
endloop
|
||||
endfacet
|
||||
facet normal -0 0 1
|
||||
outer loop
|
||||
vertex -0.034202 0.0939693 0
|
||||
vertex 0 0 0
|
||||
vertex -0.0173648 0.0984808 0
|
||||
endloop
|
||||
endfacet
|
||||
facet normal -0 0 1
|
||||
outer loop
|
||||
vertex -0.05 0.0866025 0
|
||||
vertex 0 0 0
|
||||
vertex -0.034202 0.0939693 0
|
||||
endloop
|
||||
endfacet
|
||||
facet normal -0 0 1
|
||||
outer loop
|
||||
vertex -0.0642788 0.0766044 0
|
||||
vertex 0 0 0
|
||||
vertex -0.05 0.0866025 0
|
||||
endloop
|
||||
endfacet
|
||||
facet normal -0 0 1
|
||||
outer loop
|
||||
vertex -0.0766044 0.0642788 0
|
||||
vertex 0 0 0
|
||||
vertex -0.0642788 0.0766044 0
|
||||
endloop
|
||||
endfacet
|
||||
facet normal -0 0 1
|
||||
outer loop
|
||||
vertex -0.0866025 0.05 0
|
||||
vertex 0 0 0
|
||||
vertex -0.0766044 0.0642788 0
|
||||
endloop
|
||||
endfacet
|
||||
facet normal -0 0 1
|
||||
outer loop
|
||||
vertex -0.0939693 0.034202 0
|
||||
vertex 0 0 0
|
||||
vertex -0.0866025 0.05 0
|
||||
endloop
|
||||
endfacet
|
||||
facet normal -0 0 1
|
||||
outer loop
|
||||
vertex -0.0984808 0.0173648 0
|
||||
vertex 0 0 0
|
||||
vertex -0.0939693 0.034202 0
|
||||
endloop
|
||||
endfacet
|
||||
facet normal -0 0 1
|
||||
outer loop
|
||||
vertex -0.1 1.22465e-17 0
|
||||
vertex 0 0 0
|
||||
vertex -0.0984808 0.0173648 0
|
||||
endloop
|
||||
endfacet
|
||||
facet normal 0 -0 1
|
||||
outer loop
|
||||
vertex -0.0984808 -0.0173648 0
|
||||
vertex 0 0 0
|
||||
vertex -0.1 1.22465e-17 0
|
||||
endloop
|
||||
endfacet
|
||||
facet normal 0 -0 1
|
||||
outer loop
|
||||
vertex -0.0939693 -0.034202 0
|
||||
vertex 0 0 0
|
||||
vertex -0.0984808 -0.0173648 0
|
||||
endloop
|
||||
endfacet
|
||||
facet normal 0 -0 1
|
||||
outer loop
|
||||
vertex -0.0866025 -0.05 0
|
||||
vertex 0 0 0
|
||||
vertex -0.0939693 -0.034202 0
|
||||
endloop
|
||||
endfacet
|
||||
facet normal 0 -0 1
|
||||
outer loop
|
||||
vertex -0.0766044 -0.0642788 0
|
||||
vertex 0 0 0
|
||||
vertex -0.0866025 -0.05 0
|
||||
endloop
|
||||
endfacet
|
||||
facet normal 0 -0 1
|
||||
outer loop
|
||||
vertex -0.0642788 -0.0766044 0
|
||||
vertex 0 0 0
|
||||
vertex -0.0766044 -0.0642788 0
|
||||
endloop
|
||||
endfacet
|
||||
facet normal 0 -0 1
|
||||
outer loop
|
||||
vertex -0.05 -0.0866025 0
|
||||
vertex 0 0 0
|
||||
vertex -0.0642788 -0.0766044 0
|
||||
endloop
|
||||
endfacet
|
||||
facet normal 0 -0 1
|
||||
outer loop
|
||||
vertex -0.034202 -0.0939693 0
|
||||
vertex 0 0 0
|
||||
vertex -0.05 -0.0866025 0
|
||||
endloop
|
||||
endfacet
|
||||
facet normal 0 -0 1
|
||||
outer loop
|
||||
vertex -0.0173648 -0.0984808 0
|
||||
vertex 0 0 0
|
||||
vertex -0.034202 -0.0939693 0
|
||||
endloop
|
||||
endfacet
|
||||
facet normal 0 -0 1
|
||||
outer loop
|
||||
vertex -1.83697e-17 -0.1 0
|
||||
vertex 0 0 0
|
||||
vertex -0.0173648 -0.0984808 0
|
||||
endloop
|
||||
endfacet
|
||||
facet normal 0 0 1
|
||||
outer loop
|
||||
vertex 0.0173648 -0.0984808 0
|
||||
vertex 0 0 0
|
||||
vertex -1.83697e-17 -0.1 0
|
||||
endloop
|
||||
endfacet
|
||||
facet normal 0 0 1
|
||||
outer loop
|
||||
vertex 0.034202 -0.0939693 0
|
||||
vertex 0 0 0
|
||||
vertex 0.0173648 -0.0984808 0
|
||||
endloop
|
||||
endfacet
|
||||
facet normal 0 0 1
|
||||
outer loop
|
||||
vertex 0.05 -0.0866025 0
|
||||
vertex 0 0 0
|
||||
vertex 0.034202 -0.0939693 0
|
||||
endloop
|
||||
endfacet
|
||||
facet normal 0 0 1
|
||||
outer loop
|
||||
vertex 0.0642788 -0.0766044 0
|
||||
vertex 0 0 0
|
||||
vertex 0.05 -0.0866025 0
|
||||
endloop
|
||||
endfacet
|
||||
facet normal 0 0 1
|
||||
outer loop
|
||||
vertex 0.0766044 -0.0642788 0
|
||||
vertex 0 0 0
|
||||
vertex 0.0642788 -0.0766044 0
|
||||
endloop
|
||||
endfacet
|
||||
facet normal 0 0 1
|
||||
outer loop
|
||||
vertex 0.0866025 -0.05 0
|
||||
vertex 0 0 0
|
||||
vertex 0.0766044 -0.0642788 0
|
||||
endloop
|
||||
endfacet
|
||||
facet normal 0 0 1
|
||||
outer loop
|
||||
vertex 0.0939693 -0.034202 0
|
||||
vertex 0 0 0
|
||||
vertex 0.0866025 -0.05 0
|
||||
endloop
|
||||
endfacet
|
||||
facet normal 0 0 1
|
||||
outer loop
|
||||
vertex 0.0984808 -0.0173648 0
|
||||
vertex 0 0 0
|
||||
vertex 0.0939693 -0.034202 0
|
||||
endloop
|
||||
endfacet
|
||||
facet normal 0 0 1
|
||||
outer loop
|
||||
vertex 0.1 -2.44929e-17 0
|
||||
vertex 0 0 0
|
||||
vertex 0.0984808 -0.0173648 0
|
||||
endloop
|
||||
endfacet
|
||||
endsolid gasInlet
|
||||
@ -1,240 +0,0 @@
|
||||
solid outlet
|
||||
facet normal 0 0 1
|
||||
outer loop
|
||||
vertex -0.129544 -0.0947905 1.3
|
||||
vertex -0.13 -0.1 1.3
|
||||
vertex -0.129544 -0.105209 1.3
|
||||
endloop
|
||||
endfacet
|
||||
facet normal 0 0 1
|
||||
outer loop
|
||||
vertex -0.125981 -0.115 1.3
|
||||
vertex -0.129544 -0.0947905 1.3
|
||||
vertex -0.128191 -0.110261 1.3
|
||||
endloop
|
||||
endfacet
|
||||
facet normal 0 0 1
|
||||
outer loop
|
||||
vertex -0.128191 -0.110261 1.3
|
||||
vertex -0.129544 -0.0947905 1.3
|
||||
vertex -0.129544 -0.105209 1.3
|
||||
endloop
|
||||
endfacet
|
||||
facet normal 0 0 1
|
||||
outer loop
|
||||
vertex -0.122981 -0.119284 1.3
|
||||
vertex -0.129544 -0.0947905 1.3
|
||||
vertex -0.125981 -0.115 1.3
|
||||
endloop
|
||||
endfacet
|
||||
facet normal 0 0 1
|
||||
outer loop
|
||||
vertex -0.119284 -0.122981 1.3
|
||||
vertex -0.129544 -0.0947905 1.3
|
||||
vertex -0.122981 -0.119284 1.3
|
||||
endloop
|
||||
endfacet
|
||||
facet normal 0 0 1
|
||||
outer loop
|
||||
vertex -0.115 -0.125981 1.3
|
||||
vertex -0.129544 -0.0947905 1.3
|
||||
vertex -0.119284 -0.122981 1.3
|
||||
endloop
|
||||
endfacet
|
||||
facet normal 0 0 1
|
||||
outer loop
|
||||
vertex -0.110261 -0.128191 1.3
|
||||
vertex -0.129544 -0.0947905 1.3
|
||||
vertex -0.115 -0.125981 1.3
|
||||
endloop
|
||||
endfacet
|
||||
facet normal 0 0 1
|
||||
outer loop
|
||||
vertex -0.105209 -0.129544 1.3
|
||||
vertex -0.129544 -0.0947905 1.3
|
||||
vertex -0.110261 -0.128191 1.3
|
||||
endloop
|
||||
endfacet
|
||||
facet normal 0 0 1
|
||||
outer loop
|
||||
vertex -0.1 -0.13 1.3
|
||||
vertex -0.129544 -0.0947905 1.3
|
||||
vertex -0.105209 -0.129544 1.3
|
||||
endloop
|
||||
endfacet
|
||||
facet normal 0 0 1
|
||||
outer loop
|
||||
vertex -0.0947905 -0.129544 1.3
|
||||
vertex -0.129544 -0.0947905 1.3
|
||||
vertex -0.1 -0.13 1.3
|
||||
endloop
|
||||
endfacet
|
||||
facet normal 0 0 1
|
||||
outer loop
|
||||
vertex -0.0897394 -0.128191 1.3
|
||||
vertex -0.129544 -0.0947905 1.3
|
||||
vertex -0.0947905 -0.129544 1.3
|
||||
endloop
|
||||
endfacet
|
||||
facet normal 0 0 1
|
||||
outer loop
|
||||
vertex -0.085 -0.125981 1.3
|
||||
vertex -0.129544 -0.0947905 1.3
|
||||
vertex -0.0897394 -0.128191 1.3
|
||||
endloop
|
||||
endfacet
|
||||
facet normal 0 0 1
|
||||
outer loop
|
||||
vertex -0.0807164 -0.122981 1.3
|
||||
vertex -0.129544 -0.0947905 1.3
|
||||
vertex -0.085 -0.125981 1.3
|
||||
endloop
|
||||
endfacet
|
||||
facet normal 0 0 1
|
||||
outer loop
|
||||
vertex -0.0770187 -0.119284 1.3
|
||||
vertex -0.129544 -0.0947905 1.3
|
||||
vertex -0.0807164 -0.122981 1.3
|
||||
endloop
|
||||
endfacet
|
||||
facet normal 0 0 1
|
||||
outer loop
|
||||
vertex -0.0740192 -0.115 1.3
|
||||
vertex -0.129544 -0.0947905 1.3
|
||||
vertex -0.0770187 -0.119284 1.3
|
||||
endloop
|
||||
endfacet
|
||||
facet normal 0 0 1
|
||||
outer loop
|
||||
vertex -0.0718092 -0.110261 1.3
|
||||
vertex -0.129544 -0.0947905 1.3
|
||||
vertex -0.0740192 -0.115 1.3
|
||||
endloop
|
||||
endfacet
|
||||
facet normal 0 0 1
|
||||
outer loop
|
||||
vertex -0.0704558 -0.105209 1.3
|
||||
vertex -0.129544 -0.0947905 1.3
|
||||
vertex -0.0718092 -0.110261 1.3
|
||||
endloop
|
||||
endfacet
|
||||
facet normal 0 0 1
|
||||
outer loop
|
||||
vertex -0.07 -0.1 1.3
|
||||
vertex -0.129544 -0.0947905 1.3
|
||||
vertex -0.0704558 -0.105209 1.3
|
||||
endloop
|
||||
endfacet
|
||||
facet normal 0 0 1
|
||||
outer loop
|
||||
vertex -0.0704558 -0.0947905 1.3
|
||||
vertex -0.129544 -0.0947905 1.3
|
||||
vertex -0.07 -0.1 1.3
|
||||
endloop
|
||||
endfacet
|
||||
facet normal 0 0 1
|
||||
outer loop
|
||||
vertex -0.0718092 -0.0897394 1.3
|
||||
vertex -0.129544 -0.0947905 1.3
|
||||
vertex -0.0704558 -0.0947905 1.3
|
||||
endloop
|
||||
endfacet
|
||||
facet normal 0 0 1
|
||||
outer loop
|
||||
vertex -0.0740192 -0.085 1.3
|
||||
vertex -0.129544 -0.0947905 1.3
|
||||
vertex -0.0718092 -0.0897394 1.3
|
||||
endloop
|
||||
endfacet
|
||||
facet normal 0 0 1
|
||||
outer loop
|
||||
vertex -0.0770187 -0.0807164 1.3
|
||||
vertex -0.129544 -0.0947905 1.3
|
||||
vertex -0.0740192 -0.085 1.3
|
||||
endloop
|
||||
endfacet
|
||||
facet normal 0 0 1
|
||||
outer loop
|
||||
vertex -0.0807164 -0.0770187 1.3
|
||||
vertex -0.129544 -0.0947905 1.3
|
||||
vertex -0.0770187 -0.0807164 1.3
|
||||
endloop
|
||||
endfacet
|
||||
facet normal 0 0 1
|
||||
outer loop
|
||||
vertex -0.085 -0.0740192 1.3
|
||||
vertex -0.129544 -0.0947905 1.3
|
||||
vertex -0.0807164 -0.0770187 1.3
|
||||
endloop
|
||||
endfacet
|
||||
facet normal 0 0 1
|
||||
outer loop
|
||||
vertex -0.0897394 -0.0718092 1.3
|
||||
vertex -0.129544 -0.0947905 1.3
|
||||
vertex -0.085 -0.0740192 1.3
|
||||
endloop
|
||||
endfacet
|
||||
facet normal 0 0 1
|
||||
outer loop
|
||||
vertex -0.0947905 -0.0704558 1.3
|
||||
vertex -0.129544 -0.0947905 1.3
|
||||
vertex -0.0897394 -0.0718092 1.3
|
||||
endloop
|
||||
endfacet
|
||||
facet normal 0 0 1
|
||||
outer loop
|
||||
vertex -0.1 -0.07 1.3
|
||||
vertex -0.129544 -0.0947905 1.3
|
||||
vertex -0.0947905 -0.0704558 1.3
|
||||
endloop
|
||||
endfacet
|
||||
facet normal -0 0 1
|
||||
outer loop
|
||||
vertex -0.105209 -0.0704558 1.3
|
||||
vertex -0.129544 -0.0947905 1.3
|
||||
vertex -0.1 -0.07 1.3
|
||||
endloop
|
||||
endfacet
|
||||
facet normal -0 0 1
|
||||
outer loop
|
||||
vertex -0.110261 -0.0718092 1.3
|
||||
vertex -0.129544 -0.0947905 1.3
|
||||
vertex -0.105209 -0.0704558 1.3
|
||||
endloop
|
||||
endfacet
|
||||
facet normal -0 0 1
|
||||
outer loop
|
||||
vertex -0.115 -0.0740192 1.3
|
||||
vertex -0.129544 -0.0947905 1.3
|
||||
vertex -0.110261 -0.0718092 1.3
|
||||
endloop
|
||||
endfacet
|
||||
facet normal -0 0 1
|
||||
outer loop
|
||||
vertex -0.119284 -0.0770187 1.3
|
||||
vertex -0.129544 -0.0947905 1.3
|
||||
vertex -0.115 -0.0740192 1.3
|
||||
endloop
|
||||
endfacet
|
||||
facet normal -0 0 1
|
||||
outer loop
|
||||
vertex -0.122981 -0.0807164 1.3
|
||||
vertex -0.129544 -0.0947905 1.3
|
||||
vertex -0.119284 -0.0770187 1.3
|
||||
endloop
|
||||
endfacet
|
||||
facet normal -0 0 1
|
||||
outer loop
|
||||
vertex -0.125981 -0.085 1.3
|
||||
vertex -0.129544 -0.0947905 1.3
|
||||
vertex -0.122981 -0.0807164 1.3
|
||||
endloop
|
||||
endfacet
|
||||
facet normal -0 0 1
|
||||
outer loop
|
||||
vertex -0.128191 -0.0897394 1.3
|
||||
vertex -0.129544 -0.0947905 1.3
|
||||
vertex -0.125981 -0.085 1.3
|
||||
endloop
|
||||
endfacet
|
||||
endsolid ascii
|
||||
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
@ -1,7 +1,8 @@
|
||||
#!/bin/sh
|
||||
cd "${0%/*}" || exit # Run from this directory
|
||||
#------------------------------------------------------------------------------
|
||||
|
||||
cp rawSurfaces/*.stl .
|
||||
cp -f rawSurfaces/*.stl.gz .
|
||||
|
||||
# Vessel surface
|
||||
surfaceAdd outlet.stl vessel.stl vessel.stl
|
||||
@ -23,9 +24,9 @@ surfaceOrient -inside shaft.stl "(0 0.1 1)" shaft.stl
|
||||
surfaceSplitByTopology stirrer.stl stirrer.stl
|
||||
surfaceOrient -inside stirrer.stl "(0 0.1 1)" stirrer.stl
|
||||
|
||||
mv stirrer_bafflePart_0.stl stirrer_baffles.stl
|
||||
mv -f stirrer_bafflePart_0.stl stirrer_baffles.stl
|
||||
|
||||
surfaceCheck stirrer_baffles.stl
|
||||
mv stirrer_baffles_0.obj stirrer_baffles_plate.obj
|
||||
mv -f stirrer_baffles_0.obj stirrer_baffles_plate.obj
|
||||
|
||||
#------------------------------------------------------------------------------
|
||||
|
||||
@ -10,12 +10,11 @@ FoamFile
|
||||
version 2.0;
|
||||
format ascii;
|
||||
class dictionary;
|
||||
location "constant";
|
||||
object turbulenceProperties;
|
||||
}
|
||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||
|
||||
simulationType RAS;
|
||||
simulationType RAS;
|
||||
|
||||
RAS
|
||||
{
|
||||
|
||||
@ -10,7 +10,6 @@ FoamFile
|
||||
version 2.0;
|
||||
format ascii;
|
||||
class dictionary;
|
||||
location "system";
|
||||
object fvSolution;
|
||||
}
|
||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||
|
||||
@ -10,12 +10,11 @@ FoamFile
|
||||
version 2.0;
|
||||
format ascii;
|
||||
class dictionary;
|
||||
location "system";
|
||||
object controlDict;
|
||||
}
|
||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||
|
||||
application foamyHexMesh;
|
||||
application interFoam;
|
||||
|
||||
startFrom startTime;
|
||||
|
||||
@ -23,26 +22,35 @@ startTime 0;
|
||||
|
||||
stopAt endTime;
|
||||
|
||||
endTime 100;
|
||||
endTime 5.0;
|
||||
|
||||
deltaT 1;
|
||||
deltaT 1e-4;
|
||||
|
||||
writeControl timeStep;
|
||||
writeControl adjustable;
|
||||
|
||||
writeInterval 100;
|
||||
writeInterval 0.05;
|
||||
|
||||
purgeWrite 0;
|
||||
|
||||
writeFormat binary;
|
||||
|
||||
writePrecision 10;
|
||||
writePrecision 6;
|
||||
|
||||
writeCompression off;
|
||||
|
||||
timeFormat general;
|
||||
|
||||
timePrecision 6;
|
||||
timePrecision 10;
|
||||
|
||||
runTimeModifiable yes;
|
||||
|
||||
adjustTimeStep yes;
|
||||
|
||||
maxCo 1.5;
|
||||
|
||||
maxAlphaCo 1;
|
||||
|
||||
maxDeltaT 1;
|
||||
|
||||
|
||||
// ************************************************************************* //
|
||||
|
||||
@ -10,7 +10,6 @@ FoamFile
|
||||
version 2.0;
|
||||
format ascii;
|
||||
class dictionary;
|
||||
location "system";
|
||||
object controlDict;
|
||||
}
|
||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||
@ -53,4 +52,5 @@ maxAlphaCo 1;
|
||||
|
||||
maxDeltaT 1;
|
||||
|
||||
|
||||
// ************************************************************************* //
|
||||
|
||||
@ -10,7 +10,6 @@ FoamFile
|
||||
version 2.0;
|
||||
format ascii;
|
||||
class dictionary;
|
||||
location "system";
|
||||
object controlDict;
|
||||
}
|
||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||
@ -45,4 +44,5 @@ timePrecision 6;
|
||||
|
||||
runTimeModifiable yes;
|
||||
|
||||
|
||||
// ************************************************************************* //
|
||||
|
||||
@ -24,4 +24,5 @@ patches
|
||||
(
|
||||
);
|
||||
|
||||
|
||||
// ************************************************************************* //
|
||||
|
||||
@ -16,13 +16,12 @@ FoamFile
|
||||
|
||||
numberOfSubdomains 8;
|
||||
|
||||
//method ptscotch;
|
||||
method hierarchical;
|
||||
//method scotch;
|
||||
|
||||
coeffs
|
||||
{
|
||||
n (2 2 2);
|
||||
}
|
||||
|
||||
|
||||
// ************************************************************************* //
|
||||
|
||||
@ -10,7 +10,6 @@ FoamFile
|
||||
version 2.0;
|
||||
format ascii;
|
||||
class dictionary;
|
||||
location "system";
|
||||
object fvSchemes;
|
||||
}
|
||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||
@ -28,15 +27,18 @@ gradSchemes
|
||||
|
||||
divSchemes
|
||||
{
|
||||
div(rhoPhi,U) Gauss linearUpwind grad(U);
|
||||
default none;
|
||||
div(rhoPhi,U) Gauss linearUpwind grad(U);
|
||||
|
||||
div(phi,alpha) Gauss vanLeer;
|
||||
div(phirb,alpha) Gauss linear;
|
||||
div(phid1,p_rgh) Gauss upwind;
|
||||
div(phid2,p_rgh) Gauss upwind;
|
||||
div(rhoPhi,T) Gauss linearUpwind unlimited;
|
||||
div(rhoPhi,K) Gauss upwind;
|
||||
div(phi,k) Gauss upwind;
|
||||
div(rhoPhi,T) Gauss linearUpwind unlimited;
|
||||
div(rhoPhi,K) Gauss upwind;
|
||||
div(phi,k) Gauss upwind;
|
||||
div(phi,epsilon) Gauss upwind;
|
||||
|
||||
div(((rho*nuEff)*dev2(T(grad(U))))) Gauss linear;
|
||||
}
|
||||
|
||||
@ -55,4 +57,5 @@ snGradSchemes
|
||||
default limited corrected 0.33;
|
||||
}
|
||||
|
||||
|
||||
// ************************************************************************* //
|
||||
|
||||
@ -10,7 +10,6 @@ FoamFile
|
||||
version 2.0;
|
||||
format ascii;
|
||||
class dictionary;
|
||||
location "system";
|
||||
object fvSolution;
|
||||
}
|
||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||
|
||||
@ -27,4 +27,5 @@ minFaceWeight 0.02;
|
||||
minVolRatio 0.01;
|
||||
minTriangleTwist -1;
|
||||
|
||||
|
||||
// ************************************************************************* //
|
||||
|
||||
@ -10,7 +10,6 @@ FoamFile
|
||||
version 2.0;
|
||||
format ascii;
|
||||
class dictionary;
|
||||
location "system";
|
||||
object setFieldsDict;
|
||||
}
|
||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||
|
||||
@ -5,11 +5,7 @@ cd "${0%/*}" || exit # Run from this directory
|
||||
|
||||
cleanCase0
|
||||
|
||||
rm -rf constant/extendedFeatureEdgeMesh constant/internalDelaunayVertices
|
||||
rm -f constant/triSurface/*.eMesh
|
||||
rm -f constant/triSurface/*_orient*
|
||||
rm -rf constant/tetDualMesh
|
||||
|
||||
rm -rf constant
|
||||
rm -f snapToSurface?.obj tetsToSnapTo.obj
|
||||
rm -f domain coneAndSphere
|
||||
|
||||
|
||||
@ -3,6 +3,12 @@ cd "${0%/*}" || exit # Run from this directory
|
||||
. ${WM_PROJECT_DIR:?}/bin/tools/RunFunctions # Tutorial run functions
|
||||
#------------------------------------------------------------------------------
|
||||
|
||||
mkdir -p constant/triSurface
|
||||
|
||||
cp -f \
|
||||
"$FOAM_TUTORIALS"/resources/geometry/simpleShapes/* \
|
||||
constant/triSurface/
|
||||
|
||||
runApplication -s cone \
|
||||
surfaceOrient constant/triSurface/cone.stl \
|
||||
-inside '(0 -0.5 0)' \
|
||||
@ -24,5 +30,4 @@ runApplication -s collapseFaceSet \
|
||||
runApplication -s collapseFaces \
|
||||
collapseEdges -latestTime -collapseFaces
|
||||
|
||||
|
||||
#------------------------------------------------------------------------------
|
||||
|
||||
@ -1,828 +0,0 @@
|
||||
solid ascii
|
||||
facet normal -1 0 0
|
||||
outer loop
|
||||
vertex -0.5 0.475528 -0.154509
|
||||
vertex -0.5 0.456773 -0.203368
|
||||
vertex -0.5 0.489074 -0.103956
|
||||
endloop
|
||||
endfacet
|
||||
facet normal -1 0 0
|
||||
outer loop
|
||||
vertex -0.5 0.489074 -0.103956
|
||||
vertex -0.5 0.456773 -0.203368
|
||||
vertex -0.5 0.497261 -0.0522642
|
||||
endloop
|
||||
endfacet
|
||||
facet normal -1 0 0
|
||||
outer loop
|
||||
vertex -0.5 0.497261 -0.0522642
|
||||
vertex -0.5 0.456773 -0.203368
|
||||
vertex -0.5 0.5 0
|
||||
endloop
|
||||
endfacet
|
||||
facet normal -1 0 0
|
||||
outer loop
|
||||
vertex -0.5 0.5 0
|
||||
vertex -0.5 0.456773 -0.203368
|
||||
vertex -0.5 0.497261 0.0522642
|
||||
endloop
|
||||
endfacet
|
||||
facet normal -1 0 0
|
||||
outer loop
|
||||
vertex -0.5 0.497261 0.0522642
|
||||
vertex -0.5 0.456773 -0.203368
|
||||
vertex -0.5 0.489074 0.103956
|
||||
endloop
|
||||
endfacet
|
||||
facet normal -1 0 0
|
||||
outer loop
|
||||
vertex -0.5 0.489074 0.103956
|
||||
vertex -0.5 0.456773 -0.203368
|
||||
vertex -0.5 0.475528 0.154509
|
||||
endloop
|
||||
endfacet
|
||||
facet normal -1 0 0
|
||||
outer loop
|
||||
vertex -0.5 0.475528 0.154509
|
||||
vertex -0.5 0.456773 -0.203368
|
||||
vertex -0.5 0.456773 0.203368
|
||||
endloop
|
||||
endfacet
|
||||
facet normal -1 0 0
|
||||
outer loop
|
||||
vertex -0.5 0.456773 0.203368
|
||||
vertex -0.5 0.456773 -0.203368
|
||||
vertex -0.5 0.433013 0.25
|
||||
endloop
|
||||
endfacet
|
||||
facet normal -1 0 0
|
||||
outer loop
|
||||
vertex -0.5 0.456773 -0.203368
|
||||
vertex -0.5 0.433013 -0.25
|
||||
vertex -0.5 0.433013 0.25
|
||||
endloop
|
||||
endfacet
|
||||
facet normal -1 0 0
|
||||
outer loop
|
||||
vertex -0.5 0.433013 0.25
|
||||
vertex -0.5 0.433013 -0.25
|
||||
vertex -0.5 0.404509 0.293893
|
||||
endloop
|
||||
endfacet
|
||||
facet normal -1 0 0
|
||||
outer loop
|
||||
vertex -0.5 0.404509 0.293893
|
||||
vertex -0.5 0.433013 -0.25
|
||||
vertex -0.5 0.371572 0.334565
|
||||
endloop
|
||||
endfacet
|
||||
facet normal -1 0 0
|
||||
outer loop
|
||||
vertex -0.5 0.433013 -0.25
|
||||
vertex -0.5 0.404509 -0.293893
|
||||
vertex -0.5 0.371572 0.334565
|
||||
endloop
|
||||
endfacet
|
||||
facet normal -1 0 0
|
||||
outer loop
|
||||
vertex -0.5 0.404509 -0.293893
|
||||
vertex -0.5 0.371572 -0.334565
|
||||
vertex -0.5 0.371572 0.334565
|
||||
endloop
|
||||
endfacet
|
||||
facet normal -1 0 0
|
||||
outer loop
|
||||
vertex -0.5 0.371572 0.334565
|
||||
vertex -0.5 0.371572 -0.334565
|
||||
vertex -0.5 0.334565 0.371572
|
||||
endloop
|
||||
endfacet
|
||||
facet normal -1 0 0
|
||||
outer loop
|
||||
vertex -0.5 0.334565 0.371572
|
||||
vertex -0.5 0.371572 -0.334565
|
||||
vertex -0.5 0.293893 0.404509
|
||||
endloop
|
||||
endfacet
|
||||
facet normal -1 0 0
|
||||
outer loop
|
||||
vertex -0.5 0.293893 0.404509
|
||||
vertex -0.5 0.371572 -0.334565
|
||||
vertex -0.5 0.25 0.433013
|
||||
endloop
|
||||
endfacet
|
||||
facet normal -1 0 0
|
||||
outer loop
|
||||
vertex -0.5 0.25 0.433013
|
||||
vertex -0.5 0.371572 -0.334565
|
||||
vertex -0.5 0.203368 0.456773
|
||||
endloop
|
||||
endfacet
|
||||
facet normal -1 0 0
|
||||
outer loop
|
||||
vertex -0.5 0.203368 0.456773
|
||||
vertex -0.5 0.371572 -0.334565
|
||||
vertex -0.5 0.154509 0.475528
|
||||
endloop
|
||||
endfacet
|
||||
facet normal -1 0 0
|
||||
outer loop
|
||||
vertex -0.5 0.154509 0.475528
|
||||
vertex -0.5 0.371572 -0.334565
|
||||
vertex -0.5 0.103956 0.489074
|
||||
endloop
|
||||
endfacet
|
||||
facet normal -1 0 0
|
||||
outer loop
|
||||
vertex -0.5 0.103956 0.489074
|
||||
vertex -0.5 0.371572 -0.334565
|
||||
vertex -0.5 0.0522642 0.497261
|
||||
endloop
|
||||
endfacet
|
||||
facet normal -1 0 0
|
||||
outer loop
|
||||
vertex -0.5 0.0522642 0.497261
|
||||
vertex -0.5 0.371572 -0.334565
|
||||
vertex -0.5 -1.02552e-10 0.5
|
||||
endloop
|
||||
endfacet
|
||||
facet normal -1 0 0
|
||||
outer loop
|
||||
vertex -0.5 -1.02552e-10 0.5
|
||||
vertex -0.5 0.371572 -0.334565
|
||||
vertex -0.5 -0.0522642 0.497261
|
||||
endloop
|
||||
endfacet
|
||||
facet normal -1 0 0
|
||||
outer loop
|
||||
vertex -0.5 -0.0522642 0.497261
|
||||
vertex -0.5 0.371572 -0.334565
|
||||
vertex -0.5 -0.103956 0.489074
|
||||
endloop
|
||||
endfacet
|
||||
facet normal -1 0 0
|
||||
outer loop
|
||||
vertex -0.5 -0.103956 0.489074
|
||||
vertex -0.5 0.371572 -0.334565
|
||||
vertex -0.5 -0.154509 0.475528
|
||||
endloop
|
||||
endfacet
|
||||
facet normal -1 0 0
|
||||
outer loop
|
||||
vertex -0.5 -0.154509 0.475528
|
||||
vertex -0.5 0.371572 -0.334565
|
||||
vertex -0.5 -0.203368 0.456773
|
||||
endloop
|
||||
endfacet
|
||||
facet normal -1 0 0
|
||||
outer loop
|
||||
vertex -0.5 -0.203368 0.456773
|
||||
vertex -0.5 0.371572 -0.334565
|
||||
vertex -0.5 -0.25 0.433013
|
||||
endloop
|
||||
endfacet
|
||||
facet normal -1 0 0
|
||||
outer loop
|
||||
vertex -0.5 -0.25 0.433013
|
||||
vertex -0.5 0.371572 -0.334565
|
||||
vertex -0.5 -0.293893 0.404509
|
||||
endloop
|
||||
endfacet
|
||||
facet normal -1 0 0
|
||||
outer loop
|
||||
vertex -0.5 -0.293893 0.404509
|
||||
vertex -0.5 0.371572 -0.334565
|
||||
vertex -0.5 -0.334565 0.371572
|
||||
endloop
|
||||
endfacet
|
||||
facet normal -1 0 0
|
||||
outer loop
|
||||
vertex -0.5 -0.334565 0.371572
|
||||
vertex -0.5 0.371572 -0.334565
|
||||
vertex -0.5 -0.371572 0.334565
|
||||
endloop
|
||||
endfacet
|
||||
facet normal -1 0 0
|
||||
outer loop
|
||||
vertex -0.5 -0.371572 0.334565
|
||||
vertex -0.5 0.371572 -0.334565
|
||||
vertex -0.5 -0.404509 0.293893
|
||||
endloop
|
||||
endfacet
|
||||
facet normal -1 0 0
|
||||
outer loop
|
||||
vertex -0.5 -0.404509 0.293893
|
||||
vertex -0.5 0.371572 -0.334565
|
||||
vertex -0.5 -0.433013 0.25
|
||||
endloop
|
||||
endfacet
|
||||
facet normal -1 0 0
|
||||
outer loop
|
||||
vertex -0.5 -0.433013 0.25
|
||||
vertex -0.5 0.371572 -0.334565
|
||||
vertex -0.5 -0.456773 0.203368
|
||||
endloop
|
||||
endfacet
|
||||
facet normal -1 0 0
|
||||
outer loop
|
||||
vertex -0.5 -0.456773 0.203368
|
||||
vertex -0.5 0.371572 -0.334565
|
||||
vertex -0.5 -0.475528 0.154509
|
||||
endloop
|
||||
endfacet
|
||||
facet normal -1 0 0
|
||||
outer loop
|
||||
vertex -0.5 -0.475528 0.154509
|
||||
vertex -0.5 0.371572 -0.334565
|
||||
vertex -0.5 -0.489074 0.103956
|
||||
endloop
|
||||
endfacet
|
||||
facet normal -1 0 0
|
||||
outer loop
|
||||
vertex -0.5 -0.489074 0.103956
|
||||
vertex -0.5 0.371572 -0.334565
|
||||
vertex -0.5 -0.497261 0.0522642
|
||||
endloop
|
||||
endfacet
|
||||
facet normal -1 0 0
|
||||
outer loop
|
||||
vertex -0.5 -0.497261 0.0522642
|
||||
vertex -0.5 0.371572 -0.334565
|
||||
vertex -0.5 -0.5 -2.05103e-10
|
||||
endloop
|
||||
endfacet
|
||||
facet normal -1 0 0
|
||||
outer loop
|
||||
vertex -0.5 -0.5 -2.05103e-10
|
||||
vertex -0.5 0.371572 -0.334565
|
||||
vertex -0.5 -0.497261 -0.0522642
|
||||
endloop
|
||||
endfacet
|
||||
facet normal -1 0 0
|
||||
outer loop
|
||||
vertex -0.5 -0.497261 -0.0522642
|
||||
vertex -0.5 0.371572 -0.334565
|
||||
vertex -0.5 -0.489074 -0.103956
|
||||
endloop
|
||||
endfacet
|
||||
facet normal -1 0 0
|
||||
outer loop
|
||||
vertex -0.5 -0.489074 -0.103956
|
||||
vertex -0.5 0.371572 -0.334565
|
||||
vertex -0.5 -0.475528 -0.154509
|
||||
endloop
|
||||
endfacet
|
||||
facet normal -1 0 0
|
||||
outer loop
|
||||
vertex -0.5 -0.475528 -0.154509
|
||||
vertex -0.5 0.371572 -0.334565
|
||||
vertex -0.5 -0.456773 -0.203368
|
||||
endloop
|
||||
endfacet
|
||||
facet normal -1 0 0
|
||||
outer loop
|
||||
vertex -0.5 -0.456773 -0.203368
|
||||
vertex -0.5 0.371572 -0.334565
|
||||
vertex -0.5 -0.433013 -0.25
|
||||
endloop
|
||||
endfacet
|
||||
facet normal -1 0 0
|
||||
outer loop
|
||||
vertex -0.5 -0.433013 -0.25
|
||||
vertex -0.5 0.371572 -0.334565
|
||||
vertex -0.5 -0.404509 -0.293893
|
||||
endloop
|
||||
endfacet
|
||||
facet normal -1 0 0
|
||||
outer loop
|
||||
vertex -0.5 -0.404509 -0.293893
|
||||
vertex -0.5 0.371572 -0.334565
|
||||
vertex -0.5 -0.371572 -0.334565
|
||||
endloop
|
||||
endfacet
|
||||
facet normal -1 -0 0
|
||||
outer loop
|
||||
vertex -0.5 -0.371572 -0.334565
|
||||
vertex -0.5 0.371572 -0.334565
|
||||
vertex -0.5 -0.334565 -0.371572
|
||||
endloop
|
||||
endfacet
|
||||
facet normal -1 0 0
|
||||
outer loop
|
||||
vertex -0.5 -0.334565 -0.371572
|
||||
vertex -0.5 0.371572 -0.334565
|
||||
vertex -0.5 -0.293893 -0.404509
|
||||
endloop
|
||||
endfacet
|
||||
facet normal -1 0 0
|
||||
outer loop
|
||||
vertex -0.5 -0.293893 -0.404509
|
||||
vertex -0.5 0.371572 -0.334565
|
||||
vertex -0.5 -0.25 -0.433013
|
||||
endloop
|
||||
endfacet
|
||||
facet normal -1 0 0
|
||||
outer loop
|
||||
vertex -0.5 -0.25 -0.433013
|
||||
vertex -0.5 0.371572 -0.334565
|
||||
vertex -0.5 -0.203368 -0.456773
|
||||
endloop
|
||||
endfacet
|
||||
facet normal -1 0 0
|
||||
outer loop
|
||||
vertex -0.5 -0.203368 -0.456773
|
||||
vertex -0.5 0.371572 -0.334565
|
||||
vertex -0.5 -0.154509 -0.475528
|
||||
endloop
|
||||
endfacet
|
||||
facet normal -1 0 0
|
||||
outer loop
|
||||
vertex -0.5 -0.154509 -0.475528
|
||||
vertex -0.5 0.371572 -0.334565
|
||||
vertex -0.5 -0.103956 -0.489074
|
||||
endloop
|
||||
endfacet
|
||||
facet normal -1 0 0
|
||||
outer loop
|
||||
vertex -0.5 -0.103956 -0.489074
|
||||
vertex -0.5 0.371572 -0.334565
|
||||
vertex -0.5 -0.0522642 -0.497261
|
||||
endloop
|
||||
endfacet
|
||||
facet normal -1 0 0
|
||||
outer loop
|
||||
vertex -0.5 -0.0522642 -0.497261
|
||||
vertex -0.5 0.371572 -0.334565
|
||||
vertex -0.5 3.07655e-10 -0.5
|
||||
endloop
|
||||
endfacet
|
||||
facet normal -1 0 0
|
||||
outer loop
|
||||
vertex -0.5 3.07655e-10 -0.5
|
||||
vertex -0.5 0.371572 -0.334565
|
||||
vertex -0.5 0.0522642 -0.497261
|
||||
endloop
|
||||
endfacet
|
||||
facet normal -1 0 0
|
||||
outer loop
|
||||
vertex -0.5 0.0522642 -0.497261
|
||||
vertex -0.5 0.371572 -0.334565
|
||||
vertex -0.5 0.103956 -0.489074
|
||||
endloop
|
||||
endfacet
|
||||
facet normal -1 0 0
|
||||
outer loop
|
||||
vertex -0.5 0.103956 -0.489074
|
||||
vertex -0.5 0.371572 -0.334565
|
||||
vertex -0.5 0.154509 -0.475528
|
||||
endloop
|
||||
endfacet
|
||||
facet normal -1 -0 0
|
||||
outer loop
|
||||
vertex -0.5 0.371572 -0.334565
|
||||
vertex -0.5 0.334565 -0.371572
|
||||
vertex -0.5 0.154509 -0.475528
|
||||
endloop
|
||||
endfacet
|
||||
facet normal -1 -0 0
|
||||
outer loop
|
||||
vertex -0.5 0.334565 -0.371572
|
||||
vertex -0.5 0.293893 -0.404509
|
||||
vertex -0.5 0.154509 -0.475528
|
||||
endloop
|
||||
endfacet
|
||||
facet normal -1 -0 0
|
||||
outer loop
|
||||
vertex -0.5 0.293893 -0.404509
|
||||
vertex -0.5 0.25 -0.433013
|
||||
vertex -0.5 0.154509 -0.475528
|
||||
endloop
|
||||
endfacet
|
||||
facet normal -1 0 0
|
||||
outer loop
|
||||
vertex -0.5 0.203368 -0.456773
|
||||
vertex -0.5 0.154509 -0.475528
|
||||
vertex -0.5 0.25 -0.433013
|
||||
endloop
|
||||
endfacet
|
||||
facet normal 0.446723 0.893446 0.0468234
|
||||
outer loop
|
||||
vertex 0.5 0 0
|
||||
vertex -0.5 0.5 0
|
||||
vertex -0.5 0.497261 0.0522642
|
||||
endloop
|
||||
endfacet
|
||||
facet normal 0.446723 0.883657 0.139958
|
||||
outer loop
|
||||
vertex 0.5 0 0
|
||||
vertex -0.5 0.497261 0.0522642
|
||||
vertex -0.5 0.489074 0.103956
|
||||
endloop
|
||||
endfacet
|
||||
facet normal 0.446723 0.864187 0.231558
|
||||
outer loop
|
||||
vertex 0.5 0 0
|
||||
vertex -0.5 0.489074 0.103956
|
||||
vertex -0.5 0.475528 0.154509
|
||||
endloop
|
||||
endfacet
|
||||
facet normal 0.446723 0.835248 0.320622
|
||||
outer loop
|
||||
vertex 0.5 0 0
|
||||
vertex -0.5 0.475528 0.154509
|
||||
vertex -0.5 0.456773 0.203368
|
||||
endloop
|
||||
endfacet
|
||||
facet normal 0.446723 0.797159 0.406173
|
||||
outer loop
|
||||
vertex 0.5 0 0
|
||||
vertex -0.5 0.456773 0.203368
|
||||
vertex -0.5 0.433013 0.25
|
||||
endloop
|
||||
endfacet
|
||||
facet normal 0.446723 0.750335 0.487273
|
||||
outer loop
|
||||
vertex 0.5 0 0
|
||||
vertex -0.5 0.433013 0.25
|
||||
vertex -0.5 0.404509 0.293893
|
||||
endloop
|
||||
endfacet
|
||||
facet normal 0.446723 0.695291 0.563036
|
||||
outer loop
|
||||
vertex 0.5 0 0
|
||||
vertex -0.5 0.404509 0.293893
|
||||
vertex -0.5 0.371572 0.334565
|
||||
endloop
|
||||
endfacet
|
||||
facet normal 0.446723 0.632629 0.632629
|
||||
outer loop
|
||||
vertex 0.5 0 0
|
||||
vertex -0.5 0.371572 0.334565
|
||||
vertex -0.5 0.334565 0.371572
|
||||
endloop
|
||||
endfacet
|
||||
facet normal 0.446723 0.563036 0.695291
|
||||
outer loop
|
||||
vertex 0.5 0 0
|
||||
vertex -0.5 0.334565 0.371572
|
||||
vertex -0.5 0.293893 0.404509
|
||||
endloop
|
||||
endfacet
|
||||
facet normal 0.446723 0.487273 0.750335
|
||||
outer loop
|
||||
vertex 0.5 0 0
|
||||
vertex -0.5 0.293893 0.404509
|
||||
vertex -0.5 0.25 0.433013
|
||||
endloop
|
||||
endfacet
|
||||
facet normal 0.446723 0.406173 0.797159
|
||||
outer loop
|
||||
vertex 0.5 0 0
|
||||
vertex -0.5 0.25 0.433013
|
||||
vertex -0.5 0.203368 0.456773
|
||||
endloop
|
||||
endfacet
|
||||
facet normal 0.446723 0.320622 0.835248
|
||||
outer loop
|
||||
vertex 0.5 0 0
|
||||
vertex -0.5 0.203368 0.456773
|
||||
vertex -0.5 0.154509 0.475528
|
||||
endloop
|
||||
endfacet
|
||||
facet normal 0.446723 0.231558 0.864187
|
||||
outer loop
|
||||
vertex 0.5 0 0
|
||||
vertex -0.5 0.154509 0.475528
|
||||
vertex -0.5 0.103956 0.489074
|
||||
endloop
|
||||
endfacet
|
||||
facet normal 0.446723 0.139958 0.883657
|
||||
outer loop
|
||||
vertex 0.5 0 0
|
||||
vertex -0.5 0.103956 0.489074
|
||||
vertex -0.5 0.0522642 0.497261
|
||||
endloop
|
||||
endfacet
|
||||
facet normal 0.446723 0.0468234 0.893446
|
||||
outer loop
|
||||
vertex 0.5 0 0
|
||||
vertex -0.5 0.0522642 0.497261
|
||||
vertex -0.5 -1.02552e-10 0.5
|
||||
endloop
|
||||
endfacet
|
||||
facet normal 0.446723 -0.0468234 0.893446
|
||||
outer loop
|
||||
vertex 0.5 0 0
|
||||
vertex -0.5 -1.02552e-10 0.5
|
||||
vertex -0.5 -0.0522642 0.497261
|
||||
endloop
|
||||
endfacet
|
||||
facet normal 0.446723 -0.139958 0.883657
|
||||
outer loop
|
||||
vertex 0.5 0 0
|
||||
vertex -0.5 -0.0522642 0.497261
|
||||
vertex -0.5 -0.103956 0.489074
|
||||
endloop
|
||||
endfacet
|
||||
facet normal 0.446723 -0.231558 0.864187
|
||||
outer loop
|
||||
vertex 0.5 0 0
|
||||
vertex -0.5 -0.103956 0.489074
|
||||
vertex -0.5 -0.154509 0.475528
|
||||
endloop
|
||||
endfacet
|
||||
facet normal 0.446723 -0.320622 0.835248
|
||||
outer loop
|
||||
vertex 0.5 0 0
|
||||
vertex -0.5 -0.154509 0.475528
|
||||
vertex -0.5 -0.203368 0.456773
|
||||
endloop
|
||||
endfacet
|
||||
facet normal 0.446723 -0.406173 0.797159
|
||||
outer loop
|
||||
vertex 0.5 0 0
|
||||
vertex -0.5 -0.203368 0.456773
|
||||
vertex -0.5 -0.25 0.433013
|
||||
endloop
|
||||
endfacet
|
||||
facet normal 0.446723 -0.487273 0.750335
|
||||
outer loop
|
||||
vertex 0.5 0 0
|
||||
vertex -0.5 -0.25 0.433013
|
||||
vertex -0.5 -0.293893 0.404509
|
||||
endloop
|
||||
endfacet
|
||||
facet normal 0.446723 -0.563036 0.695291
|
||||
outer loop
|
||||
vertex 0.5 0 0
|
||||
vertex -0.5 -0.293893 0.404509
|
||||
vertex -0.5 -0.334565 0.371572
|
||||
endloop
|
||||
endfacet
|
||||
facet normal 0.446723 -0.632629 0.632629
|
||||
outer loop
|
||||
vertex 0.5 0 0
|
||||
vertex -0.5 -0.334565 0.371572
|
||||
vertex -0.5 -0.371572 0.334565
|
||||
endloop
|
||||
endfacet
|
||||
facet normal 0.446723 -0.695291 0.563036
|
||||
outer loop
|
||||
vertex 0.5 0 0
|
||||
vertex -0.5 -0.371572 0.334565
|
||||
vertex -0.5 -0.404509 0.293893
|
||||
endloop
|
||||
endfacet
|
||||
facet normal 0.446723 -0.750335 0.487273
|
||||
outer loop
|
||||
vertex 0.5 0 0
|
||||
vertex -0.5 -0.404509 0.293893
|
||||
vertex -0.5 -0.433013 0.25
|
||||
endloop
|
||||
endfacet
|
||||
facet normal 0.446723 -0.797159 0.406173
|
||||
outer loop
|
||||
vertex 0.5 0 0
|
||||
vertex -0.5 -0.433013 0.25
|
||||
vertex -0.5 -0.456773 0.203368
|
||||
endloop
|
||||
endfacet
|
||||
facet normal 0.446723 -0.835248 0.320622
|
||||
outer loop
|
||||
vertex 0.5 0 0
|
||||
vertex -0.5 -0.456773 0.203368
|
||||
vertex -0.5 -0.475528 0.154509
|
||||
endloop
|
||||
endfacet
|
||||
facet normal 0.446723 -0.864187 0.231558
|
||||
outer loop
|
||||
vertex 0.5 0 0
|
||||
vertex -0.5 -0.475528 0.154509
|
||||
vertex -0.5 -0.489074 0.103956
|
||||
endloop
|
||||
endfacet
|
||||
facet normal 0.446723 -0.883657 0.139958
|
||||
outer loop
|
||||
vertex 0.5 0 0
|
||||
vertex -0.5 -0.489074 0.103956
|
||||
vertex -0.5 -0.497261 0.0522642
|
||||
endloop
|
||||
endfacet
|
||||
facet normal 0.446723 -0.893446 0.0468234
|
||||
outer loop
|
||||
vertex 0.5 0 0
|
||||
vertex -0.5 -0.497261 0.0522642
|
||||
vertex -0.5 -0.5 -2.05103e-10
|
||||
endloop
|
||||
endfacet
|
||||
facet normal 0.446723 -0.893446 -0.0468234
|
||||
outer loop
|
||||
vertex 0.5 0 0
|
||||
vertex -0.5 -0.5 -2.05103e-10
|
||||
vertex -0.5 -0.497261 -0.0522642
|
||||
endloop
|
||||
endfacet
|
||||
facet normal 0.446723 -0.883657 -0.139958
|
||||
outer loop
|
||||
vertex 0.5 0 0
|
||||
vertex -0.5 -0.497261 -0.0522642
|
||||
vertex -0.5 -0.489074 -0.103956
|
||||
endloop
|
||||
endfacet
|
||||
facet normal 0.446723 -0.864187 -0.231558
|
||||
outer loop
|
||||
vertex 0.5 0 0
|
||||
vertex -0.5 -0.489074 -0.103956
|
||||
vertex -0.5 -0.475528 -0.154509
|
||||
endloop
|
||||
endfacet
|
||||
facet normal 0.446723 -0.835248 -0.320622
|
||||
outer loop
|
||||
vertex 0.5 0 0
|
||||
vertex -0.5 -0.475528 -0.154509
|
||||
vertex -0.5 -0.456773 -0.203368
|
||||
endloop
|
||||
endfacet
|
||||
facet normal 0.446723 -0.797159 -0.406173
|
||||
outer loop
|
||||
vertex 0.5 0 0
|
||||
vertex -0.5 -0.456773 -0.203368
|
||||
vertex -0.5 -0.433013 -0.25
|
||||
endloop
|
||||
endfacet
|
||||
facet normal 0.446723 -0.750335 -0.487273
|
||||
outer loop
|
||||
vertex 0.5 0 0
|
||||
vertex -0.5 -0.433013 -0.25
|
||||
vertex -0.5 -0.404509 -0.293893
|
||||
endloop
|
||||
endfacet
|
||||
facet normal 0.446723 -0.695291 -0.563036
|
||||
outer loop
|
||||
vertex 0.5 0 0
|
||||
vertex -0.5 -0.404509 -0.293893
|
||||
vertex -0.5 -0.371572 -0.334565
|
||||
endloop
|
||||
endfacet
|
||||
facet normal 0.446723 -0.632629 -0.632629
|
||||
outer loop
|
||||
vertex 0.5 0 0
|
||||
vertex -0.5 -0.371572 -0.334565
|
||||
vertex -0.5 -0.334565 -0.371572
|
||||
endloop
|
||||
endfacet
|
||||
facet normal 0.446723 -0.563036 -0.695291
|
||||
outer loop
|
||||
vertex 0.5 0 0
|
||||
vertex -0.5 -0.334565 -0.371572
|
||||
vertex -0.5 -0.293893 -0.404509
|
||||
endloop
|
||||
endfacet
|
||||
facet normal 0.446723 -0.487273 -0.750335
|
||||
outer loop
|
||||
vertex 0.5 0 0
|
||||
vertex -0.5 -0.293893 -0.404509
|
||||
vertex -0.5 -0.25 -0.433013
|
||||
endloop
|
||||
endfacet
|
||||
facet normal 0.446723 -0.406173 -0.797159
|
||||
outer loop
|
||||
vertex 0.5 0 0
|
||||
vertex -0.5 -0.25 -0.433013
|
||||
vertex -0.5 -0.203368 -0.456773
|
||||
endloop
|
||||
endfacet
|
||||
facet normal 0.446723 -0.320622 -0.835248
|
||||
outer loop
|
||||
vertex 0.5 0 0
|
||||
vertex -0.5 -0.203368 -0.456773
|
||||
vertex -0.5 -0.154509 -0.475528
|
||||
endloop
|
||||
endfacet
|
||||
facet normal 0.446723 -0.231558 -0.864187
|
||||
outer loop
|
||||
vertex 0.5 0 0
|
||||
vertex -0.5 -0.154509 -0.475528
|
||||
vertex -0.5 -0.103956 -0.489074
|
||||
endloop
|
||||
endfacet
|
||||
facet normal 0.446723 -0.139958 -0.883657
|
||||
outer loop
|
||||
vertex 0.5 0 0
|
||||
vertex -0.5 -0.103956 -0.489074
|
||||
vertex -0.5 -0.0522642 -0.497261
|
||||
endloop
|
||||
endfacet
|
||||
facet normal 0.446723 -0.0468234 -0.893446
|
||||
outer loop
|
||||
vertex 0.5 0 0
|
||||
vertex -0.5 -0.0522642 -0.497261
|
||||
vertex -0.5 3.07655e-10 -0.5
|
||||
endloop
|
||||
endfacet
|
||||
facet normal 0.446723 0.0468234 -0.893446
|
||||
outer loop
|
||||
vertex 0.5 0 0
|
||||
vertex -0.5 3.07655e-10 -0.5
|
||||
vertex -0.5 0.0522642 -0.497261
|
||||
endloop
|
||||
endfacet
|
||||
facet normal 0.446723 0.139958 -0.883657
|
||||
outer loop
|
||||
vertex 0.5 0 0
|
||||
vertex -0.5 0.0522642 -0.497261
|
||||
vertex -0.5 0.103956 -0.489074
|
||||
endloop
|
||||
endfacet
|
||||
facet normal 0.446723 0.231558 -0.864187
|
||||
outer loop
|
||||
vertex 0.5 0 0
|
||||
vertex -0.5 0.103956 -0.489074
|
||||
vertex -0.5 0.154509 -0.475528
|
||||
endloop
|
||||
endfacet
|
||||
facet normal 0.446723 0.320622 -0.835248
|
||||
outer loop
|
||||
vertex 0.5 0 0
|
||||
vertex -0.5 0.154509 -0.475528
|
||||
vertex -0.5 0.203368 -0.456773
|
||||
endloop
|
||||
endfacet
|
||||
facet normal 0.446723 0.406173 -0.797159
|
||||
outer loop
|
||||
vertex 0.5 0 0
|
||||
vertex -0.5 0.203368 -0.456773
|
||||
vertex -0.5 0.25 -0.433013
|
||||
endloop
|
||||
endfacet
|
||||
facet normal 0.446723 0.487273 -0.750335
|
||||
outer loop
|
||||
vertex 0.5 0 0
|
||||
vertex -0.5 0.25 -0.433013
|
||||
vertex -0.5 0.293893 -0.404509
|
||||
endloop
|
||||
endfacet
|
||||
facet normal 0.446723 0.563036 -0.695291
|
||||
outer loop
|
||||
vertex 0.5 0 0
|
||||
vertex -0.5 0.293893 -0.404509
|
||||
vertex -0.5 0.334565 -0.371572
|
||||
endloop
|
||||
endfacet
|
||||
facet normal 0.446723 0.632629 -0.632629
|
||||
outer loop
|
||||
vertex 0.5 0 0
|
||||
vertex -0.5 0.334565 -0.371572
|
||||
vertex -0.5 0.371572 -0.334565
|
||||
endloop
|
||||
endfacet
|
||||
facet normal 0.446723 0.695291 -0.563036
|
||||
outer loop
|
||||
vertex 0.5 0 0
|
||||
vertex -0.5 0.371572 -0.334565
|
||||
vertex -0.5 0.404509 -0.293893
|
||||
endloop
|
||||
endfacet
|
||||
facet normal 0.446723 0.750335 -0.487273
|
||||
outer loop
|
||||
vertex 0.5 0 0
|
||||
vertex -0.5 0.404509 -0.293893
|
||||
vertex -0.5 0.433013 -0.25
|
||||
endloop
|
||||
endfacet
|
||||
facet normal 0.446723 0.797159 -0.406173
|
||||
outer loop
|
||||
vertex 0.5 0 0
|
||||
vertex -0.5 0.433013 -0.25
|
||||
vertex -0.5 0.456773 -0.203368
|
||||
endloop
|
||||
endfacet
|
||||
facet normal 0.446723 0.835248 -0.320622
|
||||
outer loop
|
||||
vertex 0.5 0 0
|
||||
vertex -0.5 0.456773 -0.203368
|
||||
vertex -0.5 0.475528 -0.154509
|
||||
endloop
|
||||
endfacet
|
||||
facet normal 0.446723 0.864187 -0.231558
|
||||
outer loop
|
||||
vertex 0.5 0 0
|
||||
vertex -0.5 0.475528 -0.154509
|
||||
vertex -0.5 0.489074 -0.103956
|
||||
endloop
|
||||
endfacet
|
||||
facet normal 0.446723 0.883657 -0.139958
|
||||
outer loop
|
||||
vertex 0.5 0 0
|
||||
vertex -0.5 0.489074 -0.103956
|
||||
vertex -0.5 0.497261 -0.0522642
|
||||
endloop
|
||||
endfacet
|
||||
facet normal 0.446723 0.893446 -0.0468234
|
||||
outer loop
|
||||
vertex 0.5 0 0
|
||||
vertex -0.5 0.497261 -0.0522642
|
||||
vertex -0.5 0.5 0
|
||||
endloop
|
||||
endfacet
|
||||
endsolid
|
||||
File diff suppressed because it is too large
Load Diff
@ -10,7 +10,6 @@ FoamFile
|
||||
version 2.0;
|
||||
format ascii;
|
||||
class dictionary;
|
||||
location "system";
|
||||
object collapseDict;
|
||||
}
|
||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||
|
||||
@ -9,7 +9,6 @@ FoamFile
|
||||
{
|
||||
version 2.0;
|
||||
format ascii;
|
||||
location "system";
|
||||
class dictionary;
|
||||
object controlDict;
|
||||
}
|
||||
|
||||
@ -10,7 +10,6 @@ FoamFile
|
||||
version 2.0;
|
||||
format ascii;
|
||||
class dictionary;
|
||||
location "system";
|
||||
object fvSchemes;
|
||||
}
|
||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||
|
||||
@ -10,7 +10,6 @@ FoamFile
|
||||
version 2.0;
|
||||
format ascii;
|
||||
class dictionary;
|
||||
location "system";
|
||||
object fvSolution;
|
||||
}
|
||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||
|
||||
@ -12,7 +12,6 @@ FoamFile
|
||||
class dictionary;
|
||||
object topoSetDict;
|
||||
}
|
||||
|
||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||
|
||||
actions
|
||||
@ -118,4 +117,5 @@ actions
|
||||
}
|
||||
);
|
||||
|
||||
|
||||
// ************************************************************************* //
|
||||
|
||||
Reference in New Issue
Block a user