-
Notifications
You must be signed in to change notification settings - Fork 20
/
Install.txt
82 lines (57 loc) · 2.58 KB
/
Install.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
Installation instructions:
-------------------------
Pre-installation steps:
Ensure that OpenFOAM-extend is installed and properly configured.
Since this is an updated version, installing these libraries requires
replacing the original version already present in OpenFOAM-extend.
To do so, follow these steps prior to installation:
1. Open $FOAM_SRC/dynamicMesh/dynamicFvMesh/Make/files
2. Remove (or comment out with /* .. */) the following lines in the list:
tetMetrics = dynamicTopoFvMesh/tetMetrics
$(tetMetrics)/tetMetric.C
$(tetMetrics)/tetMetrics.C
lengthScaleEstimator = dynamicTopoFvMesh/lengthScaleEstimator
$(lengthScaleEstimator)/lengthScaleEstimator.C
eMesh = dynamicTopoFvMesh/eMesh
$(eMesh)/eMesh.C
$(eMesh)/eMeshDemandDrivenData.C
$(eMesh)/eBoundaryMesh/eBoundaryMesh.C
ePatches = $(eMesh)/ePatches
$(ePatches)/ePatch/ePatch.C
$(ePatches)/ePatch/newEPatch.C
dynamicTopoFvMesh/meshOps.C
dynamicTopoFvMesh/dynamicTopoFvMesh.C
dynamicTopoFvMesh/dynamicTopoFvMeshCheck.C
dynamicTopoFvMesh/dynamicTopoFvMeshReOrder.C
dynamicTopoFvMesh/dynamicTopoFvMeshMapping.C
dynamicTopoFvMesh/dynamicTopoFvMeshCoupled.C
dynamicTopoFvMesh/edgeSwap.C
dynamicTopoFvMesh/edgeBisect.C
dynamicTopoFvMesh/edgeCollapse.C
dynamicTopoFvMesh/coupleMap.C
convexSetAlgorithm = dynamicTopoFvMesh/convexSetAlgorithm
$(convexSetAlgorithm)/convexSetAlgorithm.C
$(convexSetAlgorithm)/faceSetAlgorithm.C
$(convexSetAlgorithm)/cellSetAlgorithm.C
fieldMapping = dynamicTopoFvMesh/fieldMapping
$(fieldMapping)/topoMapper.C
$(fieldMapping)/fluxCorrector.C
$(fieldMapping)/topoCellMapper.C
$(fieldMapping)/topoPatchMapper.C
$(fieldMapping)/topoSurfaceMapper.C
3. In the $FOAM_SRC/dynamicMesh/dynamicFvMesh directory, type:
(wclean && wmake libso)
Repository check-out and installation:
1. Checkout the repository contents to an appropriate location on disk:
git clone https://github.com/smenon/dynamicTopoFvMesh <check-out directory>
or, if you're having trouble with the https protocol,
you can alternatively do it through SSH:
git clone [email protected]:smenon/dynamicTopoFvMesh <check-out directory>
2. Go to the checked-out directory and type:
./Allwmake
3. This will build the relevant libraries / executables, and place them in
$FOAM_USER_LIBBIN / $FOAM_USER_APPBIN.
Usage:
1. To use the updated library, place the following line in your dynamicMeshDict:
dynamicFvMeshLibs ("libdynamicTopoFvMesh.so");
motionSolverLibs ("libmesquiteMotionSolver.so");