Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
I
integration-cfmesh
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
1
Issues
1
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Packages & Registries
Packages & Registries
Container Registry
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Community
integration-cfmesh
Commits
899a79d7
Commit
899a79d7
authored
May 16, 2014
by
Franjo
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Removed testingInterfaces and maxima
A A A A A A A
parent
419be12c
Changes
90
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
90 changed files
with
0 additions
and
11518 deletions
+0
-11518
maxima/surfaceOptImproved.mac
maxima/surfaceOptImproved.mac
+0
-25
maxima/volOptSecondGeneration.mac
maxima/volOptSecondGeneration.mac
+0
-25
maxima/volumeOpt.mac
maxima/volumeOpt.mac
+0
-19
maxima/volumeOptImproved.mac
maxima/volumeOptImproved.mac
+0
-21
maxima/volumeOptNonDimensional.mac
maxima/volumeOptNonDimensional.mac
+0
-21
maxima/volumeOptNonDimensional1.mac
maxima/volumeOptNonDimensional1.mac
+0
-21
testingInterfaces/testBoundaryLayer/Make/files
testingInterfaces/testBoundaryLayer/Make/files
+0
-4
testingInterfaces/testBoundaryLayer/Make/options
testingInterfaces/testBoundaryLayer/Make/options
+0
-2
testingInterfaces/testBoundaryLayer/testBoundaryLayer.C
testingInterfaces/testBoundaryLayer/testBoundaryLayer.C
+0
-100
testingInterfaces/testCartesianMeshExtractor/Make/files
testingInterfaces/testCartesianMeshExtractor/Make/files
+0
-4
testingInterfaces/testCartesianMeshExtractor/Make/options
testingInterfaces/testCartesianMeshExtractor/Make/options
+0
-2
testingInterfaces/testCartesianMeshExtractor/testCartesianMeshExtractor.C
...s/testCartesianMeshExtractor/testCartesianMeshExtractor.C
+0
-127
testingInterfaces/testCellSurfaceIntersections/Make/files
testingInterfaces/testCellSurfaceIntersections/Make/files
+0
-4
testingInterfaces/testCellSurfaceIntersections/Make/options
testingInterfaces/testCellSurfaceIntersections/Make/options
+0
-2
testingInterfaces/testCellSurfaceIntersections/testCellSurfaceIntersections.C
...stCellSurfaceIntersections/testCellSurfaceIntersections.C
+0
-98
testingInterfaces/testChainFromEdges/Make/files
testingInterfaces/testChainFromEdges/Make/files
+0
-4
testingInterfaces/testChainFromEdges/Make/options
testingInterfaces/testChainFromEdges/Make/options
+0
-2
testingInterfaces/testChainFromEdges/testChainFromEdges.C
testingInterfaces/testChainFromEdges/testChainFromEdges.C
+0
-67
testingInterfaces/testConcaveCellUnfolder/Make/files
testingInterfaces/testConcaveCellUnfolder/Make/files
+0
-3
testingInterfaces/testConcaveCellUnfolder/Make/options
testingInterfaces/testConcaveCellUnfolder/Make/options
+0
-2
testingInterfaces/testConcaveCellUnfolder/testConcaveCellUnfolder.C
...erfaces/testConcaveCellUnfolder/testConcaveCellUnfolder.C
+0
-116
testingInterfaces/testDelaunay/Make/files
testingInterfaces/testDelaunay/Make/files
+0
-4
testingInterfaces/testDelaunay/Make/options
testingInterfaces/testDelaunay/Make/options
+0
-2
testingInterfaces/testDelaunay/log
testingInterfaces/testDelaunay/log
+0
-20
testingInterfaces/testDelaunay/testDelaunay.C
testingInterfaces/testDelaunay/testDelaunay.C
+0
-72
testingInterfaces/testDualMeshExtractor/Make/files
testingInterfaces/testDualMeshExtractor/Make/files
+0
-4
testingInterfaces/testDualMeshExtractor/Make/options
testingInterfaces/testDualMeshExtractor/Make/options
+0
-2
testingInterfaces/testDualMeshExtractor/testDualMeshExtractor.C
...gInterfaces/testDualMeshExtractor/testDualMeshExtractor.C
+0
-92
testingInterfaces/testDynList/Make/files
testingInterfaces/testDynList/Make/files
+0
-4
testingInterfaces/testDynList/Make/options
testingInterfaces/testDynList/Make/options
+0
-2
testingInterfaces/testDynList/testDynList.C
testingInterfaces/testDynList/testDynList.C
+0
-79
testingInterfaces/testDynListHP/Make/files
testingInterfaces/testDynListHP/Make/files
+0
-4
testingInterfaces/testDynListHP/Make/options
testingInterfaces/testDynListHP/Make/options
+0
-2
testingInterfaces/testDynListHP/testDynListHP.C
testingInterfaces/testDynListHP/testDynListHP.C
+0
-140
testingInterfaces/testFacesFromChain/Make/files
testingInterfaces/testFacesFromChain/Make/files
+0
-4
testingInterfaces/testFacesFromChain/Make/options
testingInterfaces/testFacesFromChain/Make/options
+0
-2
testingInterfaces/testFacesFromChain/testFacesFromChain.C
testingInterfaces/testFacesFromChain/testFacesFromChain.C
+0
-96
testingInterfaces/testFrontalMarking/Make/files
testingInterfaces/testFrontalMarking/Make/files
+0
-4
testingInterfaces/testFrontalMarking/Make/options
testingInterfaces/testFrontalMarking/Make/options
+0
-7
testingInterfaces/testFrontalMarking/testFrontalMarking.C
testingInterfaces/testFrontalMarking/testFrontalMarking.C
+0
-292
testingInterfaces/testGraph/Make/files
testingInterfaces/testGraph/Make/files
+0
-4
testingInterfaces/testGraph/Make/options
testingInterfaces/testGraph/Make/options
+0
-2
testingInterfaces/testGraph/cachegrind.out.25795
testingInterfaces/testGraph/cachegrind.out.25795
+0
-4128
testingInterfaces/testGraph/cachegrind.out.26637
testingInterfaces/testGraph/cachegrind.out.26637
+0
-4130
testingInterfaces/testGraph/testGraph.C
testingInterfaces/testGraph/testGraph.C
+0
-106
testingInterfaces/testMaterialDetector/Make/files
testingInterfaces/testMaterialDetector/Make/files
+0
-4
testingInterfaces/testMaterialDetector/Make/options
testingInterfaces/testMaterialDetector/Make/options
+0
-2
testingInterfaces/testMaterialDetector/testMaterialDetector.C
...ingInterfaces/testMaterialDetector/testMaterialDetector.C
+0
-80
testingInterfaces/testMatrix3D/Make/files
testingInterfaces/testMatrix3D/Make/files
+0
-4
testingInterfaces/testMatrix3D/Make/options
testingInterfaces/testMatrix3D/Make/options
+0
-2
testingInterfaces/testMatrix3D/testMatrix3D.C
testingInterfaces/testMatrix3D/testMatrix3D.C
+0
-82
testingInterfaces/testNonManifoldInterfaces/Make/files
testingInterfaces/testNonManifoldInterfaces/Make/files
+0
-4
testingInterfaces/testNonManifoldInterfaces/Make/options
testingInterfaces/testNonManifoldInterfaces/Make/options
+0
-2
testingInterfaces/testNonManifoldInterfaces/testNonManifoldInterfaces.C
...ces/testNonManifoldInterfaces/testNonManifoldInterfaces.C
+0
-87
testingInterfaces/testOctree/Make/files
testingInterfaces/testOctree/Make/files
+0
-4
testingInterfaces/testOctree/Make/options
testingInterfaces/testOctree/Make/options
+0
-2
testingInterfaces/testOctree/testOctree.C
testingInterfaces/testOctree/testOctree.C
+0
-137
testingInterfaces/testParallelMesh/Make/files
testingInterfaces/testParallelMesh/Make/files
+0
-4
testingInterfaces/testParallelMesh/Make/options
testingInterfaces/testParallelMesh/Make/options
+0
-2
testingInterfaces/testParallelMesh/testParallelMesh.C
testingInterfaces/testParallelMesh/testParallelMesh.C
+0
-249
testingInterfaces/testRenumberMesh/Make/files
testingInterfaces/testRenumberMesh/Make/files
+0
-4
testingInterfaces/testRenumberMesh/Make/options
testingInterfaces/testRenumberMesh/Make/options
+0
-2
testingInterfaces/testRenumberMesh/testRenumberMesh.C
testingInterfaces/testRenumberMesh/testRenumberMesh.C
+0
-91
testingInterfaces/testSheetInsertion/Make/files
testingInterfaces/testSheetInsertion/Make/files
+0
-4
testingInterfaces/testSheetInsertion/Make/options
testingInterfaces/testSheetInsertion/Make/options
+0
-2
testingInterfaces/testSheetInsertion/testSheetInsertion.C
testingInterfaces/testSheetInsertion/testSheetInsertion.C
+0
-93
testingInterfaces/testSmoothing/Make/files
testingInterfaces/testSmoothing/Make/files
+0
-4
testingInterfaces/testSmoothing/Make/options
testingInterfaces/testSmoothing/Make/options
+0
-2
testingInterfaces/testSmoothing/testSmoothing.C
testingInterfaces/testSmoothing/testSmoothing.C
+0
-82
testingInterfaces/testSurfaceEdgeExtractor/Make/files
testingInterfaces/testSurfaceEdgeExtractor/Make/files
+0
-4
testingInterfaces/testSurfaceEdgeExtractor/Make/options
testingInterfaces/testSurfaceEdgeExtractor/Make/options
+0
-2
testingInterfaces/testSurfaceEdgeExtractor/testSurfaceEdgeExtractor.C
...faces/testSurfaceEdgeExtractor/testSurfaceEdgeExtractor.C
+0
-103
testingInterfaces/testSurfaceMorpher/Make/files
testingInterfaces/testSurfaceMorpher/Make/files
+0
-4
testingInterfaces/testSurfaceMorpher/Make/options
testingInterfaces/testSurfaceMorpher/Make/options
+0
-2
testingInterfaces/testSurfaceMorpher/testSurfaceMorpher.C
testingInterfaces/testSurfaceMorpher/testSurfaceMorpher.C
+0
-71
testingInterfaces/testSurfaceOptimizer/Make/files
testingInterfaces/testSurfaceOptimizer/Make/files
+0
-4
testingInterfaces/testSurfaceOptimizer/Make/options
testingInterfaces/testSurfaceOptimizer/Make/options
+0
-2
testingInterfaces/testSurfaceOptimizer/testSurfaceOptimizer.C
...ingInterfaces/testSurfaceOptimizer/testSurfaceOptimizer.C
+0
-75
testingInterfaces/testSurfaceOrientation/Make/files
testingInterfaces/testSurfaceOrientation/Make/files
+0
-3
testingInterfaces/testSurfaceOrientation/Make/options
testingInterfaces/testSurfaceOrientation/Make/options
+0
-2
testingInterfaces/testSurfaceOrientation/testSurfaceOrientation.C
...nterfaces/testSurfaceOrientation/testSurfaceOrientation.C
+0
-121
testingInterfaces/testSurfaceSmoothing/Make/files
testingInterfaces/testSurfaceSmoothing/Make/files
+0
-4
testingInterfaces/testSurfaceSmoothing/Make/options
testingInterfaces/testSurfaceSmoothing/Make/options
+0
-2
testingInterfaces/testSurfaceSmoothing/testSurfaceSmoothing.C
...ingInterfaces/testSurfaceSmoothing/testSurfaceSmoothing.C
+0
-91
testingInterfaces/testVolumeOptimizer/Make/files
testingInterfaces/testVolumeOptimizer/Make/files
+0
-4
testingInterfaces/testVolumeOptimizer/Make/options
testingInterfaces/testVolumeOptimizer/Make/options
+0
-2
testingInterfaces/testVolumeOptimizer/testVolumeOptimizer.C
testingInterfaces/testVolumeOptimizer/testVolumeOptimizer.C
+0
-105
testingInterfaces/testVoronoiMeshExtractor/Make/files
testingInterfaces/testVoronoiMeshExtractor/Make/files
+0
-4
testingInterfaces/testVoronoiMeshExtractor/Make/options
testingInterfaces/testVoronoiMeshExtractor/Make/options
+0
-2
testingInterfaces/testVoronoiMeshExtractor/testVoronoiMeshExtractor.C
...faces/testVoronoiMeshExtractor/testVoronoiMeshExtractor.C
+0
-91
No files found.
maxima/surfaceOptImproved.mac
deleted
100644 → 0
View file @
419be12c
Atri(x, y) := (p1y - p2y) * x + (p2x - p1x) * y + p1x * p2y - p2x * p1y;
Astab(x, y) := 0.5 * (Atri(x,y) + sqrt(Atri(x,y) * Atri(x, y) + K));
Le0(x, y) := (p1x - x) * (p1x - x) + (p1y - y) * (p1y - y);
Le1(x, y) := (p2x - x) * (p2x - x) + (p2y - y) * (p2y - y);
Le2(x, y) := (p2x - p1x) * (p2x - p1x) + (p2y - p1y) * (p2y - p1y);
Lsq(x, y) := Le0(x, y) + Le1(x, y) + Le2(x, y);
F(x, y) := Lsq(x, y) / Astab(x, y);
gradFx(x, y) := diff(F(x, y), x);
gradFy(x, y) := diff(F(x, y), y);
gradGradFxx(x, y) := diff(gradFx(x, y), x);
gradGradFxy(x, y) := diff(gradFx(x, y), y);
gradGradFyx(x, y) := diff(gradFy(x, y), x);
gradGradFyy(x, y) := diff(gradFy(x, y), y);
\ No newline at end of file
maxima/volOptSecondGeneration.mac
deleted
100644 → 0
View file @
419be12c
eq1 : a0 *(x1 - x0) + b0 * (y1 - y0) + c0 * (z1 - z0);
eq2 : a1 *(x1 - x0) + b1 * (y1 - y0) + c1 * (z1 - z0);
eq3 : a2 *(x1 - x0) + b2 * (y1 - y0) + c2 * (z1 - z0);
eq4 : a0 *(x2 - x0) + b0 * (y2 - y0) + c0 * (z2 - z0);
eq5 : a1 *(x2 - x0) + b1 * (y2 - y0) + c1 * (z2 - z0);
eq6 : a2 *(x2 - x0) + b2 * (y2 - y0) + c2 * (z2 - z0);
eq7 : a0 *(x3 - x0) + b0 * (y3 - y0) + c0 * (z3 - z0);
eq8 : a1 *(x3 - x0) + b1 * (y3 - y0) + c1 * (z3 - z0);
eq9 : a2 *(x3 - x0) + b2 * (y3 - y0) + c2 * (z3 - z0);
solve( [eq1 = 1, eq4 = 0, eq7 = 0], [a0, b0, c0] );
solve( [eq2 = 0, eq5 = 1, eq8 = 0], [a1, b1, c1] );
solve( [eq3 = 0, eq6 = 0, eq9 = 1], [a2, b2, c2] );
B: matrix( [(x1 - x0), (y1 - y0), (z1 - z0)], [(x2 - x0), (y2 - y0), (z2 - z0)], [(x3 - x0), (y3 - y0), (z3 - z0)] );
\ No newline at end of file
maxima/volumeOpt.mac
deleted
100644 → 0
View file @
419be12c
V(x,y,z) := A*x + B*y + C*z + D;
LSq(x, y, z) := 3*(x*x) + 3*(y*y) + 3*(z*z) + E*x + F*y + G*z + H;
F(x, y, z) := LSq(x,y,z) / V(x,y,z);
diff(F(x,y,z), x);
diff(F(x,y,z), y);
diff(F(x,y,z), z);
diff(diff(F(x,y,z), x), x);
diff(diff(F(x,y,z), x), y);
diff(diff(F(x,y,z), x), z);
A: matrix([diff(diff(LSq(x,y,z), x), x), diff(diff(LSq(x,y,z), x), y), diff(diff(LSq(x,y,z), x), z)], [diff(diff(LSq(x,y,z), y), x), diff(diff(LSq(x,y,z), y), y), diff(diff(LSq(x,y,z), y), z)], [diff(diff(LSq(x,y,z), z), x), diff(diff(LSq(x,y,z), z), y), diff(diff(LSq(x,y,z), z), z)]);
maxima/volumeOptImproved.mac
deleted
100644 → 0
View file @
419be12c
V(x,y,z) := A*x + B*y + C*z + D;
VStab(x,y,z) := (V(x,y,z) + ((V(x,y,z))^2 + K)^(1/2)) / 2;
LSq(x, y, z) := 3*(x*x) + 3*(y*y) + 3*(z*z) + E*x + F*y + G*z + H;
F(x, y, z) := LSq(x,y,z) / VStab(x,y,z);
diff(F(x,y,z), x);
diff(F(x,y,z), y);
diff(F(x,y,z), z);
diff(diff(F(x,y,z), x), x);
diff(diff(F(x,y,z), x), y);
diff(diff(F(x,y,z), x), z);
A: matrix([diff(diff(LSq(x,y,z), x), x), diff(diff(LSq(x,y,z), x), y), diff(diff(LSq(x,y,z), x), z)], [diff(diff(LSq(x,y,z), y), x), diff(diff(LSq(x,y,z), y), y), diff(diff(LSq(x,y,z), y), z)], [diff(diff(LSq(x,y,z), z), x), diff(diff(LSq(x,y,z), z), y), diff(diff(LSq(x,y,z), z), z)]);
maxima/volumeOptNonDimensional.mac
deleted
100644 → 0
View file @
419be12c
V(x,y,z) := A*x + B*y + C*z + D;
VStab(x,y,z) := (V(x,y,z) + ((V(x,y,z))^2 + K)^(1/2)) / 2;
LSq(x, y, z) := 3*(x*x) + 3*(y*y) + 3*(z*z) + E*x + F*y + G*z + H;
F(x, y, z) := (LSq(x,y,z)) / VStab(x,y,z)^(2/3);
diff(F(x,y,z), x);
diff(F(x,y,z), y);
diff(F(x,y,z), z);
diff(diff(F(x,y,z), x), x);
diff(diff(F(x,y,z), x), y);
diff(diff(F(x,y,z), x), z);
A: matrix([diff(diff(LSq(x,y,z), x), x), diff(diff(LSq(x,y,z), x), y), diff(diff(LSq(x,y,z), x), z)], [diff(diff(LSq(x,y,z), y), x), diff(diff(LSq(x,y,z), y), y), diff(diff(LSq(x,y,z), y), z)], [diff(diff(LSq(x,y,z), z), x), diff(diff(LSq(x,y,z), z), y), diff(diff(LSq(x,y,z), z), z)]);
maxima/volumeOptNonDimensional1.mac
deleted
100644 → 0
View file @
419be12c
V(x,y,z) := A*x + B*y + C*z + D;
VStab(x,y,z) := ((V(x,y,z) + ((V(x,y,z))^2 )^(1/2)) / 2) + K;
LSq(x, y, z) := 3*(x*x) + 3*(y*y) + 3*(z*z) + E*x + F*y + G*z + H;
F(x, y, z) := (LSq(x,y,z)) / VStab(x,y,z)^(2/3);
diff(F(x,y,z), x);
diff(F(x,y,z), y);
diff(F(x,y,z), z);
diff(diff(F(x,y,z), x), x);
diff(diff(F(x,y,z), x), y);
diff(diff(F(x,y,z), x), z);
A: matrix([diff(diff(LSq(x,y,z), x), x), diff(diff(LSq(x,y,z), x), y), diff(diff(LSq(x,y,z), x), z)], [diff(diff(LSq(x,y,z), y), x), diff(diff(LSq(x,y,z), y), y), diff(diff(LSq(x,y,z), y), z)], [diff(diff(LSq(x,y,z), z), x), diff(diff(LSq(x,y,z), z), y), diff(diff(LSq(x,y,z), z), z)]);
testingInterfaces/testBoundaryLayer/Make/files
deleted
100644 → 0
View file @
419be12c
testBoundaryLayer.C
EXE = $(FOAM_USER_APPBIN)/testBoundaryLayer
testingInterfaces/testBoundaryLayer/Make/options
deleted
100644 → 0
View file @
419be12c
EXE_INC = -I$(LIB_SRC)/triSurface/lnInclude -I$(LIB_SRC)/meshTools/lnInclude -I../../meshLibrary/lnInclude
EXE_LIBS = -lmeshLibrary -ltriSurface -lmeshTools
testingInterfaces/testBoundaryLayer/testBoundaryLayer.C
deleted
100644 → 0
View file @
419be12c
/*---------------------------------------------------------------------------*\
========= |
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / O peration |
\\ / A nd | Copyright (C) 2005-2007 Franjo Juretic
\\/ M anipulation |
-------------------------------------------------------------------------------
License
This file is part of OpenFOAM.
OpenFOAM is free software; you can redistribute it and/or modify it
under the terms of the GNU General Public License as published by the
Free Software Foundation; either version 2 of the License, or (at your
option) any later version.
OpenFOAM is distributed in the hope that it will be useful, but WITHOUT
ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
for more details.
You should have received a copy of the GNU General Public License
along with OpenFOAM; if not, write to the Free Software Foundation,
Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
Application
Test for boundary layers
Description
-
\*---------------------------------------------------------------------------*/
#include "argList.H"
#include "Time.H"
#include "objectRegistry.H"
#include "polyMeshGen.H"
#include "boundaryLayers.H"
#include "refineBoundaryLayers.H"
#include "polyMeshGenChecks.H"
using
namespace
Foam
;
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
// Main program:
int
main
(
int
argc
,
char
*
argv
[])
{
# include "setRootCase.H"
# include "createTime.H"
polyMeshGen
pmg
(
runTime
);
pmg
.
read
();
IOdictionary
meshDict
(
IOobject
(
"meshDict"
,
runTime
.
system
(),
runTime
,
IOobject
::
MUST_READ
,
IOobject
::
NO_WRITE
)
);
//boundaryLayers bndLayers(pmg);
//bndLayers.addLayerForPatch("inlet");
//bndLayers.addLayerForPatch("symmetryplane");
//bndLayers.createOTopologyLayers();
//bndLayers.addLayerForAllPatches();
Info
<<
"Starting bnd layer refinement "
<<
runTime
.
elapsedClockTime
()
<<
endl
;
//polyMeshGenChecks::checkMesh(pmg, true);
refineBoundaryLayers
refLayers
(
pmg
);
refineBoundaryLayers
::
readSettings
(
meshDict
,
refLayers
);
refLayers
.
refineLayers
();
Info
<<
"Finished with bnd layer refinement "
<<
runTime
.
elapsedClockTime
()
<<
endl
;
polyMeshGenChecks
::
checkMesh
(
pmg
,
true
);
return
0
;
pmg
.
write
();
//meshOctree* octreePtr = NULL;
//meshOptimizer(*octreePtr, pmg).preOptimize();
//pmg.addressingData().checkMesh(true);
Info
<<
"End
\n
"
<<
endl
;
return
0
;
}
// ************************************************************************* //
testingInterfaces/testCartesianMeshExtractor/Make/files
deleted
100644 → 0
View file @
419be12c
testCartesianMeshExtractor.C
EXE = $(FOAM_USER_APPBIN)/testCartesianMeshExtractor
testingInterfaces/testCartesianMeshExtractor/Make/options
deleted
100644 → 0
View file @
419be12c
EXE_INC = -I$(LIB_SRC)/triSurface/lnInclude -I$(LIB_SRC)/meshTools/lnInclude -I../../meshLibrary/lnInclude
EXE_LIBS = -lmeshLibrary -ltriSurface -lmeshTools
testingInterfaces/testCartesianMeshExtractor/testCartesianMeshExtractor.C
deleted
100644 → 0
View file @
419be12c
/*---------------------------------------------------------------------------*\
========= |
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / O peration |
\\ / A nd | Copyright (C) 2005-2007 Franjo Juretic
\\/ M anipulation |
-------------------------------------------------------------------------------
License
This file is part of OpenFOAM.
OpenFOAM is free software; you can redistribute it and/or modify it
under the terms of the GNU General Public License as published by the
Free Software Foundation; either version 2 of the License, or (at your
option) any later version.
OpenFOAM is distributed in the hope that it will be useful, but WITHOUT
ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
for more details.
You should have received a copy of the GNU General Public License
along with OpenFOAM; if not, write to the Free Software Foundation,
Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
Application
Test of the cartesian mesh
Description
- creates an octree and creates cartesian mesh
\*---------------------------------------------------------------------------*/
#include "argList.H"
#include "meshOctreeCreator.H"
#include "meshOctreeAutomaticRefinement.H"
#include "Time.H"
#include "polyMesh.H"
#include "polyMeshGen.H"
#include "cartesianMeshExtractor.H"
#include "triSurf.H"
#include <sstream>
using
namespace
Foam
;
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
// Main program:
int
main
(
int
argc
,
char
*
argv
[])
{
# include "setRootCase.H"
# include "createTime.H"
IOdictionary
meshDict
(
IOobject
(
"meshDict"
,
runTime
.
system
(),
runTime
,
IOobject
::
MUST_READ
,
IOobject
::
NO_WRITE
)
);
fileName
surfaceFile
=
meshDict
.
lookup
(
"surfaceFile"
);
if
(
Pstream
::
parRun
()
)
surfaceFile
=
".."
/
surfaceFile
;
triSurf
surf
(
runTime
.
path
()
/
surfaceFile
);
// construct the octree
meshOctree
mo
(
surf
);
meshOctreeCreator
moc
(
mo
,
meshDict
);
moc
.
createOctreeBoxes
();
//meshOctreeAutomaticRefinement(mo, meshDict, false).automaticRefinement();
Info
<<
"Execution time for octree creation = "
<<
runTime
.
elapsedCpuTime
()
<<
" s
\n
"
<<
endl
<<
endl
;
polyMeshGen
pmg
(
runTime
);
cartesianMeshExtractor
cmg
(
mo
,
meshDict
,
pmg
);
//cmg.decomposeSplitHexes();
cmg
.
createMesh
();
const
pointFieldPMG
&
points
=
pmg
.
points
();
/* forAll(points, pointI)
{
const point p = points[pointI];
for(label pointJ=pointI+1;pointJ<points.size();++pointJ)
if( mag(p - points[pointJ]) < 1e-10 )
Info << "Points " << pointI << " and " << pointJ
<< " are duplicates " << endl;
}
*/
boolList
usedPoint
(
points
.
size
());
const
faceListPMG
&
faces
=
pmg
.
faces
();
forAll
(
faces
,
faceI
)
{
const
face
&
f
=
faces
[
faceI
];
forAll
(
f
,
pI
)
usedPoint
[
f
[
pI
]]
=
true
;
}
forAll
(
usedPoint
,
pointI
)
if
(
!
usedPoint
[
pointI
]
)
Info
<<
"Point "
<<
pointI
<<
" is not used !!"
<<
endl
;
pmg
.
write
();
/* if( Pstream::parRun() )
{
std::ostringstream ss;
ss << Pstream::myProcNo();
}
*/
Info
<<
"End
\n
"
<<
endl
;
return
0
;
}
// ************************************************************************* //
testingInterfaces/testCellSurfaceIntersections/Make/files
deleted
100644 → 0
View file @
419be12c
testCellSurfaceIntersections.C
EXE = $(FOAM_USER_APPBIN)/testCellSurfaceIntersections
testingInterfaces/testCellSurfaceIntersections/Make/options
deleted
100644 → 0
View file @
419be12c
EXE_INC = -I$(LIB_SRC)/triSurface/lnInclude -I$(LIB_SRC)/meshTools/lnInclude -I../../meshLibrary/lnInclude
EXE_LIBS = -lMeshLibrary -ltriSurface -lmeshTools
testingInterfaces/testCellSurfaceIntersections/testCellSurfaceIntersections.C
deleted
100644 → 0
View file @
419be12c
/*---------------------------------------------------------------------------*\
========= |
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / O peration |
\\ / A nd | Copyright (C) 2005-2007 Franjo Juretic
\\/ M anipulation |
-------------------------------------------------------------------------------
License
This file is part of OpenFOAM.
OpenFOAM is free software; you can redistribute it and/or modify it
under the terms of the GNU General Public License as published by the
Free Software Foundation; either version 2 of the License, or (at your
option) any later version.
OpenFOAM is distributed in the hope that it will be useful, but WITHOUT
ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
for more details.
You should have received a copy of the GNU General Public License
along with OpenFOAM; if not, write to the Free Software Foundation,
Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
Application
Test of the cartesian mesh
Description
- creates an octree and creates cartesian mesh
\*---------------------------------------------------------------------------*/
#include "argList.H"
#include "meshOctreeCreator.H"
#include "meshOctreeAutomaticRefinement.H"
#include "Time.H"
#include "polyMesh.H"
#include "polyMeshGen.H"
#include "triSurf.H"
#include "findCellsIntersectingSurface.H"
#include <sstream>
using
namespace
Foam
;
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
// Main program:
int
main
(
int
argc
,
char
*
argv
[])
{
# include "setRootCase.H"
# include "createTime.H"
IOdictionary
meshDict
(
IOobject
(
"meshDict"
,
runTime
.
system
(),
runTime
,
IOobject
::
MUST_READ
,
IOobject
::
NO_WRITE
)
);
fileName
surfaceFile
=
meshDict
.
lookup
(
"surfaceFile"
);
if
(
Pstream
::
parRun
()
)
surfaceFile
=
".."
/
surfaceFile
;
triSurf
surf
(
runTime
.
path
()
/
surfaceFile
);
/* if( meshDict.found("subsetFileName") )
{
fileName subsetFileName = meshDict.lookup("subsetFileName");
if( Pstream::parRun() )
subsetFileName = ".."/subsetFileName;
surf.readFaceSubsets(runTime.path()/subsetFileName);
}
*/
// construct the octree
meshOctree
mo
(
surf
);
meshOctreeCreator
(
mo
,
meshDict
).
createOctreeBoxes
();
polyMeshGen
pmg
(
runTime
);
pmg
.
read
();
findCellsIntersectingSurface
ss
(
pmg
,
mo
);
ss
.
addIntersectedCellsToSubset
(
"intersectedCells"
);
pmg
.
write
();
Info
<<
"End
\n
"
<<
endl
;
return
0
;
}
// ************************************************************************* //
testingInterfaces/testChainFromEdges/Make/files
deleted
100644 → 0
View file @
419be12c
testChainFromEdges.C
EXE = $(FOAM_USER_APPBIN)/testChainFromEdges
testingInterfaces/testChainFromEdges/Make/options
deleted
100644 → 0
View file @
419be12c
EXE_INC = -I$(LIB_SRC)/triSurface/lnInclude -I$(LIB_SRC)/meshTools/lnInclude -I../../meshLibrary/lnInclude
EXE_LIBS = -lMeshLibrary -ltriSurface -lmeshTools
testingInterfaces/testChainFromEdges/testChainFromEdges.C
deleted
100644 → 0
View file @
419be12c
/*---------------------------------------------------------------------------*\
========= |
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / O peration |
\\ / A nd | Copyright (C) 2005-2007 Franjo Juretic
\\/ M anipulation |
-------------------------------------------------------------------------------
License
This file is part of OpenFOAM.
OpenFOAM is free software; you can redistribute it and/or modify it
under the terms of the GNU General Public License as published by the
Free Software Foundation; either version 2 of the License, or (at your
option) any later version.
OpenFOAM is distributed in the hope that it will be useful, but WITHOUT
ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
for more details.
You should have received a copy of the GNU General Public License
along with OpenFOAM; if not, write to the Free Software Foundation,
Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
Application
Test for creation of boundary faces from chains
Description
\*---------------------------------------------------------------------------*/
#include "sortEdgesIntoChains.H"
using
namespace
Foam
;
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
// Main program:
int
main
(
int
argc
,
char
*
argv
[])
{
DynList
<
edge
>
bEdges
;
bEdges
.
append
(
edge
(
33
,
34
));
bEdges
.
append
(
edge
(
33
,
12
));
bEdges
.
append
(
edge
(
34
,
12
));
bEdges
.
append
(
edge
(
12
,
35
));
bEdges
.
append
(
edge
(
40
,
41
));
bEdges
.
append
(
edge
(
40
,
12
));
bEdges
.
append
(
edge
(
41
,
36
));
bEdges
.
append
(
edge
(
35
,
36
));
bEdges
.
append
(
edge
(
41
,
50
));
bEdges
.
append
(
edge
(
48
,
57
));
bEdges
.
append
(
edge
(
50
,
57
));
bEdges
.
append
(
edge
(
41
,
48
));
sortEdgesIntoChains
seic
(
bEdges
);
Info
<<
"Sorted chains are "
<<
seic
.
sortedChains
()
<<
endl
;
Info
<<
"End
\n
"
<<
endl
;
return
0
;
}
// ************************************************************************* //
testingInterfaces/testConcaveCellUnfolder/Make/files
deleted
100644 → 0
View file @
419be12c
testConcaveCellUnfolder.C
EXE = $(FOAM_USER_APPBIN)/testConcaveCellUnfolder
testingInterfaces/testConcaveCellUnfolder/Make/options
deleted
100644 → 0
View file @
419be12c
EXE_INC = -I$(LIB_SRC)/triSurface/lnInclude -I$(LIB_SRC)/meshTools/lnInclude -I../../meshLibrary/lnInclude
EXE_LIBS = -lMeshLibrary -ltriSurface -lmeshTools
testingInterfaces/testConcaveCellUnfolder/testConcaveCellUnfolder.C
deleted
100644 → 0
View file @
419be12c