From c52c51e36774c9812ab59447090a678ab8ddc8fb Mon Sep 17 00:00:00 2001 From: Hrvoje Jasak Date: Tue, 10 Apr 2018 21:18:16 +0100 Subject: [PATCH 001/361] Bugfix: cannot recalculate deltaCoeffs in a mesh after topo change due to zero volume/area elements. Move into movePoints --- src/finiteVolume/fvMesh/fvMesh.C | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/src/finiteVolume/fvMesh/fvMesh.C b/src/finiteVolume/fvMesh/fvMesh.C index 928b3b83b..35090ec3f 100644 --- a/src/finiteVolume/fvMesh/fvMesh.C +++ b/src/finiteVolume/fvMesh/fvMesh.C @@ -556,11 +556,11 @@ void Foam::fvMesh::updateMesh(const mapPolyMesh& mpm) // This is a temporary solution surfaceInterpolation::movePoints(); - // Note: deltaCoeffs cannot be left on lazy evaluation on mesh motion - // because tangled comms will occur when they are accessed from - // individual boundary conditions + // Note: + // Not allowed to call deltaCoeffs here because the faces and cells may be + // at zero area/volume. It will be called in movePoints after the + // topo change. // HJ, VV and IG, 25/Oct/2016 - deltaCoeffs(); // Function object update moved to polyMesh // HJ, 29/Aug/2010 @@ -587,7 +587,6 @@ void Foam::fvMesh::syncUpdateMesh() // because tangled comms will occur when they are accessed from // individual boundary conditions // HJ, VV and IG, 25/Oct/2016 - deltaCoeffs(); // Function object update moved to polyMesh // HJ, 29/Aug/2010 From efcc2b1b7df8543c7873f89a6f50c30e047b1b11 Mon Sep 17 00:00:00 2001 From: Hrvoje Jasak Date: Thu, 12 Apr 2018 14:05:28 +0100 Subject: [PATCH 002/361] Robustness improvement for layer addition/removal triggering --- .../layerAdditionRemoval/addCellLayer.C | 4 +-- .../layerAdditionRemoval.C | 31 ++++++++++++++++--- .../layerAdditionRemoval.H | 19 ++++++------ 3 files changed, 39 insertions(+), 15 deletions(-) diff --git a/src/dynamicMesh/dynamicMesh/polyMeshModifiers/layerAdditionRemoval/addCellLayer.C b/src/dynamicMesh/dynamicMesh/polyMeshModifiers/layerAdditionRemoval/addCellLayer.C index b1ea2c9b3..81dc957a9 100644 --- a/src/dynamicMesh/dynamicMesh/polyMeshModifiers/layerAdditionRemoval/addCellLayer.C +++ b/src/dynamicMesh/dynamicMesh/polyMeshModifiers/layerAdditionRemoval/addCellLayer.C @@ -87,7 +87,7 @@ void Foam::layerAdditionRemoval::addCellLayer { extrusionDir[mpI] = points[ptc[mpI]] - points[mp[mpI]]; } - extrusionDir *= addDelta_*maxLayerThickness_; + extrusionDir *= addDelta_()*maxLayerThickness_; } else { @@ -118,7 +118,7 @@ void Foam::layerAdditionRemoval::addCellLayer polyAddPoint ( points[mp[pointI]] // point -// + addDelta_*maxLayerThickness_*extrusionDir[pointI], +// + addDelta_()*maxLayerThickness_*extrusionDir[pointI], + extrusionDir[pointI], mp[pointI], // master point -1, // zone for point diff --git a/src/dynamicMesh/dynamicMesh/polyMeshModifiers/layerAdditionRemoval/layerAdditionRemoval.C b/src/dynamicMesh/dynamicMesh/polyMeshModifiers/layerAdditionRemoval/layerAdditionRemoval.C index e15066faa..47443b8de 100644 --- a/src/dynamicMesh/dynamicMesh/polyMeshModifiers/layerAdditionRemoval/layerAdditionRemoval.C +++ b/src/dynamicMesh/dynamicMesh/polyMeshModifiers/layerAdditionRemoval/layerAdditionRemoval.C @@ -48,8 +48,19 @@ namespace Foam } -const Foam::scalar Foam::layerAdditionRemoval::addDelta_ = 0.3; -const Foam::scalar Foam::layerAdditionRemoval::removeDelta_ = 0.1; +const Foam::debug::tolerancesSwitch +Foam::layerAdditionRemoval::motionDelta_ +( + "layerAdditionRemoval::motionDelta", + 0.01 +); + +const Foam::debug::tolerancesSwitch +Foam::layerAdditionRemoval::addDelta_ +( + "layerAdditionRemoval::addDelta", + 0.3 +); // * * * * * * * * * * * * * Private Member Functions * * * * * * * * * * * // @@ -354,7 +365,12 @@ bool Foam::layerAdditionRemoval::changeTopology() const topologicalChange = false; } - else if (avgDelta < oldLayerThickness_) + // New criterion to avoid round-off triggering layer addition/removal + // HJ, 30/Mar/2018 + else if + ( + (oldLayerThickness_ - avgDelta) > motionDelta_()*minLayerThickness_ + ) { // Layers moving towards removal if (minDelta < minLayerThickness_) @@ -397,7 +413,12 @@ bool Foam::layerAdditionRemoval::changeTopology() const oldLayerThickness_ = avgDelta; } } - else + // New criterion to avoid round-off triggering layer addition/removal + // HJ, 30/Mar/2018 + else if + ( + (avgDelta - oldLayerThickness_) > motionDelta_()*minLayerThickness_ + ) { // Layers moving towards addition if (maxDelta > maxLayerThickness_) @@ -422,6 +443,8 @@ bool Foam::layerAdditionRemoval::changeTopology() const oldLayerThickness_ = avgDelta; } } + // else the motion change is smaller than the tolerance and the layer + // interface is practically static. HJ, 30/Mar/2018 return topologicalChange; } diff --git a/src/dynamicMesh/dynamicMesh/polyMeshModifiers/layerAdditionRemoval/layerAdditionRemoval.H b/src/dynamicMesh/dynamicMesh/polyMeshModifiers/layerAdditionRemoval/layerAdditionRemoval.H index c13c616fe..56497d60d 100644 --- a/src/dynamicMesh/dynamicMesh/polyMeshModifiers/layerAdditionRemoval/layerAdditionRemoval.H +++ b/src/dynamicMesh/dynamicMesh/polyMeshModifiers/layerAdditionRemoval/layerAdditionRemoval.H @@ -40,6 +40,7 @@ SourceFiles #include "polyMeshModifier.H" #include "primitiveFacePatch.H" #include "ZoneIDs.H" +#include "tolerancesSwitch.H" // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // @@ -128,13 +129,14 @@ class layerAdditionRemoval // Static data members - //- Thickness insertion fraction for the pre-motion - static const scalar addDelta_; + //- Motion detection fraction: if the motion is smaller than + // motionDelta*minLayerThickness_, it is assumed that the mesh is + // not layering + static const debug::tolerancesSwitch motionDelta_; + + //- Thickness insertion fraction for the pre-motion + static const debug::tolerancesSwitch addDelta_; - //- Thickness removal fraction for the cell collapse - // Note: the cell will be collapsed to this relative - // thickness before the layer is removed. - static const scalar removeDelta_; public: @@ -166,9 +168,8 @@ public: ); - // Destructor - - virtual ~layerAdditionRemoval(); + //- Destructor + virtual ~layerAdditionRemoval(); // Member Functions From 803aa6a50f37adf56ff6616707b0a7e53ae544e1 Mon Sep 17 00:00:00 2001 From: Henrik Rusche Date: Thu, 12 Apr 2018 15:27:38 +0200 Subject: [PATCH 003/361] Bugfixes for swak4foam + minor fixes from B.Gschaider --- ThirdParty/AllMake.stage5 | 16 +++++++++++----- bin/addr2line4Mac.py | 2 ++ etc/bashrc | 2 +- etc/cshrc | 2 +- src/foam/db/Time/foamTime.C | 16 ++++++++++++++++ 5 files changed, 31 insertions(+), 7 deletions(-) diff --git a/ThirdParty/AllMake.stage5 b/ThirdParty/AllMake.stage5 index 5a7c2f147..3390e406d 100755 --- a/ThirdParty/AllMake.stage5 +++ b/ThirdParty/AllMake.stage5 @@ -62,7 +62,7 @@ echo # which is also replicated under the Breeder_2.0 section of the Subversion repository # -SWAK_RELEASE_VERSION=0.4.0 +SWAK_RELEASE_VERSION=0.4.2 if [ -z "$SWAK4FOAM_SYSTEM" ] then @@ -78,16 +78,22 @@ then then echo "Using Mercurial/hg to download the source code for swak4Foam" ( - cd ./rpmBuild/BUILD; - hg clone http://hg.code.sf.net/p/openfoam-extend/swak4Foam swak4Foam-$SWAK_RELEASE_VERSION; - cd swak4Foam-$SWAK_RELEASE_VERSION; - hg checkout version_${SWAK_RELEASE_VERSION}_v2.x + cd ./rpmBuild/BUILD + hg clone http://hg.code.sf.net/p/openfoam-extend/swak4Foam swak4Foam-$SWAK_RELEASE_VERSION + cd swak4Foam-$SWAK_RELEASE_VERSION + #hg checkout version_${SWAK_RELEASE_VERSION}_v2.x + # We use dev-branch temporarily + hg checkout compile_foamExtend4.1 ) else echo "Warning: Mercurial/hg is not installed. Switching to an alternate Subversion repository" command -v svn >/dev/null if [ $? -eq 0 ]; then + # Disabled temporarily + echo "Subversion/svn is currently not supported" + exit -1 + echo "Using Subversion/svn to download the source code for swak4Foam" (cd ./rpmBuild/BUILD; svn checkout svn://svn.code.sf.net/p/openfoam-extend/svn/trunk/Breeder_2.0/libraries/swak4Foam swak4Foam-$SWAK_RELEASE_VERSION) else diff --git a/bin/addr2line4Mac.py b/bin/addr2line4Mac.py index 54a40f1a8..1af9b561f 100755 --- a/bin/addr2line4Mac.py +++ b/bin/addr2line4Mac.py @@ -11,6 +11,8 @@ if path.exists(filename): fullFile=filename for v in ["PATH","LD_LIBRARY_PATH"]: + if not v in environ: + continue if not fullFile: for d in environ[v].split(':'): if path.exists(path.join(d,filename)): diff --git a/etc/bashrc b/etc/bashrc index 5828409a4..22e381dfb 100755 --- a/etc/bashrc +++ b/etc/bashrc @@ -91,7 +91,7 @@ export WM_THIRD_PARTY_DIR=$WM_PROJECT_DIR/ThirdParty # Use 'set' and 'unset' to adjust for your environent # ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ # For AllMake.stage1 -export WM_THIRD_PARTY_USE_BISON_27=1 +#export WM_THIRD_PARTY_USE_BISON_27=1 #export WM_THIRD_PARTY_USE_CMAKE_322=1 # diff --git a/etc/cshrc b/etc/cshrc index 52cc1098a..417d6fc56 100644 --- a/etc/cshrc +++ b/etc/cshrc @@ -77,7 +77,7 @@ setenv WM_THIRD_PARTY_DIR $WM_PROJECT_DIR/ThirdParty # This can be overriden in prefs.sh # ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ # For AllMake.stage1 -setenv WM_THIRD_PARTY_USE_BISON_27 1 +#setenv WM_THIRD_PARTY_USE_BISON_27 1 #setenv WM_THIRD_PARTY_USE_CMAKE_322 1 # diff --git a/src/foam/db/Time/foamTime.C b/src/foam/db/Time/foamTime.C index cfe0bda80..f8539aed3 100644 --- a/src/foam/db/Time/foamTime.C +++ b/src/foam/db/Time/foamTime.C @@ -1132,6 +1132,22 @@ Foam::Time& Foam::Time::operator+=(const scalar deltaT) Foam::Time& Foam::Time::operator++() { + if (!subCycling_) + { + if (timeIndex_ == startTimeIndex_) + { + addProfile2(fo,"functionObjects_.start()"); + + functionObjects_.start(); + } + else + { + addProfile2(fo,"functionObjects_.execute()"); + + functionObjects_.execute(); + } + } + deltaT0_ = deltaTSave_; deltaTSave_ = deltaT_; From d164eca37883c33b8ae949c8a43c65886477005c Mon Sep 17 00:00:00 2001 From: Hrvoje Jasak Date: Mon, 21 May 2018 09:37:00 +0100 Subject: [PATCH 004/361] Removed unnecessary syncUpdate --- .../utilities/parallelProcessing/decomposePar/decomposePar.C | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/applications/utilities/parallelProcessing/decomposePar/decomposePar.C b/applications/utilities/parallelProcessing/decomposePar/decomposePar.C index 361289922..b51d6c452 100644 --- a/applications/utilities/parallelProcessing/decomposePar/decomposePar.C +++ b/applications/utilities/parallelProcessing/decomposePar/decomposePar.C @@ -641,7 +641,7 @@ int main(int argc, char *argv[]) rm(timeDir/"nut.gz"); } - // read the mesh + // Read the mesh fvMesh procMesh ( IOobject @@ -651,7 +651,6 @@ int main(int argc, char *argv[]) processorDb ) ); - procMesh.syncUpdateMesh(); labelIOList pointProcAddressing ( From 5f840ba74fd4bc5e085c8c985199033e155369a7 Mon Sep 17 00:00:00 2001 From: Hrvoje Jasak Date: Mon, 21 May 2018 13:00:34 +0100 Subject: [PATCH 005/361] Fixed bug in shared points for reconstruction --- .../finiteVolume/processorMeshesRebuild.C | 127 +++++++---- .../finiteVolume/sharedPoints.C | 202 ++++++++++++------ .../finiteVolume/sharedPoints.H | 21 +- 3 files changed, 238 insertions(+), 112 deletions(-) diff --git a/src/decompositionMethods/decomposeReconstruct/reconstructTools/finiteVolume/processorMeshesRebuild.C b/src/decompositionMethods/decomposeReconstruct/reconstructTools/finiteVolume/processorMeshesRebuild.C index a5ed04ee3..3559ab3f9 100644 --- a/src/decompositionMethods/decomposeReconstruct/reconstructTools/finiteVolume/processorMeshesRebuild.C +++ b/src/decompositionMethods/decomposeReconstruct/reconstructTools/finiteVolume/processorMeshesRebuild.C @@ -290,7 +290,23 @@ Foam::processorMeshesReconstructor::neighbourProcPatch // Check neighbour processor index if (masterProcPatch.neighbProcNo() == procPatch.myProcNo()) { - // Found matching patch + // Found matching patch. Check sizes + if (masterProcPatch.size() != procPatch.size()) + { + FatalErrorIn + ( + "const processorPolyPatch&\n" + "processorMeshesReconstructor::neighbourProcPatch\n" + "(\n" + " const processorPolyPatch& procPatch\n" + ") const" + ) << "Processor patch pair (" + << procPatch.myProcNo() << " " + << procPatch.neighbProcNo() << ") sizes do not match: " + << masterProcPatch.size() << " and " << procPatch.size() + << abort(FatalError); + } + return masterProcPatch; } } @@ -528,7 +544,6 @@ Foam::processorMeshesReconstructor::reconstructMesh(const Time& db) // Note: for easier debugging, set mapping, owner and neighbour to -1 pointField reconPoints(nReconPoints); - labelList globalPointMapping(nReconPoints, -1); faceList reconFaces(nReconFaces); labelList cellOffset(meshes_.size(), 0); labelList reconOwner(nReconFaces, -1); @@ -642,6 +657,9 @@ Foam::processorMeshesReconstructor::reconstructMesh(const Time& db) // on the same processor sharedPoints sharedData(meshes_); + // Record global point index for shared points + labelList globalPointMapping(sharedData.nGlobalPoints(), -1); + // Before assembling the meshes, create unique ordering for all passive // processor patches that will be merged. HJ, 6/May/2018 @@ -655,7 +673,7 @@ Foam::processorMeshesReconstructor::reconstructMesh(const Time& db) // Memory management { - // This list provides inser offset for the patch to unpack the list + // This list provides insert offset for the patch to unpack the list labelListList passivePatchInsertOffset(meshes_.size()); // This list records all global indices from passive faces @@ -789,12 +807,13 @@ Foam::processorMeshesReconstructor::reconstructMesh(const Time& db) } // Collect globally shared point labels + const labelList& curSpAddr = sharedData.sharedPointAddr()[fvmId]; const labelList& curSpl = sharedData.sharedPointLabels()[fvmId]; - forAll (curSpl, splI) + forAll (curSpAddr, splI) { // From processor 0, mark points without checking - globalPointMapping[curSpl[splI]] = ppAddr[curSpl[splI]]; + globalPointMapping[curSpAddr[splI]] = ppAddr[curSpl[splI]]; } // Dump all internal faces into the list @@ -962,7 +981,8 @@ Foam::processorMeshesReconstructor::reconstructMesh(const Time& db) // Set cell offset for the next mesh if (cellOffset.size() > firstValidMesh() + 1) { - cellOffset[firstValidMesh() + 1] = meshes_[firstValidMesh()].nCells(); + cellOffset[firstValidMesh() + 1] = + meshes_[firstValidMesh()].nCells(); } } @@ -973,7 +993,9 @@ Foam::processorMeshesReconstructor::reconstructMesh(const Time& db) { if (meshes_.set(procI)) { - Pout<< "Dump mesh " << procI << " cell offset: " << cellOffset[procI] << endl; + Pout<< "Dump mesh " << procI + << " cell offset: " << cellOffset[procI] + << endl; const polyMesh& curMesh = meshes_[procI]; const polyBoundaryMesh& procPatches = curMesh.boundaryMesh(); @@ -992,10 +1014,29 @@ Foam::processorMeshesReconstructor::reconstructMesh(const Time& db) ppAddr.setSize(curPoints.size()); ppAddr = -1; + // Collect globally shared point labels + const labelList& curSpAddr = sharedData.sharedPointAddr()[procI]; + const labelList& curSpl = sharedData.sharedPointLabels()[procI]; + + // Go through globally shared points. If already marked, mark + // their point index. If not, leave for later + + forAll (curSpAddr, splI) + { + // From other processors, check if point is already marked + // If yes, insert the point label into ppAddr + if (globalPointMapping[curSpAddr[splI]] > -1) + { + // Point is marked. Record it locally + ppAddr[curSpl[splI]] = globalPointMapping[curSpAddr[splI]]; + } + } + // Find points already added via processor patches and mark them // in ppAddr - // Collect point-processor addressing for points on processor patches + // Collect point-processor addressing for points on + // processor patches // Go through all processor patches. For neighbour patches, access // owner addressing and dump into ppAddr @@ -1054,9 +1095,37 @@ Foam::processorMeshesReconstructor::reconstructMesh(const Time& db) forAll (curRF, pointI) { - // Mapping is established - ppAddr[curRF[pointI]] = - masterPpAddr[curMF[pointI]]; + if (ppAddr[curRF[pointI]] == -1) + { + // Mapping is established + ppAddr[curRF[pointI]] = + masterPpAddr[curMF[pointI]]; + } + else + { + // Mapping already exists. Check it + if + ( + ppAddr[curRF[pointI]] + != masterPpAddr[curMF[pointI]] + ) + { + WarningIn + ( + "autoPtr " + "processorMeshesReconstructor::" + "reconstructMesh(const Time& db)" + ) << "Loss of proc sync: " + << ppAddr[curRF[pointI]] << " and " + << masterPpAddr[curMF[pointI]] + << " for point " + << curRF[pointI] + << " at " + << curMesh.points()[curRF[pointI]] + << nl + << abort(FatalError); + } + } } } } // End of "is neighbour" @@ -1087,24 +1156,20 @@ Foam::processorMeshesReconstructor::reconstructMesh(const Time& db) const labelList& curNeighbour = curMesh.faceNeighbour(); fpAddr.setSize(curFaces.size()); - // Collect globally shared point labels - const labelList& curSpl = sharedData.sharedPointLabels()[procI]; - - forAll (curSpl, splI) + // Collect newly marked globally shared point labels + forAll (curSpAddr, splI) { - // From other processors, check if point is already marked - // If not, mark it; otherwise compare (and correct?) with local - // mark - if (globalPointMapping[curSpl[splI]] < 0) + if (globalPointMapping[curSpAddr[splI]] < 0) { - globalPointMapping[curSpl[splI]] = ppAddr[curSpl[splI]]; + globalPointMapping[curSpAddr[splI]] = ppAddr[curSpl[splI]]; } else { - // Compare. Is this needed - should always be OK. + // If point is already set, compare sync + // to detect merge error. Debug if ( - globalPointMapping[curSpl[splI]] + globalPointMapping[curSpAddr[splI]] != ppAddr[curSpl[splI]] ) { @@ -1113,7 +1178,9 @@ Foam::processorMeshesReconstructor::reconstructMesh(const Time& db) "autoPtr " "processorMeshesReconstructor::" "reconstructMesh(const Time& db)" - ) << "Loss of sync???" + ) << "Loss of global sync: " + << globalPointMapping[curSpAddr[splI]] << " and " + << ppAddr[curSpl[splI]] << nl << abort(FatalError); } } @@ -1542,20 +1609,6 @@ Foam::processorMeshesReconstructor::reconstructMesh(const Time& db) // TODO: point, face and cell zones - Info<< "Reconstructed addressing: " << nl; - forAll (meshes_, procI) - { - if (meshes_.set(procI)) - { - Info<< "Proc " << procI - << " point addr: " << pointProcAddressing_[procI].size() - << " face addr: " << faceProcAddressing_[procI].size() - << " cell addr: " << cellProcAddressing_[procI].size() - << " boundary addr: " << boundaryProcAddressing_[procI].size() - << endl; - } - } - return globalMeshPtr; } diff --git a/src/decompositionMethods/decomposeReconstruct/reconstructTools/finiteVolume/sharedPoints.C b/src/decompositionMethods/decomposeReconstruct/reconstructTools/finiteVolume/sharedPoints.C index af30fb647..68e223a4e 100644 --- a/src/decompositionMethods/decomposeReconstruct/reconstructTools/finiteVolume/sharedPoints.C +++ b/src/decompositionMethods/decomposeReconstruct/reconstructTools/finiteVolume/sharedPoints.C @@ -194,19 +194,18 @@ void Foam::sharedPoints::calcSharedPoints() labelListList patchPairs = procPatchPairs(); // Communicate and count global points - labelList nGlobalPointsPerProc(meshes_.size(), 0); // Identify, count and communicate points across processor boundaries // Repeat until the number of points per processor stabilises, // ie. no further points are found through communication - label oldNTotalPoints, newNTotalPoints; + + label nSynced; + do { - oldNTotalPoints = sum(nGlobalPointsPerProc); - - // Reset the list - nGlobalPointsPerProc = 0; + nSynced = 0; + // Sync mark across processor boundaries forAll (meshes_, meshI) { if (meshes_.set(meshI)) @@ -223,13 +222,16 @@ void Foam::sharedPoints::calcSharedPoints() if (isA(pp)) { - // Found processor patch - const labelList& patchMeshPoints = pp.meshPoints(); - // My processor patch const processorPolyPatch& myProcPatch = refCast(pp); + // Get local mesh points + const labelList& patchMeshPoints = pp.meshPoints(); + + // Get my local faces + const faceList& patchLocalFaces = pp.localFaces(); + // Get neighbour processor ID const int nbrProcID = myProcPatch.neighbProcNo(); @@ -238,65 +240,115 @@ void Foam::sharedPoints::calcSharedPoints() meshes_[nbrProcID].boundaryMesh() [patchPairs[meshI][patchI]]; + // Get neighbour mesh points const labelList& nbrMeshPoints = nbrPatch.meshPoints(); + + // Get neighbour local faces + const faceList& nbrLocalFaces = nbrPatch.localFaces(); + + labelList& nbrMarkedPoints = markedPoints[nbrProcID]; - forAll (patchMeshPoints, mpI) + // Note: + // Cannot loop over mesh points because they are sorted + // Use face loops as they are synchronised + // HJ, 21/May/2018 + forAll (patchLocalFaces, faceI) { - if (curMarkedPoints[patchMeshPoints[mpI]] > 1) + const face& curFace = patchLocalFaces[faceI]; + + // Reverse neighbour face (copy) + const face nbrFace = + nbrLocalFaces[faceI].reverseFace(); + + forAll (curFace, fpI) { - // Mark the point on the other processor/side - markedPoints[nbrProcID][nbrMeshPoints[mpI]] = - curMarkedPoints[patchMeshPoints[mpI]]; + const label patchMpI = + patchMeshPoints[curFace[fpI]]; + + const label nbrMpI = + nbrMeshPoints[nbrFace[fpI]]; + + if + ( + curMarkedPoints[patchMpI] > 1 + && nbrMarkedPoints[nbrMpI] <= 1 + ) + { + nbrMarkedPoints[nbrMpI] = + curMarkedPoints[patchMpI]; + + nSynced++; + } + + if + ( + curMarkedPoints[patchMpI] <= 1 + && nbrMarkedPoints[nbrMpI] > 1 + ) + { + curMarkedPoints[patchMpI] = + nbrMarkedPoints[nbrMpI]; + + nSynced++; + } } } } } - - // Count number of shared points per processor - forAll (curMarkedPoints, cpI) - { - if (curMarkedPoints[cpI] > 1) - { - nGlobalPointsPerProc[meshI]++; - } - } } } - newNTotalPoints = sum(nGlobalPointsPerProc); + Info<< "Proc merge pass. nSynced = " << nSynced << endl; + } while (nSynced > 0); - Info<< "Proc merge pass: " << oldNTotalPoints << " " - << newNTotalPoints << endl; - } while (oldNTotalPoints != newNTotalPoints); - - Info<< "Number of shared points per processor: " << nGlobalPointsPerProc - << endl; - - // Collect points for every processor, in order to re-use the markedPoints - // list. Note: the list of global labels of shared points - // will be collected later + // Grab marked points forAll (meshes_, meshI) { if (meshes_.set(meshI)) { - labelList& curSharedPoints = sharedPointLabels_[meshI]; - - curSharedPoints.setSize(nGlobalPointsPerProc[meshI]); - - // Count inserted points + // Count the points and then collect label nShared = 0; - // Get point marking const labelList& curMarkedPoints = markedPoints[meshI]; forAll (curMarkedPoints, pointI) { if (curMarkedPoints[pointI] > 1) { - curSharedPoints[nShared] = pointI; nShared++; } } + + labelList& curShared = sharedPointLabels_[meshI]; + curShared.setSize(nShared); + + // Re-use the counter for insertion + nShared = 0; + + forAll (curMarkedPoints, pointI) + { + if (curMarkedPoints[pointI] > 1) + { + curShared[nShared] = pointI; + nShared++; + } + } + + const pointField& P = meshes_[meshI].points(); + OFstream ppp("points" + name(meshI) + ".vtk"); + ppp << "# vtk DataFile Version 2.0" << nl + << "points" + name(meshI) << ".vtk" << nl + << "ASCII" << nl + << "DATASET POLYDATA" << nl + << "POINTS " << curShared.size() << " float" << nl; + + forAll (curShared, i) + { + ppp << float(P[curShared[i]].x()) << ' ' + << float(P[curShared[i]].y()) << ' ' + << float(P[curShared[i]].z()) + << nl; + } } } @@ -324,6 +376,7 @@ void Foam::sharedPoints::calcSharedPoints() labelList& curMarkedPoints = markedPoints[meshI]; + // Collect shared point addressing forAll (curSharedPoints, spI) { if (curMarkedPoints[curSharedPoints[spI]] == -1) @@ -356,31 +409,60 @@ void Foam::sharedPoints::calcSharedPoints() if (isA(pp)) { - // Found processor patch - // My processor patch const processorPolyPatch& myProcPatch = refCast(pp); - const labelList& patchMeshPoints = pp.meshPoints(); - - // Get neighbour processor ID - const int nbrProcID = myProcPatch.neighbProcNo(); - - // Neighbour patch - const polyPatch& nbrPatch = - meshes_[nbrProcID].boundaryMesh() - [patchPairs[meshI][patchI]]; - - const labelList& nbrMeshPoints = nbrPatch.meshPoints(); - - forAll (patchMeshPoints, mpI) + if (myProcPatch.master()) { - if (curMarkedPoints[patchMeshPoints[mpI]] > -1) + // Get local mesh points + const labelList& patchMeshPoints = pp.meshPoints(); + + // Get my local faces + const faceList& patchLocalFaces = pp.localFaces(); + + + // Get neighbour processor ID + const int nbrProcID = myProcPatch.neighbProcNo(); + + // Neighbour patch + const polyPatch& nbrPatch = + meshes_[nbrProcID].boundaryMesh() + [patchPairs[meshI][patchI]]; + + // Get neighbour mesh points + const labelList& nbrMeshPoints = nbrPatch.meshPoints(); + + // Get neighbour local faces + const faceList& nbrLocalFaces = nbrPatch.localFaces(); + + // Note: + // Cannot loop over mesh points because they are sorted + // Use face loops as they are synchronised + // HJ, 21/May/2018 + forAll (patchLocalFaces, faceI) { - // Mark opposite side - markedPoints[nbrProcID][nbrMeshPoints[mpI]] = - curMarkedPoints[patchMeshPoints[mpI]]; + const face& curFace = patchLocalFaces[faceI]; + + // Reverse neighbour face (copy) + const face nbrFace = + nbrLocalFaces[faceI].reverseFace(); + + forAll (curFace, fpI) + { + const label patchMpI = + patchMeshPoints[curFace[fpI]]; + + const label nbrMpI = + nbrMeshPoints[nbrFace[fpI]]; + + if (curMarkedPoints[patchMpI] > -1) + { + // Mark opposite side + markedPoints[nbrProcID][nbrMpI] = + curMarkedPoints[patchMpI]; + } + } } } } diff --git a/src/decompositionMethods/decomposeReconstruct/reconstructTools/finiteVolume/sharedPoints.H b/src/decompositionMethods/decomposeReconstruct/reconstructTools/finiteVolume/sharedPoints.H index 16c595da6..b39109b32 100644 --- a/src/decompositionMethods/decomposeReconstruct/reconstructTools/finiteVolume/sharedPoints.H +++ b/src/decompositionMethods/decomposeReconstruct/reconstructTools/finiteVolume/sharedPoints.H @@ -35,18 +35,12 @@ Description - patch face ordering to be ok - f[0] ordering on patch faces to be ok. - Works by constructing equivalence lists for all the points on processor - patches. These list are procPointList and give processor and meshPoint - label on that processor. - E.g. - @verbatim - ((7 93)(4 731)(3 114)) - @endverbatim - - means point 93 on proc7 is connected to point 731 on proc4 and 114 on proc3. - It then gets the lowest numbered processor (the 'master') to request a - sharedPoint label from processor0 and it redistributes this label back to - the other processors in the equivalence list. + The class will create a unique list of multiply shared points + (on more than 2 mesh pieces). On each mesh piece, it will provide a + a list of local point labels that are globally shared (sharedPointLabels) + and for each of such points the index in the list of globally shared + points (sharedPointAddr). The class also provides the number of globally + shared points across all mesh pieces (nGlobalPoints) Note Currently operating with a PtrList, whereas the operation actually @@ -118,9 +112,6 @@ class sharedPoints public: - // Static data members - - // Constructors //- Construct from the list of meshes From c414e7a09345b0eec2ddca473ba1671f54fda39a Mon Sep 17 00:00:00 2001 From: Hrvoje Jasak Date: Mon, 21 May 2018 13:14:18 +0100 Subject: [PATCH 006/361] Clear post-processig dir in tutorial --- .../immersedBoundary/refiningMovingCylinderInChannelIco/Allclean | 1 + 1 file changed, 1 insertion(+) diff --git a/tutorials/immersedBoundary/refiningMovingCylinderInChannelIco/Allclean b/tutorials/immersedBoundary/refiningMovingCylinderInChannelIco/Allclean index ce138a537..cd995561c 100755 --- a/tutorials/immersedBoundary/refiningMovingCylinderInChannelIco/Allclean +++ b/tutorials/immersedBoundary/refiningMovingCylinderInChannelIco/Allclean @@ -6,5 +6,6 @@ cleanCase \rm -f *.dat +\rm -rf postProcessing \rm -rf 0 \rm -f constant/polyMesh/boundary From c9d077171f913eeb9da86b5fb0dc4cd712055ebc Mon Sep 17 00:00:00 2001 From: Hrvoje Jasak Date: Mon, 21 May 2018 13:19:41 +0100 Subject: [PATCH 007/361] Removed debug write of VTK points --- .../reconstructTools/finiteVolume/sharedPoints.C | 16 ---------------- 1 file changed, 16 deletions(-) diff --git a/src/decompositionMethods/decomposeReconstruct/reconstructTools/finiteVolume/sharedPoints.C b/src/decompositionMethods/decomposeReconstruct/reconstructTools/finiteVolume/sharedPoints.C index 68e223a4e..74b84c8a9 100644 --- a/src/decompositionMethods/decomposeReconstruct/reconstructTools/finiteVolume/sharedPoints.C +++ b/src/decompositionMethods/decomposeReconstruct/reconstructTools/finiteVolume/sharedPoints.C @@ -333,22 +333,6 @@ void Foam::sharedPoints::calcSharedPoints() nShared++; } } - - const pointField& P = meshes_[meshI].points(); - OFstream ppp("points" + name(meshI) + ".vtk"); - ppp << "# vtk DataFile Version 2.0" << nl - << "points" + name(meshI) << ".vtk" << nl - << "ASCII" << nl - << "DATASET POLYDATA" << nl - << "POINTS " << curShared.size() << " float" << nl; - - forAll (curShared, i) - { - ppp << float(P[curShared[i]].x()) << ' ' - << float(P[curShared[i]].y()) << ' ' - << float(P[curShared[i]].z()) - << nl; - } } } From e8615a3ce9adfb476703b80cc6cbcc7d81138fda Mon Sep 17 00:00:00 2001 From: Hrvoje Jasak Date: Tue, 22 May 2018 10:31:51 +0100 Subject: [PATCH 008/361] Temporary implicit block boundary conditions and porous/MRF --- .../solvers/coupled/MRFPorousFoam/UEqn.H | 78 +------------------ .../coupled/MRFPorousFoam/addBlockCoupledBC.H | 56 +++++++++++++ .../MRFPorousFoam/addImplicitMRFPorous.H | 77 ++++++++++++++++++ .../solvers/coupled/pUCoupledFoam/UEqn.H | 2 + .../coupled/pUCoupledFoam/addBlockCoupledBC.H | 56 +++++++++++++ 5 files changed, 193 insertions(+), 76 deletions(-) create mode 100644 applications/solvers/coupled/MRFPorousFoam/addBlockCoupledBC.H create mode 100644 applications/solvers/coupled/MRFPorousFoam/addImplicitMRFPorous.H create mode 100644 applications/solvers/coupled/pUCoupledFoam/addBlockCoupledBC.H diff --git a/applications/solvers/coupled/MRFPorousFoam/UEqn.H b/applications/solvers/coupled/MRFPorousFoam/UEqn.H index a189057e0..55c804f37 100644 --- a/applications/solvers/coupled/MRFPorousFoam/UEqn.H +++ b/applications/solvers/coupled/MRFPorousFoam/UEqn.H @@ -53,80 +53,6 @@ // Insert momentum equation UpEqn.insertEquation(0, UEqn); - if (addMRF || addPorosity) - { - // Manually over-ride the 3x3 block to handle the off-diagonal - // part of the Ap coefficient - const tensorField& TUIn = tTU().internalField(); - - CoeffField::squareTypeField& DD = UpEqn.diag().asSquare(); - - const scalarField& V = mesh.V().field(); - - // Note: insertion should only happen in MRF and porous cell zones - // HJ, 14/Mar/2016 - - // Warning. Possible problem with a zone which is both MRF and porous - // The solution is to do the loop below everywhere - // Currently only inserting zones for efficiency. HJ, 18/Nov/2017 - register label cellI; - - forAll (mrfZones, mrfZoneI) - { - const labelList& curZoneCells = mrfZones[mrfZoneI].zone(); - - // Loop over all cells in the zone - forAll (curZoneCells, zcI) - { - cellI = curZoneCells[zcI]; - - const scalar& cellV = V[cellI]; - - const tensor& cellTU = TUIn[cellI]; - - CoeffField::squareType& cellDD = DD[cellI]; - - cellDD(0, 0) += cellV*cellTU.xx(); - cellDD(0, 1) += cellV*cellTU.xy(); - cellDD(0, 2) += cellV*cellTU.xz(); - - cellDD(1, 0) += cellV*cellTU.yx(); - cellDD(1, 1) += cellV*cellTU.yy(); - cellDD(2, 2) += cellV*cellTU.yz(); - - cellDD(2, 0) += cellV*cellTU.zx(); - cellDD(2, 1) += cellV*cellTU.zy(); - cellDD(2, 2) += cellV*cellTU.zz(); - } - } - - forAll (pZones, pZoneI) - { - const labelList& curZoneCells = pZones[pZoneI].zone(); - - // Loop over all cells in the zone - forAll (curZoneCells, zcI) - { - cellI = curZoneCells[zcI]; - - const scalar& cellV = V[cellI]; - - const tensor& cellTU = TUIn[cellI]; - - CoeffField::squareType& cellDD = DD[cellI]; - - cellDD(0, 0) += cellV*cellTU.xx(); - cellDD(0, 1) += cellV*cellTU.xy(); - cellDD(0, 2) += cellV*cellTU.xz(); - - cellDD(1, 0) += cellV*cellTU.yx(); - cellDD(1, 1) += cellV*cellTU.yy(); - cellDD(2, 2) += cellV*cellTU.yz(); - - cellDD(2, 0) += cellV*cellTU.zx(); - cellDD(2, 1) += cellV*cellTU.zy(); - cellDD(2, 2) += cellV*cellTU.zz(); - } - } - } +# include "addImplicitMRFPorous.H" +# include "addBlockCoupledBC.H" } diff --git a/applications/solvers/coupled/MRFPorousFoam/addBlockCoupledBC.H b/applications/solvers/coupled/MRFPorousFoam/addBlockCoupledBC.H new file mode 100644 index 000000000..b80aeb90e --- /dev/null +++ b/applications/solvers/coupled/MRFPorousFoam/addBlockCoupledBC.H @@ -0,0 +1,56 @@ + // Hack block-coupled boundary conditions: due for rewrite + const volScalarField nuEff = turbulence->nuEff(); + + forAll (U.boundaryField(), patchI) + { + if (U.boundaryField()[patchI].blockCoupled()) + { + // Insert correcting fully implicit coupling coefficient + + const labelList fc = mesh.boundary()[patchI].faceCells(); + + const fvPatchVectorField& Up = U.boundaryField()[patchI]; + + // Warning: hacked for nuEff in viscosity + const scalarField nutpMagSf = + nuEff.boundaryField()[patchI]* + mesh.magSf().boundaryField()[patchI]; + + // Get boundary condition contribution to matrix diagonal + tensorField patchDiag = + -Up.blockGradientInternalCoeffs()().asSquare()*nutpMagSf; + + // Get matrix diagonal + CoeffField::squareTypeField& blockDiag = + UpEqn.diag().asSquare(); + + forAll (fc, faceI) + { + blockDiag[fc[faceI]](0, 0) += patchDiag[faceI].xx(); + blockDiag[fc[faceI]](0, 1) += patchDiag[faceI].xy(); + blockDiag[fc[faceI]](0, 2) += patchDiag[faceI].xz(); + + blockDiag[fc[faceI]](1, 0) += patchDiag[faceI].yx(); + blockDiag[fc[faceI]](1, 1) += patchDiag[faceI].yy(); + blockDiag[fc[faceI]](1, 2) += patchDiag[faceI].yz(); + + blockDiag[fc[faceI]](2, 0) += patchDiag[faceI].zx(); + blockDiag[fc[faceI]](3, 1) += patchDiag[faceI].zy(); + blockDiag[fc[faceI]](3, 2) += patchDiag[faceI].zz(); + } + + // Get boundary condition contribution to matrix source + vectorField patchSource = + -Up.blockGradientBoundaryCoeffs()*nutpMagSf; + + // Get matrix source + Field& blockSource = UpEqn.source(); + + forAll (fc, faceI) + { + blockSource[fc[faceI]](0) -= patchSource[faceI](0); + blockSource[fc[faceI]](1) -= patchSource[faceI](1); + blockSource[fc[faceI]](2) -= patchSource[faceI](2); + } + } + } diff --git a/applications/solvers/coupled/MRFPorousFoam/addImplicitMRFPorous.H b/applications/solvers/coupled/MRFPorousFoam/addImplicitMRFPorous.H new file mode 100644 index 000000000..5ba812f51 --- /dev/null +++ b/applications/solvers/coupled/MRFPorousFoam/addImplicitMRFPorous.H @@ -0,0 +1,77 @@ + + if (addMRF || addPorosity) + { + // Manually over-ride the 3x3 block to handle the off-diagonal + // part of the Ap coefficient + const tensorField& TUIn = tTU().internalField(); + + CoeffField::squareTypeField& DD = UpEqn.diag().asSquare(); + + const scalarField& V = mesh.V().field(); + + // Note: insertion should only happen in MRF and porous cell zones + // HJ, 14/Mar/2016 + + // Warning. Possible problem with a zone which is both MRF and porous + // The solution is to do the loop below everywhere + // Currently only inserting zones for efficiency. HJ, 18/Nov/2017 + register label cellI; + + forAll (mrfZones, mrfZoneI) + { + const labelList& curZoneCells = mrfZones[mrfZoneI].zone(); + + // Loop over all cells in the zone + forAll (curZoneCells, zcI) + { + cellI = curZoneCells[zcI]; + + const scalar& cellV = V[cellI]; + + const tensor& cellTU = TUIn[cellI]; + + CoeffField::squareType& cellDD = DD[cellI]; + + cellDD(0, 0) += cellV*cellTU.xx(); + cellDD(0, 1) += cellV*cellTU.xy(); + cellDD(0, 2) += cellV*cellTU.xz(); + + cellDD(1, 0) += cellV*cellTU.yx(); + cellDD(1, 1) += cellV*cellTU.yy(); + cellDD(2, 2) += cellV*cellTU.yz(); + + cellDD(2, 0) += cellV*cellTU.zx(); + cellDD(2, 1) += cellV*cellTU.zy(); + cellDD(2, 2) += cellV*cellTU.zz(); + } + } + + forAll (pZones, pZoneI) + { + const labelList& curZoneCells = pZones[pZoneI].zone(); + + // Loop over all cells in the zone + forAll (curZoneCells, zcI) + { + cellI = curZoneCells[zcI]; + + const scalar& cellV = V[cellI]; + + const tensor& cellTU = TUIn[cellI]; + + CoeffField::squareType& cellDD = DD[cellI]; + + cellDD(0, 0) += cellV*cellTU.xx(); + cellDD(0, 1) += cellV*cellTU.xy(); + cellDD(0, 2) += cellV*cellTU.xz(); + + cellDD(1, 0) += cellV*cellTU.yx(); + cellDD(1, 1) += cellV*cellTU.yy(); + cellDD(2, 2) += cellV*cellTU.yz(); + + cellDD(2, 0) += cellV*cellTU.zx(); + cellDD(2, 1) += cellV*cellTU.zy(); + cellDD(2, 2) += cellV*cellTU.zz(); + } + } + } diff --git a/applications/solvers/coupled/pUCoupledFoam/UEqn.H b/applications/solvers/coupled/pUCoupledFoam/UEqn.H index e1535831e..3e9907023 100644 --- a/applications/solvers/coupled/pUCoupledFoam/UEqn.H +++ b/applications/solvers/coupled/pUCoupledFoam/UEqn.H @@ -12,4 +12,6 @@ UEqn.relax(); UpEqn.insertEquation(0, UEqn); + +# include "addBlockCoupledBC.H" } diff --git a/applications/solvers/coupled/pUCoupledFoam/addBlockCoupledBC.H b/applications/solvers/coupled/pUCoupledFoam/addBlockCoupledBC.H new file mode 100644 index 000000000..b80aeb90e --- /dev/null +++ b/applications/solvers/coupled/pUCoupledFoam/addBlockCoupledBC.H @@ -0,0 +1,56 @@ + // Hack block-coupled boundary conditions: due for rewrite + const volScalarField nuEff = turbulence->nuEff(); + + forAll (U.boundaryField(), patchI) + { + if (U.boundaryField()[patchI].blockCoupled()) + { + // Insert correcting fully implicit coupling coefficient + + const labelList fc = mesh.boundary()[patchI].faceCells(); + + const fvPatchVectorField& Up = U.boundaryField()[patchI]; + + // Warning: hacked for nuEff in viscosity + const scalarField nutpMagSf = + nuEff.boundaryField()[patchI]* + mesh.magSf().boundaryField()[patchI]; + + // Get boundary condition contribution to matrix diagonal + tensorField patchDiag = + -Up.blockGradientInternalCoeffs()().asSquare()*nutpMagSf; + + // Get matrix diagonal + CoeffField::squareTypeField& blockDiag = + UpEqn.diag().asSquare(); + + forAll (fc, faceI) + { + blockDiag[fc[faceI]](0, 0) += patchDiag[faceI].xx(); + blockDiag[fc[faceI]](0, 1) += patchDiag[faceI].xy(); + blockDiag[fc[faceI]](0, 2) += patchDiag[faceI].xz(); + + blockDiag[fc[faceI]](1, 0) += patchDiag[faceI].yx(); + blockDiag[fc[faceI]](1, 1) += patchDiag[faceI].yy(); + blockDiag[fc[faceI]](1, 2) += patchDiag[faceI].yz(); + + blockDiag[fc[faceI]](2, 0) += patchDiag[faceI].zx(); + blockDiag[fc[faceI]](3, 1) += patchDiag[faceI].zy(); + blockDiag[fc[faceI]](3, 2) += patchDiag[faceI].zz(); + } + + // Get boundary condition contribution to matrix source + vectorField patchSource = + -Up.blockGradientBoundaryCoeffs()*nutpMagSf; + + // Get matrix source + Field& blockSource = UpEqn.source(); + + forAll (fc, faceI) + { + blockSource[fc[faceI]](0) -= patchSource[faceI](0); + blockSource[fc[faceI]](1) -= patchSource[faceI](1); + blockSource[fc[faceI]](2) -= patchSource[faceI](2); + } + } + } From 28a3c54b9bfcbf846d3d5b581171322bd9047584 Mon Sep 17 00:00:00 2001 From: Hrvoje Jasak Date: Tue, 22 May 2018 11:53:22 +0100 Subject: [PATCH 009/361] Added block-coupled form of symmetry plane --- src/finiteVolume/Make/files | 2 + .../blockSymmPlaneFvPatchVectorField.C | 208 ++++++++++++++++++ .../blockSymmPlaneFvPatchVectorField.H | 202 +++++++++++++++++ 3 files changed, 412 insertions(+) create mode 100644 src/finiteVolume/fields/fvPatchFields/derived/blockSymmPlane/blockSymmPlaneFvPatchVectorField.C create mode 100644 src/finiteVolume/fields/fvPatchFields/derived/blockSymmPlane/blockSymmPlaneFvPatchVectorField.H diff --git a/src/finiteVolume/Make/files b/src/finiteVolume/Make/files index 33e3bb31d..dbc7cacd5 100644 --- a/src/finiteVolume/Make/files +++ b/src/finiteVolume/Make/files @@ -188,6 +188,8 @@ $(derivedFvPatchFields)/waveTransmissiveInlet/waveTransmissiveInletFvPatchFields $(derivedFvPatchFields)/noSlipWall/noSlipWallFvPatchVectorField.C $(derivedFvPatchFields)/noSlipMovingWall/noSlipMovingWallFvPatchVectorField.C +$(derivedFvPatchFields)/blockSymmPlane/blockSymmPlaneFvPatchVectorField.C + fvsPatchFields = fields/fvsPatchFields $(fvsPatchFields)/fvsPatchField/fvsPatchFields.C diff --git a/src/finiteVolume/fields/fvPatchFields/derived/blockSymmPlane/blockSymmPlaneFvPatchVectorField.C b/src/finiteVolume/fields/fvPatchFields/derived/blockSymmPlane/blockSymmPlaneFvPatchVectorField.C new file mode 100644 index 000000000..659f91dfb --- /dev/null +++ b/src/finiteVolume/fields/fvPatchFields/derived/blockSymmPlane/blockSymmPlaneFvPatchVectorField.C @@ -0,0 +1,208 @@ +/*---------------------------------------------------------------------------*\ + ========= | + \\ / F ield | foam-extend: Open Source CFD + \\ / O peration | Version: 3.2 + \\ / A nd | Web: http://www.foam-extend.org + \\/ M anipulation | For copyright notice see file Copyright +------------------------------------------------------------------------------- +License + This file is part of foam-extend. + + foam-extend 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 3 of the License, or (at your + option) any later version. + + foam-extend 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 foam-extend. If not, see . + +\*---------------------------------------------------------------------------*/ + +#include "blockSymmPlaneFvPatchVectorField.H" +#include "addToRunTimeSelectionTable.H" +#include "fvPatchFieldMapper.H" +#include "volFields.H" + +// * * * * * * * * * * * * * * * * Constructors * * * * * * * * * * * * * * // + +Foam::blockSymmPlaneFvPatchVectorField::blockSymmPlaneFvPatchVectorField +( + const fvPatch& p, + const DimensionedField& iF +) +: + basicSymmetryFvPatchVectorField(p, iF) +{} + + +Foam::blockSymmPlaneFvPatchVectorField::blockSymmPlaneFvPatchVectorField +( + const fvPatch& p, + const DimensionedField& iF, + const dictionary& dict +) +: + basicSymmetryFvPatchVectorField(p, iF, dict) +{} + + +Foam::blockSymmPlaneFvPatchVectorField::blockSymmPlaneFvPatchVectorField +( + const blockSymmPlaneFvPatchVectorField& ptf, + const fvPatch& p, + const DimensionedField& iF, + const fvPatchFieldMapper& mapper +) +: + basicSymmetryFvPatchVectorField(ptf, p, iF, mapper) +{} + + +Foam::blockSymmPlaneFvPatchVectorField::blockSymmPlaneFvPatchVectorField +( + const blockSymmPlaneFvPatchVectorField& ptf +) +: + basicSymmetryFvPatchVectorField(ptf) +{} + + +Foam::blockSymmPlaneFvPatchVectorField::blockSymmPlaneFvPatchVectorField +( + const blockSymmPlaneFvPatchVectorField& ptf, + const DimensionedField& iF +) +: + basicSymmetryFvPatchVectorField(ptf, iF) +{} + + +// * * * * * * * * * * * * * * * Member Functions * * * * * * * * * * * * * // + +// Disabled: see coupled coefficient +Foam::tmp +Foam::blockSymmPlaneFvPatchVectorField::valueInternalCoeffs +( + const tmp& +) const +{ + return tmp(new vectorField(this->size(), vector::zero)); +} + + +// Disabled: see coupled coefficient +Foam::tmp +Foam::blockSymmPlaneFvPatchVectorField::valueBoundaryCoeffs +( + const tmp& +) const +{ + return tmp(new vectorField(this->size(), vector::zero)); +} + + +// Disabled: see coupled coefficient +Foam::tmp +Foam::blockSymmPlaneFvPatchVectorField::gradientInternalCoeffs() const +{ + return tmp(new vectorField(this->size(), vector::zero)); +} + + +// Disabled: see coupled coefficient +Foam::tmp +Foam::blockSymmPlaneFvPatchVectorField::gradientBoundaryCoeffs() const +{ + return tmp(new vectorField(this->size(), vector::zero)); +} + + +// Coupled coefficient +Foam::tmp +Foam::blockSymmPlaneFvPatchVectorField::blockValueInternalCoeffs +( + const tmp& +) const +{ + tmp tcoeff + ( + new vectorCoeffField(this->size()) + ); + + tcoeff().asSquare() = I - this->patch().nf()*this->patch().nf(); + + return tcoeff; +} + + +// Coupled coefficient +Foam::tmp +Foam::blockSymmPlaneFvPatchVectorField::blockValueBoundaryCoeffs +( + const tmp& +) const +{ + return + *this + - transform + ( + I - sqr(this->patch().nf()), + this->patchInternalField() + ); +} + + +// Coupled coefficient +Foam::tmp +Foam::blockSymmPlaneFvPatchVectorField::blockGradientInternalCoeffs() const +{ + tmp tcoeff + ( + new vectorCoeffField(this->size()) + ); + + tcoeff().asSquare() = + -this->patch().deltaCoeffs()*this->patch().nf()*this->patch().nf(); + + return tcoeff; +} + + +// Coupled coefficient +Foam::tmp +Foam::blockSymmPlaneFvPatchVectorField::blockGradientBoundaryCoeffs() const +{ + return + ( + sqr(this->patch().nf()) + & ( + this->snGrad() + - transform + ( + -this->patch().deltaCoeffs()*sqr(this->patch().nf()), + this->patchInternalField() + ) + ) + ); +} + + +// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // + +namespace Foam +{ + +makePatchTypeField +( + fvPatchVectorField, + blockSymmPlaneFvPatchVectorField +); + +} // End namespace Foam + +// ************************************************************************* // diff --git a/src/finiteVolume/fields/fvPatchFields/derived/blockSymmPlane/blockSymmPlaneFvPatchVectorField.H b/src/finiteVolume/fields/fvPatchFields/derived/blockSymmPlane/blockSymmPlaneFvPatchVectorField.H new file mode 100644 index 000000000..365d5959b --- /dev/null +++ b/src/finiteVolume/fields/fvPatchFields/derived/blockSymmPlane/blockSymmPlaneFvPatchVectorField.H @@ -0,0 +1,202 @@ +/*---------------------------------------------------------------------------*\ + ========= | + \\ / F ield | foam-extend: Open Source CFD + \\ / O peration | Version: 3.2 + \\ / A nd | Web: http://www.foam-extend.org + \\/ M anipulation | For copyright notice see file Copyright +------------------------------------------------------------------------------- +License + This file is part of foam-extend. + + foam-extend 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 3 of the License, or (at your + option) any later version. + + foam-extend 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 foam-extend. If not, see . + +Class + Foam::blockSymmPlaneFvPatchVectorField + +Description + Block-coupled symmetry plane. Experimental + +Author + Hrvoje Jasak, Wikki Ltd, All rights reserved + +SourceFiles + blockSymmPlaneFvPatchVectorField.C + +\*---------------------------------------------------------------------------*/ + +#ifndef blockSymmPlaneFvPatchVectorField_H +#define blockSymmPlaneFvPatchVectorField_H + +#include "fvPatchFields.H" +#include "basicSymmetryFvPatchFields.H" + +// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // + +namespace Foam +{ + +/*---------------------------------------------------------------------------*\ + Class blockSymmPlaneFvPatchVectorField Declaration +\*---------------------------------------------------------------------------*/ + +class blockSymmPlaneFvPatchVectorField +: + public basicSymmetryFvPatchVectorField +{ +public: + + //- Runtime type information + TypeName("blockSymmPlane"); + + + // Constructors + + //- Construct from patch and internal field + blockSymmPlaneFvPatchVectorField + ( + const fvPatch&, + const DimensionedField& + ); + + //- Construct from patch, internal field and dictionary + blockSymmPlaneFvPatchVectorField + ( + const fvPatch&, + const DimensionedField&, + const dictionary& + ); + + //- Construct by mapping given + // blockSymmPlaneFvPatchVectorField onto a new patch + blockSymmPlaneFvPatchVectorField + ( + const blockSymmPlaneFvPatchVectorField&, + const fvPatch&, + const DimensionedField&, + const fvPatchFieldMapper& + ); + + //- Construct as copy + blockSymmPlaneFvPatchVectorField + ( + const blockSymmPlaneFvPatchVectorField& + ); + + //- Construct and return a clone + virtual tmp clone() const + { + return tmp + ( + new blockSymmPlaneFvPatchVectorField(*this) + ); + } + + //- Construct as copy setting internal field reference + blockSymmPlaneFvPatchVectorField + ( + const blockSymmPlaneFvPatchVectorField&, + const DimensionedField& + ); + + //- Construct and return a clone setting internal field reference + virtual tmp clone + ( + const DimensionedField& iF + ) const + { + return tmp + ( + new blockSymmPlaneFvPatchVectorField(*this, iF) + ); + } + + + // Member functions + + // Access + + //- Return true if this patch field is block-coupled in the + // boundary condition, ie. if the coupling coefficient is a + // rank x rank implicit block + virtual bool blockCoupled() const + { + return true; + } + + + // Evaluation functions + + //- Return the matrix diagonal coefficients corresponding to the + // evaluation of the value of this patchField with given weights + // Disabled. HJ, 28/Mar/2016 + virtual tmp valueInternalCoeffs + ( + const tmp& + ) const; + + //- Return the matrix source coefficients corresponding to the + // evaluation of the value of this patchField with given weights + // Disabled. HJ, 28/Mar/2016 + virtual tmp valueBoundaryCoeffs + ( + const tmp& + ) const; + + //- Return the matrix diagonal coefficients corresponding to the + // evaluation of the gradient of this patchField + // Disabled. HJ, 28/Mar/2016 + virtual tmp gradientInternalCoeffs() const; + + //- Return the matrix source coefficients corresponding to the + // evaluation of the gradient of this patchField + // Disabled. HJ, 28/Mar/2016 + virtual tmp gradientBoundaryCoeffs() const; + + + // Block-coupled coefficients + + //- Return the matrix diagonal coefficients corresponding to the + // evaluation of the value of this patchField with given weights + virtual tmp blockValueInternalCoeffs + ( + const tmp& + ) const; + + //- Return the matrix source coefficients corresponding to the + // evaluation of the value of this patchField with given weights + virtual tmp blockValueBoundaryCoeffs + ( + const tmp& + ) const; + + //- Return the matrix diagonal coefficients corresponding to the + // evaluation of the gradient of this patchField + virtual tmp + blockGradientInternalCoeffs() const; + + //- Return the matrix source coefficients corresponding to the + // evaluation of the gradient of this patchField + virtual tmp blockGradientBoundaryCoeffs() const; +}; + + +// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // + +} // End namespace Foam + +// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // + +#endif + +// ************************************************************************* // From a636a796420c6e98465085344c5298e64cc93c02 Mon Sep 17 00:00:00 2001 From: Hrvoje Jasak Date: Wed, 23 May 2018 12:34:56 +0100 Subject: [PATCH 010/361] Fixing shared points bug: too many points detected --- .../finiteVolume/sharedPoints.C | 100 ++++++++++++++---- 1 file changed, 78 insertions(+), 22 deletions(-) diff --git a/src/decompositionMethods/decomposeReconstruct/reconstructTools/finiteVolume/sharedPoints.C b/src/decompositionMethods/decomposeReconstruct/reconstructTools/finiteVolume/sharedPoints.C index 74b84c8a9..c0bbd7ef9 100644 --- a/src/decompositionMethods/decomposeReconstruct/reconstructTools/finiteVolume/sharedPoints.C +++ b/src/decompositionMethods/decomposeReconstruct/reconstructTools/finiteVolume/sharedPoints.C @@ -242,10 +242,10 @@ void Foam::sharedPoints::calcSharedPoints() // Get neighbour mesh points const labelList& nbrMeshPoints = nbrPatch.meshPoints(); - + // Get neighbour local faces const faceList& nbrLocalFaces = nbrPatch.localFaces(); - + labelList& nbrMarkedPoints = markedPoints[nbrProcID]; // Note: @@ -259,7 +259,7 @@ void Foam::sharedPoints::calcSharedPoints() // Reverse neighbour face (copy) const face nbrFace = nbrLocalFaces[faceI].reverseFace(); - + forAll (curFace, fpI) { const label patchMpI = @@ -270,24 +270,19 @@ void Foam::sharedPoints::calcSharedPoints() if ( - curMarkedPoints[patchMpI] > 1 - && nbrMarkedPoints[nbrMpI] <= 1 + curMarkedPoints[patchMpI] + != nbrMarkedPoints[nbrMpI] ) { - nbrMarkedPoints[nbrMpI] = - curMarkedPoints[patchMpI]; - - nSynced++; - } - - if - ( - curMarkedPoints[patchMpI] <= 1 - && nbrMarkedPoints[nbrMpI] > 1 - ) - { - curMarkedPoints[patchMpI] = - nbrMarkedPoints[nbrMpI]; + const label maxMark = + Foam::max + ( + curMarkedPoints[patchMpI], + nbrMarkedPoints[nbrMpI] + ); + + nbrMarkedPoints[nbrMpI] = maxMark; + curMarkedPoints[patchMpI] = maxMark; nSynced++; } @@ -313,7 +308,7 @@ void Foam::sharedPoints::calcSharedPoints() forAll (curMarkedPoints, pointI) { - if (curMarkedPoints[pointI] > 1) + if (curMarkedPoints[pointI] > 2) { nShared++; } @@ -327,7 +322,7 @@ void Foam::sharedPoints::calcSharedPoints() forAll (curMarkedPoints, pointI) { - if (curMarkedPoints[pointI] > 1) + if (curMarkedPoints[pointI] > 2) { curShared[nShared] = pointI; nShared++; @@ -419,7 +414,7 @@ void Foam::sharedPoints::calcSharedPoints() // Get neighbour local faces const faceList& nbrLocalFaces = nbrPatch.localFaces(); - + // Note: // Cannot loop over mesh points because they are sorted // Use face loops as they are synchronised @@ -453,6 +448,67 @@ void Foam::sharedPoints::calcSharedPoints() } } } + + // debug + { + Info<< "nGlobalPoints_: " << nGlobalPoints_ << endl; + pointField gp(nGlobalPoints_); + boolList gpSet(nGlobalPoints_, false); + + forAll (meshes_, meshI) + { + if (meshes_.set(meshI)) + { + // Get points + const pointField& P = meshes_[meshI].points(); + + // Get list of local point labels that are globally shared + const labelList& curShared = sharedPointLabels_[meshI]; + + // Get index in global point list + const labelList& curAddr = sharedPointAddr_[meshI]; + + // Loop through all local points + forAll (curShared, i) + { + if (!gpSet[curAddr[i]]) + { + // Point not set: set it + gp[curAddr[i]] = P[curShared[i]]; + gpSet[curAddr[i]] = true; + } + else + { + // Point already set: check location + if (mag(gp[curAddr[i]] - P[curShared[i]]) > SMALL) + { + Info<< "MERGE MISMATCH: mesh" << meshI + << " point: " << curShared[i] + << " dist: " << gp[curAddr[i]] << " " + << P[curShared[i]] + << endl; + } + } + } + } + } + + // Grab marked points + OFstream ppp("points.vtk"); + ppp << "# vtk DataFile Version 2.0" << nl + << "points.vtk" << nl + << "ASCII" << nl + << "DATASET POLYDATA" << nl + << "POINTS " << nGlobalPoints_ << " float" << nl; + + forAll (gp, i) + { + ppp << float(gp[i].x()) << ' ' + << float(gp[i].y()) << ' ' + << float(gp[i].z()) + << nl; + } + } } From 1be2b28a4b94b209ef3480226aca459637127670 Mon Sep 17 00:00:00 2001 From: Henrik Rusche Date: Thu, 23 Feb 2017 09:49:59 +0100 Subject: [PATCH 011/361] Removed duplicate library / utility --- .../extrudeMesh/extrudeModel/Make/files | 10 -- .../extrudeMesh/extrudeModel/Make/options | 9 -- .../extrudeModel/extrudeModel/extrudeModel.C | 65 --------- .../extrudeModel/extrudeModel/extrudeModel.H | 135 ------------------ .../extrudeModel/newExtrudeModel.C | 58 -------- .../extrudeModel/linearNormal/linearNormal.C | 85 ----------- .../extrudeModel/linearNormal/linearNormal.H | 95 ------------ .../extrudeModel/linearRadial/linearRadial.C | 81 ----------- .../extrudeModel/linearRadial/linearRadial.H | 92 ------------ .../extrudeModel/sigmaRadial/sigmaRadial.C | 86 ----------- .../extrudeModel/sigmaRadial/sigmaRadial.H | 94 ------------ .../extrudeMesh/extrudeModel/wedge/wedge.C | 126 ---------------- .../extrudeMesh/extrudeModel/wedge/wedge.H | 107 -------------- .../patchStressIntegrate/Make/files | 3 - .../patchStressIntegrate/Make/options | 7 - .../patchStressIntegrate.C | 95 ------------ 16 files changed, 1148 deletions(-) delete mode 100644 applications/utilities/mesh/generation/extrudeMesh/extrudeModel/Make/files delete mode 100644 applications/utilities/mesh/generation/extrudeMesh/extrudeModel/Make/options delete mode 100644 applications/utilities/mesh/generation/extrudeMesh/extrudeModel/extrudeModel/extrudeModel.C delete mode 100644 applications/utilities/mesh/generation/extrudeMesh/extrudeModel/extrudeModel/extrudeModel.H delete mode 100644 applications/utilities/mesh/generation/extrudeMesh/extrudeModel/extrudeModel/newExtrudeModel.C delete mode 100644 applications/utilities/mesh/generation/extrudeMesh/extrudeModel/linearNormal/linearNormal.C delete mode 100644 applications/utilities/mesh/generation/extrudeMesh/extrudeModel/linearNormal/linearNormal.H delete mode 100644 applications/utilities/mesh/generation/extrudeMesh/extrudeModel/linearRadial/linearRadial.C delete mode 100644 applications/utilities/mesh/generation/extrudeMesh/extrudeModel/linearRadial/linearRadial.H delete mode 100644 applications/utilities/mesh/generation/extrudeMesh/extrudeModel/sigmaRadial/sigmaRadial.C delete mode 100644 applications/utilities/mesh/generation/extrudeMesh/extrudeModel/sigmaRadial/sigmaRadial.H delete mode 100644 applications/utilities/mesh/generation/extrudeMesh/extrudeModel/wedge/wedge.C delete mode 100644 applications/utilities/mesh/generation/extrudeMesh/extrudeModel/wedge/wedge.H delete mode 100644 applications/utilities/solidMechanics/patchStressIntegrate/Make/files delete mode 100644 applications/utilities/solidMechanics/patchStressIntegrate/Make/options delete mode 100644 applications/utilities/solidMechanics/patchStressIntegrate/patchStressIntegrate.C diff --git a/applications/utilities/mesh/generation/extrudeMesh/extrudeModel/Make/files b/applications/utilities/mesh/generation/extrudeMesh/extrudeModel/Make/files deleted file mode 100644 index abcfb8261..000000000 --- a/applications/utilities/mesh/generation/extrudeMesh/extrudeModel/Make/files +++ /dev/null @@ -1,10 +0,0 @@ -extrudeModel/extrudeModel.C -extrudeModel/newExtrudeModel.C -linearNormal/linearNormal.C -linearRadial/linearRadial.C -sigmaRadial/sigmaRadial.C -wedge/wedge.C -gradedNormal/gradedNormal.C - -LIB = $(FOAM_LIBBIN)/libextrudeModel - diff --git a/applications/utilities/mesh/generation/extrudeMesh/extrudeModel/Make/options b/applications/utilities/mesh/generation/extrudeMesh/extrudeModel/Make/options deleted file mode 100644 index afc486fed..000000000 --- a/applications/utilities/mesh/generation/extrudeMesh/extrudeModel/Make/options +++ /dev/null @@ -1,9 +0,0 @@ -EXE_INC = \ - -I$(LIB_SRC)/meshTools/lnInclude \ - -I$(LIB_SRC)/dynamicMesh/lnInclude \ - -I$(LIB_SRC)/ODE/lnInclude - -EXE_LIBS = \ - -lmeshTools \ - -ldynamicMesh \ - -lODE diff --git a/applications/utilities/mesh/generation/extrudeMesh/extrudeModel/extrudeModel/extrudeModel.C b/applications/utilities/mesh/generation/extrudeMesh/extrudeModel/extrudeModel/extrudeModel.C deleted file mode 100644 index af0bf0788..000000000 --- a/applications/utilities/mesh/generation/extrudeMesh/extrudeModel/extrudeModel/extrudeModel.C +++ /dev/null @@ -1,65 +0,0 @@ -/*---------------------------------------------------------------------------*\ - ========= | - \\ / F ield | foam-extend: Open Source CFD - \\ / O peration | Version: 4.0 - \\ / A nd | Web: http://www.foam-extend.org - \\/ M anipulation | For copyright notice see file Copyright -------------------------------------------------------------------------------- -License - This file is part of foam-extend. - - foam-extend 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 3 of the License, or (at your - option) any later version. - - foam-extend 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 foam-extend. If not, see . - -\*---------------------------------------------------------------------------*/ - -#include "extrudeModel.H" - -// * * * * * * * * * * * * * * Static Data Members * * * * * * * * * * * * * // - -namespace Foam -{ - defineTypeNameAndDebug(extrudeModel, 0); - defineRunTimeSelectionTable(extrudeModel, dictionary); -} - -// * * * * * * * * * * * * * * * * Constructors * * * * * * * * * * * * * * // - -Foam::extrudeModel::extrudeModel -( - const word& modelType, - const dictionary& dict -) -: - nLayers_(readLabel(dict.lookup("nLayers"))), - dict_(dict), - coeffDict_(dict.subDict(modelType + "Coeffs")) -{} - - -// * * * * * * * * * * * * * * * * Destructor * * * * * * * * * * * * * * * // - -Foam::extrudeModel::~extrudeModel() -{} - - -// * * * * * * * * * * * * * * * Member Functions * * * * * * * * * * * * * // - -Foam::label Foam::extrudeModel::nLayers() const -{ - return nLayers_; -} - - -// ************************************************************************* // - diff --git a/applications/utilities/mesh/generation/extrudeMesh/extrudeModel/extrudeModel/extrudeModel.H b/applications/utilities/mesh/generation/extrudeMesh/extrudeModel/extrudeModel/extrudeModel.H deleted file mode 100644 index 4dec4e7a5..000000000 --- a/applications/utilities/mesh/generation/extrudeMesh/extrudeModel/extrudeModel/extrudeModel.H +++ /dev/null @@ -1,135 +0,0 @@ -/*---------------------------------------------------------------------------*\ - ========= | - \\ / F ield | foam-extend: Open Source CFD - \\ / O peration | Version: 4.0 - \\ / A nd | Web: http://www.foam-extend.org - \\/ M anipulation | For copyright notice see file Copyright -------------------------------------------------------------------------------- -License - This file is part of foam-extend. - - foam-extend 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 3 of the License, or (at your - option) any later version. - - foam-extend 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 foam-extend. If not, see . - -Class - Foam::extrudeModel - -Description - Top level extrusion model class - -SourceFiles - extrudeModel.C - -\*---------------------------------------------------------------------------*/ - -#ifndef extrudeModel_H -#define extrudeModel_H - -#include "dictionary.H" -#include "point.H" -#include "autoPtr.H" -#include "runTimeSelectionTables.H" - -// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // - -namespace Foam -{ - -/*---------------------------------------------------------------------------*\ - Class extrudeModel Declaration -\*---------------------------------------------------------------------------*/ - -class extrudeModel -{ -protected: - - // Protected data - - const label nLayers_; - - const dictionary& dict_; - - const dictionary& coeffDict_; - - - // Private Member Functions - - //- Disallow default bitwise copy construct - extrudeModel(const extrudeModel&); - - //- Disallow default bitwise assignment - void operator=(const extrudeModel&); - - -public: - - //- Runtime type information - TypeName("extrudeModel"); - - //- Declare runtime constructor selection table - - declareRunTimeSelectionTable - ( - autoPtr, - extrudeModel, - dictionary, - ( - const dictionary& dict - ), - (dict) - ); - - - // Constructors - - //- Construct from dictionary - extrudeModel(const word& modelType, const dictionary&); - - - // Selectors - - //- Select null constructed - static autoPtr New(const dictionary&); - - - //- Destructor - virtual ~extrudeModel(); - - - // Member Functions - - // Access - - label nLayers() const; - - - // Member Operators - - virtual point operator() - ( - const point& surfacePoint, - const vector& surfaceNormal, - const label layer - ) const = 0; -}; - - -// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // - -} // End namespace Foam - -// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // - -#endif - -// ************************************************************************* // diff --git a/applications/utilities/mesh/generation/extrudeMesh/extrudeModel/extrudeModel/newExtrudeModel.C b/applications/utilities/mesh/generation/extrudeMesh/extrudeModel/extrudeModel/newExtrudeModel.C deleted file mode 100644 index 687692a9b..000000000 --- a/applications/utilities/mesh/generation/extrudeMesh/extrudeModel/extrudeModel/newExtrudeModel.C +++ /dev/null @@ -1,58 +0,0 @@ -/*---------------------------------------------------------------------------*\ - ========= | - \\ / F ield | foam-extend: Open Source CFD - \\ / O peration | Version: 4.0 - \\ / A nd | Web: http://www.foam-extend.org - \\/ M anipulation | For copyright notice see file Copyright -------------------------------------------------------------------------------- -License - This file is part of foam-extend. - - foam-extend 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 3 of the License, or (at your - option) any later version. - - foam-extend 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 foam-extend. If not, see . - -\*---------------------------------------------------------------------------*/ - -#include "extrudeModel.H" - -// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // - -Foam::autoPtr Foam::extrudeModel::New -( - const dictionary& dict -) -{ - word extrudeModelType(dict.lookup("extrudeModel")); - - Info<< "Selecting extrudeModel " << extrudeModelType << endl; - - dictionaryConstructorTable::iterator cstrIter = - dictionaryConstructorTablePtr_->find(extrudeModelType); - - if (cstrIter == dictionaryConstructorTablePtr_->end()) - { - FatalErrorIn("extrudeModel::New(const dictionary&)") - << "Unknown extrudeModelType type " - << extrudeModelType - << ", constructor not in hash table" << nl << nl - << " Valid extrudeModel types are :" << nl - << dictionaryConstructorTablePtr_->toc() << nl - << exit(FatalError); - } - - return autoPtr(cstrIter()(dict)); -} - - -// ************************************************************************* // - diff --git a/applications/utilities/mesh/generation/extrudeMesh/extrudeModel/linearNormal/linearNormal.C b/applications/utilities/mesh/generation/extrudeMesh/extrudeModel/linearNormal/linearNormal.C deleted file mode 100644 index fe89bfb84..000000000 --- a/applications/utilities/mesh/generation/extrudeMesh/extrudeModel/linearNormal/linearNormal.C +++ /dev/null @@ -1,85 +0,0 @@ -/*---------------------------------------------------------------------------*\ - ========= | - \\ / F ield | foam-extend: Open Source CFD - \\ / O peration | Version: 4.0 - \\ / A nd | Web: http://www.foam-extend.org - \\/ M anipulation | For copyright notice see file Copyright -------------------------------------------------------------------------------- -License - This file is part of foam-extend. - - foam-extend 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 3 of the License, or (at your - option) any later version. - - foam-extend 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 foam-extend. If not, see . - -\*---------------------------------------------------------------------------*/ - -#include "linearNormal.H" -#include "addToRunTimeSelectionTable.H" - -// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // - -namespace Foam -{ -namespace extrudeModels -{ - -// * * * * * * * * * * * * * * Static Data Members * * * * * * * * * * * * * // - -defineTypeNameAndDebug(linearNormal, 0); - -addToRunTimeSelectionTable(extrudeModel, linearNormal, dictionary); - - -// * * * * * * * * * * * * * * * * Constructors * * * * * * * * * * * * * * // - -linearNormal::linearNormal(const dictionary& dict) -: - extrudeModel(typeName, dict), - thickness_(readScalar(coeffDict_.lookup("thickness"))) -{ - if (thickness_ <= SMALL) - { - FatalErrorIn("linearNormal(const dictionary&)") - << "thickness should be positive : " << thickness_ - << exit(FatalError); - } -} - - -// * * * * * * * * * * * * * * * * Destructor * * * * * * * * * * * * * * * // - -linearNormal::~linearNormal() -{} - - -// * * * * * * * * * * * * * * * * Operators * * * * * * * * * * * * * * * * // - -point linearNormal::operator() -( - const point& surfacePoint, - const vector& surfaceNormal, - const label layer -) const -{ - scalar d = thickness_*layer/nLayers_; - return surfacePoint + d*surfaceNormal; -} - - -// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // - -} // End namespace extrudeModels -} // End namespace Foam - -// ************************************************************************* // - diff --git a/applications/utilities/mesh/generation/extrudeMesh/extrudeModel/linearNormal/linearNormal.H b/applications/utilities/mesh/generation/extrudeMesh/extrudeModel/linearNormal/linearNormal.H deleted file mode 100644 index 31946c768..000000000 --- a/applications/utilities/mesh/generation/extrudeMesh/extrudeModel/linearNormal/linearNormal.H +++ /dev/null @@ -1,95 +0,0 @@ -/*---------------------------------------------------------------------------*\ - ========= | - \\ / F ield | foam-extend: Open Source CFD - \\ / O peration | Version: 4.0 - \\ / A nd | Web: http://www.foam-extend.org - \\/ M anipulation | For copyright notice see file Copyright -------------------------------------------------------------------------------- -License - This file is part of foam-extend. - - foam-extend 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 3 of the License, or (at your - option) any later version. - - foam-extend 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 foam-extend. If not, see . - -Class - Foam::extrudeModels::linearNormal - -Description - Extrudes by transforming points normal to the surface by a given distance - -\*---------------------------------------------------------------------------*/ - -#ifndef linearNormal_H -#define linearNormal_H - -#include "point.H" -#include "extrudeModel.H" - -// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // - -namespace Foam -{ -namespace extrudeModels -{ - -/*---------------------------------------------------------------------------*\ - Class linearNormal Declaration -\*---------------------------------------------------------------------------*/ - -class linearNormal -: - public extrudeModel -{ - // Private data - - //- layer thickness - scalar thickness_; - - -public: - - //- Runtime type information - TypeName("linearNormal"); - - // Constructors - - //- Construct from components - linearNormal(const dictionary& dict); - - - //- Destructor - ~linearNormal(); - - - // Member Operators - - point operator() - ( - const point& surfacePoint, - const vector& surfaceNormal, - const label layer - ) const; -}; - - -// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // - -} // End namespace extrudeModels -} // End namespace Foam - -// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // - -#endif - -// ************************************************************************* // - diff --git a/applications/utilities/mesh/generation/extrudeMesh/extrudeModel/linearRadial/linearRadial.C b/applications/utilities/mesh/generation/extrudeMesh/extrudeModel/linearRadial/linearRadial.C deleted file mode 100644 index 4056c6b7e..000000000 --- a/applications/utilities/mesh/generation/extrudeMesh/extrudeModel/linearRadial/linearRadial.C +++ /dev/null @@ -1,81 +0,0 @@ -/*---------------------------------------------------------------------------*\ - ========= | - \\ / F ield | foam-extend: Open Source CFD - \\ / O peration | Version: 4.0 - \\ / A nd | Web: http://www.foam-extend.org - \\/ M anipulation | For copyright notice see file Copyright -------------------------------------------------------------------------------- -License - This file is part of foam-extend. - - foam-extend 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 3 of the License, or (at your - option) any later version. - - foam-extend 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 foam-extend. If not, see . - -\*---------------------------------------------------------------------------*/ - -#include "linearRadial.H" -#include "addToRunTimeSelectionTable.H" - -namespace Foam -{ -namespace extrudeModels -{ - -// * * * * * * * * * * * * * * Static Data Members * * * * * * * * * * * * * // - -defineTypeNameAndDebug(linearRadial, 0); - -addToRunTimeSelectionTable(extrudeModel, linearRadial, dictionary); - - -// * * * * * * * * * * * * * * * * Constructors * * * * * * * * * * * * * * // - -linearRadial::linearRadial(const dictionary& dict) -: - extrudeModel(typeName, dict), - R_(readScalar(coeffDict_.lookup("R"))) -{} - - -// * * * * * * * * * * * * * * * * Destructor * * * * * * * * * * * * * * * // - -linearRadial::~linearRadial() -{} - - -// * * * * * * * * * * * * * * * * Operators * * * * * * * * * * * * * * * * // - -point linearRadial::operator() -( - const point& surfacePoint, - const vector& surfaceNormal, - const label layer -) const -{ - // radius of the surface - scalar rs = mag(surfacePoint); - vector rsHat = surfacePoint/rs; - - scalar delta = (R_ - rs)/nLayers_; - scalar r = rs + layer*delta; - return r*rsHat; -} - - -// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // - -} // End namespace extrudeModels -} // End namespace Foam - -// ************************************************************************* // - diff --git a/applications/utilities/mesh/generation/extrudeMesh/extrudeModel/linearRadial/linearRadial.H b/applications/utilities/mesh/generation/extrudeMesh/extrudeModel/linearRadial/linearRadial.H deleted file mode 100644 index e09ba397d..000000000 --- a/applications/utilities/mesh/generation/extrudeMesh/extrudeModel/linearRadial/linearRadial.H +++ /dev/null @@ -1,92 +0,0 @@ -/*---------------------------------------------------------------------------*\ - ========= | - \\ / F ield | foam-extend: Open Source CFD - \\ / O peration | Version: 4.0 - \\ / A nd | Web: http://www.foam-extend.org - \\/ M anipulation | For copyright notice see file Copyright -------------------------------------------------------------------------------- -License - This file is part of foam-extend. - - foam-extend 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 3 of the License, or (at your - option) any later version. - - foam-extend 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 foam-extend. If not, see . - -Class - Foam::extrudeModels::linearRadial - -Description - -\*---------------------------------------------------------------------------*/ - -#ifndef linearRadial_H -#define linearRadial_H - -#include "extrudeModel.H" - -// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // - -namespace Foam -{ -namespace extrudeModels -{ - -/*---------------------------------------------------------------------------*\ - Class linearRadial Declaration -\*---------------------------------------------------------------------------*/ - -class linearRadial -: - public extrudeModel -{ - // Private data - - scalar R_; - - -public: - - //- Runtime type information - TypeName("linearRadial"); - - // Constructors - - //- Construct from components - linearRadial(const dictionary& dict); - - - //- Destructor - ~linearRadial(); - - - // Member Operators - - point operator() - ( - const point& surfacePoint, - const vector& surfaceNormal, - const label layer - ) const; -}; - - -// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // - -} // End namespace extrudeModels -} // End namespace Foam - -// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // - -#endif - -// ************************************************************************* // - diff --git a/applications/utilities/mesh/generation/extrudeMesh/extrudeModel/sigmaRadial/sigmaRadial.C b/applications/utilities/mesh/generation/extrudeMesh/extrudeModel/sigmaRadial/sigmaRadial.C deleted file mode 100644 index 0a0b699e9..000000000 --- a/applications/utilities/mesh/generation/extrudeMesh/extrudeModel/sigmaRadial/sigmaRadial.C +++ /dev/null @@ -1,86 +0,0 @@ -/*---------------------------------------------------------------------------*\ - ========= | - \\ / F ield | foam-extend: Open Source CFD - \\ / O peration | Version: 4.0 - \\ / A nd | Web: http://www.foam-extend.org - \\/ M anipulation | For copyright notice see file Copyright -------------------------------------------------------------------------------- -License - This file is part of foam-extend. - - foam-extend 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 3 of the License, or (at your - option) any later version. - - foam-extend 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 foam-extend. If not, see . - -\*---------------------------------------------------------------------------*/ - -#include "sigmaRadial.H" -#include "addToRunTimeSelectionTable.H" - -// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // - -namespace Foam -{ -namespace extrudeModels -{ - -// * * * * * * * * * * * * * * Static Data Members * * * * * * * * * * * * * // - -defineTypeNameAndDebug(sigmaRadial, 0); - -addToRunTimeSelectionTable(extrudeModel, sigmaRadial, dictionary); - - -// * * * * * * * * * * * * * * * * Constructors * * * * * * * * * * * * * * // - -sigmaRadial::sigmaRadial(const dictionary& dict) -: - extrudeModel(typeName, dict), - RTbyg_(readScalar(coeffDict_.lookup("RTbyg"))), - pRef_(readScalar(coeffDict_.lookup("pRef"))), - pStrat_(readScalar(coeffDict_.lookup("pStrat"))) -{} - - -// * * * * * * * * * * * * * * * * Destructor * * * * * * * * * * * * * * * // - -sigmaRadial::~sigmaRadial() -{} - - -// * * * * * * * * * * * * * * * * Operators * * * * * * * * * * * * * * * * // - -point sigmaRadial::operator() -( - const point& surfacePoint, - const vector& surfaceNormal, - const label layer -) const -{ - // radius of the surface - scalar rs = mag(surfacePoint); - vector rsHat = surfacePoint/rs; - - scalar p = pRef_ - layer*(pRef_ - pStrat_)/nLayers_; - scalar r = rs - RTbyg_*log(p/pRef_); - - return r*rsHat; -} - - -// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // - -} // End namespace extrudeModels -} // End namespace Foam - -// ************************************************************************* // - diff --git a/applications/utilities/mesh/generation/extrudeMesh/extrudeModel/sigmaRadial/sigmaRadial.H b/applications/utilities/mesh/generation/extrudeMesh/extrudeModel/sigmaRadial/sigmaRadial.H deleted file mode 100644 index 021db0dcb..000000000 --- a/applications/utilities/mesh/generation/extrudeMesh/extrudeModel/sigmaRadial/sigmaRadial.H +++ /dev/null @@ -1,94 +0,0 @@ -/*---------------------------------------------------------------------------*\ - ========= | - \\ / F ield | foam-extend: Open Source CFD - \\ / O peration | Version: 4.0 - \\ / A nd | Web: http://www.foam-extend.org - \\/ M anipulation | For copyright notice see file Copyright -------------------------------------------------------------------------------- -License - This file is part of foam-extend. - - foam-extend 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 3 of the License, or (at your - option) any later version. - - foam-extend 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 foam-extend. If not, see . - -Class - Foam::extrudeModels::sigmaRadial - -Description - -\*---------------------------------------------------------------------------*/ - -#ifndef sigmaRadial_H -#define sigmaRadial_H - -#include "extrudeModel.H" - -// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // - -namespace Foam -{ -namespace extrudeModels -{ - -/*---------------------------------------------------------------------------*\ - Class sigmaRadial Declaration -\*---------------------------------------------------------------------------*/ - -class sigmaRadial -: - public extrudeModel -{ - // Private data - - scalar RTbyg_; - scalar pRef_; - scalar pStrat_; - - -public: - - //- Runtime type information - TypeName("sigmaRadial"); - - // Constructors - - //- Construct from components - sigmaRadial(const dictionary& dict); - - - //-Destructor - ~sigmaRadial(); - - - // Member Operators - - point operator() - ( - const point& surfacePoint, - const vector& surfaceNormal, - const label layer - ) const; -}; - - -// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // - -} // End namespace extrudeModels -} // End namespace Foam - -// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // - -#endif - -// ************************************************************************* // - diff --git a/applications/utilities/mesh/generation/extrudeMesh/extrudeModel/wedge/wedge.C b/applications/utilities/mesh/generation/extrudeMesh/extrudeModel/wedge/wedge.C deleted file mode 100644 index 340d3317e..000000000 --- a/applications/utilities/mesh/generation/extrudeMesh/extrudeModel/wedge/wedge.C +++ /dev/null @@ -1,126 +0,0 @@ -/*---------------------------------------------------------------------------*\ - ========= | - \\ / F ield | foam-extend: Open Source CFD - \\ / O peration | Version: 4.0 - \\ / A nd | Web: http://www.foam-extend.org - \\/ M anipulation | For copyright notice see file Copyright -------------------------------------------------------------------------------- -License - This file is part of foam-extend. - - foam-extend 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 3 of the License, or (at your - option) any later version. - - foam-extend 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 foam-extend. If not, see . - -\*---------------------------------------------------------------------------*/ - -#include "wedge.H" -#include "addToRunTimeSelectionTable.H" -#include "mathematicalConstants.H" - -// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // - -namespace Foam -{ -namespace extrudeModels -{ - -// * * * * * * * * * * * * * * Static Data Members * * * * * * * * * * * * * // - -defineTypeNameAndDebug(wedge, 0); - -addToRunTimeSelectionTable(extrudeModel, wedge, dictionary); - - -// * * * * * * * * * * * * * * * * Constructors * * * * * * * * * * * * * * // - -wedge::wedge(const dictionary& dict) -: - extrudeModel(typeName, dict), - axisPt_(coeffDict_.lookup("axisPt")), - axis_(coeffDict_.lookup("axis")), - angle_ - ( - readScalar(coeffDict_.lookup("angle")) - *mathematicalConstant::pi/180.0 - ) -{} - - -// * * * * * * * * * * * * * * * * Destructor * * * * * * * * * * * * * * * // - -wedge::~wedge() -{} - - -// * * * * * * * * * * * * * * * * Operators * * * * * * * * * * * * * * * * // - -point wedge::operator() -( - const point& surfacePoint, - const vector& surfaceNormal, - const label layer -) const -{ - scalar sliceAngle; - // For the case of a single layer extrusion assume a - // symmetric wedge about the reference plane is required - if (nLayers_ == 1) - { - if (layer == 0) - { - sliceAngle = -angle_/2.0; - } - else - { - sliceAngle = angle_/2.0; - } - } - else - { - //sliceAngle = angle_*(layer + 1)/nLayers_; - sliceAngle = angle_*layer/nLayers_; - } - - // Find projection onto axis (or rather decompose surfacePoint - // into vector along edge (proj), vector normal to edge in plane - // of surface point and surface normal. - point d = surfacePoint - axisPt_; - - d -= (axis_ & d)*axis_; - - scalar dMag = mag(d); - - point edgePt = surfacePoint - d; - - // Rotate point around sliceAngle. - point rotatedPoint = edgePt; - - if (dMag > VSMALL) - { - vector n = (d/dMag) ^ axis_; - - rotatedPoint += - + cos(sliceAngle)*d - - sin(sliceAngle)*mag(d)*n; // Use either n or surfaceNormal - } - - return rotatedPoint; -} - - -// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // - -} // End namespace extrudeModels -} // End namespace Foam - -// ************************************************************************* // diff --git a/applications/utilities/mesh/generation/extrudeMesh/extrudeModel/wedge/wedge.H b/applications/utilities/mesh/generation/extrudeMesh/extrudeModel/wedge/wedge.H deleted file mode 100644 index 97db28bf4..000000000 --- a/applications/utilities/mesh/generation/extrudeMesh/extrudeModel/wedge/wedge.H +++ /dev/null @@ -1,107 +0,0 @@ -/*---------------------------------------------------------------------------*\ - ========= | - \\ / F ield | foam-extend: Open Source CFD - \\ / O peration | Version: 4.0 - \\ / A nd | Web: http://www.foam-extend.org - \\/ M anipulation | For copyright notice see file Copyright -------------------------------------------------------------------------------- -License - This file is part of foam-extend. - - foam-extend 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 3 of the License, or (at your - option) any later version. - - foam-extend 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 foam-extend. If not, see . - -Class - Foam::extrudeModels::wedge - -Description - Extrudes by rotating a surface around an axis - - extrusion is opposite the surface/patch normal so inwards the source - mesh - - axis direction has to be consistent with this. - - use -mergeFaces option if doing full 360 and want to merge front and back - - note direction of axis. This should be consistent with rotating against - the patch normal direction. If you get it wrong you'll see all cells - with extreme aspect ratio and internal faces wrong way around in - checkMesh - -\*---------------------------------------------------------------------------*/ - -#ifndef wedge_H -#define wedge_H - -#include "extrudeModel.H" - -// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // - -namespace Foam -{ -namespace extrudeModels -{ - -/*---------------------------------------------------------------------------*\ - Class wedge Declaration -\*---------------------------------------------------------------------------*/ - -class wedge -: - public extrudeModel -{ - // Private data - - //- Point on axis - const point axisPt_; - - //- Normalized direction of axis - const vector axis_; - - //- Overall angle (radians) - const scalar angle_; - - -public: - - //- Runtime type information - TypeName("wedge"); - - // Constructors - - //- Construct from components - wedge(const dictionary& dict); - - - //- Destrcuctor - ~wedge(); - - - // Member Operators - - point operator() - ( - const point& surfacePoint, - const vector& surfaceNormal, - const label layer - ) const; -}; - - -// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // - -} // End namespace extrudeModels -} // End namespace Foam - -// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // - -#endif - -// ************************************************************************* // diff --git a/applications/utilities/solidMechanics/patchStressIntegrate/Make/files b/applications/utilities/solidMechanics/patchStressIntegrate/Make/files deleted file mode 100644 index d493d509f..000000000 --- a/applications/utilities/solidMechanics/patchStressIntegrate/Make/files +++ /dev/null @@ -1,3 +0,0 @@ -patchStressIntegrate.C - -EXE = $(FOAM_APPBIN)/patchStressIntegrate \ No newline at end of file diff --git a/applications/utilities/solidMechanics/patchStressIntegrate/Make/options b/applications/utilities/solidMechanics/patchStressIntegrate/Make/options deleted file mode 100644 index d27c95d03..000000000 --- a/applications/utilities/solidMechanics/patchStressIntegrate/Make/options +++ /dev/null @@ -1,7 +0,0 @@ -EXE_INC = \ - -I$(LIB_SRC)/finiteVolume/lnInclude \ - -I$(LIB_SRC)/meshTools/lnInclude - -EXE_LIBS = \ - -lfiniteVolume \ - -lmeshTools diff --git a/applications/utilities/solidMechanics/patchStressIntegrate/patchStressIntegrate.C b/applications/utilities/solidMechanics/patchStressIntegrate/patchStressIntegrate.C deleted file mode 100644 index f342d6b8c..000000000 --- a/applications/utilities/solidMechanics/patchStressIntegrate/patchStressIntegrate.C +++ /dev/null @@ -1,95 +0,0 @@ -/*---------------------------------------------------------------------------*\ - ========= | - \\ / F ield | foam-extend: Open Source CFD - \\ / O peration | Version: 4.0 - \\ / A nd | Web: http://www.foam-extend.org - \\/ M anipulation | For copyright notice see file Copyright -------------------------------------------------------------------------------- -License - This file is part of foam-extend. - - foam-extend 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 3 of the License, or (at your - option) any later version. - - foam-extend 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 foam-extend. If not, see . - -Description - Calculates the total forces on a patch: - total force vector - total normal force - total force in each direction (x, y and z) - -Author - philip.cardiff@ucd.ie - -\*---------------------------------------------------------------------------*/ - -#include "fvCFD.H" - -// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // - -int main(int argc, char *argv[]) -{ -# include "setRootCase.H" - -# include "createTime.H" - -# include "createMesh.H" - - while(runTime.loop()) - { - Info<< "Time: " << runTime.timeName() << nl << endl; - - volSymmTensorField sigma - ( - IOobject - ( - "sigma", - runTime.timeName(), - mesh, - IOobject::MUST_READ, - IOobject::NO_WRITE - ), - mesh - ); - - Info << nl; - - vector netForce = vector::zero; - - forAll(mesh.boundary(), patchID) - { - vectorField n = mesh.boundary()[patchID].nf(); - const vectorField& Sf = mesh.boundary()[patchID].Sf(); - const symmTensorField& sigmaPatch = sigma.boundaryField()[patchID]; - - vector totalForce = sum(Sf & sigmaPatch); - netForce += totalForce; - scalar totalNormalForce = sum(n & (Sf & sigmaPatch)); - vector totalShearForce = sum((I -sqr(n)) & (Sf & sigmaPatch)); - - Info << "Patch: " << mesh.boundary()[patchID].name() << nl - << "\tTotal Force:\t\t" << totalForce << " N\n" - << "\tTotal Normal Force:\t" << totalNormalForce << " N\n" - << "\tTotal Shear Force:\t" << totalShearForce << " N\n" << endl; - } - - Info << nl << "Net force on model is " << netForce << " N" << endl; - - } - - Info << nl << "End" << endl; - - return 0; -} - - -// ************************************************************************* // From 4626c032065f920003235ed061ed7743f37f2905 Mon Sep 17 00:00:00 2001 From: Henrik Rusche Date: Thu, 23 Feb 2017 09:52:25 +0100 Subject: [PATCH 012/361] Minor changes to help cmake parser --- src/mesh/blockMesh/curvedEdges/ellipseEdge.C | 2 +- src/solidModels/Make/files | 17 ++++++----- .../reactionThermo/Make/files | 2 +- .../thermophysicalFunctions/Make/files | 29 ++++++++++--------- 4 files changed, 26 insertions(+), 24 deletions(-) diff --git a/src/mesh/blockMesh/curvedEdges/ellipseEdge.C b/src/mesh/blockMesh/curvedEdges/ellipseEdge.C index 2863bb95f..5614d177d 100644 --- a/src/mesh/blockMesh/curvedEdges/ellipseEdge.C +++ b/src/mesh/blockMesh/curvedEdges/ellipseEdge.C @@ -31,7 +31,7 @@ Description #include "mathematicalConstants.H" #include "EulerCoordinateRotation.H" #include "coordinateSystem.H" -#include "curvedEdges/rotEllipse2D.H" +#include "rotEllipse2D.H" // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // diff --git a/src/solidModels/Make/files b/src/solidModels/Make/files index 7bd7e1242..367dfabbc 100644 --- a/src/solidModels/Make/files +++ b/src/solidModels/Make/files @@ -23,13 +23,6 @@ $(boundaryConditions)/timeVaryingFixedDisplacementZeroShear/timeVaryingFixedDisp $(boundaryConditions)/timeVaryingFixedRotation/timeVaryingFixedRotationFvPatchVectorField.C $(boundaryConditions)/transitionalParabolicVelocity/transitionalParabolicVelocityFvPatchVectorField.C -cohesiveLaws = $(constitutiveModel)/cohesiveLaws -$(cohesiveLaws)/cohesiveLaw/cohesiveLaw.C -$(cohesiveLaws)/cohesiveLaw/newCohesiveLaw.C -$(cohesiveLaws)/multiMaterialCohesiveLaw/multiMaterialCohesiveLaw.C -$(cohesiveLaws)/dugdaleCohesiveLaw/dugdaleCohesiveLaw.C -$(cohesiveLaws)/linearCohesiveLaw/linearCohesiveLaw.C - contactModels = contactModels $(contactModels)/normalContactModels/normalContactModel/normalContactModel.C $(contactModels)/normalContactModels/normalContactModel/newNormalContactModel.C @@ -49,7 +42,7 @@ $(contactModels)/frictionContactModels/frictionLaws/coulombFriction/coulombFrict constitutiveModel = constitutiveModel $(constitutiveModel)/constitutiveModel.C $(constitutiveModel)/plasticityStressReturnMethods/plasticityStressReturn/plasticityStressReturn.C -$(constitutiveModel)/plasticityStressReturnMethods/plasticityStressReturn/newPlasticityStressReturn.Cr +$(constitutiveModel)/plasticityStressReturnMethods/plasticityStressReturn/newPlasticityStressReturn.C $(constitutiveModel)/plasticityStressReturnMethods/aravasMises/aravasMises.C $(constitutiveModel)/plasticityStressReturnMethods/yamadaMises/yamadaMises.C $(constitutiveModel)/solidInterfaces/solidInterface/solidInterface.C @@ -63,6 +56,14 @@ $(constitutiveModel)/solidInterfaces/largeStrainULCorrected/largeStrainULCorrect $(constitutiveModel)/solidInterfaces/none/noneSolidInterface.C $(constitutiveModel)/tractionBoundaryGradient/tractionBoundaryGradient.C +cohesiveLaws = $(constitutiveModel)/cohesiveLaws +$(cohesiveLaws)/cohesiveLaw/cohesiveLaw.C +$(cohesiveLaws)/cohesiveLaw/newCohesiveLaw.C +$(cohesiveLaws)/multiMaterialCohesiveLaw/multiMaterialCohesiveLaw.C +$(cohesiveLaws)/dugdaleCohesiveLaw/dugdaleCohesiveLaw.C +$(cohesiveLaws)/linearCohesiveLaw/linearCohesiveLaw.C + + finiteVolume = finiteVolume $(finiteVolume)/gradSchemes/leastSquaresSolidInterfaceGrad/leastSquaresSolidInterfaceGrads.C $(finiteVolume)/gradSchemes/leastSquaresSolidInterfaceGrad/leastSquaresSolidInterfaceVectors.C diff --git a/src/thermophysicalModels/reactionThermo/Make/files b/src/thermophysicalModels/reactionThermo/Make/files index 471dbb114..60c2dd9f2 100644 --- a/src/thermophysicalModels/reactionThermo/Make/files +++ b/src/thermophysicalModels/reactionThermo/Make/files @@ -1,5 +1,5 @@ chemistryReaders/chemkinReader/chemkinReader.C -chemistryReaders/chemkinReader/chemkinLexer.C +chemistryReaders/chemkinReader/chemkinLexer.L chemistryReaders/chemistryReader/makeChemistryReaders.C mixtures/basicMultiComponentMixture/basicMultiComponentMixture.C diff --git a/src/thermophysicalModels/thermophysicalFunctions/Make/files b/src/thermophysicalModels/thermophysicalFunctions/Make/files index c4b22314d..20d0a19b5 100644 --- a/src/thermophysicalModels/thermophysicalFunctions/Make/files +++ b/src/thermophysicalModels/thermophysicalFunctions/Make/files @@ -14,19 +14,20 @@ $(NSRDSfunctions)/NSRDSfunc7/NSRDSfunc7.C $(NSRDSfunctions)/NSRDSfunc14/NSRDSfunc14.C $(APIfunctions)/APIdiffCoefFunc/APIdiffCoefFunc.C -freesteam-2.1/common.c -freesteam-2.1/steam.c -freesteam-2.1/b23.c -freesteam-2.1/backwards.c -freesteam-2.1/viscosity.c -freesteam-2.1/thcond.c -freesteam-2.1/region1.c -freesteam-2.1/region2.c -freesteam-2.1/region3.c -freesteam-2.1/region4.c -freesteam-2.1/steam_pv.c -freesteam-2.1/steam_ph.c -freesteam-2.1/steam_pT.c -freesteam-2.1/zeroin.c +freesteam = freesteam-2.1 +$(freesteam)/common.c +$(freesteam)/steam.c +$(freesteam)/b23.c +$(freesteam)/backwards.c +$(freesteam)/viscosity.c +$(freesteam)/thcond.c +$(freesteam)/region1.c +$(freesteam)/region2.c +$(freesteam)/region3.c +$(freesteam)/region4.c +$(freesteam)/steam_pv.c +$(freesteam)/steam_ph.c +$(freesteam)/steam_pT.c +$(freesteam)/zeroin.c LIB = $(FOAM_LIBBIN)/libthermophysicalFunctions From 48926a792f06a015eae768dd9e9dc7f8dad54705 Mon Sep 17 00:00:00 2001 From: Henrik Rusche Date: Thu, 23 Feb 2017 10:15:38 +0100 Subject: [PATCH 013/361] Transition to cmake build system (most libs and utils & some apps compile) --- .gitignore | 13 + CMakeLists.txt | 449 ++---- applications/CMakeLists.txt | 33 + applications/solvers/CMakeLists.txt | 51 + applications/solvers/DNS/CMakeLists.txt | 32 + .../solvers/DNS/dnsFoam/CMakeLists.txt | 46 + applications/solvers/basic/CMakeLists.txt | 37 + .../solvers/basic/PODSolver/CMakeLists.txt | 46 + .../basic/laplacianFoam/CMakeLists.txt | 46 + .../basic/potentialDyMFoam/CMakeLists.txt | 46 + .../basic/potentialFoam/CMakeLists.txt | 46 + .../basic/scalarTransportFoam/CMakeLists.txt | 46 + .../solvers/basic/sixDOFSolver/CMakeLists.txt | 46 + .../solvers/combustion/CMakeLists.txt | 40 + .../solvers/combustion/PDRFoam/CMakeLists.txt | 68 + .../solvers/combustion/XiFoam/CMakeLists.txt | 46 + .../combustion/coldEngineFoam/CMakeLists.txt | 46 + .../dieselEngineFoam/CMakeLists.txt | 46 + .../combustion/dieselFoam/CMakeLists.txt | 46 + .../combustion/engineFoam/CMakeLists.txt | 46 + .../combustion/fireFoam/CMakeLists.txt | 32 + .../fireFoam/combustionModels/CMakeLists.txt | 44 + .../combustion/reactingFoam/CMakeLists.txt | 46 + .../combustion/rhoReactingFoam/CMakeLists.txt | 46 + .../solvers/compressible/CMakeLists.txt | 50 + .../compressible/dbnsFoam/CMakeLists.txt | 46 + .../compressible/dbnsTurbFoam/CMakeLists.txt | 46 + .../realFluidPisoFoam/CMakeLists.txt | 46 + .../rhoCentralFoam/BCs/CMakeLists.txt | 44 + .../rhoCentralFoam/CMakeLists.txt | 32 + .../compressible/rhoPimpleFoam/CMakeLists.txt | 46 + .../compressible/rhoPisoFoam/CMakeLists.txt | 46 + .../rhoPorousMRFPimpleFoam/CMakeLists.txt | 46 + .../rhoPorousSimpleFoam/CMakeLists.txt | 46 + .../compressible/rhoSimpleFoam/CMakeLists.txt | 46 + .../compressible/rhoSonicFoam/CMakeLists.txt | 46 + .../rhopSonicFoam/BCs/CMakeLists.txt | 46 + .../compressible/rhopSonicFoam/CMakeLists.txt | 32 + .../compressible/sonicDyMFoam/CMakeLists.txt | 46 + .../compressible/sonicFoam/CMakeLists.txt | 46 + .../sonicLiquidFoam/CMakeLists.txt | 46 + .../steadyCompressibleFoam/CMakeLists.txt | 46 + .../steadyCompressibleMRFFoam/CMakeLists.txt | 46 + .../steadyCompressibleSRFFoam/CMakeLists.txt | 46 + .../steadyUniversalFoam/CMakeLists.txt | 46 + .../steadyUniversalMRFFoam/CMakeLists.txt | 46 + applications/solvers/coupled/CMakeLists.txt | 37 + .../coupled/MRFPorousFoam/CMakeLists.txt | 46 + .../CMakeLists.txt | 46 + .../coupled/conjugateHeatFoam/CMakeLists.txt | 46 + .../conjugateHeatSimpleFoam/CMakeLists.txt | 46 + .../conjugateHeatTransfer/CMakeLists.txt | 94 ++ .../coupled/pUCoupledFoam/CMakeLists.txt | 46 + .../solvers/discreteMethods/CMakeLists.txt | 33 + .../discreteMethods/dsmc/CMakeLists.txt | 32 + .../dsmc/dsmcFoam/CMakeLists.txt | 46 + .../molecularDynamics/CMakeLists.txt | 33 + .../mdEquilibrationFoam/CMakeLists.txt | 46 + .../molecularDynamics/mdFoam/CMakeLists.txt | 46 + .../solvers/electromagnetics/CMakeLists.txt | 33 + .../electrostaticFoam/CMakeLists.txt | 46 + .../electromagnetics/mhdFoam/CMakeLists.txt | 46 + applications/solvers/engine/CMakeLists.txt | 34 + .../engine/icoDyMEngineFoam/CMakeLists.txt | 46 + .../sonicTurbDyMEngineFoam/CMakeLists.txt | 46 + .../engine/turbDyMEngineFoam/CMakeLists.txt | 46 + .../solvers/equationReaderDemo/CMakeLists.txt | 46 + applications/solvers/financial/CMakeLists.txt | 32 + .../financial/financialFoam/CMakeLists.txt | 46 + .../solvers/finiteArea/CMakeLists.txt | 33 + .../finiteArea/liquidFilmFoam/CMakeLists.txt | 46 + .../finiteArea/surfactantFoam/CMakeLists.txt | 46 + .../solvers/heatTransfer/CMakeLists.txt | 39 + .../boussinesqBuoyantFoam/CMakeLists.txt | 46 + .../buoyantBoussinesqPisoFoam/CMakeLists.txt | 46 + .../CMakeLists.txt | 46 + .../buoyantPisoFoam/CMakeLists.txt | 46 + .../buoyantSimpleFoam/CMakeLists.txt | 46 + .../buoyantSimpleRadiationFoam/CMakeLists.txt | 46 + .../chtMultiRegionFoam/CMakeLists.txt | 51 + .../chtMultiRegionSimpleFoam/CMakeLists.txt | 47 + .../solvers/immersedBoundary/CMakeLists.txt | 37 + .../icoDyMIbFoam/CMakeLists.txt | 46 + .../immersedBoundary/icoIbFoam/CMakeLists.txt | 46 + .../interIbFoam/CMakeLists.txt | 46 + .../porousSimpleIbFoam/CMakeLists.txt | 46 + .../potentialIbFoam/CMakeLists.txt | 46 + .../simpleIbFoam/CMakeLists.txt | 46 + .../solvers/incompressible/CMakeLists.txt | 45 + .../MRFSimpleFoam/CMakeLists.txt | 46 + .../boundaryFoam/CMakeLists.txt | 46 + .../incompressible/channelFoam/CMakeLists.txt | 46 + .../incompressible/icoDyMFoam/CMakeLists.txt | 46 + .../icoDyMSimpleFoam/CMakeLists.txt | 46 + .../incompressible/icoFoam/CMakeLists.txt | 46 + .../nonNewtonianIcoFoam/CMakeLists.txt | 46 + .../pimpleDyMFoam/CMakeLists.txt | 46 + .../incompressible/pimpleFoam/CMakeLists.txt | 46 + .../incompressible/pisoFoam/CMakeLists.txt | 46 + .../porousSimpleFoam/CMakeLists.txt | 46 + .../shallowWaterFoam/CMakeLists.txt | 46 + .../incompressible/simpleFoam/CMakeLists.txt | 46 + .../simpleSRFFoam/CMakeLists.txt | 46 + .../solvers/lagrangian/CMakeLists.txt | 35 + .../coalChemistryFoam/CMakeLists.txt | 46 + .../CMakeLists.txt | 46 + .../reactingParcelFoam/CMakeLists.txt | 46 + .../CMakeLists.txt | 46 + .../solvers/multiSolver/CMakeLists.txt | 32 + .../multiSolverDemo/CMakeLists.txt | 46 + .../solvers/multiphase/CMakeLists.txt | 46 + .../multiphase/MRFInterFoam/CMakeLists.txt | 46 + .../barotropicCavitatingFoam/CMakeLists.txt | 46 + .../multiphase/bubbleFoam/CMakeLists.txt | 46 + .../multiphase/cavitatingFoam/CMakeLists.txt | 46 + .../compressibleInterDyMFoam/CMakeLists.txt | 46 + .../compressibleInterFoam/CMakeLists.txt | 46 + .../multiphase/interDyMFoam/CMakeLists.txt | 46 + .../multiphase/interFoam/CMakeLists.txt | 46 + .../multiphase/interMixingFoam/CMakeLists.txt | 48 + .../interPhaseChangeFoam/CMakeLists.txt | 51 + .../multiphaseInterFoam/CMakeLists.txt | 49 + .../multiphase/porousInterFoam/CMakeLists.txt | 46 + .../multiphase/settlingFoam/CMakeLists.txt | 46 + .../twoLiquidMixingFoam/CMakeLists.txt | 46 + .../twoPhaseEulerFoam/CMakeLists.txt | 34 + .../interfacialModels/CMakeLists.txt | 49 + .../kineticTheoryModels/CMakeLists.txt | 66 + .../phaseModel/CMakeLists.txt | 41 + .../solvers/solidMechanics/CMakeLists.txt | 50 + .../deprecatedSolvers/CMakeLists.txt | 39 + .../contactStressFoam/CMakeLists.txt | 49 + .../icoFsiFoam/CMakeLists.txt | 47 + .../materialModels/CMakeLists.txt | 73 + .../newContactStressFoam/CMakeLists.txt | 48 + .../newStressedFoam/CMakeLists.txt | 46 + .../solidDisplacementFoam/CMakeLists.txt | 47 + .../CMakeLists.txt | 47 + .../stressedFoam/CMakeLists.txt | 47 + .../elasticAcpSolidFoam/CMakeLists.txt | 46 + .../elasticIncrAcpSolidFoam/CMakeLists.txt | 46 + .../elasticIncrSolidFoam/CMakeLists.txt | 46 + .../CMakeLists.txt | 46 + .../elasticNonLinTLSolidFoam/CMakeLists.txt | 46 + .../elasticNonLinULSolidFoam/CMakeLists.txt | 46 + .../elasticOrthoAcpSolidFoam/CMakeLists.txt | 46 + .../CMakeLists.txt | 46 + .../elasticOrthoSolidFoam/CMakeLists.txt | 46 + .../CMakeLists.txt | 46 + .../CMakeLists.txt | 46 + .../elasticPlasticSolidFoam/CMakeLists.txt | 46 + .../elasticSolidFoam/CMakeLists.txt | 46 + .../elasticThermalSolidFoam/CMakeLists.txt | 46 + .../CMakeLists.txt | 46 + .../stressFemFoam/CMakeLists.txt | 47 + .../solidMechanics/utilities/CMakeLists.txt | 36 + .../calculateCourantNumber/CMakeLists.txt | 46 + .../utilities/forceDisp/CMakeLists.txt | 46 + .../patchStressIntegrate/CMakeLists.txt | 46 + .../utilities/smoothMesh/CMakeLists.txt | 46 + .../utilities/surfaceTractions/CMakeLists.txt | 46 + .../viscoElasticSolidFoam/CMakeLists.txt | 46 + .../solvers/surfaceTracking/CMakeLists.txt | 35 + .../bubbleInterTrackFoam/CMakeLists.txt | 46 + .../freeSurface/CMakeLists.txt | 54 + .../interTrackFoam/CMakeLists.txt | 46 + .../surfaceTracking/utilities/CMakeLists.txt | 32 + .../setFluidIndicator/CMakeLists.txt | 46 + .../solvers/viscoelastic/CMakeLists.txt | 32 + .../viscoelasticFluidFoam/CMakeLists.txt | 46 + applications/utilities/CMakeLists.txt | 42 + .../utilities/errorEstimation/CMakeLists.txt | 36 + .../estimateScalarError/CMakeLists.txt | 46 + .../icoErrorEstimate/CMakeLists.txt | 46 + .../icoMomentError/CMakeLists.txt | 46 + .../momentScalarError/CMakeLists.txt | 46 + .../simpleFoamResidual/CMakeLists.txt | 46 + .../utilities/finiteArea/CMakeLists.txt | 34 + .../finiteArea/checkFaMesh/CMakeLists.txt | 46 + .../createFaMeshFromStl/CMakeLists.txt | 46 + .../finiteArea/makeFaMesh/CMakeLists.txt | 46 + .../utilities/immersedBoundary/CMakeLists.txt | 37 + .../ibContinuityError/CMakeLists.txt | 46 + .../makeTriSurfaceMesh/CMakeLists.txt | 46 + .../refineImmersedBoundaryMesh/CMakeLists.txt | 46 + .../surfaceInvertNormal/CMakeLists.txt | 46 + .../surfaceNormal/CMakeLists.txt | 46 + .../writeIbMasks/CMakeLists.txt | 46 + applications/utilities/mesh/CMakeLists.txt | 35 + .../utilities/mesh/advanced/CMakeLists.txt | 41 + .../advanced/autoRefineMesh/CMakeLists.txt | 46 + .../advanced/collapseEdges/CMakeLists.txt | 46 + .../advanced/combinePatchFaces/CMakeLists.txt | 46 + .../mesh/advanced/modifyMesh/CMakeLists.txt | 47 + .../advanced/refineHexMesh/CMakeLists.txt | 46 + .../advanced/refineWallLayer/CMakeLists.txt | 46 + .../advanced/refinementLevel/CMakeLists.txt | 46 + .../mesh/advanced/removeFaces/CMakeLists.txt | 46 + .../mesh/advanced/selectCells/CMakeLists.txt | 47 + .../mesh/advanced/splitCells/CMakeLists.txt | 46 + .../utilities/mesh/conversion/CMakeLists.txt | 54 + .../mesh/conversion/Optional/CMakeLists.txt | 32 + .../Optional/ccm26ToFoam/CMakeLists.txt | 46 + .../conversion/ansysToFoam/CMakeLists.txt | 46 + .../mesh/conversion/cfx4ToFoam/CMakeLists.txt | 47 + .../fluent3DMeshToElmer/CMakeLists.txt | 46 + .../fluent3DMeshToFoam/CMakeLists.txt | 46 + .../fluentMeshToFoam/CMakeLists.txt | 51 + .../foamMeshToAbaqus/CMakeLists.txt | 46 + .../conversion/foamMeshToElmer/CMakeLists.txt | 46 + .../foamMeshToFluent/CMakeLists.txt | 47 + .../conversion/foamToStarMesh/CMakeLists.txt | 46 + .../conversion/gambitToFoam/CMakeLists.txt | 46 + .../mesh/conversion/gmshToFoam/CMakeLists.txt | 46 + .../conversion/ideasUnvToFoam/CMakeLists.txt | 46 + .../mesh/conversion/kivaToFoam/CMakeLists.txt | 46 + .../mesh/conversion/mshToFoam/CMakeLists.txt | 46 + .../netgenNeutralToFoam/CMakeLists.txt | 46 + .../conversion/plot3dToFoam/CMakeLists.txt | 47 + .../conversion/polyDualMesh/CMakeLists.txt | 47 + .../mesh/conversion/sammToFoam/CMakeLists.txt | 60 + .../conversion/star4ToFoam/CMakeLists.txt | 34 + .../cellZoneToCellTableId/CMakeLists.txt | 46 + .../star4ToFoam/foamMeshToStar/CMakeLists.txt | 46 + .../star4ToFoam/star4ToFoam/CMakeLists.txt | 52 + .../mesh/conversion/starToFoam/CMakeLists.txt | 64 + .../conversion/tetgenToFoam/CMakeLists.txt | 46 + .../conversion/writeMeshObj/CMakeLists.txt | 46 + .../utilities/mesh/generation/CMakeLists.txt | 36 + .../mesh/generation/blockMesh/CMakeLists.txt | 46 + .../mesh/generation/cfMesh/CMakeLists.txt | 56 + .../cfMesh/FLMAToSurface/CMakeLists.txt | 46 + .../cfMesh/FMSToSurface/CMakeLists.txt | 46 + .../generation/cfMesh/FMSToVTK/CMakeLists.txt | 46 + .../cfMesh/cartesian2DMesh/CMakeLists.txt | 46 + .../cfMesh/cartesianMesh/CMakeLists.txt | 46 + .../cfMesh/checkSurfaceMesh/CMakeLists.txt | 46 + .../cfMesh/copySurfaceParts/CMakeLists.txt | 46 + .../extrudeEdgesInto2DSurface/CMakeLists.txt | 46 + .../generateBoundaryLayers/CMakeLists.txt | 46 + .../importSurfaceAsSubset/CMakeLists.txt | 46 + .../cfMesh/improveMeshQuality/CMakeLists.txt | 46 + .../improveSymmetryPlanes/CMakeLists.txt | 46 + .../cfMesh/mergeSurfacePatches/CMakeLists.txt | 46 + .../cfMesh/meshToFPMA/CMakeLists.txt | 46 + .../generation/cfMesh/pMesh/CMakeLists.txt | 46 + .../cfMesh/patchesToSubsets/CMakeLists.txt | 46 + .../cfMesh/preparePar/CMakeLists.txt | 46 + .../cfMesh/removeSurfaceFacets/CMakeLists.txt | 46 + .../cfMesh/scaleMesh/CMakeLists.txt | 46 + .../cfMesh/scaleSurfaceMesh/CMakeLists.txt | 46 + .../cfMesh/subsetToPatch/CMakeLists.txt | 46 + .../cfMesh/surfaceFeatureEdges/CMakeLists.txt | 46 + .../surfaceGenerateBoundingBox/CMakeLists.txt | 46 + .../cfMesh/surfaceToFMS/CMakeLists.txt | 46 + .../generation/cfMesh/tetMesh/CMakeLists.txt | 46 + .../generation/extrude2DMesh/CMakeLists.txt | 47 + .../generation/extrudeMesh/CMakeLists.txt | 51 + .../generation/snappyHexMesh/CMakeLists.txt | 46 + .../mesh/manipulation/CMakeLists.txt | 65 + .../manipulation/attachMesh/CMakeLists.txt | 47 + .../manipulation/autoPatch/CMakeLists.txt | 46 + .../mesh/manipulation/cellSet/CMakeLists.txt | 46 + .../manipulation/checkMesh/CMakeLists.txt | 49 + .../checkSurfaceCurvature/CMakeLists.txt | 46 + .../manipulation/createBaffles/CMakeLists.txt | 46 + .../manipulation/createPatch/CMakeLists.txt | 46 + .../manipulation/deformedGeom/CMakeLists.txt | 46 + .../deformedTetFemGeom/CMakeLists.txt | 46 + .../mesh/manipulation/faceSet/CMakeLists.txt | 46 + .../manipulation/flattenMesh/CMakeLists.txt | 46 + .../manipulation/insideCells/CMakeLists.txt | 46 + .../manipulation/mergeMeshes/CMakeLists.txt | 47 + .../mergeOrSplitBaffles/CMakeLists.txt | 46 + .../manipulation/mirrorMesh/CMakeLists.txt | 47 + .../moveDyMEngineMesh/CMakeLists.txt | 46 + .../moveDynamicMesh/CMakeLists.txt | 46 + .../moveEngineMesh/CMakeLists.txt | 46 + .../mesh/manipulation/moveMesh/CMakeLists.txt | 46 + .../mesh/manipulation/objToVTK/CMakeLists.txt | 46 + .../mesh/manipulation/pointSet/CMakeLists.txt | 46 + .../manipulation/refineMesh/CMakeLists.txt | 46 + .../regionCellSets/CMakeLists.txt | 46 + .../manipulation/renumberMesh/CMakeLists.txt | 46 + .../manipulation/rotateMesh/CMakeLists.txt | 46 + .../mesh/manipulation/setSet/CMakeLists.txt | 49 + .../manipulation/setsToZones/CMakeLists.txt | 46 + .../manipulation/splitMesh/CMakeLists.txt | 47 + .../splitMeshRegions/CMakeLists.txt | 46 + .../manipulation/stitchMesh/CMakeLists.txt | 46 + .../manipulation/subsetMesh/CMakeLists.txt | 46 + .../tetDecomposition/CMakeLists.txt | 46 + .../transformPoints/CMakeLists.txt | 46 + .../manipulation/zipUpMesh/CMakeLists.txt | 46 + .../utilities/miscellaneous/CMakeLists.txt | 37 + .../autoDerivative/CMakeLists.txt | 33 + .../autoDerivative/testFad/CMakeLists.txt | 46 + .../testFadField/CMakeLists.txt | 47 + .../expandDictionary/CMakeLists.txt | 46 + .../miscellaneous/findRoot/CMakeLists.txt | 46 + .../foamFormatConvert/CMakeLists.txt | 46 + .../miscellaneous/foamInfoExec/CMakeLists.txt | 46 + .../miscellaneous/patchSummary/CMakeLists.txt | 46 + .../parallelProcessing/CMakeLists.txt | 36 + .../decomposePar/CMakeLists.txt | 55 + .../decomposeSets/CMakeLists.txt | 47 + .../reconstructPar/CMakeLists.txt | 53 + .../reconstructParMesh/CMakeLists.txt | 54 + .../redistributeMeshPar/CMakeLists.txt | 46 + .../utilities/postProcessing/CMakeLists.txt | 46 + .../postProcessing/POD/CMakeLists.txt | 33 + .../POD/scalarSnapshots/CMakeLists.txt | 46 + .../POD/vectorSnapshots/CMakeLists.txt | 46 + .../dataConversion/CMakeLists.txt | 39 + .../foamDataToFluent/CMakeLists.txt | 48 + .../foamToEnsight/CMakeLists.txt | 50 + .../foamToEnsightParts/CMakeLists.txt | 46 + .../foamToFieldview9/CMakeLists.txt | 50 + .../dataConversion/foamToGMV/CMakeLists.txt | 47 + .../foamToTecplot360/CMakeLists.txt | 32 + .../foamToTecplot360/tecio/CMakeLists.txt | 32 + .../tecio/tecsrc/CMakeLists.txt | 58 + .../dataConversion/foamToVTK/CMakeLists.txt | 57 + .../dataConversion/smapToFoam/CMakeLists.txt | 46 + .../postProcessing/foamCalc/CMakeLists.txt | 46 + .../postProcessing/graphics/CMakeLists.txt | 37 + .../graphics/PV3FoamReader/CMakeLists.txt | 32 + .../PV3FoamReader/vtkPV3Foam/CMakeLists.txt | 50 + .../graphics/PV4FoamReader/CMakeLists.txt | 32 + .../PV4FoamReader/vtkPV4Foam/CMakeLists.txt | 50 + .../graphics/PVFoamReader/CMakeLists.txt | 32 + .../PVFoamReader/vtkFoam/CMakeLists.txt | 43 + .../PVReaders/PVFoamReader/CMakeLists.txt | 3 +- .../graphics/ensightFoamReader/CMakeLists.txt | 41 + .../graphics/fieldview9Reader/CMakeLists.txt | 48 + .../newEnsightFoamReader/CMakeLists.txt | 41 + .../postProcessing/lagrangian/CMakeLists.txt | 32 + .../lagrangian/particleTracks/CMakeLists.txt | 46 + .../miscellaneous/CMakeLists.txt | 40 + .../miscellaneous/calcLevelSet/CMakeLists.txt | 46 + .../dsmcFieldsCalc/CMakeLists.txt | 46 + .../engineCompRatio/CMakeLists.txt | 46 + .../execFlowFunctionObjects/CMakeLists.txt | 46 + .../miscellaneous/pdfPlot/CMakeLists.txt | 46 + .../miscellaneous/postChannel/CMakeLists.txt | 47 + .../miscellaneous/ptot/CMakeLists.txt | 46 + .../miscellaneous/wdot/CMakeLists.txt | 46 + .../writeCellCentres/CMakeLists.txt | 46 + .../postProcessing/multiSolver/CMakeLists.txt | 46 + .../postProcessing/patch/CMakeLists.txt | 33 + .../patch/patchAverage/CMakeLists.txt | 46 + .../patch/patchIntegrate/CMakeLists.txt | 46 + .../postProcessing/sampling/CMakeLists.txt | 33 + .../sampling/probeLocations/CMakeLists.txt | 46 + .../sampling/sample/CMakeLists.txt | 46 + .../postProcessing/scalarField/CMakeLists.txt | 32 + .../scalarField/pPrime2/CMakeLists.txt | 46 + .../postProcessing/stressField/CMakeLists.txt | 35 + .../stressField/calcPTot/CMakeLists.txt | 46 + .../interFoamPressure/CMakeLists.txt | 46 + .../stressField/solidStress/CMakeLists.txt | 46 + .../stressComponents/CMakeLists.txt | 46 + .../postProcessing/turbulence/CMakeLists.txt | 33 + .../turbulence/R/CMakeLists.txt | 46 + .../createTurbulenceFields/CMakeLists.txt | 46 + .../velocityField/CMakeLists.txt | 41 + .../velocityField/Co/CMakeLists.txt | 46 + .../velocityField/Lambda2/CMakeLists.txt | 46 + .../velocityField/Mach/CMakeLists.txt | 46 + .../velocityField/Pe/CMakeLists.txt | 46 + .../velocityField/Q/CMakeLists.txt | 46 + .../velocityField/enstrophy/CMakeLists.txt | 46 + .../velocityField/flowType/CMakeLists.txt | 46 + .../streamFunction/CMakeLists.txt | 46 + .../velocityField/uprime/CMakeLists.txt | 46 + .../velocityField/vorticity/CMakeLists.txt | 46 + .../viscoelastic/CMakeLists.txt | 34 + .../viscoelastic/PSD/CMakeLists.txt | 46 + .../stressDifferences/CMakeLists.txt | 46 + .../stressSymmComponents/CMakeLists.txt | 46 + .../postProcessing/wall/CMakeLists.txt | 36 + .../wall/wallGradU/CMakeLists.txt | 46 + .../wall/wallHeatFlux/CMakeLists.txt | 46 + .../wall/wallShearStress/CMakeLists.txt | 46 + .../wall/yPlusLES/CMakeLists.txt | 46 + .../wall/yPlusRAS/CMakeLists.txt | 46 + .../utilities/preProcessing/CMakeLists.txt | 42 + .../applyBoundaryLayer/CMakeLists.txt | 46 + .../CMakeLists.txt | 46 + .../preProcessing/boxTurb/CMakeLists.txt | 46 + .../changeDictionary/CMakeLists.txt | 46 + .../preProcessing/convertPhi/CMakeLists.txt | 46 + .../dsmcInitialise/CMakeLists.txt | 46 + .../preProcessing/engineSwirl/CMakeLists.txt | 46 + .../fluentDataToFoam/CMakeLists.txt | 49 + .../preProcessing/mapFields/CMakeLists.txt | 47 + .../preProcessing/mdInitialise/CMakeLists.txt | 46 + .../preProcessing/setFields/CMakeLists.txt | 46 + .../utilities/solidMechanics/CMakeLists.txt | 32 + .../setMatFromCellZones/CMakeLists.txt | 46 + applications/utilities/surface/CMakeLists.txt | 55 + .../surface/surfaceAdd/CMakeLists.txt | 46 + .../surface/surfaceAutoPatch/CMakeLists.txt | 46 + .../surface/surfaceCheck/CMakeLists.txt | 46 + .../surface/surfaceClean/CMakeLists.txt | 48 + .../surface/surfaceCoarsen/CMakeLists.txt | 54 + .../surface/surfaceConvert/CMakeLists.txt | 46 + .../surfaceFeatureConvert/CMakeLists.txt | 46 + .../surfaceFeatureExtract/CMakeLists.txt | 46 + .../surface/surfaceFind/CMakeLists.txt | 46 + .../surface/surfaceMeshConvert/CMakeLists.txt | 46 + .../surfaceMeshConvertTesting/CMakeLists.txt | 46 + .../surface/surfaceMeshExport/CMakeLists.txt | 46 + .../surface/surfaceMeshImport/CMakeLists.txt | 46 + .../surfaceMeshTriangulate/CMakeLists.txt | 46 + .../surface/surfaceOrient/CMakeLists.txt | 46 + .../surface/surfacePointMerge/CMakeLists.txt | 46 + .../surfaceRedistributePar/CMakeLists.txt | 46 + .../surfaceRefineRedGreen/CMakeLists.txt | 46 + .../surface/surfaceSmooth/CMakeLists.txt | 46 + .../surfaceSplitByPatch/CMakeLists.txt | 46 + .../surfaceSplitNonManifolds/CMakeLists.txt | 46 + .../surface/surfaceSubset/CMakeLists.txt | 46 + .../surface/surfaceToPatch/CMakeLists.txt | 48 + .../surfaceTransformPoints/CMakeLists.txt | 46 + .../utilities/thermophysical/CMakeLists.txt | 37 + .../IFCLookUpTableGen/CMakeLists.txt | 46 + .../adiabaticFlameT/CMakeLists.txt | 46 + .../chemkinToFoam/CMakeLists.txt | 46 + .../equilibriumCO/CMakeLists.txt | 46 + .../equilibriumFlameT/CMakeLists.txt | 46 + .../mixtureAdiabaticFlameT/CMakeLists.txt | 46 + cmake/FOAMConfig.cmake | 56 + cmake/FOAMConfig.cmake.in | 32 + cmake/FOAMConfigVersion.cmake | 31 + cmake/FOAMMacros.cmake | 67 + cmake/FOAMTargets.cmake | 1406 +++++++++++++++++ cmake/getGitVersion.cmake | 43 + cmake/storedVersion.cmake | 2 + cmake/storedVersion.cmake.in | 2 + src/CMakeLists.txt | 63 + src/ODE/CMakeLists.txt | 61 + src/OSspecific/CMakeLists.txt | 33 + src/OSspecific/MSWindows/CMakeLists.txt | 52 + src/OSspecific/POSIX/CMakeLists.txt | 64 + src/POD/CMakeLists.txt | 44 + src/conversion/CMakeLists.txt | 59 + src/coupledMatrix/CMakeLists.txt | 59 + src/cudaSolvers/CMakeLists.txt | 48 + src/dbns/CMakeLists.txt | 57 + src/decompositionMethods/CMakeLists.txt | 35 + .../decompositionMethods/CMakeLists.txt | 46 + .../metisDecomp/CMakeLists.txt | 41 + .../parMetisDecomp/CMakeLists.txt | 41 + .../scotchDecomp/CMakeLists.txt | 42 + src/dynamicMesh/CMakeLists.txt | 36 + src/dynamicMesh/dynamicFvMesh/CMakeLists.txt | 55 + src/dynamicMesh/dynamicMesh/CMakeLists.txt | 142 ++ .../dynamicTopoFvMesh/CMakeLists.txt | 79 + src/dynamicMesh/meshMotion/CMakeLists.txt | 36 + .../meshMotion/RBFMotionSolver/CMakeLists.txt | 41 + .../meshMotion/fvMotionSolver/CMakeLists.txt | 68 + .../mesquiteMotionSolver/CMakeLists.txt | 41 + .../meshMotion/solidBodyMotion/CMakeLists.txt | 52 + .../meshMotion/tetMotionSolver/CMakeLists.txt | 53 + .../topoChangerFvMesh/CMakeLists.txt | 50 + src/edgeMesh/CMakeLists.txt | 43 + src/engine/CMakeLists.txt | 123 ++ src/equationReader/CMakeLists.txt | 49 + src/errorEstimation/CMakeLists.txt | 43 + src/finiteArea/CMakeLists.txt | 193 +++ src/finiteVolume/CMakeLists.txt | 539 +++++++ src/foam/CMakeLists.txt | 903 +++++++++++ src/foam/global/global.C.in | 80 + src/fvAgglomerationMethods/CMakeLists.txt | 32 + .../MGridGenGamgAgglomeration/CMakeLists.txt | 42 + src/immersedBoundary/CMakeLists.txt | 35 + .../immersedBoundary/CMakeLists.txt | 51 + .../CMakeLists.txt | 42 + .../immersedBoundaryForce/CMakeLists.txt | 42 + .../immersedBoundaryTurbulence/CMakeLists.txt | 44 + src/lagrangian/CMakeLists.txt | 38 + src/lagrangian/basic/CMakeLists.txt | 47 + src/lagrangian/coalCombustion/CMakeLists.txt | 43 + src/lagrangian/dieselSpray/CMakeLists.txt | 122 ++ src/lagrangian/dsmc/CMakeLists.txt | 55 + src/lagrangian/intermediate/CMakeLists.txt | 159 ++ .../molecularDynamics/CMakeLists.txt | 34 + .../molecularMeasurements/CMakeLists.txt | 41 + .../molecularDynamics/molecule/CMakeLists.txt | 71 + .../potential/CMakeLists.txt | 88 ++ src/lagrangian/solidParticle/CMakeLists.txt | 43 + src/lduSolvers/CMakeLists.txt | 84 + src/mesh/CMakeLists.txt | 35 + src/mesh/autoMesh/CMakeLists.txt | 61 + src/mesh/blockMesh/CMakeLists.txt | 59 + src/mesh/cfMesh/CMakeLists.txt | 428 +++++ src/mesh/extrudeModel/CMakeLists.txt | 46 + src/meshTools/CMakeLists.txt | 202 +++ src/multiSolver/CMakeLists.txt | 45 + src/postProcessing/CMakeLists.txt | 34 + .../foamCalcFunctions/CMakeLists.txt | 53 + .../functionObjects/CMakeLists.txt | 37 + .../functionObjects/IO/CMakeLists.txt | 42 + .../functionObjects/check/CMakeLists.txt | 43 + .../functionObjects/field/CMakeLists.txt | 57 + .../functionObjects/forces/CMakeLists.txt | 78 + .../functionObjects/systemCall/CMakeLists.txt | 42 + .../functionObjects/utilities/CMakeLists.txt | 46 + src/postProcessing/postCalc/CMakeLists.txt | 41 + src/randomProcesses/CMakeLists.txt | 59 + src/sampling/CMakeLists.txt | 99 ++ src/solidModels/CMakeLists.txt | 139 ++ src/surfMesh/CMakeLists.txt | 87 + src/tetFiniteElement/CMakeLists.txt | 154 ++ src/thermophysicalModels/CMakeLists.txt | 44 + .../CMakeLists.txt | 45 + src/thermophysicalModels/basic/CMakeLists.txt | 68 + .../chemistryModel/CMakeLists.txt | 48 + .../laminarFlameSpeed/CMakeLists.txt | 45 + .../liquidMixture/CMakeLists.txt | 44 + .../liquids/CMakeLists.txt | 71 + src/thermophysicalModels/pdfs/CMakeLists.txt | 54 + .../radiation/CMakeLists.txt | 85 + .../reactionThermo/CMakeLists.txt | 66 + .../solidMixture/CMakeLists.txt | 41 + .../solids/CMakeLists.txt | 45 + .../specie/CMakeLists.txt | 57 + .../thermophysicalFunctions/CMakeLists.txt | 73 + src/transportModels/CMakeLists.txt | 34 + .../incompressible/CMakeLists.txt | 58 + .../interfaceProperties/CMakeLists.txt | 47 + .../viscoelastic/CMakeLists.txt | 61 + src/turbulenceModels/CMakeLists.txt | 34 + src/turbulenceModels/LES/CMakeLists.txt | 33 + .../LES/LESdeltas/CMakeLists.txt | 45 + .../LES/LESfilters/CMakeLists.txt | 44 + .../compressible/CMakeLists.txt | 34 + .../compressible/LES/CMakeLists.txt | 64 + .../compressible/RAS/CMakeLists.txt | 101 ++ .../turbulenceModel/CMakeLists.txt | 48 + .../incompressible/CMakeLists.txt | 34 + .../incompressible/LES/CMakeLists.txt | 79 + .../incompressible/RAS/CMakeLists.txt | 109 ++ .../turbulenceModel/CMakeLists.txt | 48 + .../Turbomachinery/CMakeFiles/CMakeLists.txt | 3 +- .../foam-extend/4.1/CMakeFiles/CMakeLists.txt | 3 +- tutorials/CMakeLists.txt | 40 + tutorials/basic/CMakeLists.txt | 34 + .../basic/PODSolver/1DPODsin/CMakeLists.txt | 32 + .../PODSolver/1DPODsin/setTcos/CMakeLists.txt | 46 + tutorials/basic/PODSolver/CMakeLists.txt | 32 + tutorials/basic/potentialFoam/CMakeLists.txt | 32 + .../potentialFoam/cylinder/CMakeLists.txt | 32 + .../analyticalCylinder/CMakeLists.txt | 46 + .../basic/scalarTransportFoam/CMakeLists.txt | 32 + .../swirlTest/CMakeLists.txt | 32 + .../swirlTest/setSwirl/CMakeLists.txt | 46 + tutorials/compressible/CMakeLists.txt | 32 + .../rhoCentralFoam/CMakeLists.txt | 32 + .../biconic25-55Run35/CMakeLists.txt | 32 + .../datToFoam/CMakeLists.txt | 46 + tutorials/finiteArea/CMakeLists.txt | 33 + .../finiteArea/liquidFilmFoam/CMakeLists.txt | 32 + .../dropsSpreading/CMakeLists.txt | 32 + .../setInitialDroplet/CMakeLists.txt | 46 + .../finiteArea/surfactantFoam/CMakeLists.txt | 32 + .../sphereTransport/CMakeLists.txt | 32 + .../sphereSurfactantFoam/CMakeLists.txt | 46 + tutorials/heatTransfer/CMakeLists.txt | 33 + .../buoyantPisoFoam/CMakeLists.txt | 32 + .../buoyantPisoFoam/hotRoom/CMakeLists.txt | 32 + .../hotRoom/setHotRoom/CMakeLists.txt | 46 + .../heatTransfer/setHotRoom/CMakeLists.txt | 46 + tutorials/immersedBoundary/CMakeLists.txt | 33 + .../sphereInChannel/CMakeLists.txt | 32 + .../refineSphereMesh/CMakeLists.txt | 46 + .../thickPlateRefinedMesh/CMakeLists.txt | 32 + .../refineThickPlateMesh/CMakeLists.txt | 46 + tutorials/incompressible/CMakeLists.txt | 32 + .../incompressible/icoDyMFoam/CMakeLists.txt | 33 + .../icoDyMFoam/movingBlockRBF/CMakeLists.txt | 32 + .../RBFMotionFunction/CMakeLists.txt | 41 + .../movingConeMotion/CMakeLists.txt | 32 + .../setMotionMovingCone/CMakeLists.txt | 46 + tutorials/lagrangian/CMakeLists.txt | 33 + .../icoLagrangianFoam/CMakeLists.txt | 32 + .../icoLagrangianFoam/CMakeLists.txt | 46 + .../rhoPisoTwinParcelFoam/CMakeLists.txt | 32 + .../rhoPisoTwinParcelFoam/CMakeLists.txt | 46 + tutorials/multiphase/CMakeLists.txt | 32 + .../multiphase/interDyMFoam/CMakeLists.txt | 32 + .../interDyMFoam/ras/CMakeLists.txt | 32 + .../ras/sloshingTank3D6DoF/CMakeLists.txt | 32 + .../sloshingTank3D6DoF/gen6DoF/CMakeLists.txt | 46 + tutorials/solidMechanics/CMakeLists.txt | 33 + .../elasticSolidFoam/CMakeLists.txt | 32 + .../elasticSolidFoam/plateHole/CMakeLists.txt | 32 + .../analyticalPlateHole/CMakeLists.txt | 46 + .../elasticThermalSolidFoam/CMakeLists.txt | 32 + .../hotCylinder/CMakeLists.txt | 32 + .../analyticalHotCylinder/CMakeLists.txt | 45 + 602 files changed, 31226 insertions(+), 348 deletions(-) create mode 100644 applications/CMakeLists.txt create mode 100644 applications/solvers/CMakeLists.txt create mode 100644 applications/solvers/DNS/CMakeLists.txt create mode 100644 applications/solvers/DNS/dnsFoam/CMakeLists.txt create mode 100644 applications/solvers/basic/CMakeLists.txt create mode 100644 applications/solvers/basic/PODSolver/CMakeLists.txt create mode 100644 applications/solvers/basic/laplacianFoam/CMakeLists.txt create mode 100644 applications/solvers/basic/potentialDyMFoam/CMakeLists.txt create mode 100644 applications/solvers/basic/potentialFoam/CMakeLists.txt create mode 100644 applications/solvers/basic/scalarTransportFoam/CMakeLists.txt create mode 100644 applications/solvers/basic/sixDOFSolver/CMakeLists.txt create mode 100644 applications/solvers/combustion/CMakeLists.txt create mode 100644 applications/solvers/combustion/PDRFoam/CMakeLists.txt create mode 100644 applications/solvers/combustion/XiFoam/CMakeLists.txt create mode 100644 applications/solvers/combustion/coldEngineFoam/CMakeLists.txt create mode 100644 applications/solvers/combustion/dieselEngineFoam/CMakeLists.txt create mode 100644 applications/solvers/combustion/dieselFoam/CMakeLists.txt create mode 100644 applications/solvers/combustion/engineFoam/CMakeLists.txt create mode 100644 applications/solvers/combustion/fireFoam/CMakeLists.txt create mode 100644 applications/solvers/combustion/fireFoam/combustionModels/CMakeLists.txt create mode 100644 applications/solvers/combustion/reactingFoam/CMakeLists.txt create mode 100644 applications/solvers/combustion/rhoReactingFoam/CMakeLists.txt create mode 100644 applications/solvers/compressible/CMakeLists.txt create mode 100644 applications/solvers/compressible/dbnsFoam/CMakeLists.txt create mode 100644 applications/solvers/compressible/dbnsTurbFoam/CMakeLists.txt create mode 100644 applications/solvers/compressible/realFluidPisoFoam/CMakeLists.txt create mode 100644 applications/solvers/compressible/rhoCentralFoam/BCs/CMakeLists.txt create mode 100644 applications/solvers/compressible/rhoCentralFoam/CMakeLists.txt create mode 100644 applications/solvers/compressible/rhoPimpleFoam/CMakeLists.txt create mode 100644 applications/solvers/compressible/rhoPisoFoam/CMakeLists.txt create mode 100644 applications/solvers/compressible/rhoPorousMRFPimpleFoam/CMakeLists.txt create mode 100644 applications/solvers/compressible/rhoPorousSimpleFoam/CMakeLists.txt create mode 100644 applications/solvers/compressible/rhoSimpleFoam/CMakeLists.txt create mode 100644 applications/solvers/compressible/rhoSonicFoam/CMakeLists.txt create mode 100644 applications/solvers/compressible/rhopSonicFoam/BCs/CMakeLists.txt create mode 100644 applications/solvers/compressible/rhopSonicFoam/CMakeLists.txt create mode 100644 applications/solvers/compressible/sonicDyMFoam/CMakeLists.txt create mode 100644 applications/solvers/compressible/sonicFoam/CMakeLists.txt create mode 100644 applications/solvers/compressible/sonicLiquidFoam/CMakeLists.txt create mode 100644 applications/solvers/compressible/steadyCompressibleFoam/CMakeLists.txt create mode 100644 applications/solvers/compressible/steadyCompressibleMRFFoam/CMakeLists.txt create mode 100644 applications/solvers/compressible/steadyCompressibleSRFFoam/CMakeLists.txt create mode 100644 applications/solvers/compressible/steadyUniversalFoam/CMakeLists.txt create mode 100644 applications/solvers/compressible/steadyUniversalMRFFoam/CMakeLists.txt create mode 100644 applications/solvers/coupled/CMakeLists.txt create mode 100644 applications/solvers/coupled/MRFPorousFoam/CMakeLists.txt create mode 100644 applications/solvers/coupled/blockCoupledScalarTransportFoam/CMakeLists.txt create mode 100644 applications/solvers/coupled/conjugateHeatFoam/CMakeLists.txt create mode 100644 applications/solvers/coupled/conjugateHeatSimpleFoam/CMakeLists.txt create mode 100644 applications/solvers/coupled/conjugateHeatTransfer/CMakeLists.txt create mode 100644 applications/solvers/coupled/pUCoupledFoam/CMakeLists.txt create mode 100644 applications/solvers/discreteMethods/CMakeLists.txt create mode 100644 applications/solvers/discreteMethods/dsmc/CMakeLists.txt create mode 100644 applications/solvers/discreteMethods/dsmc/dsmcFoam/CMakeLists.txt create mode 100644 applications/solvers/discreteMethods/molecularDynamics/CMakeLists.txt create mode 100644 applications/solvers/discreteMethods/molecularDynamics/mdEquilibrationFoam/CMakeLists.txt create mode 100644 applications/solvers/discreteMethods/molecularDynamics/mdFoam/CMakeLists.txt create mode 100644 applications/solvers/electromagnetics/CMakeLists.txt create mode 100644 applications/solvers/electromagnetics/electrostaticFoam/CMakeLists.txt create mode 100644 applications/solvers/electromagnetics/mhdFoam/CMakeLists.txt create mode 100644 applications/solvers/engine/CMakeLists.txt create mode 100644 applications/solvers/engine/icoDyMEngineFoam/CMakeLists.txt create mode 100644 applications/solvers/engine/sonicTurbDyMEngineFoam/CMakeLists.txt create mode 100644 applications/solvers/engine/turbDyMEngineFoam/CMakeLists.txt create mode 100644 applications/solvers/equationReaderDemo/CMakeLists.txt create mode 100644 applications/solvers/financial/CMakeLists.txt create mode 100644 applications/solvers/financial/financialFoam/CMakeLists.txt create mode 100644 applications/solvers/finiteArea/CMakeLists.txt create mode 100644 applications/solvers/finiteArea/liquidFilmFoam/CMakeLists.txt create mode 100644 applications/solvers/finiteArea/surfactantFoam/CMakeLists.txt create mode 100644 applications/solvers/heatTransfer/CMakeLists.txt create mode 100644 applications/solvers/heatTransfer/boussinesqBuoyantFoam/CMakeLists.txt create mode 100644 applications/solvers/heatTransfer/buoyantBoussinesqPisoFoam/CMakeLists.txt create mode 100644 applications/solvers/heatTransfer/buoyantBoussinesqSimpleFoam/CMakeLists.txt create mode 100644 applications/solvers/heatTransfer/buoyantPisoFoam/CMakeLists.txt create mode 100644 applications/solvers/heatTransfer/buoyantSimpleFoam/CMakeLists.txt create mode 100644 applications/solvers/heatTransfer/buoyantSimpleRadiationFoam/CMakeLists.txt create mode 100644 applications/solvers/heatTransfer/chtMultiRegionFoam/CMakeLists.txt create mode 100644 applications/solvers/heatTransfer/chtMultiRegionSimpleFoam/CMakeLists.txt create mode 100644 applications/solvers/immersedBoundary/CMakeLists.txt create mode 100644 applications/solvers/immersedBoundary/icoDyMIbFoam/CMakeLists.txt create mode 100644 applications/solvers/immersedBoundary/icoIbFoam/CMakeLists.txt create mode 100644 applications/solvers/immersedBoundary/interIbFoam/CMakeLists.txt create mode 100644 applications/solvers/immersedBoundary/porousSimpleIbFoam/CMakeLists.txt create mode 100644 applications/solvers/immersedBoundary/potentialIbFoam/CMakeLists.txt create mode 100644 applications/solvers/immersedBoundary/simpleIbFoam/CMakeLists.txt create mode 100644 applications/solvers/incompressible/CMakeLists.txt create mode 100644 applications/solvers/incompressible/MRFSimpleFoam/CMakeLists.txt create mode 100644 applications/solvers/incompressible/boundaryFoam/CMakeLists.txt create mode 100644 applications/solvers/incompressible/channelFoam/CMakeLists.txt create mode 100644 applications/solvers/incompressible/icoDyMFoam/CMakeLists.txt create mode 100644 applications/solvers/incompressible/icoDyMSimpleFoam/CMakeLists.txt create mode 100644 applications/solvers/incompressible/icoFoam/CMakeLists.txt create mode 100644 applications/solvers/incompressible/nonNewtonianIcoFoam/CMakeLists.txt create mode 100644 applications/solvers/incompressible/pimpleDyMFoam/CMakeLists.txt create mode 100644 applications/solvers/incompressible/pimpleFoam/CMakeLists.txt create mode 100644 applications/solvers/incompressible/pisoFoam/CMakeLists.txt create mode 100644 applications/solvers/incompressible/porousSimpleFoam/CMakeLists.txt create mode 100644 applications/solvers/incompressible/shallowWaterFoam/CMakeLists.txt create mode 100644 applications/solvers/incompressible/simpleFoam/CMakeLists.txt create mode 100644 applications/solvers/incompressible/simpleSRFFoam/CMakeLists.txt create mode 100644 applications/solvers/lagrangian/CMakeLists.txt create mode 100644 applications/solvers/lagrangian/coalChemistryFoam/CMakeLists.txt create mode 100644 applications/solvers/lagrangian/porousExplicitSourceReactingParcelFoam/CMakeLists.txt create mode 100644 applications/solvers/lagrangian/reactingParcelFoam/CMakeLists.txt create mode 100644 applications/solvers/lagrangian/uncoupledKinematicParcelFoam/CMakeLists.txt create mode 100644 applications/solvers/multiSolver/CMakeLists.txt create mode 100644 applications/solvers/multiSolver/multiSolverDemo/CMakeLists.txt create mode 100644 applications/solvers/multiphase/CMakeLists.txt create mode 100644 applications/solvers/multiphase/MRFInterFoam/CMakeLists.txt create mode 100644 applications/solvers/multiphase/barotropicCavitatingFoam/CMakeLists.txt create mode 100644 applications/solvers/multiphase/bubbleFoam/CMakeLists.txt create mode 100644 applications/solvers/multiphase/cavitatingFoam/CMakeLists.txt create mode 100644 applications/solvers/multiphase/compressibleInterDyMFoam/CMakeLists.txt create mode 100644 applications/solvers/multiphase/compressibleInterFoam/CMakeLists.txt create mode 100644 applications/solvers/multiphase/interDyMFoam/CMakeLists.txt create mode 100644 applications/solvers/multiphase/interFoam/CMakeLists.txt create mode 100644 applications/solvers/multiphase/interMixingFoam/CMakeLists.txt create mode 100644 applications/solvers/multiphase/interPhaseChangeFoam/CMakeLists.txt create mode 100644 applications/solvers/multiphase/multiphaseInterFoam/CMakeLists.txt create mode 100644 applications/solvers/multiphase/porousInterFoam/CMakeLists.txt create mode 100644 applications/solvers/multiphase/settlingFoam/CMakeLists.txt create mode 100644 applications/solvers/multiphase/twoLiquidMixingFoam/CMakeLists.txt create mode 100644 applications/solvers/multiphase/twoPhaseEulerFoam/CMakeLists.txt create mode 100644 applications/solvers/multiphase/twoPhaseEulerFoam/interfacialModels/CMakeLists.txt create mode 100644 applications/solvers/multiphase/twoPhaseEulerFoam/kineticTheoryModels/CMakeLists.txt create mode 100644 applications/solvers/multiphase/twoPhaseEulerFoam/phaseModel/CMakeLists.txt create mode 100644 applications/solvers/solidMechanics/CMakeLists.txt create mode 100644 applications/solvers/solidMechanics/deprecatedSolvers/CMakeLists.txt create mode 100644 applications/solvers/solidMechanics/deprecatedSolvers/contactStressFoam/CMakeLists.txt create mode 100644 applications/solvers/solidMechanics/deprecatedSolvers/icoFsiFoam/CMakeLists.txt create mode 100644 applications/solvers/solidMechanics/deprecatedSolvers/materialModels/CMakeLists.txt create mode 100644 applications/solvers/solidMechanics/deprecatedSolvers/newContactStressFoam/CMakeLists.txt create mode 100644 applications/solvers/solidMechanics/deprecatedSolvers/newStressedFoam/CMakeLists.txt create mode 100644 applications/solvers/solidMechanics/deprecatedSolvers/solidDisplacementFoam/CMakeLists.txt create mode 100644 applications/solvers/solidMechanics/deprecatedSolvers/solidEquilibriumDisplacementFoam/CMakeLists.txt create mode 100644 applications/solvers/solidMechanics/deprecatedSolvers/stressedFoam/CMakeLists.txt create mode 100644 applications/solvers/solidMechanics/elasticAcpSolidFoam/CMakeLists.txt create mode 100644 applications/solvers/solidMechanics/elasticIncrAcpSolidFoam/CMakeLists.txt create mode 100644 applications/solvers/solidMechanics/elasticIncrSolidFoam/CMakeLists.txt create mode 100644 applications/solvers/solidMechanics/elasticNonLinIncrTLSolidFoam/CMakeLists.txt create mode 100644 applications/solvers/solidMechanics/elasticNonLinTLSolidFoam/CMakeLists.txt create mode 100644 applications/solvers/solidMechanics/elasticNonLinULSolidFoam/CMakeLists.txt create mode 100644 applications/solvers/solidMechanics/elasticOrthoAcpSolidFoam/CMakeLists.txt create mode 100644 applications/solvers/solidMechanics/elasticOrthoNonLinULSolidFoam/CMakeLists.txt create mode 100644 applications/solvers/solidMechanics/elasticOrthoSolidFoam/CMakeLists.txt create mode 100644 applications/solvers/solidMechanics/elasticPlasticNonLinTLSolidFoam/CMakeLists.txt create mode 100644 applications/solvers/solidMechanics/elasticPlasticNonLinULSolidFoam/CMakeLists.txt create mode 100644 applications/solvers/solidMechanics/elasticPlasticSolidFoam/CMakeLists.txt create mode 100644 applications/solvers/solidMechanics/elasticSolidFoam/CMakeLists.txt create mode 100644 applications/solvers/solidMechanics/elasticThermalSolidFoam/CMakeLists.txt create mode 100644 applications/solvers/solidMechanics/icoFsiElasticNonLinULSolidFoam/CMakeLists.txt create mode 100644 applications/solvers/solidMechanics/stressFemFoam/CMakeLists.txt create mode 100644 applications/solvers/solidMechanics/utilities/CMakeLists.txt create mode 100644 applications/solvers/solidMechanics/utilities/calculateCourantNumber/CMakeLists.txt create mode 100644 applications/solvers/solidMechanics/utilities/forceDisp/CMakeLists.txt create mode 100644 applications/solvers/solidMechanics/utilities/patchStressIntegrate/CMakeLists.txt create mode 100644 applications/solvers/solidMechanics/utilities/smoothMesh/CMakeLists.txt create mode 100644 applications/solvers/solidMechanics/utilities/surfaceTractions/CMakeLists.txt create mode 100644 applications/solvers/solidMechanics/viscoElasticSolidFoam/CMakeLists.txt create mode 100644 applications/solvers/surfaceTracking/CMakeLists.txt create mode 100644 applications/solvers/surfaceTracking/bubbleInterTrackFoam/CMakeLists.txt create mode 100644 applications/solvers/surfaceTracking/freeSurface/CMakeLists.txt create mode 100644 applications/solvers/surfaceTracking/interTrackFoam/CMakeLists.txt create mode 100644 applications/solvers/surfaceTracking/utilities/CMakeLists.txt create mode 100644 applications/solvers/surfaceTracking/utilities/setFluidIndicator/CMakeLists.txt create mode 100644 applications/solvers/viscoelastic/CMakeLists.txt create mode 100644 applications/solvers/viscoelastic/viscoelasticFluidFoam/CMakeLists.txt create mode 100644 applications/utilities/CMakeLists.txt create mode 100644 applications/utilities/errorEstimation/CMakeLists.txt create mode 100644 applications/utilities/errorEstimation/estimateScalarError/CMakeLists.txt create mode 100644 applications/utilities/errorEstimation/icoErrorEstimate/CMakeLists.txt create mode 100644 applications/utilities/errorEstimation/icoMomentError/CMakeLists.txt create mode 100644 applications/utilities/errorEstimation/momentScalarError/CMakeLists.txt create mode 100644 applications/utilities/errorEstimation/simpleFoamResidual/CMakeLists.txt create mode 100644 applications/utilities/finiteArea/CMakeLists.txt create mode 100644 applications/utilities/finiteArea/checkFaMesh/CMakeLists.txt create mode 100644 applications/utilities/finiteArea/createFaMeshFromStl/CMakeLists.txt create mode 100644 applications/utilities/finiteArea/makeFaMesh/CMakeLists.txt create mode 100644 applications/utilities/immersedBoundary/CMakeLists.txt create mode 100644 applications/utilities/immersedBoundary/ibContinuityError/CMakeLists.txt create mode 100644 applications/utilities/immersedBoundary/makeTriSurfaceMesh/CMakeLists.txt create mode 100644 applications/utilities/immersedBoundary/refineImmersedBoundaryMesh/CMakeLists.txt create mode 100644 applications/utilities/immersedBoundary/surfaceInvertNormal/CMakeLists.txt create mode 100644 applications/utilities/immersedBoundary/surfaceNormal/CMakeLists.txt create mode 100644 applications/utilities/immersedBoundary/writeIbMasks/CMakeLists.txt create mode 100644 applications/utilities/mesh/CMakeLists.txt create mode 100644 applications/utilities/mesh/advanced/CMakeLists.txt create mode 100644 applications/utilities/mesh/advanced/autoRefineMesh/CMakeLists.txt create mode 100644 applications/utilities/mesh/advanced/collapseEdges/CMakeLists.txt create mode 100644 applications/utilities/mesh/advanced/combinePatchFaces/CMakeLists.txt create mode 100644 applications/utilities/mesh/advanced/modifyMesh/CMakeLists.txt create mode 100644 applications/utilities/mesh/advanced/refineHexMesh/CMakeLists.txt create mode 100644 applications/utilities/mesh/advanced/refineWallLayer/CMakeLists.txt create mode 100644 applications/utilities/mesh/advanced/refinementLevel/CMakeLists.txt create mode 100644 applications/utilities/mesh/advanced/removeFaces/CMakeLists.txt create mode 100644 applications/utilities/mesh/advanced/selectCells/CMakeLists.txt create mode 100644 applications/utilities/mesh/advanced/splitCells/CMakeLists.txt create mode 100644 applications/utilities/mesh/conversion/CMakeLists.txt create mode 100644 applications/utilities/mesh/conversion/Optional/CMakeLists.txt create mode 100644 applications/utilities/mesh/conversion/Optional/ccm26ToFoam/CMakeLists.txt create mode 100644 applications/utilities/mesh/conversion/ansysToFoam/CMakeLists.txt create mode 100644 applications/utilities/mesh/conversion/cfx4ToFoam/CMakeLists.txt create mode 100644 applications/utilities/mesh/conversion/fluent3DMeshToElmer/CMakeLists.txt create mode 100644 applications/utilities/mesh/conversion/fluent3DMeshToFoam/CMakeLists.txt create mode 100644 applications/utilities/mesh/conversion/fluentMeshToFoam/CMakeLists.txt create mode 100644 applications/utilities/mesh/conversion/foamMeshToAbaqus/CMakeLists.txt create mode 100644 applications/utilities/mesh/conversion/foamMeshToElmer/CMakeLists.txt create mode 100644 applications/utilities/mesh/conversion/foamMeshToFluent/CMakeLists.txt create mode 100644 applications/utilities/mesh/conversion/foamToStarMesh/CMakeLists.txt create mode 100644 applications/utilities/mesh/conversion/gambitToFoam/CMakeLists.txt create mode 100644 applications/utilities/mesh/conversion/gmshToFoam/CMakeLists.txt create mode 100644 applications/utilities/mesh/conversion/ideasUnvToFoam/CMakeLists.txt create mode 100644 applications/utilities/mesh/conversion/kivaToFoam/CMakeLists.txt create mode 100644 applications/utilities/mesh/conversion/mshToFoam/CMakeLists.txt create mode 100644 applications/utilities/mesh/conversion/netgenNeutralToFoam/CMakeLists.txt create mode 100644 applications/utilities/mesh/conversion/plot3dToFoam/CMakeLists.txt create mode 100644 applications/utilities/mesh/conversion/polyDualMesh/CMakeLists.txt create mode 100644 applications/utilities/mesh/conversion/sammToFoam/CMakeLists.txt create mode 100644 applications/utilities/mesh/conversion/star4ToFoam/CMakeLists.txt create mode 100644 applications/utilities/mesh/conversion/star4ToFoam/cellZoneToCellTableId/CMakeLists.txt create mode 100644 applications/utilities/mesh/conversion/star4ToFoam/foamMeshToStar/CMakeLists.txt create mode 100644 applications/utilities/mesh/conversion/star4ToFoam/star4ToFoam/CMakeLists.txt create mode 100644 applications/utilities/mesh/conversion/starToFoam/CMakeLists.txt create mode 100644 applications/utilities/mesh/conversion/tetgenToFoam/CMakeLists.txt create mode 100644 applications/utilities/mesh/conversion/writeMeshObj/CMakeLists.txt create mode 100644 applications/utilities/mesh/generation/CMakeLists.txt create mode 100644 applications/utilities/mesh/generation/blockMesh/CMakeLists.txt create mode 100644 applications/utilities/mesh/generation/cfMesh/CMakeLists.txt create mode 100644 applications/utilities/mesh/generation/cfMesh/FLMAToSurface/CMakeLists.txt create mode 100644 applications/utilities/mesh/generation/cfMesh/FMSToSurface/CMakeLists.txt create mode 100644 applications/utilities/mesh/generation/cfMesh/FMSToVTK/CMakeLists.txt create mode 100644 applications/utilities/mesh/generation/cfMesh/cartesian2DMesh/CMakeLists.txt create mode 100644 applications/utilities/mesh/generation/cfMesh/cartesianMesh/CMakeLists.txt create mode 100644 applications/utilities/mesh/generation/cfMesh/checkSurfaceMesh/CMakeLists.txt create mode 100644 applications/utilities/mesh/generation/cfMesh/copySurfaceParts/CMakeLists.txt create mode 100644 applications/utilities/mesh/generation/cfMesh/extrudeEdgesInto2DSurface/CMakeLists.txt create mode 100644 applications/utilities/mesh/generation/cfMesh/generateBoundaryLayers/CMakeLists.txt create mode 100644 applications/utilities/mesh/generation/cfMesh/importSurfaceAsSubset/CMakeLists.txt create mode 100644 applications/utilities/mesh/generation/cfMesh/improveMeshQuality/CMakeLists.txt create mode 100644 applications/utilities/mesh/generation/cfMesh/improveSymmetryPlanes/CMakeLists.txt create mode 100644 applications/utilities/mesh/generation/cfMesh/mergeSurfacePatches/CMakeLists.txt create mode 100644 applications/utilities/mesh/generation/cfMesh/meshToFPMA/CMakeLists.txt create mode 100644 applications/utilities/mesh/generation/cfMesh/pMesh/CMakeLists.txt create mode 100644 applications/utilities/mesh/generation/cfMesh/patchesToSubsets/CMakeLists.txt create mode 100644 applications/utilities/mesh/generation/cfMesh/preparePar/CMakeLists.txt create mode 100644 applications/utilities/mesh/generation/cfMesh/removeSurfaceFacets/CMakeLists.txt create mode 100644 applications/utilities/mesh/generation/cfMesh/scaleMesh/CMakeLists.txt create mode 100644 applications/utilities/mesh/generation/cfMesh/scaleSurfaceMesh/CMakeLists.txt create mode 100644 applications/utilities/mesh/generation/cfMesh/subsetToPatch/CMakeLists.txt create mode 100644 applications/utilities/mesh/generation/cfMesh/surfaceFeatureEdges/CMakeLists.txt create mode 100644 applications/utilities/mesh/generation/cfMesh/surfaceGenerateBoundingBox/CMakeLists.txt create mode 100644 applications/utilities/mesh/generation/cfMesh/surfaceToFMS/CMakeLists.txt create mode 100644 applications/utilities/mesh/generation/cfMesh/tetMesh/CMakeLists.txt create mode 100644 applications/utilities/mesh/generation/extrude2DMesh/CMakeLists.txt create mode 100644 applications/utilities/mesh/generation/extrudeMesh/CMakeLists.txt create mode 100644 applications/utilities/mesh/generation/snappyHexMesh/CMakeLists.txt create mode 100644 applications/utilities/mesh/manipulation/CMakeLists.txt create mode 100644 applications/utilities/mesh/manipulation/attachMesh/CMakeLists.txt create mode 100644 applications/utilities/mesh/manipulation/autoPatch/CMakeLists.txt create mode 100644 applications/utilities/mesh/manipulation/cellSet/CMakeLists.txt create mode 100644 applications/utilities/mesh/manipulation/checkMesh/CMakeLists.txt create mode 100644 applications/utilities/mesh/manipulation/checkSurfaceCurvature/CMakeLists.txt create mode 100644 applications/utilities/mesh/manipulation/createBaffles/CMakeLists.txt create mode 100644 applications/utilities/mesh/manipulation/createPatch/CMakeLists.txt create mode 100644 applications/utilities/mesh/manipulation/deformedGeom/CMakeLists.txt create mode 100644 applications/utilities/mesh/manipulation/deformedTetFemGeom/CMakeLists.txt create mode 100644 applications/utilities/mesh/manipulation/faceSet/CMakeLists.txt create mode 100644 applications/utilities/mesh/manipulation/flattenMesh/CMakeLists.txt create mode 100644 applications/utilities/mesh/manipulation/insideCells/CMakeLists.txt create mode 100644 applications/utilities/mesh/manipulation/mergeMeshes/CMakeLists.txt create mode 100644 applications/utilities/mesh/manipulation/mergeOrSplitBaffles/CMakeLists.txt create mode 100644 applications/utilities/mesh/manipulation/mirrorMesh/CMakeLists.txt create mode 100644 applications/utilities/mesh/manipulation/moveDyMEngineMesh/CMakeLists.txt create mode 100644 applications/utilities/mesh/manipulation/moveDynamicMesh/CMakeLists.txt create mode 100644 applications/utilities/mesh/manipulation/moveEngineMesh/CMakeLists.txt create mode 100644 applications/utilities/mesh/manipulation/moveMesh/CMakeLists.txt create mode 100644 applications/utilities/mesh/manipulation/objToVTK/CMakeLists.txt create mode 100644 applications/utilities/mesh/manipulation/pointSet/CMakeLists.txt create mode 100644 applications/utilities/mesh/manipulation/refineMesh/CMakeLists.txt create mode 100644 applications/utilities/mesh/manipulation/regionCellSets/CMakeLists.txt create mode 100644 applications/utilities/mesh/manipulation/renumberMesh/CMakeLists.txt create mode 100644 applications/utilities/mesh/manipulation/rotateMesh/CMakeLists.txt create mode 100644 applications/utilities/mesh/manipulation/setSet/CMakeLists.txt create mode 100644 applications/utilities/mesh/manipulation/setsToZones/CMakeLists.txt create mode 100644 applications/utilities/mesh/manipulation/splitMesh/CMakeLists.txt create mode 100644 applications/utilities/mesh/manipulation/splitMeshRegions/CMakeLists.txt create mode 100644 applications/utilities/mesh/manipulation/stitchMesh/CMakeLists.txt create mode 100644 applications/utilities/mesh/manipulation/subsetMesh/CMakeLists.txt create mode 100644 applications/utilities/mesh/manipulation/tetDecomposition/CMakeLists.txt create mode 100644 applications/utilities/mesh/manipulation/transformPoints/CMakeLists.txt create mode 100644 applications/utilities/mesh/manipulation/zipUpMesh/CMakeLists.txt create mode 100644 applications/utilities/miscellaneous/CMakeLists.txt create mode 100644 applications/utilities/miscellaneous/autoDerivative/CMakeLists.txt create mode 100644 applications/utilities/miscellaneous/autoDerivative/testFad/CMakeLists.txt create mode 100644 applications/utilities/miscellaneous/autoDerivative/testFadField/CMakeLists.txt create mode 100644 applications/utilities/miscellaneous/expandDictionary/CMakeLists.txt create mode 100644 applications/utilities/miscellaneous/findRoot/CMakeLists.txt create mode 100644 applications/utilities/miscellaneous/foamFormatConvert/CMakeLists.txt create mode 100644 applications/utilities/miscellaneous/foamInfoExec/CMakeLists.txt create mode 100644 applications/utilities/miscellaneous/patchSummary/CMakeLists.txt create mode 100644 applications/utilities/parallelProcessing/CMakeLists.txt create mode 100644 applications/utilities/parallelProcessing/decomposePar/CMakeLists.txt create mode 100644 applications/utilities/parallelProcessing/decomposeSets/CMakeLists.txt create mode 100644 applications/utilities/parallelProcessing/reconstructPar/CMakeLists.txt create mode 100644 applications/utilities/parallelProcessing/reconstructParMesh/CMakeLists.txt create mode 100644 applications/utilities/parallelProcessing/redistributeMeshPar/CMakeLists.txt create mode 100644 applications/utilities/postProcessing/CMakeLists.txt create mode 100644 applications/utilities/postProcessing/POD/CMakeLists.txt create mode 100644 applications/utilities/postProcessing/POD/scalarSnapshots/CMakeLists.txt create mode 100644 applications/utilities/postProcessing/POD/vectorSnapshots/CMakeLists.txt create mode 100644 applications/utilities/postProcessing/dataConversion/CMakeLists.txt create mode 100644 applications/utilities/postProcessing/dataConversion/foamDataToFluent/CMakeLists.txt create mode 100644 applications/utilities/postProcessing/dataConversion/foamToEnsight/CMakeLists.txt create mode 100644 applications/utilities/postProcessing/dataConversion/foamToEnsightParts/CMakeLists.txt create mode 100644 applications/utilities/postProcessing/dataConversion/foamToFieldview9/CMakeLists.txt create mode 100644 applications/utilities/postProcessing/dataConversion/foamToGMV/CMakeLists.txt create mode 100644 applications/utilities/postProcessing/dataConversion/foamToTecplot360/CMakeLists.txt create mode 100644 applications/utilities/postProcessing/dataConversion/foamToTecplot360/tecio/CMakeLists.txt create mode 100644 applications/utilities/postProcessing/dataConversion/foamToTecplot360/tecio/tecsrc/CMakeLists.txt create mode 100644 applications/utilities/postProcessing/dataConversion/foamToVTK/CMakeLists.txt create mode 100644 applications/utilities/postProcessing/dataConversion/smapToFoam/CMakeLists.txt create mode 100644 applications/utilities/postProcessing/foamCalc/CMakeLists.txt create mode 100644 applications/utilities/postProcessing/graphics/CMakeLists.txt create mode 100644 applications/utilities/postProcessing/graphics/PV3FoamReader/CMakeLists.txt create mode 100644 applications/utilities/postProcessing/graphics/PV3FoamReader/vtkPV3Foam/CMakeLists.txt create mode 100644 applications/utilities/postProcessing/graphics/PV4FoamReader/CMakeLists.txt create mode 100644 applications/utilities/postProcessing/graphics/PV4FoamReader/vtkPV4Foam/CMakeLists.txt create mode 100644 applications/utilities/postProcessing/graphics/PVFoamReader/CMakeLists.txt create mode 100644 applications/utilities/postProcessing/graphics/PVFoamReader/vtkFoam/CMakeLists.txt create mode 100644 applications/utilities/postProcessing/graphics/ensightFoamReader/CMakeLists.txt create mode 100644 applications/utilities/postProcessing/graphics/fieldview9Reader/CMakeLists.txt create mode 100644 applications/utilities/postProcessing/graphics/newEnsightFoamReader/CMakeLists.txt create mode 100644 applications/utilities/postProcessing/lagrangian/CMakeLists.txt create mode 100644 applications/utilities/postProcessing/lagrangian/particleTracks/CMakeLists.txt create mode 100644 applications/utilities/postProcessing/miscellaneous/CMakeLists.txt create mode 100644 applications/utilities/postProcessing/miscellaneous/calcLevelSet/CMakeLists.txt create mode 100644 applications/utilities/postProcessing/miscellaneous/dsmcFieldsCalc/CMakeLists.txt create mode 100644 applications/utilities/postProcessing/miscellaneous/engineCompRatio/CMakeLists.txt create mode 100644 applications/utilities/postProcessing/miscellaneous/execFlowFunctionObjects/CMakeLists.txt create mode 100644 applications/utilities/postProcessing/miscellaneous/pdfPlot/CMakeLists.txt create mode 100644 applications/utilities/postProcessing/miscellaneous/postChannel/CMakeLists.txt create mode 100644 applications/utilities/postProcessing/miscellaneous/ptot/CMakeLists.txt create mode 100644 applications/utilities/postProcessing/miscellaneous/wdot/CMakeLists.txt create mode 100644 applications/utilities/postProcessing/miscellaneous/writeCellCentres/CMakeLists.txt create mode 100644 applications/utilities/postProcessing/multiSolver/CMakeLists.txt create mode 100644 applications/utilities/postProcessing/patch/CMakeLists.txt create mode 100644 applications/utilities/postProcessing/patch/patchAverage/CMakeLists.txt create mode 100644 applications/utilities/postProcessing/patch/patchIntegrate/CMakeLists.txt create mode 100644 applications/utilities/postProcessing/sampling/CMakeLists.txt create mode 100644 applications/utilities/postProcessing/sampling/probeLocations/CMakeLists.txt create mode 100644 applications/utilities/postProcessing/sampling/sample/CMakeLists.txt create mode 100644 applications/utilities/postProcessing/scalarField/CMakeLists.txt create mode 100644 applications/utilities/postProcessing/scalarField/pPrime2/CMakeLists.txt create mode 100644 applications/utilities/postProcessing/stressField/CMakeLists.txt create mode 100644 applications/utilities/postProcessing/stressField/calcPTot/CMakeLists.txt create mode 100644 applications/utilities/postProcessing/stressField/interFoamPressure/CMakeLists.txt create mode 100644 applications/utilities/postProcessing/stressField/solidStress/CMakeLists.txt create mode 100644 applications/utilities/postProcessing/stressField/stressComponents/CMakeLists.txt create mode 100644 applications/utilities/postProcessing/turbulence/CMakeLists.txt create mode 100644 applications/utilities/postProcessing/turbulence/R/CMakeLists.txt create mode 100644 applications/utilities/postProcessing/turbulence/createTurbulenceFields/CMakeLists.txt create mode 100644 applications/utilities/postProcessing/velocityField/CMakeLists.txt create mode 100644 applications/utilities/postProcessing/velocityField/Co/CMakeLists.txt create mode 100644 applications/utilities/postProcessing/velocityField/Lambda2/CMakeLists.txt create mode 100644 applications/utilities/postProcessing/velocityField/Mach/CMakeLists.txt create mode 100644 applications/utilities/postProcessing/velocityField/Pe/CMakeLists.txt create mode 100644 applications/utilities/postProcessing/velocityField/Q/CMakeLists.txt create mode 100644 applications/utilities/postProcessing/velocityField/enstrophy/CMakeLists.txt create mode 100644 applications/utilities/postProcessing/velocityField/flowType/CMakeLists.txt create mode 100644 applications/utilities/postProcessing/velocityField/streamFunction/CMakeLists.txt create mode 100644 applications/utilities/postProcessing/velocityField/uprime/CMakeLists.txt create mode 100644 applications/utilities/postProcessing/velocityField/vorticity/CMakeLists.txt create mode 100644 applications/utilities/postProcessing/viscoelastic/CMakeLists.txt create mode 100644 applications/utilities/postProcessing/viscoelastic/PSD/CMakeLists.txt create mode 100644 applications/utilities/postProcessing/viscoelastic/stressDifferences/CMakeLists.txt create mode 100644 applications/utilities/postProcessing/viscoelastic/stressSymmComponents/CMakeLists.txt create mode 100644 applications/utilities/postProcessing/wall/CMakeLists.txt create mode 100644 applications/utilities/postProcessing/wall/wallGradU/CMakeLists.txt create mode 100644 applications/utilities/postProcessing/wall/wallHeatFlux/CMakeLists.txt create mode 100644 applications/utilities/postProcessing/wall/wallShearStress/CMakeLists.txt create mode 100644 applications/utilities/postProcessing/wall/yPlusLES/CMakeLists.txt create mode 100644 applications/utilities/postProcessing/wall/yPlusRAS/CMakeLists.txt create mode 100644 applications/utilities/preProcessing/CMakeLists.txt create mode 100644 applications/utilities/preProcessing/applyBoundaryLayer/CMakeLists.txt create mode 100644 applications/utilities/preProcessing/applyWallFunctionBoundaryConditions/CMakeLists.txt create mode 100644 applications/utilities/preProcessing/boxTurb/CMakeLists.txt create mode 100644 applications/utilities/preProcessing/changeDictionary/CMakeLists.txt create mode 100644 applications/utilities/preProcessing/convertPhi/CMakeLists.txt create mode 100644 applications/utilities/preProcessing/dsmcInitialise/CMakeLists.txt create mode 100644 applications/utilities/preProcessing/engineSwirl/CMakeLists.txt create mode 100644 applications/utilities/preProcessing/fluentDataToFoam/CMakeLists.txt create mode 100644 applications/utilities/preProcessing/mapFields/CMakeLists.txt create mode 100644 applications/utilities/preProcessing/mdInitialise/CMakeLists.txt create mode 100644 applications/utilities/preProcessing/setFields/CMakeLists.txt create mode 100644 applications/utilities/solidMechanics/CMakeLists.txt create mode 100644 applications/utilities/solidMechanics/setMatFromCellZones/CMakeLists.txt create mode 100644 applications/utilities/surface/CMakeLists.txt create mode 100644 applications/utilities/surface/surfaceAdd/CMakeLists.txt create mode 100644 applications/utilities/surface/surfaceAutoPatch/CMakeLists.txt create mode 100644 applications/utilities/surface/surfaceCheck/CMakeLists.txt create mode 100644 applications/utilities/surface/surfaceClean/CMakeLists.txt create mode 100644 applications/utilities/surface/surfaceCoarsen/CMakeLists.txt create mode 100644 applications/utilities/surface/surfaceConvert/CMakeLists.txt create mode 100644 applications/utilities/surface/surfaceFeatureConvert/CMakeLists.txt create mode 100644 applications/utilities/surface/surfaceFeatureExtract/CMakeLists.txt create mode 100644 applications/utilities/surface/surfaceFind/CMakeLists.txt create mode 100644 applications/utilities/surface/surfaceMeshConvert/CMakeLists.txt create mode 100644 applications/utilities/surface/surfaceMeshConvertTesting/CMakeLists.txt create mode 100644 applications/utilities/surface/surfaceMeshExport/CMakeLists.txt create mode 100644 applications/utilities/surface/surfaceMeshImport/CMakeLists.txt create mode 100644 applications/utilities/surface/surfaceMeshTriangulate/CMakeLists.txt create mode 100644 applications/utilities/surface/surfaceOrient/CMakeLists.txt create mode 100644 applications/utilities/surface/surfacePointMerge/CMakeLists.txt create mode 100644 applications/utilities/surface/surfaceRedistributePar/CMakeLists.txt create mode 100644 applications/utilities/surface/surfaceRefineRedGreen/CMakeLists.txt create mode 100644 applications/utilities/surface/surfaceSmooth/CMakeLists.txt create mode 100644 applications/utilities/surface/surfaceSplitByPatch/CMakeLists.txt create mode 100644 applications/utilities/surface/surfaceSplitNonManifolds/CMakeLists.txt create mode 100644 applications/utilities/surface/surfaceSubset/CMakeLists.txt create mode 100644 applications/utilities/surface/surfaceToPatch/CMakeLists.txt create mode 100644 applications/utilities/surface/surfaceTransformPoints/CMakeLists.txt create mode 100644 applications/utilities/thermophysical/CMakeLists.txt create mode 100644 applications/utilities/thermophysical/IFCLookUpTableGen/CMakeLists.txt create mode 100644 applications/utilities/thermophysical/adiabaticFlameT/CMakeLists.txt create mode 100644 applications/utilities/thermophysical/chemkinToFoam/CMakeLists.txt create mode 100644 applications/utilities/thermophysical/equilibriumCO/CMakeLists.txt create mode 100644 applications/utilities/thermophysical/equilibriumFlameT/CMakeLists.txt create mode 100644 applications/utilities/thermophysical/mixtureAdiabaticFlameT/CMakeLists.txt create mode 100644 cmake/FOAMConfig.cmake create mode 100644 cmake/FOAMConfig.cmake.in create mode 100644 cmake/FOAMConfigVersion.cmake create mode 100644 cmake/FOAMMacros.cmake create mode 100644 cmake/FOAMTargets.cmake create mode 100644 cmake/getGitVersion.cmake create mode 100644 cmake/storedVersion.cmake create mode 100644 cmake/storedVersion.cmake.in create mode 100644 src/CMakeLists.txt create mode 100644 src/ODE/CMakeLists.txt create mode 100644 src/OSspecific/CMakeLists.txt create mode 100644 src/OSspecific/MSWindows/CMakeLists.txt create mode 100644 src/OSspecific/POSIX/CMakeLists.txt create mode 100644 src/POD/CMakeLists.txt create mode 100644 src/conversion/CMakeLists.txt create mode 100644 src/coupledMatrix/CMakeLists.txt create mode 100644 src/cudaSolvers/CMakeLists.txt create mode 100644 src/dbns/CMakeLists.txt create mode 100644 src/decompositionMethods/CMakeLists.txt create mode 100644 src/decompositionMethods/decompositionMethods/CMakeLists.txt create mode 100644 src/decompositionMethods/metisDecomp/CMakeLists.txt create mode 100644 src/decompositionMethods/parMetisDecomp/CMakeLists.txt create mode 100644 src/decompositionMethods/scotchDecomp/CMakeLists.txt create mode 100644 src/dynamicMesh/CMakeLists.txt create mode 100644 src/dynamicMesh/dynamicFvMesh/CMakeLists.txt create mode 100644 src/dynamicMesh/dynamicMesh/CMakeLists.txt create mode 100644 src/dynamicMesh/dynamicTopoFvMesh/CMakeLists.txt create mode 100644 src/dynamicMesh/meshMotion/CMakeLists.txt create mode 100644 src/dynamicMesh/meshMotion/RBFMotionSolver/CMakeLists.txt create mode 100644 src/dynamicMesh/meshMotion/fvMotionSolver/CMakeLists.txt create mode 100644 src/dynamicMesh/meshMotion/mesquiteMotionSolver/CMakeLists.txt create mode 100644 src/dynamicMesh/meshMotion/solidBodyMotion/CMakeLists.txt create mode 100644 src/dynamicMesh/meshMotion/tetMotionSolver/CMakeLists.txt create mode 100644 src/dynamicMesh/topoChangerFvMesh/CMakeLists.txt create mode 100644 src/edgeMesh/CMakeLists.txt create mode 100644 src/engine/CMakeLists.txt create mode 100644 src/equationReader/CMakeLists.txt create mode 100644 src/errorEstimation/CMakeLists.txt create mode 100644 src/finiteArea/CMakeLists.txt create mode 100644 src/finiteVolume/CMakeLists.txt create mode 100644 src/foam/CMakeLists.txt create mode 100644 src/foam/global/global.C.in create mode 100644 src/fvAgglomerationMethods/CMakeLists.txt create mode 100644 src/fvAgglomerationMethods/MGridGenGamgAgglomeration/CMakeLists.txt create mode 100644 src/immersedBoundary/CMakeLists.txt create mode 100644 src/immersedBoundary/immersedBoundary/CMakeLists.txt create mode 100644 src/immersedBoundary/immersedBoundaryDynamicMesh/CMakeLists.txt create mode 100644 src/immersedBoundary/immersedBoundaryForce/CMakeLists.txt create mode 100644 src/immersedBoundary/immersedBoundaryTurbulence/CMakeLists.txt create mode 100644 src/lagrangian/CMakeLists.txt create mode 100644 src/lagrangian/basic/CMakeLists.txt create mode 100644 src/lagrangian/coalCombustion/CMakeLists.txt create mode 100644 src/lagrangian/dieselSpray/CMakeLists.txt create mode 100644 src/lagrangian/dsmc/CMakeLists.txt create mode 100644 src/lagrangian/intermediate/CMakeLists.txt create mode 100644 src/lagrangian/molecularDynamics/CMakeLists.txt create mode 100644 src/lagrangian/molecularDynamics/molecularMeasurements/CMakeLists.txt create mode 100644 src/lagrangian/molecularDynamics/molecule/CMakeLists.txt create mode 100644 src/lagrangian/molecularDynamics/potential/CMakeLists.txt create mode 100644 src/lagrangian/solidParticle/CMakeLists.txt create mode 100644 src/lduSolvers/CMakeLists.txt create mode 100644 src/mesh/CMakeLists.txt create mode 100644 src/mesh/autoMesh/CMakeLists.txt create mode 100644 src/mesh/blockMesh/CMakeLists.txt create mode 100644 src/mesh/cfMesh/CMakeLists.txt create mode 100644 src/mesh/extrudeModel/CMakeLists.txt create mode 100644 src/meshTools/CMakeLists.txt create mode 100644 src/multiSolver/CMakeLists.txt create mode 100644 src/postProcessing/CMakeLists.txt create mode 100644 src/postProcessing/foamCalcFunctions/CMakeLists.txt create mode 100644 src/postProcessing/functionObjects/CMakeLists.txt create mode 100644 src/postProcessing/functionObjects/IO/CMakeLists.txt create mode 100644 src/postProcessing/functionObjects/check/CMakeLists.txt create mode 100644 src/postProcessing/functionObjects/field/CMakeLists.txt create mode 100644 src/postProcessing/functionObjects/forces/CMakeLists.txt create mode 100644 src/postProcessing/functionObjects/systemCall/CMakeLists.txt create mode 100644 src/postProcessing/functionObjects/utilities/CMakeLists.txt create mode 100644 src/postProcessing/postCalc/CMakeLists.txt create mode 100644 src/randomProcesses/CMakeLists.txt create mode 100644 src/sampling/CMakeLists.txt create mode 100644 src/solidModels/CMakeLists.txt create mode 100644 src/surfMesh/CMakeLists.txt create mode 100644 src/tetFiniteElement/CMakeLists.txt create mode 100644 src/thermophysicalModels/CMakeLists.txt create mode 100644 src/thermophysicalModels/barotropicCompressibilityModel/CMakeLists.txt create mode 100644 src/thermophysicalModels/basic/CMakeLists.txt create mode 100644 src/thermophysicalModels/chemistryModel/CMakeLists.txt create mode 100644 src/thermophysicalModels/laminarFlameSpeed/CMakeLists.txt create mode 100644 src/thermophysicalModels/liquidMixture/CMakeLists.txt create mode 100644 src/thermophysicalModels/liquids/CMakeLists.txt create mode 100644 src/thermophysicalModels/pdfs/CMakeLists.txt create mode 100644 src/thermophysicalModels/radiation/CMakeLists.txt create mode 100644 src/thermophysicalModels/reactionThermo/CMakeLists.txt create mode 100644 src/thermophysicalModels/solidMixture/CMakeLists.txt create mode 100644 src/thermophysicalModels/solids/CMakeLists.txt create mode 100644 src/thermophysicalModels/specie/CMakeLists.txt create mode 100644 src/thermophysicalModels/thermophysicalFunctions/CMakeLists.txt create mode 100644 src/transportModels/CMakeLists.txt create mode 100644 src/transportModels/incompressible/CMakeLists.txt create mode 100644 src/transportModels/interfaceProperties/CMakeLists.txt create mode 100644 src/transportModels/viscoelastic/CMakeLists.txt create mode 100644 src/turbulenceModels/CMakeLists.txt create mode 100644 src/turbulenceModels/LES/CMakeLists.txt create mode 100644 src/turbulenceModels/LES/LESdeltas/CMakeLists.txt create mode 100644 src/turbulenceModels/LES/LESfilters/CMakeLists.txt create mode 100644 src/turbulenceModels/compressible/CMakeLists.txt create mode 100644 src/turbulenceModels/compressible/LES/CMakeLists.txt create mode 100644 src/turbulenceModels/compressible/RAS/CMakeLists.txt create mode 100644 src/turbulenceModels/compressible/turbulenceModel/CMakeLists.txt create mode 100644 src/turbulenceModels/incompressible/CMakeLists.txt create mode 100644 src/turbulenceModels/incompressible/LES/CMakeLists.txt create mode 100644 src/turbulenceModels/incompressible/RAS/CMakeLists.txt create mode 100644 src/turbulenceModels/incompressible/turbulenceModel/CMakeLists.txt create mode 100644 tutorials/CMakeLists.txt create mode 100644 tutorials/basic/CMakeLists.txt create mode 100644 tutorials/basic/PODSolver/1DPODsin/CMakeLists.txt create mode 100644 tutorials/basic/PODSolver/1DPODsin/setTcos/CMakeLists.txt create mode 100644 tutorials/basic/PODSolver/CMakeLists.txt create mode 100644 tutorials/basic/potentialFoam/CMakeLists.txt create mode 100644 tutorials/basic/potentialFoam/cylinder/CMakeLists.txt create mode 100644 tutorials/basic/potentialFoam/cylinder/analyticalCylinder/CMakeLists.txt create mode 100644 tutorials/basic/scalarTransportFoam/CMakeLists.txt create mode 100644 tutorials/basic/scalarTransportFoam/swirlTest/CMakeLists.txt create mode 100644 tutorials/basic/scalarTransportFoam/swirlTest/setSwirl/CMakeLists.txt create mode 100644 tutorials/compressible/CMakeLists.txt create mode 100644 tutorials/compressible/rhoCentralFoam/CMakeLists.txt create mode 100644 tutorials/compressible/rhoCentralFoam/biconic25-55Run35/CMakeLists.txt create mode 100644 tutorials/compressible/rhoCentralFoam/biconic25-55Run35/datToFoam/CMakeLists.txt create mode 100644 tutorials/finiteArea/CMakeLists.txt create mode 100644 tutorials/finiteArea/liquidFilmFoam/CMakeLists.txt create mode 100644 tutorials/finiteArea/liquidFilmFoam/dropsSpreading/CMakeLists.txt create mode 100644 tutorials/finiteArea/liquidFilmFoam/dropsSpreading/setInitialDroplet/CMakeLists.txt create mode 100644 tutorials/finiteArea/surfactantFoam/CMakeLists.txt create mode 100644 tutorials/finiteArea/surfactantFoam/sphereTransport/CMakeLists.txt create mode 100644 tutorials/finiteArea/surfactantFoam/sphereTransport/sphereSurfactantFoam/CMakeLists.txt create mode 100644 tutorials/heatTransfer/CMakeLists.txt create mode 100644 tutorials/heatTransfer/buoyantPisoFoam/CMakeLists.txt create mode 100644 tutorials/heatTransfer/buoyantPisoFoam/hotRoom/CMakeLists.txt create mode 100644 tutorials/heatTransfer/buoyantPisoFoam/hotRoom/setHotRoom/CMakeLists.txt create mode 100644 tutorials/heatTransfer/setHotRoom/CMakeLists.txt create mode 100644 tutorials/immersedBoundary/CMakeLists.txt create mode 100644 tutorials/immersedBoundary/sphereInChannel/CMakeLists.txt create mode 100644 tutorials/immersedBoundary/sphereInChannel/refineSphereMesh/CMakeLists.txt create mode 100644 tutorials/immersedBoundary/thickPlateRefinedMesh/CMakeLists.txt create mode 100644 tutorials/immersedBoundary/thickPlateRefinedMesh/refineThickPlateMesh/CMakeLists.txt create mode 100644 tutorials/incompressible/CMakeLists.txt create mode 100644 tutorials/incompressible/icoDyMFoam/CMakeLists.txt create mode 100644 tutorials/incompressible/icoDyMFoam/movingBlockRBF/CMakeLists.txt create mode 100644 tutorials/incompressible/icoDyMFoam/movingBlockRBF/RBFMotionFunction/CMakeLists.txt create mode 100644 tutorials/incompressible/icoDyMFoam/movingConeMotion/CMakeLists.txt create mode 100644 tutorials/incompressible/icoDyMFoam/movingConeMotion/setMotionMovingCone/CMakeLists.txt create mode 100644 tutorials/lagrangian/CMakeLists.txt create mode 100644 tutorials/lagrangian/icoLagrangianFoam/CMakeLists.txt create mode 100644 tutorials/lagrangian/icoLagrangianFoam/icoLagrangianFoam/CMakeLists.txt create mode 100644 tutorials/lagrangian/rhoPisoTwinParcelFoam/CMakeLists.txt create mode 100644 tutorials/lagrangian/rhoPisoTwinParcelFoam/rhoPisoTwinParcelFoam/CMakeLists.txt create mode 100644 tutorials/multiphase/CMakeLists.txt create mode 100644 tutorials/multiphase/interDyMFoam/CMakeLists.txt create mode 100644 tutorials/multiphase/interDyMFoam/ras/CMakeLists.txt create mode 100644 tutorials/multiphase/interDyMFoam/ras/sloshingTank3D6DoF/CMakeLists.txt create mode 100644 tutorials/multiphase/interDyMFoam/ras/sloshingTank3D6DoF/gen6DoF/CMakeLists.txt create mode 100644 tutorials/solidMechanics/CMakeLists.txt create mode 100644 tutorials/solidMechanics/elasticSolidFoam/CMakeLists.txt create mode 100644 tutorials/solidMechanics/elasticSolidFoam/plateHole/CMakeLists.txt create mode 100644 tutorials/solidMechanics/elasticSolidFoam/plateHole/analyticalPlateHole/CMakeLists.txt create mode 100644 tutorials/solidMechanics/elasticThermalSolidFoam/CMakeLists.txt create mode 100644 tutorials/solidMechanics/elasticThermalSolidFoam/hotCylinder/CMakeLists.txt create mode 100644 tutorials/solidMechanics/elasticThermalSolidFoam/hotCylinder/analyticalHotCylinder/CMakeLists.txt diff --git a/.gitignore b/.gitignore index b57ab1cf2..ac2886e38 100644 --- a/.gitignore +++ b/.gitignore @@ -127,4 +127,17 @@ src/lduSolvers/amg/amgPolicy/aamgPolicy.H # vagrant stuff vagrantSandbox/.vagrant/ +# Various intermediate files and directories generated CMAKE +CMakeFiles/ +build/ +Makefile +CMakeCache.txt +cmake_install.cmake +install_manifest.txt +timestamp + +# new target folders - just for the moment +bin +lib + # end-of-file diff --git a/CMakeLists.txt b/CMakeLists.txt index 28b88def5..1284ba99d 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1,7 +1,6 @@ -# /*-------------------------------------------------------------------------*\ -# ========= | +# /*-------------------------------------------------------------------------*\# ======== | # \\ / F ield | foam-extend: Open Source CFD -# \\ / O peration | Version: 4.1 +# \\ / O peration | Version: 3.2 # \\ / A nd | Web: http://www.foam-extend.org # \\/ M anipulation | For copyright notice see file Copyright # ----------------------------------------------------------------------------- @@ -23,7 +22,7 @@ # # Description # CMakeLists.txt file for implementing a test harness for the compilation -# and test of foam-extend-4.1 using Kitware CTest/CMake/CDash +# and test of foam-extend-3.2 using Kitware CTest/CMake/CDash # # The results will be submitted to the CDash server identified by the file # CTestConfig.cmake @@ -36,367 +35,133 @@ cmake_minimum_required (VERSION 2.8) -PROJECT(foam-extend-4.1) +project(foam-extend C CXX) -#----------------------------------------------------------------------------- -# Utility functions -# -# GetHostName(var) -# -# Set the variable named ${var} to the host hostname -# -function(GetHostName var) - set( thisHostName "unknown") - - if(CMAKE_HOST_WIN32) - execute_process( - COMMAND hostname - OUTPUT_VARIABLE thisHostname - OUTPUT_STRIP_TRAILING_WHITESPACE - ) - else() - execute_process( - COMMAND hostname -f - OUTPUT_VARIABLE thisHostname - OUTPUT_STRIP_TRAILING_WHITESPACE - ) - endif() - - set(${var} ${thisHostname} PARENT_SCOPE) -endfunction() +list(APPEND CMAKE_MODULE_PATH "${CMAKE_CURRENT_SOURCE_DIR}/cmake") # -# GetGitStatus(status ecode) +# Determine project version & Set-up automatic update during build # -# Get the git status for the local git repository of the source code -# The variable named ${status} will get the git status -# The variable named ${ecode} will get the command error code -# -function(GetGitStatus _status _ecode) - set( git_status "unknown") - set( git_ecode "1") - execute_process( - COMMAND git status - WORKING_DIRECTORY ${FOAM_ROOT} - OUTPUT_VARIABLE git_status - RESULT_VARIABLE git_ecode - ERROR_QUIET - ) - set(${_status} ${git_status} PARENT_SCOPE) - set(${_ecode} ${git_ecode} PARENT_SCOPE) -endfunction() +include(getGitVersion) -# -# GetGitBranchName(var) -# -# Set the variable named ${var} to the git branch name of the source code -# -function(GetGitBranchName var) - set( retValue "unknown") - - execute_process( - COMMAND git branch --no-color - WORKING_DIRECTORY ${FOAM_ROOT} - OUTPUT_VARIABLE listOfGitBranches - ) - # Create list of strings - string(REPLACE "\n" ";" listOfGitBranches ${listOfGitBranches}) - - # Iterate over list, find the string beginning with "* " - foreach(branch ${listOfGitBranches}) - string(REGEX MATCH "\\* .*$" matchString ${branch}) - string(LENGTH "${matchString}" lengthMatchString) - if(lengthMatchString GREATER 0) - # We have match. Cleanup and set retValue - string(REPLACE "* " "" retValue ${matchString}) - endif() - endforeach() - - set(${var} ${retValue} PARENT_SCOPE) -endfunction() - -# -# GetGitRevNumber(var) -# -# Set the variable named ${var} to the git revision number of the source code -# -function(GetGitRevNumber var) - set( retValue "unknown") - - execute_process( - COMMAND git rev-parse --short=12 HEAD - WORKING_DIRECTORY ${FOAM_ROOT} - OUTPUT_VARIABLE git_rev_number - ) - - # Minimal check that we do have a valid string - string(LENGTH "${git_rev_number}" lengthString) - if(lengthString GREATER 0) - set(retValue ${git_rev_number}) - endif() - - set(${var} ${retValue} PARENT_SCOPE) -endfunction() - -# CleanUpStringForCDash(var) -# -# Cleanup the variable named ${value} for characters not supported -# for CDash identifiers. Return the modified value in retVar -# -function(CleanUpStringForCDash value retVar) - string(REPLACE "/" "_" value "${value}") - string(REPLACE " " "_" value ${value}) - set(${retVar} ${value} PARENT_SCOPE) -endfunction() - -#----------------------------------------------------------------------------- -# -# -# Initialization of CTest specific variables -# -## Run ctest in parallel if environment variable WM_NCOMPPROCS is set -IF (NOT $ENV{WM_NCOMPPROCS} STREQUAL "") - # Will run ctest in parallel over $WM_NCOMPPROCS processors - set(CMAKE_CTEST_COMMAND ${CMAKE_CTEST_COMMAND} --parallel $ENV{WM_NCOMPPROCS}) - MESSAGE("Running tests in parallel using $ENV{WM_NCOMPPROCS} processors") -ENDIF () - -# Initialize the site name - -IF (NOT $ENV{CDASH_SUBMIT_LOCAL_HOST_ID} STREQUAL "") - # We can override the site name with the environment variable - # $CDASH_SUBMIT_LOCAL_HOST_ID - SET( - SITENAME $ENV{CDASH_SUBMIT_LOCAL_HOST_ID} - CACHE STRING "Name of the local site" - ) -ELSE () - # Grab the hostname FQN; will be used for the sitename - GetHostName(SITENAME) - -ENDIF() - -MESSAGE("Initializing the name of this local site to: ${SITENAME}") - -SET( - SITE ${SITENAME} - CACHE STRING "Name of the local site" +add_custom_target(getGitVersion ALL + COMMAND ${CMAKE_COMMAND} -P cmake/getGitVersion.cmake + COMMENT "Getting GIT version" ) -#Grab the FOAM installation directory. -SET( - FOAM_ROOT $ENV{WM_PROJECT_DIR} - CACHE INTERNAL "FOAM root directory." -) +set(PROJECT_VERSION ${FOAM_VERSION}) -# Construct the build name. -# No need to add $WM_PROJECT_VERSION to the name of the build, -# the test harness name should have taken care of that. -SET( - BUILDNAME $ENV{WM_OPTIONS} - CACHE STRING "Build ID" -) - -# We allow overriding the git branch and revision information with some -# user-supplied information using the CDASH_SCM_INFO environment variable. -# -# Mercurial or other SCM users should be using this environment variable -# in order to provide branch and revision information for the buildname. -# -# Git users should use this environment variable in order to provide -# additionnal information instead of just the branch and revision number. -# -# Otherwise, the buildname will be appended with the following information: -# -git-branch=the_git_branch_name-git-rev=the_git_revision_number -SET( - BUILDNAME_SCM_INFO $ENV{CDASH_SCM_INFO} - CACHE STRING "SCM info for CDash buildname" -) - -# Find out the version of the compiler being used. -# Add this information to the buildname -# This is for gcc or icc because they both support the -dumpversion option -EXEC_PROGRAM($ENV{WM_CC} - ARGS -dumpversion - OUTPUT_VARIABLE COMPILER_VERSION -) -SET(BUILDNAME "${BUILDNAME}-$ENV{WM_CC}${COMPILER_VERSION}") -# -# We will support more compilers eventually. -# - -# Timeout for running every single test: 4 hours: 4 x 3600 seconds -#SET( -# DART_TESTING_TIMEOUT 14400 -# CACHE STRING "Maximum time allowed (4 hours) before CTest will kill the test." -#) -# Timeout for running all this: 20 minutes : 1200 seconds (for debug) -SET( - DART_TESTING_TIMEOUT 1200 - CACHE STRING "Maximum time allowed (20 minutes) before CTest will kill the test." -) - -SET( - CMAKE_VERBOSE_MAKEFILE TRUE -) - - -# Update section -#----------------------------------------------------------------------------- -set (UPDATE_TYPE git) # -# Using GIT as SCM +# Include helper functions # -find_package(Git) -if(NOT BUILDNAME_SCM_INFO STREQUAL "") - SET(BUILDNAME "${BUILDNAME}-${BUILDNAME_SCM_INFO}") +include(FOAMMacros) -elseif(GIT_FOUND) - message("The git command was found: ${GIT_EXECUTABLE}") +set(CMAKE_ARCHIVE_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}/lib) +set(CMAKE_LIBRARY_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}/lib) +set(CMAKE_RUNTIME_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}/bin) - # Check if the source code is under a valid git repository - GetGitStatus(GIT_STATUS GIT_ECODE) - if(NOT GIT_ECODE) - # We have a valid git repository. - # Grab the branch and revision info. Add to the build name - GetGitBranchName(GIT_BRANCH_NAME) - message("Git branch: ${GIT_BRANCH_NAME}") +# +# External dependencies +# - GetGitRevNumber(GIT_REV_NUMBER) - message("Git revision: ${GIT_REV_NUMBER}") +find_package(MPI REQUIRED) +add_library(mpi SHARED IMPORTED) +set_property(TARGET mpi PROPERTY INTERFACE_INCLUDE_DIRECTORIES ${MPI_C_INCLUDE_PATH}) +set_property(TARGET mpi PROPERTY IMPORTED_LOCATION ${MPI_LIBRARY}) - SET(BUILDNAME "${BUILDNAME}-git-branch=${GIT_BRANCH_NAME}") - SET(BUILDNAME "${BUILDNAME}-git-rev=${GIT_REV_NUMBER}") - else() - execute_process( - COMMAND hg id - WORKING_DIRECTORY ${FOAM_ROOT} - OUTPUT_VARIABLE HG_STATUS - RESULT_VARIABLE HG_ECODE - ERROR_QUIET - ) - if(NOT HG_ECODE) - # We have a valid git repository. Grab the branch and revision info. - # Add to the build name - message("No git-branch. Mercurial?") - EXEC_PROGRAM(hg - ARGS id --bookmarks - OUTPUT_VARIABLE GIT_BRANCH_NAME - ) - EXEC_PROGRAM(hg - ARGS id --id - OUTPUT_VARIABLE GIT_REV_NUMBER - ) - EXEC_PROGRAM(hg - ARGS log --template='git_{gitnode|short}' -l 1 - OUTPUT_VARIABLE GIT_REAL_REV_NUMBER - ) - string(REPLACE " " "_" GIT_BRANCH_NAME ${GIT_BRANCH_NAME}) - string(REPLACE "+" ":modified" GIT_REV_NUMBER ${GIT_REV_NUMBER}) - SET(GIT_REV_NUMBER "${GIT_REV_NUMBER}_${GIT_REAL_REV_NUMBER}") - message("Git branch (mercurial): ${GIT_BRANCH_NAME} Revision: ${GIT_REV_NUMBER}") +find_package(ZLIB REQUIRED) + +find_package(FLEX REQUIRED) - SET(BUILDNAME "${BUILDNAME}-hg-branch=${GIT_BRANCH_NAME}") - SET(BUILDNAME "${BUILDNAME}-hg-rev=${GIT_REV_NUMBER}") - else() - # Not a git or mercurial repository: no branch nor revision information available - SET(BUILDNAME "${BUILDNAME}-git-branch=unknown") - SET(BUILDNAME "${BUILDNAME}-git-rev=unknown") - endif() - endif() +find_package(Git REQUIRED) + + +# +# Recurse into the source +# + +# Set variabable to indicate that we are compiling internally. Used in applications. +set(FOAM_FOUND 1) + +# Write something into FOAMTargets.cmake so that we can append to the file. +file(WRITE ${CMAKE_BINARY_DIR}/cmake/FOAMTargets.cmake "#" ) + +add_subdirectory(src) +add_subdirectory(applications) + + +# +# Flags and definitions +# + +# Define and process the definitions +set(FOAM_PRECISION "double" CACHE STRING "Numerical precision") +set_property(CACHE FOAM_PRECISION PROPERTY STRINGS single double) +if(FOAM_PRECISION EQUAL "single") + target_compile_definitions(OSspecific PUBLIC -DWM_SP) else() - # Git is not available: no branch nor revision information supplied - SET(BUILDNAME "${BUILDNAME}-git-branch=unknown") - SET(BUILDNAME "${BUILDNAME}-git-rev=unknown") + target_compile_definitions(OSspecific PUBLIC -DWM_SP) endif() -# Some last minute cleanup -# Seems like no '/' or ' 'are allowed in the BUILDNAME or in the SITE name -CleanUpStringForCDash(${BUILDNAME} BUILDNAME) -CleanUpStringForCDash(${SITE} SITE) +target_compile_definitions(OSspecific PUBLIC -DNoRepository) + +#option(FOAM_PRECISION "help string describing option" -WM_DP) -message("Build name: ${BUILDNAME}") -message("Site name: ${SITE}") # -# Build section -#----------------------------------------------------------------------------- - -# Compile FOAM, libs and apps -add_custom_target (foam-extend-$ENV{WM_PROJECT_VERSION} ALL - ${FOAM_ROOT}/Allwmake -) - -set_property( - TARGET foam-extend-$ENV{WM_PROJECT_VERSION} - PROPERTY LABELS foam-extend-$ENV{WM_PROJECT_VERSION} -) - -# Compile the FOAM unit tests located under applications/test -# This part will not be compiled and run by default. -# This would be a good candidate for a sub-project -add_custom_target (foam-extend-$ENV{WM_PROJECT_VERSION}_unitTests - wmake all ${FOAM_ROOT}/applications/test -) - -# Test section -#----------------------------------------------------------------------------- - -#Enable testing and dashboard -ENABLE_TESTING() -INCLUDE(CTest) - -SET (CTEST_UPDATE_COMMAND ${GIT_EXECUTABLE}) - -SET( - CTEST_CUSTOM_MAXIMUM_NUMBER_OF_ERRORS 1000 - CACHE INTERNAL "Max number of errors" -) -SET( - CTEST_CUSTOM_MAXIMUM_NUMBER_OF_WARNINGS 1000 - CACHE INTERNAL "Max number of warnings" -) - -IF(BUILD_TESTING) - - # Modify this variable if you want the full length test case simulations - # Beware, this might take a long time to execute. - # Otherwise, the default behaviour is to run each tutorial for 1 "timestep" - #SET(RUN_FROM_ONE_TIMESTEP 0) - SET(RUN_FROM_ONE_TIMESTEP 1) - - IF(RUN_FROM_ONE_TIMESTEP) - SET(testIdSuffix "_oneTimeStep") - ENDIF(RUN_FROM_ONE_TIMESTEP) - - # FOAM will run against this test suite: - - # Add the suite of FOAM tutorials - # - INCLUDE($ENV{FOAM_TEST_HARNESS_DIR}/CMakeFiles/FOAM_Tutorials.cmake) - - IF(RUN_FROM_ONE_TIMESTEP) - # Modify the cases controlDict file in order to run for only one time step - MESSAGE("${testRunTimeDirectory}: Modifying the controlDict files for running only one time step in directory: ${TEST_CASE_DIR}") - if(CMAKE_HOST_WIN32) - # Need to supply a bash shell to run the script under Windows - EXECUTE_PROCESS( - COMMAND bash -c "$ENV{FOAM_TEST_HARNESS_DIR}/scripts/prepareCasesForOneTimeStep.sh ${TEST_CASE_DIR}" - WORKING_DIRECTORY . - ) - else() - EXECUTE_PROCESS( - COMMAND $ENV{FOAM_TEST_HARNESS_DIR}/scripts/prepareCasesForOneTimeStep.sh ${TEST_CASE_DIR} - WORKING_DIRECTORY . - ) - endif() - ENDIF(RUN_FROM_ONE_TIMESTEP) - -ENDIF(BUILD_TESTING) - -# That's it. +# Exports and install # + +include(GenerateExportHeader) +set(ConfigPackageLocation lib/cmake/foam) + +include(CMakePackageConfigHelpers) +write_basic_package_version_file( + "${CMAKE_CURRENT_BINARY_DIR}/cmake/FOAMConfigVersion.cmake" + VERSION ${FOAM_VERSION} + COMPATIBILITY AnyNewerVersion +) + +configure_package_config_file(cmake/FOAMConfig.cmake.in + ${CMAKE_CURRENT_BINARY_DIR}/cmake/FOAMConfig.cmake + INSTALL_DESTINATION ${ConfigPackageLocation} +) + +install(EXPORT FOAMTargets + FILE FOAMTargets.cmake + DESTINATION ${ConfigPackageLocation} +) + +install(FILES + cmake/FOAMConfig.cmake + "${CMAKE_CURRENT_BINARY_DIR}/cmake/FOAMConfigVersion.cmake" + "${CMAKE_CURRENT_BINARY_DIR}/cmake/FOAMMacros.cmake" + DESTINATION ${ConfigPackageLocation} + COMPONENT Devel +) + +file(GLOB_RECURSE files "${CMAKE_CURRENT_SOURCE_DIR}/etc/*") +install(FILES ${files} DESTINATION etc) + +# +# Register with CMake user package registry +# + +export(PACKAGE FOAM) + + +# +# Make a package +# + +set(CPACK_DEBIAN_PACKAGE_MAINTAINER "Henrik Rusche") +set(CPACK_PACKAGE_CONTACT "h.rusche@wikki-gmbh.de") +set(CPACK_GENERATOR "DEB") +set(CPACK_PACKAGING_INSTALL_PREFIX "/opt/foam-extend-4.0") +set(CPACK_SOURCE_STRIP_FILES "1") +include(CPack) + diff --git a/applications/CMakeLists.txt b/applications/CMakeLists.txt new file mode 100644 index 000000000..7590a1788 --- /dev/null +++ b/applications/CMakeLists.txt @@ -0,0 +1,33 @@ +# --------------------------------------------------------------------------# ======== | +# \ / F ield | foam-extend: Open Source CFD +# \ / O peration | Version: 4.1 +# \ / A nd | Web: http://www.foam-extend.org +# \/ M anipulation | For copyright notice see file Copyright +# -------------------------------------------------------------------------- +# License +# This file is part of foam-extend. +# +# foam-extend 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 3 of the License, or {at your +# option} any later version. +# +# foam-extend 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 foam-extend. If not, see . +# +# Description +# CMakeLists.txt file for libraries and applications +# +# Author +# Henrik Rusche, Wikki GmbH, 2017. All rights reserved +# +# +# -------------------------------------------------------------------------- + +add_subdirectory(utilities) +add_subdirectory(solvers) \ No newline at end of file diff --git a/applications/solvers/CMakeLists.txt b/applications/solvers/CMakeLists.txt new file mode 100644 index 000000000..2f716e153 --- /dev/null +++ b/applications/solvers/CMakeLists.txt @@ -0,0 +1,51 @@ +# --------------------------------------------------------------------------# ======== | +# \ / F ield | foam-extend: Open Source CFD +# \ / O peration | Version: 4.1 +# \ / A nd | Web: http://www.foam-extend.org +# \/ M anipulation | For copyright notice see file Copyright +# -------------------------------------------------------------------------- +# License +# This file is part of foam-extend. +# +# foam-extend 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 3 of the License, or {at your +# option} any later version. +# +# foam-extend 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 foam-extend. If not, see . +# +# Description +# CMakeLists.txt file for libraries and applications +# +# Author +# Henrik Rusche, Wikki GmbH, 2017. All rights reserved +# +# +# -------------------------------------------------------------------------- + +#add_subdirectory(engine) +#add_subdirectory(solidMechanics) +#add_subdirectory(multiphase) +#add_subdirectory(lagrangian) +#add_subdirectory(financial) +#add_subdirectory(discreteMethods) +#add_subdirectory(coupled) +#add_subdirectory(compressible) +#add_subdirectory(multiSolver) +add_subdirectory(incompressible) +#add_subdirectory(equationReaderDemo) +#add_subdirectory(heatTransfer) +#add_subdirectory(electromagnetics) +#add_subdirectory(combustion) +#add_subdirectory(finiteArea) +#add_subdirectory(DNS) +add_subdirectory(basic) +#add_subdirectory(immersedBoundary) +#add_subdirectory(surfaceTracking) +#add_subdirectory(viscoelastic) diff --git a/applications/solvers/DNS/CMakeLists.txt b/applications/solvers/DNS/CMakeLists.txt new file mode 100644 index 000000000..a31352d4e --- /dev/null +++ b/applications/solvers/DNS/CMakeLists.txt @@ -0,0 +1,32 @@ +# --------------------------------------------------------------------------# ======== | +# \ / F ield | foam-extend: Open Source CFD +# \ / O peration | Version: 4.1 +# \ / A nd | Web: http://www.foam-extend.org +# \/ M anipulation | For copyright notice see file Copyright +# -------------------------------------------------------------------------- +# License +# This file is part of foam-extend. +# +# foam-extend 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 3 of the License, or {at your +# option} any later version. +# +# foam-extend 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 foam-extend. If not, see . +# +# Description +# CMakeLists.txt file for libraries and applications +# +# Author +# Henrik Rusche, Wikki GmbH, 2017. All rights reserved +# +# +# -------------------------------------------------------------------------- + +add_subdirectory(dnsFoam) \ No newline at end of file diff --git a/applications/solvers/DNS/dnsFoam/CMakeLists.txt b/applications/solvers/DNS/dnsFoam/CMakeLists.txt new file mode 100644 index 000000000..b28dba55c --- /dev/null +++ b/applications/solvers/DNS/dnsFoam/CMakeLists.txt @@ -0,0 +1,46 @@ +# -------------------------------------------------------------------------- +# ======== | +# \ / F ield | foam-extend: Open Source CFD +# \ / O peration | Version: 4.1 +# \ / A nd | Web: http://www.foam-extend.org +# \/ M anipulation | For copyright notice see file Copyright +# -------------------------------------------------------------------------- +# License +# This file is part of foam-extend. +# +# foam-extend 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 3 of the License, or {at your +# option} any later version. +# +# foam-extend 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 foam-extend. If not, see . +# +# Description +# CMakeLists.txt file for libraries and applications +# +# Author +# Henrik Rusche, Wikki GmbH, 2017. All rights reserved +# +# +# -------------------------------------------------------------------------- + +list(APPEND sources + dnsFoam.C +) + +# Set minimal environment for external compilation +if(NOT FOAM_FOUND) + cmake_minimum_required(VERSION 2.8) + find_package(FOAM REQUIRED) +endif() + +add_foam_executable(dnsFoam +# DEPENDS finiteVolume + SOURCES ${sources} +) diff --git a/applications/solvers/basic/CMakeLists.txt b/applications/solvers/basic/CMakeLists.txt new file mode 100644 index 000000000..1e032ce16 --- /dev/null +++ b/applications/solvers/basic/CMakeLists.txt @@ -0,0 +1,37 @@ +# --------------------------------------------------------------------------# ======== | +# \ / F ield | foam-extend: Open Source CFD +# \ / O peration | Version: 4.1 +# \ / A nd | Web: http://www.foam-extend.org +# \/ M anipulation | For copyright notice see file Copyright +# -------------------------------------------------------------------------- +# License +# This file is part of foam-extend. +# +# foam-extend 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 3 of the License, or {at your +# option} any later version. +# +# foam-extend 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 foam-extend. If not, see . +# +# Description +# CMakeLists.txt file for libraries and applications +# +# Author +# Henrik Rusche, Wikki GmbH, 2017. All rights reserved +# +# +# -------------------------------------------------------------------------- + +add_subdirectory(laplacianFoam) +add_subdirectory(scalarTransportFoam) +add_subdirectory(potentialFoam) +add_subdirectory(PODSolver) +add_subdirectory(potentialDyMFoam) +add_subdirectory(sixDOFSolver) \ No newline at end of file diff --git a/applications/solvers/basic/PODSolver/CMakeLists.txt b/applications/solvers/basic/PODSolver/CMakeLists.txt new file mode 100644 index 000000000..891f83684 --- /dev/null +++ b/applications/solvers/basic/PODSolver/CMakeLists.txt @@ -0,0 +1,46 @@ +# -------------------------------------------------------------------------- +# ======== | +# \ / F ield | foam-extend: Open Source CFD +# \ / O peration | Version: 4.1 +# \ / A nd | Web: http://www.foam-extend.org +# \/ M anipulation | For copyright notice see file Copyright +# -------------------------------------------------------------------------- +# License +# This file is part of foam-extend. +# +# foam-extend 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 3 of the License, or {at your +# option} any later version. +# +# foam-extend 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 foam-extend. If not, see . +# +# Description +# CMakeLists.txt file for libraries and applications +# +# Author +# Henrik Rusche, Wikki GmbH, 2017. All rights reserved +# +# +# -------------------------------------------------------------------------- + +list(APPEND sources + PODSolver.C +) + +# Set minimal environment for external compilation +if(NOT FOAM_FOUND) + cmake_minimum_required(VERSION 2.8) + find_package(FOAM REQUIRED) +endif() + +add_foam_executable(PODSolver + DEPENDS POD + SOURCES ${sources} +) diff --git a/applications/solvers/basic/laplacianFoam/CMakeLists.txt b/applications/solvers/basic/laplacianFoam/CMakeLists.txt new file mode 100644 index 000000000..80e0613ed --- /dev/null +++ b/applications/solvers/basic/laplacianFoam/CMakeLists.txt @@ -0,0 +1,46 @@ +# -------------------------------------------------------------------------- +# ======== | +# \ / F ield | foam-extend: Open Source CFD +# \ / O peration | Version: 4.1 +# \ / A nd | Web: http://www.foam-extend.org +# \/ M anipulation | For copyright notice see file Copyright +# -------------------------------------------------------------------------- +# License +# This file is part of foam-extend. +# +# foam-extend 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 3 of the License, or {at your +# option} any later version. +# +# foam-extend 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 foam-extend. If not, see . +# +# Description +# CMakeLists.txt file for libraries and applications +# +# Author +# Henrik Rusche, Wikki GmbH, 2017. All rights reserved +# +# +# -------------------------------------------------------------------------- + +list(APPEND sources + laplacianFoam.C +) + +# Set minimal environment for external compilation +if(NOT FOAM_FOUND) + cmake_minimum_required(VERSION 2.8) + find_package(FOAM REQUIRED) +endif() + +add_foam_executable(laplacianFoam + DEPENDS finiteVolume + SOURCES ${sources} +) diff --git a/applications/solvers/basic/potentialDyMFoam/CMakeLists.txt b/applications/solvers/basic/potentialDyMFoam/CMakeLists.txt new file mode 100644 index 000000000..753dbcfe2 --- /dev/null +++ b/applications/solvers/basic/potentialDyMFoam/CMakeLists.txt @@ -0,0 +1,46 @@ +# -------------------------------------------------------------------------- +# ======== | +# \ / F ield | foam-extend: Open Source CFD +# \ / O peration | Version: 4.1 +# \ / A nd | Web: http://www.foam-extend.org +# \/ M anipulation | For copyright notice see file Copyright +# -------------------------------------------------------------------------- +# License +# This file is part of foam-extend. +# +# foam-extend 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 3 of the License, or {at your +# option} any later version. +# +# foam-extend 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 foam-extend. If not, see . +# +# Description +# CMakeLists.txt file for libraries and applications +# +# Author +# Henrik Rusche, Wikki GmbH, 2017. All rights reserved +# +# +# -------------------------------------------------------------------------- + +list(APPEND sources + potentialDyMFoam.C +) + +# Set minimal environment for external compilation +if(NOT FOAM_FOUND) + cmake_minimum_required(VERSION 2.8) + find_package(FOAM REQUIRED) +endif() + +add_foam_executable(potentialDyMFoam + DEPENDS dynamicFvMesh + SOURCES ${sources} +) diff --git a/applications/solvers/basic/potentialFoam/CMakeLists.txt b/applications/solvers/basic/potentialFoam/CMakeLists.txt new file mode 100644 index 000000000..cabcece04 --- /dev/null +++ b/applications/solvers/basic/potentialFoam/CMakeLists.txt @@ -0,0 +1,46 @@ +# -------------------------------------------------------------------------- +# ======== | +# \ / F ield | foam-extend: Open Source CFD +# \ / O peration | Version: 4.1 +# \ / A nd | Web: http://www.foam-extend.org +# \/ M anipulation | For copyright notice see file Copyright +# -------------------------------------------------------------------------- +# License +# This file is part of foam-extend. +# +# foam-extend 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 3 of the License, or {at your +# option} any later version. +# +# foam-extend 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 foam-extend. If not, see . +# +# Description +# CMakeLists.txt file for libraries and applications +# +# Author +# Henrik Rusche, Wikki GmbH, 2017. All rights reserved +# +# +# -------------------------------------------------------------------------- + +list(APPEND sources + potentialFoam.C +) + +# Set minimal environment for external compilation +if(NOT FOAM_FOUND) + cmake_minimum_required(VERSION 2.8) + find_package(FOAM REQUIRED) +endif() + +add_foam_executable(potentialFoam + DEPENDS finiteVolume + SOURCES ${sources} +) diff --git a/applications/solvers/basic/scalarTransportFoam/CMakeLists.txt b/applications/solvers/basic/scalarTransportFoam/CMakeLists.txt new file mode 100644 index 000000000..a0d9c0e8d --- /dev/null +++ b/applications/solvers/basic/scalarTransportFoam/CMakeLists.txt @@ -0,0 +1,46 @@ +# -------------------------------------------------------------------------- +# ======== | +# \ / F ield | foam-extend: Open Source CFD +# \ / O peration | Version: 4.1 +# \ / A nd | Web: http://www.foam-extend.org +# \/ M anipulation | For copyright notice see file Copyright +# -------------------------------------------------------------------------- +# License +# This file is part of foam-extend. +# +# foam-extend 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 3 of the License, or {at your +# option} any later version. +# +# foam-extend 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 foam-extend. If not, see . +# +# Description +# CMakeLists.txt file for libraries and applications +# +# Author +# Henrik Rusche, Wikki GmbH, 2017. All rights reserved +# +# +# -------------------------------------------------------------------------- + +list(APPEND sources + scalarTransportFoam.C +) + +# Set minimal environment for external compilation +if(NOT FOAM_FOUND) + cmake_minimum_required(VERSION 2.8) + find_package(FOAM REQUIRED) +endif() + +add_foam_executable(scalarTransportFoam + DEPENDS finiteVolume + SOURCES ${sources} +) diff --git a/applications/solvers/basic/sixDOFSolver/CMakeLists.txt b/applications/solvers/basic/sixDOFSolver/CMakeLists.txt new file mode 100644 index 000000000..f15be9a3b --- /dev/null +++ b/applications/solvers/basic/sixDOFSolver/CMakeLists.txt @@ -0,0 +1,46 @@ +# -------------------------------------------------------------------------- +# ======== | +# \ / F ield | foam-extend: Open Source CFD +# \ / O peration | Version: 4.1 +# \ / A nd | Web: http://www.foam-extend.org +# \/ M anipulation | For copyright notice see file Copyright +# -------------------------------------------------------------------------- +# License +# This file is part of foam-extend. +# +# foam-extend 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 3 of the License, or {at your +# option} any later version. +# +# foam-extend 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 foam-extend. If not, see . +# +# Description +# CMakeLists.txt file for libraries and applications +# +# Author +# Henrik Rusche, Wikki GmbH, 2017. All rights reserved +# +# +# -------------------------------------------------------------------------- + +list(APPEND sources + sixDOFSolver.C +) + +# Set minimal environment for external compilation +if(NOT FOAM_FOUND) + cmake_minimum_required(VERSION 2.8) + find_package(FOAM REQUIRED) +endif() + +add_foam_executable(sixDOFSolver + DEPENDS meshTools ODE + SOURCES ${sources} +) diff --git a/applications/solvers/combustion/CMakeLists.txt b/applications/solvers/combustion/CMakeLists.txt new file mode 100644 index 000000000..8ea223117 --- /dev/null +++ b/applications/solvers/combustion/CMakeLists.txt @@ -0,0 +1,40 @@ +# --------------------------------------------------------------------------# ======== | +# \ / F ield | foam-extend: Open Source CFD +# \ / O peration | Version: 4.1 +# \ / A nd | Web: http://www.foam-extend.org +# \/ M anipulation | For copyright notice see file Copyright +# -------------------------------------------------------------------------- +# License +# This file is part of foam-extend. +# +# foam-extend 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 3 of the License, or {at your +# option} any later version. +# +# foam-extend 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 foam-extend. If not, see . +# +# Description +# CMakeLists.txt file for libraries and applications +# +# Author +# Henrik Rusche, Wikki GmbH, 2017. All rights reserved +# +# +# -------------------------------------------------------------------------- + +add_subdirectory(coldEngineFoam) +add_subdirectory(dieselEngineFoam) +add_subdirectory(XiFoam) +add_subdirectory(PDRFoam) +add_subdirectory(fireFoam) +add_subdirectory(engineFoam) +add_subdirectory(reactingFoam) +add_subdirectory(dieselFoam) +add_subdirectory(rhoReactingFoam) \ No newline at end of file diff --git a/applications/solvers/combustion/PDRFoam/CMakeLists.txt b/applications/solvers/combustion/PDRFoam/CMakeLists.txt new file mode 100644 index 000000000..e1d7e4f09 --- /dev/null +++ b/applications/solvers/combustion/PDRFoam/CMakeLists.txt @@ -0,0 +1,68 @@ +# -------------------------------------------------------------------------- +# ======== | +# \ / F ield | foam-extend: Open Source CFD +# \ / O peration | Version: 4.1 +# \ / A nd | Web: http://www.foam-extend.org +# \/ M anipulation | For copyright notice see file Copyright +# -------------------------------------------------------------------------- +# License +# This file is part of foam-extend. +# +# foam-extend 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 3 of the License, or {at your +# option} any later version. +# +# foam-extend 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 foam-extend. If not, see . +# +# Description +# CMakeLists.txt file for libraries and applications +# +# Author +# Henrik Rusche, Wikki GmbH, 2017. All rights reserved +# +# +# -------------------------------------------------------------------------- + +list(APPEND sources + XiModels/XiModel/XiModel.C + XiModels/XiModel/newXiModel.C + XiModels/fixed/fixed.C + XiModels/algebraic/algebraic.C + XiModels/transport/transport.C + XiModels/XiEqModels/XiEqModel/XiEqModel.C + XiModels/XiEqModels/XiEqModel/newXiEqModel.C + XiModels/XiEqModels/Gulder/Gulder.C + XiModels/XiEqModels/instabilityXiEq/instabilityXiEq.C + XiModels/XiEqModels/SCOPEBlendXiEq/SCOPEBlendXiEq.C + XiModels/XiEqModels/SCOPEXiEq/SCOPEXiEq.C + XiModels/XiGModels/XiGModel/XiGModel.C + XiModels/XiGModels/XiGModel/newXiGModel.C + XiModels/XiGModels/KTS/KTS.C + XiModels/XiGModels/instabilityG/instabilityG.C + PDRModels/turbulence/PDRkEpsilon/PDRkEpsilon.C + PDRModels/dragModels/PDRDragModel/PDRDragModel.C + PDRModels/dragModels/PDRDragModel/newPDRDragModel.C + PDRModels/dragModels/basic/basic.C + PDRModels/XiEqModels/basicXiSubXiEq/basicXiSubXiEq.C + PDRModels/XiGModels/basicXiSubG/basicXiSubG.C + laminarFlameSpeed/SCOPE/SCOPELaminarFlameSpeed.C + PDRFoam.C +) + +# Set minimal environment for external compilation +if(NOT FOAM_FOUND) + cmake_minimum_required(VERSION 2.8) + find_package(FOAM REQUIRED) +endif() + +add_foam_executable(PDRFoam +# DEPENDS finiteVolume + SOURCES ${sources} +) diff --git a/applications/solvers/combustion/XiFoam/CMakeLists.txt b/applications/solvers/combustion/XiFoam/CMakeLists.txt new file mode 100644 index 000000000..bbb917fd2 --- /dev/null +++ b/applications/solvers/combustion/XiFoam/CMakeLists.txt @@ -0,0 +1,46 @@ +# -------------------------------------------------------------------------- +# ======== | +# \ / F ield | foam-extend: Open Source CFD +# \ / O peration | Version: 4.1 +# \ / A nd | Web: http://www.foam-extend.org +# \/ M anipulation | For copyright notice see file Copyright +# -------------------------------------------------------------------------- +# License +# This file is part of foam-extend. +# +# foam-extend 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 3 of the License, or {at your +# option} any later version. +# +# foam-extend 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 foam-extend. If not, see . +# +# Description +# CMakeLists.txt file for libraries and applications +# +# Author +# Henrik Rusche, Wikki GmbH, 2017. All rights reserved +# +# +# -------------------------------------------------------------------------- + +list(APPEND sources + XiFoam.C +) + +# Set minimal environment for external compilation +if(NOT FOAM_FOUND) + cmake_minimum_required(VERSION 2.8) + find_package(FOAM REQUIRED) +endif() + +add_foam_executable(XiFoam +# DEPENDS finiteVolume + SOURCES ${sources} +) diff --git a/applications/solvers/combustion/coldEngineFoam/CMakeLists.txt b/applications/solvers/combustion/coldEngineFoam/CMakeLists.txt new file mode 100644 index 000000000..48b3a59e0 --- /dev/null +++ b/applications/solvers/combustion/coldEngineFoam/CMakeLists.txt @@ -0,0 +1,46 @@ +# -------------------------------------------------------------------------- +# ======== | +# \ / F ield | foam-extend: Open Source CFD +# \ / O peration | Version: 4.1 +# \ / A nd | Web: http://www.foam-extend.org +# \/ M anipulation | For copyright notice see file Copyright +# -------------------------------------------------------------------------- +# License +# This file is part of foam-extend. +# +# foam-extend 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 3 of the License, or {at your +# option} any later version. +# +# foam-extend 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 foam-extend. If not, see . +# +# Description +# CMakeLists.txt file for libraries and applications +# +# Author +# Henrik Rusche, Wikki GmbH, 2017. All rights reserved +# +# +# -------------------------------------------------------------------------- + +list(APPEND sources + coldEngineFoam.C +) + +# Set minimal environment for external compilation +if(NOT FOAM_FOUND) + cmake_minimum_required(VERSION 2.8) + find_package(FOAM REQUIRED) +endif() + +add_foam_executable(coldEngineFoam +# DEPENDS finiteVolume + SOURCES ${sources} +) diff --git a/applications/solvers/combustion/dieselEngineFoam/CMakeLists.txt b/applications/solvers/combustion/dieselEngineFoam/CMakeLists.txt new file mode 100644 index 000000000..19969201e --- /dev/null +++ b/applications/solvers/combustion/dieselEngineFoam/CMakeLists.txt @@ -0,0 +1,46 @@ +# -------------------------------------------------------------------------- +# ======== | +# \ / F ield | foam-extend: Open Source CFD +# \ / O peration | Version: 4.1 +# \ / A nd | Web: http://www.foam-extend.org +# \/ M anipulation | For copyright notice see file Copyright +# -------------------------------------------------------------------------- +# License +# This file is part of foam-extend. +# +# foam-extend 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 3 of the License, or {at your +# option} any later version. +# +# foam-extend 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 foam-extend. If not, see . +# +# Description +# CMakeLists.txt file for libraries and applications +# +# Author +# Henrik Rusche, Wikki GmbH, 2017. All rights reserved +# +# +# -------------------------------------------------------------------------- + +list(APPEND sources + dieselEngineFoam.C +) + +# Set minimal environment for external compilation +if(NOT FOAM_FOUND) + cmake_minimum_required(VERSION 2.8) + find_package(FOAM REQUIRED) +endif() + +add_foam_executable(dieselEngineFoam +# DEPENDS finiteVolume + SOURCES ${sources} +) diff --git a/applications/solvers/combustion/dieselFoam/CMakeLists.txt b/applications/solvers/combustion/dieselFoam/CMakeLists.txt new file mode 100644 index 000000000..c847aad5c --- /dev/null +++ b/applications/solvers/combustion/dieselFoam/CMakeLists.txt @@ -0,0 +1,46 @@ +# -------------------------------------------------------------------------- +# ======== | +# \ / F ield | foam-extend: Open Source CFD +# \ / O peration | Version: 4.1 +# \ / A nd | Web: http://www.foam-extend.org +# \/ M anipulation | For copyright notice see file Copyright +# -------------------------------------------------------------------------- +# License +# This file is part of foam-extend. +# +# foam-extend 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 3 of the License, or {at your +# option} any later version. +# +# foam-extend 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 foam-extend. If not, see . +# +# Description +# CMakeLists.txt file for libraries and applications +# +# Author +# Henrik Rusche, Wikki GmbH, 2017. All rights reserved +# +# +# -------------------------------------------------------------------------- + +list(APPEND sources + dieselFoam.C +) + +# Set minimal environment for external compilation +if(NOT FOAM_FOUND) + cmake_minimum_required(VERSION 2.8) + find_package(FOAM REQUIRED) +endif() + +add_foam_executable(dieselFoam +# DEPENDS finiteVolume + SOURCES ${sources} +) diff --git a/applications/solvers/combustion/engineFoam/CMakeLists.txt b/applications/solvers/combustion/engineFoam/CMakeLists.txt new file mode 100644 index 000000000..fd5d46ff9 --- /dev/null +++ b/applications/solvers/combustion/engineFoam/CMakeLists.txt @@ -0,0 +1,46 @@ +# -------------------------------------------------------------------------- +# ======== | +# \ / F ield | foam-extend: Open Source CFD +# \ / O peration | Version: 4.1 +# \ / A nd | Web: http://www.foam-extend.org +# \/ M anipulation | For copyright notice see file Copyright +# -------------------------------------------------------------------------- +# License +# This file is part of foam-extend. +# +# foam-extend 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 3 of the License, or {at your +# option} any later version. +# +# foam-extend 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 foam-extend. If not, see . +# +# Description +# CMakeLists.txt file for libraries and applications +# +# Author +# Henrik Rusche, Wikki GmbH, 2017. All rights reserved +# +# +# -------------------------------------------------------------------------- + +list(APPEND sources + engineFoam.C +) + +# Set minimal environment for external compilation +if(NOT FOAM_FOUND) + cmake_minimum_required(VERSION 2.8) + find_package(FOAM REQUIRED) +endif() + +add_foam_executable(engineFoam +# DEPENDS finiteVolume + SOURCES ${sources} +) diff --git a/applications/solvers/combustion/fireFoam/CMakeLists.txt b/applications/solvers/combustion/fireFoam/CMakeLists.txt new file mode 100644 index 000000000..2afdcea2f --- /dev/null +++ b/applications/solvers/combustion/fireFoam/CMakeLists.txt @@ -0,0 +1,32 @@ +# --------------------------------------------------------------------------# ======== | +# \ / F ield | foam-extend: Open Source CFD +# \ / O peration | Version: 4.1 +# \ / A nd | Web: http://www.foam-extend.org +# \/ M anipulation | For copyright notice see file Copyright +# -------------------------------------------------------------------------- +# License +# This file is part of foam-extend. +# +# foam-extend 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 3 of the License, or {at your +# option} any later version. +# +# foam-extend 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 foam-extend. If not, see . +# +# Description +# CMakeLists.txt file for libraries and applications +# +# Author +# Henrik Rusche, Wikki GmbH, 2017. All rights reserved +# +# +# -------------------------------------------------------------------------- + +add_subdirectory(combustionModels) \ No newline at end of file diff --git a/applications/solvers/combustion/fireFoam/combustionModels/CMakeLists.txt b/applications/solvers/combustion/fireFoam/combustionModels/CMakeLists.txt new file mode 100644 index 000000000..ff7932d99 --- /dev/null +++ b/applications/solvers/combustion/fireFoam/combustionModels/CMakeLists.txt @@ -0,0 +1,44 @@ +# -------------------------------------------------------------------------- +# ======== | +# \ / F ield | foam-extend: Open Source CFD +# \ / O peration | Version: 4.1 +# \ / A nd | Web: http://www.foam-extend.org +# \/ M anipulation | For copyright notice see file Copyright +# -------------------------------------------------------------------------- +# License +# This file is part of foam-extend. +# +# foam-extend 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 3 of the License, or {at your +# option} any later version. +# +# foam-extend 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 foam-extend. If not, see . +# +# Description +# CMakeLists.txt file for libraries and applications +# +# Author +# Henrik Rusche, Wikki GmbH, 2017. All rights reserved +# +# +# -------------------------------------------------------------------------- + +list(APPEND sources + combustionModel/combustionModel.C + combustionModel/newCombustionModel.C + infinitelyFastChemistry/infinitelyFastChemistry.C + noCombustion/noCombustion.C +) + +add_foam_library(combustionModels SHARED ${sources}) + +# This is a prototype! Replace second argument with a list of the highest +# dependencies only. Inherited dependencies will be treated automatically. +#target_link_libraries(combustionModels finiteVolume) diff --git a/applications/solvers/combustion/reactingFoam/CMakeLists.txt b/applications/solvers/combustion/reactingFoam/CMakeLists.txt new file mode 100644 index 000000000..f9a7253c2 --- /dev/null +++ b/applications/solvers/combustion/reactingFoam/CMakeLists.txt @@ -0,0 +1,46 @@ +# -------------------------------------------------------------------------- +# ======== | +# \ / F ield | foam-extend: Open Source CFD +# \ / O peration | Version: 4.1 +# \ / A nd | Web: http://www.foam-extend.org +# \/ M anipulation | For copyright notice see file Copyright +# -------------------------------------------------------------------------- +# License +# This file is part of foam-extend. +# +# foam-extend 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 3 of the License, or {at your +# option} any later version. +# +# foam-extend 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 foam-extend. If not, see . +# +# Description +# CMakeLists.txt file for libraries and applications +# +# Author +# Henrik Rusche, Wikki GmbH, 2017. All rights reserved +# +# +# -------------------------------------------------------------------------- + +list(APPEND sources + reactingFoam.C +) + +# Set minimal environment for external compilation +if(NOT FOAM_FOUND) + cmake_minimum_required(VERSION 2.8) + find_package(FOAM REQUIRED) +endif() + +add_foam_executable(reactingFoam +# DEPENDS finiteVolume + SOURCES ${sources} +) diff --git a/applications/solvers/combustion/rhoReactingFoam/CMakeLists.txt b/applications/solvers/combustion/rhoReactingFoam/CMakeLists.txt new file mode 100644 index 000000000..ea158caac --- /dev/null +++ b/applications/solvers/combustion/rhoReactingFoam/CMakeLists.txt @@ -0,0 +1,46 @@ +# -------------------------------------------------------------------------- +# ======== | +# \ / F ield | foam-extend: Open Source CFD +# \ / O peration | Version: 4.1 +# \ / A nd | Web: http://www.foam-extend.org +# \/ M anipulation | For copyright notice see file Copyright +# -------------------------------------------------------------------------- +# License +# This file is part of foam-extend. +# +# foam-extend 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 3 of the License, or {at your +# option} any later version. +# +# foam-extend 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 foam-extend. If not, see . +# +# Description +# CMakeLists.txt file for libraries and applications +# +# Author +# Henrik Rusche, Wikki GmbH, 2017. All rights reserved +# +# +# -------------------------------------------------------------------------- + +list(APPEND sources + rhoReactingFoam.C +) + +# Set minimal environment for external compilation +if(NOT FOAM_FOUND) + cmake_minimum_required(VERSION 2.8) + find_package(FOAM REQUIRED) +endif() + +add_foam_executable(rhoReactingFoam +# DEPENDS finiteVolume + SOURCES ${sources} +) diff --git a/applications/solvers/compressible/CMakeLists.txt b/applications/solvers/compressible/CMakeLists.txt new file mode 100644 index 000000000..5bf82cbd5 --- /dev/null +++ b/applications/solvers/compressible/CMakeLists.txt @@ -0,0 +1,50 @@ +# --------------------------------------------------------------------------# ======== | +# \ / F ield | foam-extend: Open Source CFD +# \ / O peration | Version: 4.1 +# \ / A nd | Web: http://www.foam-extend.org +# \/ M anipulation | For copyright notice see file Copyright +# -------------------------------------------------------------------------- +# License +# This file is part of foam-extend. +# +# foam-extend 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 3 of the License, or {at your +# option} any later version. +# +# foam-extend 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 foam-extend. If not, see . +# +# Description +# CMakeLists.txt file for libraries and applications +# +# Author +# Henrik Rusche, Wikki GmbH, 2017. All rights reserved +# +# +# -------------------------------------------------------------------------- + +add_subdirectory(rhoSonicFoam) +add_subdirectory(sonicDyMFoam) +add_subdirectory(steadyCompressibleSRFFoam) +add_subdirectory(realFluidPisoFoam) +add_subdirectory(steadyUniversalMRFFoam) +add_subdirectory(rhoPimpleFoam) +add_subdirectory(sonicFoam) +add_subdirectory(rhoPorousMRFPimpleFoam) +add_subdirectory(rhopSonicFoam) +add_subdirectory(rhoPisoFoam) +add_subdirectory(steadyCompressibleFoam) +add_subdirectory(dbnsFoam) +add_subdirectory(steadyUniversalFoam) +add_subdirectory(steadyCompressibleMRFFoam) +add_subdirectory(rhoSimpleFoam) +add_subdirectory(sonicLiquidFoam) +add_subdirectory(rhoCentralFoam) +add_subdirectory(rhoPorousSimpleFoam) +add_subdirectory(dbnsTurbFoam) \ No newline at end of file diff --git a/applications/solvers/compressible/dbnsFoam/CMakeLists.txt b/applications/solvers/compressible/dbnsFoam/CMakeLists.txt new file mode 100644 index 000000000..10d0c6af9 --- /dev/null +++ b/applications/solvers/compressible/dbnsFoam/CMakeLists.txt @@ -0,0 +1,46 @@ +# -------------------------------------------------------------------------- +# ======== | +# \ / F ield | foam-extend: Open Source CFD +# \ / O peration | Version: 4.1 +# \ / A nd | Web: http://www.foam-extend.org +# \/ M anipulation | For copyright notice see file Copyright +# -------------------------------------------------------------------------- +# License +# This file is part of foam-extend. +# +# foam-extend 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 3 of the License, or {at your +# option} any later version. +# +# foam-extend 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 foam-extend. If not, see . +# +# Description +# CMakeLists.txt file for libraries and applications +# +# Author +# Henrik Rusche, Wikki GmbH, 2017. All rights reserved +# +# +# -------------------------------------------------------------------------- + +list(APPEND sources + dbnsFoam.C +) + +# Set minimal environment for external compilation +if(NOT FOAM_FOUND) + cmake_minimum_required(VERSION 2.8) + find_package(FOAM REQUIRED) +endif() + +add_foam_executable(dbnsFoam +# DEPENDS finiteVolume + SOURCES ${sources} +) diff --git a/applications/solvers/compressible/dbnsTurbFoam/CMakeLists.txt b/applications/solvers/compressible/dbnsTurbFoam/CMakeLists.txt new file mode 100644 index 000000000..5239c7230 --- /dev/null +++ b/applications/solvers/compressible/dbnsTurbFoam/CMakeLists.txt @@ -0,0 +1,46 @@ +# -------------------------------------------------------------------------- +# ======== | +# \ / F ield | foam-extend: Open Source CFD +# \ / O peration | Version: 4.1 +# \ / A nd | Web: http://www.foam-extend.org +# \/ M anipulation | For copyright notice see file Copyright +# -------------------------------------------------------------------------- +# License +# This file is part of foam-extend. +# +# foam-extend 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 3 of the License, or {at your +# option} any later version. +# +# foam-extend 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 foam-extend. If not, see . +# +# Description +# CMakeLists.txt file for libraries and applications +# +# Author +# Henrik Rusche, Wikki GmbH, 2017. All rights reserved +# +# +# -------------------------------------------------------------------------- + +list(APPEND sources + dbnsTurbFoam.C +) + +# Set minimal environment for external compilation +if(NOT FOAM_FOUND) + cmake_minimum_required(VERSION 2.8) + find_package(FOAM REQUIRED) +endif() + +add_foam_executable(dbnsTurbFoam +# DEPENDS finiteVolume + SOURCES ${sources} +) diff --git a/applications/solvers/compressible/realFluidPisoFoam/CMakeLists.txt b/applications/solvers/compressible/realFluidPisoFoam/CMakeLists.txt new file mode 100644 index 000000000..a49b827e6 --- /dev/null +++ b/applications/solvers/compressible/realFluidPisoFoam/CMakeLists.txt @@ -0,0 +1,46 @@ +# -------------------------------------------------------------------------- +# ======== | +# \ / F ield | foam-extend: Open Source CFD +# \ / O peration | Version: 4.1 +# \ / A nd | Web: http://www.foam-extend.org +# \/ M anipulation | For copyright notice see file Copyright +# -------------------------------------------------------------------------- +# License +# This file is part of foam-extend. +# +# foam-extend 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 3 of the License, or {at your +# option} any later version. +# +# foam-extend 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 foam-extend. If not, see . +# +# Description +# CMakeLists.txt file for libraries and applications +# +# Author +# Henrik Rusche, Wikki GmbH, 2017. All rights reserved +# +# +# -------------------------------------------------------------------------- + +list(APPEND sources + realFluidPisoFoam.C +) + +# Set minimal environment for external compilation +if(NOT FOAM_FOUND) + cmake_minimum_required(VERSION 2.8) + find_package(FOAM REQUIRED) +endif() + +add_foam_executable(realFluidPisoFoam +# DEPENDS finiteVolume + SOURCES ${sources} +) diff --git a/applications/solvers/compressible/rhoCentralFoam/BCs/CMakeLists.txt b/applications/solvers/compressible/rhoCentralFoam/BCs/CMakeLists.txt new file mode 100644 index 000000000..c58d9332d --- /dev/null +++ b/applications/solvers/compressible/rhoCentralFoam/BCs/CMakeLists.txt @@ -0,0 +1,44 @@ +# -------------------------------------------------------------------------- +# ======== | +# \ / F ield | foam-extend: Open Source CFD +# \ / O peration | Version: 4.1 +# \ / A nd | Web: http://www.foam-extend.org +# \/ M anipulation | For copyright notice see file Copyright +# -------------------------------------------------------------------------- +# License +# This file is part of foam-extend. +# +# foam-extend 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 3 of the License, or {at your +# option} any later version. +# +# foam-extend 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 foam-extend. If not, see . +# +# Description +# CMakeLists.txt file for libraries and applications +# +# Author +# Henrik Rusche, Wikki GmbH, 2017. All rights reserved +# +# +# -------------------------------------------------------------------------- + +list(APPEND sources + mixedFixedValueSlip/mixedFixedValueSlipFvPatchFields.C + U/maxwellSlipUFvPatchVectorField.C + T/smoluchowskiJumpTFvPatchScalarField.C + rho/fixedRhoFvPatchScalarField.C +) + +add_foam_library(rhoCentralFoam SHARED ${sources}) + +# This is a prototype! Replace second argument with a list of the highest +# dependencies only. Inherited dependencies will be treated automatically. +#target_link_libraries(rhoCentralFoam finiteVolume) diff --git a/applications/solvers/compressible/rhoCentralFoam/CMakeLists.txt b/applications/solvers/compressible/rhoCentralFoam/CMakeLists.txt new file mode 100644 index 000000000..d9a335de8 --- /dev/null +++ b/applications/solvers/compressible/rhoCentralFoam/CMakeLists.txt @@ -0,0 +1,32 @@ +# --------------------------------------------------------------------------# ======== | +# \ / F ield | foam-extend: Open Source CFD +# \ / O peration | Version: 4.1 +# \ / A nd | Web: http://www.foam-extend.org +# \/ M anipulation | For copyright notice see file Copyright +# -------------------------------------------------------------------------- +# License +# This file is part of foam-extend. +# +# foam-extend 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 3 of the License, or {at your +# option} any later version. +# +# foam-extend 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 foam-extend. If not, see . +# +# Description +# CMakeLists.txt file for libraries and applications +# +# Author +# Henrik Rusche, Wikki GmbH, 2017. All rights reserved +# +# +# -------------------------------------------------------------------------- + +add_subdirectory(BCs) \ No newline at end of file diff --git a/applications/solvers/compressible/rhoPimpleFoam/CMakeLists.txt b/applications/solvers/compressible/rhoPimpleFoam/CMakeLists.txt new file mode 100644 index 000000000..647596668 --- /dev/null +++ b/applications/solvers/compressible/rhoPimpleFoam/CMakeLists.txt @@ -0,0 +1,46 @@ +# -------------------------------------------------------------------------- +# ======== | +# \ / F ield | foam-extend: Open Source CFD +# \ / O peration | Version: 4.1 +# \ / A nd | Web: http://www.foam-extend.org +# \/ M anipulation | For copyright notice see file Copyright +# -------------------------------------------------------------------------- +# License +# This file is part of foam-extend. +# +# foam-extend 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 3 of the License, or {at your +# option} any later version. +# +# foam-extend 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 foam-extend. If not, see . +# +# Description +# CMakeLists.txt file for libraries and applications +# +# Author +# Henrik Rusche, Wikki GmbH, 2017. All rights reserved +# +# +# -------------------------------------------------------------------------- + +list(APPEND sources + rhoPimpleFoam.C +) + +# Set minimal environment for external compilation +if(NOT FOAM_FOUND) + cmake_minimum_required(VERSION 2.8) + find_package(FOAM REQUIRED) +endif() + +add_foam_executable(rhoPimpleFoam +# DEPENDS finiteVolume + SOURCES ${sources} +) diff --git a/applications/solvers/compressible/rhoPisoFoam/CMakeLists.txt b/applications/solvers/compressible/rhoPisoFoam/CMakeLists.txt new file mode 100644 index 000000000..1692c6102 --- /dev/null +++ b/applications/solvers/compressible/rhoPisoFoam/CMakeLists.txt @@ -0,0 +1,46 @@ +# -------------------------------------------------------------------------- +# ======== | +# \ / F ield | foam-extend: Open Source CFD +# \ / O peration | Version: 4.1 +# \ / A nd | Web: http://www.foam-extend.org +# \/ M anipulation | For copyright notice see file Copyright +# -------------------------------------------------------------------------- +# License +# This file is part of foam-extend. +# +# foam-extend 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 3 of the License, or {at your +# option} any later version. +# +# foam-extend 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 foam-extend. If not, see . +# +# Description +# CMakeLists.txt file for libraries and applications +# +# Author +# Henrik Rusche, Wikki GmbH, 2017. All rights reserved +# +# +# -------------------------------------------------------------------------- + +list(APPEND sources + rhoPisoFoam.C +) + +# Set minimal environment for external compilation +if(NOT FOAM_FOUND) + cmake_minimum_required(VERSION 2.8) + find_package(FOAM REQUIRED) +endif() + +add_foam_executable(rhoPisoFoam +# DEPENDS finiteVolume + SOURCES ${sources} +) diff --git a/applications/solvers/compressible/rhoPorousMRFPimpleFoam/CMakeLists.txt b/applications/solvers/compressible/rhoPorousMRFPimpleFoam/CMakeLists.txt new file mode 100644 index 000000000..a70e6cf1c --- /dev/null +++ b/applications/solvers/compressible/rhoPorousMRFPimpleFoam/CMakeLists.txt @@ -0,0 +1,46 @@ +# -------------------------------------------------------------------------- +# ======== | +# \ / F ield | foam-extend: Open Source CFD +# \ / O peration | Version: 4.1 +# \ / A nd | Web: http://www.foam-extend.org +# \/ M anipulation | For copyright notice see file Copyright +# -------------------------------------------------------------------------- +# License +# This file is part of foam-extend. +# +# foam-extend 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 3 of the License, or {at your +# option} any later version. +# +# foam-extend 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 foam-extend. If not, see . +# +# Description +# CMakeLists.txt file for libraries and applications +# +# Author +# Henrik Rusche, Wikki GmbH, 2017. All rights reserved +# +# +# -------------------------------------------------------------------------- + +list(APPEND sources + rhoPorousMRFPimpleFoam.C +) + +# Set minimal environment for external compilation +if(NOT FOAM_FOUND) + cmake_minimum_required(VERSION 2.8) + find_package(FOAM REQUIRED) +endif() + +add_foam_executable(rhoPorousMRFPimpleFoam +# DEPENDS finiteVolume + SOURCES ${sources} +) diff --git a/applications/solvers/compressible/rhoPorousSimpleFoam/CMakeLists.txt b/applications/solvers/compressible/rhoPorousSimpleFoam/CMakeLists.txt new file mode 100644 index 000000000..ea3e1e34c --- /dev/null +++ b/applications/solvers/compressible/rhoPorousSimpleFoam/CMakeLists.txt @@ -0,0 +1,46 @@ +# -------------------------------------------------------------------------- +# ======== | +# \ / F ield | foam-extend: Open Source CFD +# \ / O peration | Version: 4.1 +# \ / A nd | Web: http://www.foam-extend.org +# \/ M anipulation | For copyright notice see file Copyright +# -------------------------------------------------------------------------- +# License +# This file is part of foam-extend. +# +# foam-extend 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 3 of the License, or {at your +# option} any later version. +# +# foam-extend 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 foam-extend. If not, see . +# +# Description +# CMakeLists.txt file for libraries and applications +# +# Author +# Henrik Rusche, Wikki GmbH, 2017. All rights reserved +# +# +# -------------------------------------------------------------------------- + +list(APPEND sources + rhoPorousSimpleFoam.C +) + +# Set minimal environment for external compilation +if(NOT FOAM_FOUND) + cmake_minimum_required(VERSION 2.8) + find_package(FOAM REQUIRED) +endif() + +add_foam_executable(rhoPorousSimpleFoam +# DEPENDS finiteVolume + SOURCES ${sources} +) diff --git a/applications/solvers/compressible/rhoSimpleFoam/CMakeLists.txt b/applications/solvers/compressible/rhoSimpleFoam/CMakeLists.txt new file mode 100644 index 000000000..7e29c7930 --- /dev/null +++ b/applications/solvers/compressible/rhoSimpleFoam/CMakeLists.txt @@ -0,0 +1,46 @@ +# -------------------------------------------------------------------------- +# ======== | +# \ / F ield | foam-extend: Open Source CFD +# \ / O peration | Version: 4.1 +# \ / A nd | Web: http://www.foam-extend.org +# \/ M anipulation | For copyright notice see file Copyright +# -------------------------------------------------------------------------- +# License +# This file is part of foam-extend. +# +# foam-extend 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 3 of the License, or {at your +# option} any later version. +# +# foam-extend 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 foam-extend. If not, see . +# +# Description +# CMakeLists.txt file for libraries and applications +# +# Author +# Henrik Rusche, Wikki GmbH, 2017. All rights reserved +# +# +# -------------------------------------------------------------------------- + +list(APPEND sources + rhoSimpleFoam.C +) + +# Set minimal environment for external compilation +if(NOT FOAM_FOUND) + cmake_minimum_required(VERSION 2.8) + find_package(FOAM REQUIRED) +endif() + +add_foam_executable(rhoSimpleFoam +# DEPENDS finiteVolume + SOURCES ${sources} +) diff --git a/applications/solvers/compressible/rhoSonicFoam/CMakeLists.txt b/applications/solvers/compressible/rhoSonicFoam/CMakeLists.txt new file mode 100644 index 000000000..64110b943 --- /dev/null +++ b/applications/solvers/compressible/rhoSonicFoam/CMakeLists.txt @@ -0,0 +1,46 @@ +# -------------------------------------------------------------------------- +# ======== | +# \ / F ield | foam-extend: Open Source CFD +# \ / O peration | Version: 4.1 +# \ / A nd | Web: http://www.foam-extend.org +# \/ M anipulation | For copyright notice see file Copyright +# -------------------------------------------------------------------------- +# License +# This file is part of foam-extend. +# +# foam-extend 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 3 of the License, or {at your +# option} any later version. +# +# foam-extend 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 foam-extend. If not, see . +# +# Description +# CMakeLists.txt file for libraries and applications +# +# Author +# Henrik Rusche, Wikki GmbH, 2017. All rights reserved +# +# +# -------------------------------------------------------------------------- + +list(APPEND sources + rhoSonicFoam.C +) + +# Set minimal environment for external compilation +if(NOT FOAM_FOUND) + cmake_minimum_required(VERSION 2.8) + find_package(FOAM REQUIRED) +endif() + +add_foam_executable(rhoSonicFoam +# DEPENDS finiteVolume + SOURCES ${sources} +) diff --git a/applications/solvers/compressible/rhopSonicFoam/BCs/CMakeLists.txt b/applications/solvers/compressible/rhopSonicFoam/BCs/CMakeLists.txt new file mode 100644 index 000000000..8e188b0de --- /dev/null +++ b/applications/solvers/compressible/rhopSonicFoam/BCs/CMakeLists.txt @@ -0,0 +1,46 @@ +# -------------------------------------------------------------------------- +# ======== | +# \ / F ield | foam-extend: Open Source CFD +# \ / O peration | Version: 4.1 +# \ / A nd | Web: http://www.foam-extend.org +# \/ M anipulation | For copyright notice see file Copyright +# -------------------------------------------------------------------------- +# License +# This file is part of foam-extend. +# +# foam-extend 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 3 of the License, or {at your +# option} any later version. +# +# foam-extend 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 foam-extend. If not, see . +# +# Description +# CMakeLists.txt file for libraries and applications +# +# Author +# Henrik Rusche, Wikki GmbH, 2017. All rights reserved +# +# +# -------------------------------------------------------------------------- + +list(APPEND sources + rho/fixedRhoFvPatchScalarField.C + rho/gradientRhoFvPatchScalarField.C + rhoE/fixedRhoEFvPatchScalarField.C + rhoE/mixedRhoEFvPatchScalarField.C + rhoU/fixedRhoUFvPatchVectorField.C + p/inviscidWallPFvPatchScalarField.C +) + +add_foam_library(rhopSonicFoam SHARED ${sources}) + +# This is a prototype! Replace second argument with a list of the highest +# dependencies only. Inherited dependencies will be treated automatically. +#target_link_libraries(rhopSonicFoam finiteVolume) diff --git a/applications/solvers/compressible/rhopSonicFoam/CMakeLists.txt b/applications/solvers/compressible/rhopSonicFoam/CMakeLists.txt new file mode 100644 index 000000000..d9a335de8 --- /dev/null +++ b/applications/solvers/compressible/rhopSonicFoam/CMakeLists.txt @@ -0,0 +1,32 @@ +# --------------------------------------------------------------------------# ======== | +# \ / F ield | foam-extend: Open Source CFD +# \ / O peration | Version: 4.1 +# \ / A nd | Web: http://www.foam-extend.org +# \/ M anipulation | For copyright notice see file Copyright +# -------------------------------------------------------------------------- +# License +# This file is part of foam-extend. +# +# foam-extend 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 3 of the License, or {at your +# option} any later version. +# +# foam-extend 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 foam-extend. If not, see . +# +# Description +# CMakeLists.txt file for libraries and applications +# +# Author +# Henrik Rusche, Wikki GmbH, 2017. All rights reserved +# +# +# -------------------------------------------------------------------------- + +add_subdirectory(BCs) \ No newline at end of file diff --git a/applications/solvers/compressible/sonicDyMFoam/CMakeLists.txt b/applications/solvers/compressible/sonicDyMFoam/CMakeLists.txt new file mode 100644 index 000000000..bf68e0ed0 --- /dev/null +++ b/applications/solvers/compressible/sonicDyMFoam/CMakeLists.txt @@ -0,0 +1,46 @@ +# -------------------------------------------------------------------------- +# ======== | +# \ / F ield | foam-extend: Open Source CFD +# \ / O peration | Version: 4.1 +# \ / A nd | Web: http://www.foam-extend.org +# \/ M anipulation | For copyright notice see file Copyright +# -------------------------------------------------------------------------- +# License +# This file is part of foam-extend. +# +# foam-extend 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 3 of the License, or {at your +# option} any later version. +# +# foam-extend 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 foam-extend. If not, see . +# +# Description +# CMakeLists.txt file for libraries and applications +# +# Author +# Henrik Rusche, Wikki GmbH, 2017. All rights reserved +# +# +# -------------------------------------------------------------------------- + +list(APPEND sources + sonicDyMFoam.C +) + +# Set minimal environment for external compilation +if(NOT FOAM_FOUND) + cmake_minimum_required(VERSION 2.8) + find_package(FOAM REQUIRED) +endif() + +add_foam_executable(sonicDyMFoam +# DEPENDS finiteVolume + SOURCES ${sources} +) diff --git a/applications/solvers/compressible/sonicFoam/CMakeLists.txt b/applications/solvers/compressible/sonicFoam/CMakeLists.txt new file mode 100644 index 000000000..ad585a479 --- /dev/null +++ b/applications/solvers/compressible/sonicFoam/CMakeLists.txt @@ -0,0 +1,46 @@ +# -------------------------------------------------------------------------- +# ======== | +# \ / F ield | foam-extend: Open Source CFD +# \ / O peration | Version: 4.1 +# \ / A nd | Web: http://www.foam-extend.org +# \/ M anipulation | For copyright notice see file Copyright +# -------------------------------------------------------------------------- +# License +# This file is part of foam-extend. +# +# foam-extend 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 3 of the License, or {at your +# option} any later version. +# +# foam-extend 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 foam-extend. If not, see . +# +# Description +# CMakeLists.txt file for libraries and applications +# +# Author +# Henrik Rusche, Wikki GmbH, 2017. All rights reserved +# +# +# -------------------------------------------------------------------------- + +list(APPEND sources + sonicFoam.C +) + +# Set minimal environment for external compilation +if(NOT FOAM_FOUND) + cmake_minimum_required(VERSION 2.8) + find_package(FOAM REQUIRED) +endif() + +add_foam_executable(sonicFoam +# DEPENDS finiteVolume + SOURCES ${sources} +) diff --git a/applications/solvers/compressible/sonicLiquidFoam/CMakeLists.txt b/applications/solvers/compressible/sonicLiquidFoam/CMakeLists.txt new file mode 100644 index 000000000..e809752ef --- /dev/null +++ b/applications/solvers/compressible/sonicLiquidFoam/CMakeLists.txt @@ -0,0 +1,46 @@ +# -------------------------------------------------------------------------- +# ======== | +# \ / F ield | foam-extend: Open Source CFD +# \ / O peration | Version: 4.1 +# \ / A nd | Web: http://www.foam-extend.org +# \/ M anipulation | For copyright notice see file Copyright +# -------------------------------------------------------------------------- +# License +# This file is part of foam-extend. +# +# foam-extend 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 3 of the License, or {at your +# option} any later version. +# +# foam-extend 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 foam-extend. If not, see . +# +# Description +# CMakeLists.txt file for libraries and applications +# +# Author +# Henrik Rusche, Wikki GmbH, 2017. All rights reserved +# +# +# -------------------------------------------------------------------------- + +list(APPEND sources + sonicLiquidFoam.C +) + +# Set minimal environment for external compilation +if(NOT FOAM_FOUND) + cmake_minimum_required(VERSION 2.8) + find_package(FOAM REQUIRED) +endif() + +add_foam_executable(sonicLiquidFoam +# DEPENDS finiteVolume + SOURCES ${sources} +) diff --git a/applications/solvers/compressible/steadyCompressibleFoam/CMakeLists.txt b/applications/solvers/compressible/steadyCompressibleFoam/CMakeLists.txt new file mode 100644 index 000000000..845db38f5 --- /dev/null +++ b/applications/solvers/compressible/steadyCompressibleFoam/CMakeLists.txt @@ -0,0 +1,46 @@ +# -------------------------------------------------------------------------- +# ======== | +# \ / F ield | foam-extend: Open Source CFD +# \ / O peration | Version: 4.1 +# \ / A nd | Web: http://www.foam-extend.org +# \/ M anipulation | For copyright notice see file Copyright +# -------------------------------------------------------------------------- +# License +# This file is part of foam-extend. +# +# foam-extend 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 3 of the License, or {at your +# option} any later version. +# +# foam-extend 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 foam-extend. If not, see . +# +# Description +# CMakeLists.txt file for libraries and applications +# +# Author +# Henrik Rusche, Wikki GmbH, 2017. All rights reserved +# +# +# -------------------------------------------------------------------------- + +list(APPEND sources + steadyCompressibleFoam.C +) + +# Set minimal environment for external compilation +if(NOT FOAM_FOUND) + cmake_minimum_required(VERSION 2.8) + find_package(FOAM REQUIRED) +endif() + +add_foam_executable(steadyCompressibleFoam +# DEPENDS finiteVolume + SOURCES ${sources} +) diff --git a/applications/solvers/compressible/steadyCompressibleMRFFoam/CMakeLists.txt b/applications/solvers/compressible/steadyCompressibleMRFFoam/CMakeLists.txt new file mode 100644 index 000000000..f67a0747f --- /dev/null +++ b/applications/solvers/compressible/steadyCompressibleMRFFoam/CMakeLists.txt @@ -0,0 +1,46 @@ +# -------------------------------------------------------------------------- +# ======== | +# \ / F ield | foam-extend: Open Source CFD +# \ / O peration | Version: 4.1 +# \ / A nd | Web: http://www.foam-extend.org +# \/ M anipulation | For copyright notice see file Copyright +# -------------------------------------------------------------------------- +# License +# This file is part of foam-extend. +# +# foam-extend 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 3 of the License, or {at your +# option} any later version. +# +# foam-extend 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 foam-extend. If not, see . +# +# Description +# CMakeLists.txt file for libraries and applications +# +# Author +# Henrik Rusche, Wikki GmbH, 2017. All rights reserved +# +# +# -------------------------------------------------------------------------- + +list(APPEND sources + steadyCompressibleMRFFoam.C +) + +# Set minimal environment for external compilation +if(NOT FOAM_FOUND) + cmake_minimum_required(VERSION 2.8) + find_package(FOAM REQUIRED) +endif() + +add_foam_executable(steadyCompressibleMRFFoam +# DEPENDS finiteVolume + SOURCES ${sources} +) diff --git a/applications/solvers/compressible/steadyCompressibleSRFFoam/CMakeLists.txt b/applications/solvers/compressible/steadyCompressibleSRFFoam/CMakeLists.txt new file mode 100644 index 000000000..dab8c77fd --- /dev/null +++ b/applications/solvers/compressible/steadyCompressibleSRFFoam/CMakeLists.txt @@ -0,0 +1,46 @@ +# -------------------------------------------------------------------------- +# ======== | +# \ / F ield | foam-extend: Open Source CFD +# \ / O peration | Version: 4.1 +# \ / A nd | Web: http://www.foam-extend.org +# \/ M anipulation | For copyright notice see file Copyright +# -------------------------------------------------------------------------- +# License +# This file is part of foam-extend. +# +# foam-extend 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 3 of the License, or {at your +# option} any later version. +# +# foam-extend 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 foam-extend. If not, see . +# +# Description +# CMakeLists.txt file for libraries and applications +# +# Author +# Henrik Rusche, Wikki GmbH, 2017. All rights reserved +# +# +# -------------------------------------------------------------------------- + +list(APPEND sources + steadyCompressibleSRFFoam.C +) + +# Set minimal environment for external compilation +if(NOT FOAM_FOUND) + cmake_minimum_required(VERSION 2.8) + find_package(FOAM REQUIRED) +endif() + +add_foam_executable(steadyCompressibleSRFFoam +# DEPENDS finiteVolume + SOURCES ${sources} +) diff --git a/applications/solvers/compressible/steadyUniversalFoam/CMakeLists.txt b/applications/solvers/compressible/steadyUniversalFoam/CMakeLists.txt new file mode 100644 index 000000000..d5c1f3211 --- /dev/null +++ b/applications/solvers/compressible/steadyUniversalFoam/CMakeLists.txt @@ -0,0 +1,46 @@ +# -------------------------------------------------------------------------- +# ======== | +# \ / F ield | foam-extend: Open Source CFD +# \ / O peration | Version: 4.1 +# \ / A nd | Web: http://www.foam-extend.org +# \/ M anipulation | For copyright notice see file Copyright +# -------------------------------------------------------------------------- +# License +# This file is part of foam-extend. +# +# foam-extend 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 3 of the License, or {at your +# option} any later version. +# +# foam-extend 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 foam-extend. If not, see . +# +# Description +# CMakeLists.txt file for libraries and applications +# +# Author +# Henrik Rusche, Wikki GmbH, 2017. All rights reserved +# +# +# -------------------------------------------------------------------------- + +list(APPEND sources + steadyUniversalFoam.C +) + +# Set minimal environment for external compilation +if(NOT FOAM_FOUND) + cmake_minimum_required(VERSION 2.8) + find_package(FOAM REQUIRED) +endif() + +add_foam_executable(steadyUniversalFoam +# DEPENDS finiteVolume + SOURCES ${sources} +) diff --git a/applications/solvers/compressible/steadyUniversalMRFFoam/CMakeLists.txt b/applications/solvers/compressible/steadyUniversalMRFFoam/CMakeLists.txt new file mode 100644 index 000000000..c628285e5 --- /dev/null +++ b/applications/solvers/compressible/steadyUniversalMRFFoam/CMakeLists.txt @@ -0,0 +1,46 @@ +# -------------------------------------------------------------------------- +# ======== | +# \ / F ield | foam-extend: Open Source CFD +# \ / O peration | Version: 4.1 +# \ / A nd | Web: http://www.foam-extend.org +# \/ M anipulation | For copyright notice see file Copyright +# -------------------------------------------------------------------------- +# License +# This file is part of foam-extend. +# +# foam-extend 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 3 of the License, or {at your +# option} any later version. +# +# foam-extend 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 foam-extend. If not, see . +# +# Description +# CMakeLists.txt file for libraries and applications +# +# Author +# Henrik Rusche, Wikki GmbH, 2017. All rights reserved +# +# +# -------------------------------------------------------------------------- + +list(APPEND sources + steadyUniversalMRFFoam.C +) + +# Set minimal environment for external compilation +if(NOT FOAM_FOUND) + cmake_minimum_required(VERSION 2.8) + find_package(FOAM REQUIRED) +endif() + +add_foam_executable(steadyUniversalMRFFoam +# DEPENDS finiteVolume + SOURCES ${sources} +) diff --git a/applications/solvers/coupled/CMakeLists.txt b/applications/solvers/coupled/CMakeLists.txt new file mode 100644 index 000000000..c52cdff18 --- /dev/null +++ b/applications/solvers/coupled/CMakeLists.txt @@ -0,0 +1,37 @@ +# --------------------------------------------------------------------------# ======== | +# \ / F ield | foam-extend: Open Source CFD +# \ / O peration | Version: 4.1 +# \ / A nd | Web: http://www.foam-extend.org +# \/ M anipulation | For copyright notice see file Copyright +# -------------------------------------------------------------------------- +# License +# This file is part of foam-extend. +# +# foam-extend 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 3 of the License, or {at your +# option} any later version. +# +# foam-extend 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 foam-extend. If not, see . +# +# Description +# CMakeLists.txt file for libraries and applications +# +# Author +# Henrik Rusche, Wikki GmbH, 2017. All rights reserved +# +# +# -------------------------------------------------------------------------- + +add_subdirectory(blockCoupledScalarTransportFoam) +add_subdirectory(conjugateHeatFoam) +add_subdirectory(pUCoupledFoam) +add_subdirectory(conjugateHeatSimpleFoam) +add_subdirectory(MRFPorousFoam) +add_subdirectory(conjugateHeatTransfer) \ No newline at end of file diff --git a/applications/solvers/coupled/MRFPorousFoam/CMakeLists.txt b/applications/solvers/coupled/MRFPorousFoam/CMakeLists.txt new file mode 100644 index 000000000..9de8bf38b --- /dev/null +++ b/applications/solvers/coupled/MRFPorousFoam/CMakeLists.txt @@ -0,0 +1,46 @@ +# -------------------------------------------------------------------------- +# ======== | +# \ / F ield | foam-extend: Open Source CFD +# \ / O peration | Version: 4.1 +# \ / A nd | Web: http://www.foam-extend.org +# \/ M anipulation | For copyright notice see file Copyright +# -------------------------------------------------------------------------- +# License +# This file is part of foam-extend. +# +# foam-extend 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 3 of the License, or {at your +# option} any later version. +# +# foam-extend 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 foam-extend. If not, see . +# +# Description +# CMakeLists.txt file for libraries and applications +# +# Author +# Henrik Rusche, Wikki GmbH, 2017. All rights reserved +# +# +# -------------------------------------------------------------------------- + +list(APPEND sources + MRFPorousFoam.C +) + +# Set minimal environment for external compilation +if(NOT FOAM_FOUND) + cmake_minimum_required(VERSION 2.8) + find_package(FOAM REQUIRED) +endif() + +add_foam_executable(MRFPorousFoam +# DEPENDS finiteVolume + SOURCES ${sources} +) diff --git a/applications/solvers/coupled/blockCoupledScalarTransportFoam/CMakeLists.txt b/applications/solvers/coupled/blockCoupledScalarTransportFoam/CMakeLists.txt new file mode 100644 index 000000000..c89902cd1 --- /dev/null +++ b/applications/solvers/coupled/blockCoupledScalarTransportFoam/CMakeLists.txt @@ -0,0 +1,46 @@ +# -------------------------------------------------------------------------- +# ======== | +# \ / F ield | foam-extend: Open Source CFD +# \ / O peration | Version: 4.1 +# \ / A nd | Web: http://www.foam-extend.org +# \/ M anipulation | For copyright notice see file Copyright +# -------------------------------------------------------------------------- +# License +# This file is part of foam-extend. +# +# foam-extend 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 3 of the License, or {at your +# option} any later version. +# +# foam-extend 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 foam-extend. If not, see . +# +# Description +# CMakeLists.txt file for libraries and applications +# +# Author +# Henrik Rusche, Wikki GmbH, 2017. All rights reserved +# +# +# -------------------------------------------------------------------------- + +list(APPEND sources + blockCoupledScalarTransportFoam.C +) + +# Set minimal environment for external compilation +if(NOT FOAM_FOUND) + cmake_minimum_required(VERSION 2.8) + find_package(FOAM REQUIRED) +endif() + +add_foam_executable(blockCoupledScalarTransportFoam +# DEPENDS finiteVolume + SOURCES ${sources} +) diff --git a/applications/solvers/coupled/conjugateHeatFoam/CMakeLists.txt b/applications/solvers/coupled/conjugateHeatFoam/CMakeLists.txt new file mode 100644 index 000000000..83439a3b0 --- /dev/null +++ b/applications/solvers/coupled/conjugateHeatFoam/CMakeLists.txt @@ -0,0 +1,46 @@ +# -------------------------------------------------------------------------- +# ======== | +# \ / F ield | foam-extend: Open Source CFD +# \ / O peration | Version: 4.1 +# \ / A nd | Web: http://www.foam-extend.org +# \/ M anipulation | For copyright notice see file Copyright +# -------------------------------------------------------------------------- +# License +# This file is part of foam-extend. +# +# foam-extend 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 3 of the License, or {at your +# option} any later version. +# +# foam-extend 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 foam-extend. If not, see . +# +# Description +# CMakeLists.txt file for libraries and applications +# +# Author +# Henrik Rusche, Wikki GmbH, 2017. All rights reserved +# +# +# -------------------------------------------------------------------------- + +list(APPEND sources + conjugateHeatFoam.C +) + +# Set minimal environment for external compilation +if(NOT FOAM_FOUND) + cmake_minimum_required(VERSION 2.8) + find_package(FOAM REQUIRED) +endif() + +add_foam_executable(conjugateHeatFoam +# DEPENDS finiteVolume + SOURCES ${sources} +) diff --git a/applications/solvers/coupled/conjugateHeatSimpleFoam/CMakeLists.txt b/applications/solvers/coupled/conjugateHeatSimpleFoam/CMakeLists.txt new file mode 100644 index 000000000..a1af42861 --- /dev/null +++ b/applications/solvers/coupled/conjugateHeatSimpleFoam/CMakeLists.txt @@ -0,0 +1,46 @@ +# -------------------------------------------------------------------------- +# ======== | +# \ / F ield | foam-extend: Open Source CFD +# \ / O peration | Version: 4.1 +# \ / A nd | Web: http://www.foam-extend.org +# \/ M anipulation | For copyright notice see file Copyright +# -------------------------------------------------------------------------- +# License +# This file is part of foam-extend. +# +# foam-extend 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 3 of the License, or {at your +# option} any later version. +# +# foam-extend 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 foam-extend. If not, see . +# +# Description +# CMakeLists.txt file for libraries and applications +# +# Author +# Henrik Rusche, Wikki GmbH, 2017. All rights reserved +# +# +# -------------------------------------------------------------------------- + +list(APPEND sources + conjugateHeatSimpleFoam.C +) + +# Set minimal environment for external compilation +if(NOT FOAM_FOUND) + cmake_minimum_required(VERSION 2.8) + find_package(FOAM REQUIRED) +endif() + +add_foam_executable(conjugateHeatSimpleFoam +# DEPENDS finiteVolume + SOURCES ${sources} +) diff --git a/applications/solvers/coupled/conjugateHeatTransfer/CMakeLists.txt b/applications/solvers/coupled/conjugateHeatTransfer/CMakeLists.txt new file mode 100644 index 000000000..1a159fba7 --- /dev/null +++ b/applications/solvers/coupled/conjugateHeatTransfer/CMakeLists.txt @@ -0,0 +1,94 @@ +# -------------------------------------------------------------------------- +# ======== | +# \ / F ield | foam-extend: Open Source CFD +# \ / O peration | Version: 4.1 +# \ / A nd | Web: http://www.foam-extend.org +# \/ M anipulation | For copyright notice see file Copyright +# -------------------------------------------------------------------------- +# License +# This file is part of foam-extend. +# +# foam-extend 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 3 of the License, or {at your +# option} any later version. +# +# foam-extend 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 foam-extend. If not, see . +# +# Description +# CMakeLists.txt file for libraries and applications +# +# Author +# Henrik Rusche, Wikki GmbH, 2017. All rights reserved +# +# +# -------------------------------------------------------------------------- + +list(APPEND sources + thermalModel/thermalModel.C +) +set(thermalLaws thermalModel/thermalLaws) + +list(APPEND sources + ${thermalLaws}/thermalLaw/thermalLaw.C + ${thermalLaws}/thermalLaw/newThermalLaw.C + ${thermalLaws}/constantThermal/constantThermal.C + ${thermalLaws}/multiMaterialThermal/multiMaterialThermal.C + ${thermalLaws}/multiMaterialZonesThermal/multiMaterialZonesThermal.C +) + +set(thermalGaps thermalModel/thermalGaps) + +list(APPEND sources + ${thermalGaps}/thermalGap/thermalGap.C + ${thermalGaps}/thermalGap/newThermalGap.C + ${thermalGaps}/constantThermalGap/constantThermalGap.C + ${thermalGaps}/constantResistanceThermalGap/constantResistanceThermalGap.C +) + +set(thermalSource thermalModel/thermalSource) + +list(APPEND sources + ${thermalSource}/thermalSource/thermalSource.C + ${thermalSource}/thermalSource/newThermalSource.C + ${thermalSource}/constantThermalSource/constantThermalSource.C +) + +set(BCs fvPatchFields) + +list(APPEND sources + ${BCs}/controlledParabolicVelocity/controlledParabolicVelocityFvPatchVectorField.C + ${BCs}/chtRegionCoupleBase/chtRegionCoupleBase.C + ${BCs}/chtRcThermalDiffusivity/chtRcThermalDiffusivityFvPatchScalarField.C + ${BCs}/chtRcTemperature/chtRcTemperatureFvPatchScalarField.C + ${BCs}/chtRcThermalDiffusivityResistance/chtRcThermalDiffusivityResistanceFvPatchScalarField.C + ${BCs}/chtRcThermalDiffusivitySlave/chtRcThermalDiffusivitySlaveFvPatchScalarField.C + ${BCs}/extendedWallHeatTransfer/extendedWallHeatTransferFvPatchScalarField.C + ${BCs}/externalRadiation/externalRadiationSource/externalRadiationSource.C + ${BCs}/externalRadiation/externalRadiationSource/newExternalRadiationSource.C + ${BCs}/externalRadiation/ersConstantFlux/ersConstantFlux.C + ${BCs}/externalRadiation/ersViewFactor/ersViewFactor.C + ${BCs}/externalRadiation/ersPlaneToCylinder/ersPlaneToCylinder.C + ${BCs}/externalRadiation/ersPointSource/ersPointSource.C + ${BCs}/solidWallHeatFluxTemperature/solidWallHeatFluxTemperatureFvPatchScalarField.C + ${BCs}/adiabatic/adiabaticFvPatchScalarField.C +) + +set(FOs functionObjects) + +list(APPEND sources + ${FOs}/heatFlux/heatFlux/heatFlux.C + ${FOs}/heatFlux/heatFluxFunctionObject/heatFluxFunctionObject.C +) + +add_foam_library(conjugateHeatTransfer SHARED ${sources}) + +# This is a prototype! Replace second argument with a list of the highest +# dependencies only. Inherited dependencies will be treated automatically. +#target_link_libraries(conjugateHeatTransfer finiteVolume) diff --git a/applications/solvers/coupled/pUCoupledFoam/CMakeLists.txt b/applications/solvers/coupled/pUCoupledFoam/CMakeLists.txt new file mode 100644 index 000000000..954f13306 --- /dev/null +++ b/applications/solvers/coupled/pUCoupledFoam/CMakeLists.txt @@ -0,0 +1,46 @@ +# -------------------------------------------------------------------------- +# ======== | +# \ / F ield | foam-extend: Open Source CFD +# \ / O peration | Version: 4.1 +# \ / A nd | Web: http://www.foam-extend.org +# \/ M anipulation | For copyright notice see file Copyright +# -------------------------------------------------------------------------- +# License +# This file is part of foam-extend. +# +# foam-extend 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 3 of the License, or {at your +# option} any later version. +# +# foam-extend 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 foam-extend. If not, see . +# +# Description +# CMakeLists.txt file for libraries and applications +# +# Author +# Henrik Rusche, Wikki GmbH, 2017. All rights reserved +# +# +# -------------------------------------------------------------------------- + +list(APPEND sources + pUCoupledFoam.C +) + +# Set minimal environment for external compilation +if(NOT FOAM_FOUND) + cmake_minimum_required(VERSION 2.8) + find_package(FOAM REQUIRED) +endif() + +add_foam_executable(pUCoupledFoam +# DEPENDS finiteVolume + SOURCES ${sources} +) diff --git a/applications/solvers/discreteMethods/CMakeLists.txt b/applications/solvers/discreteMethods/CMakeLists.txt new file mode 100644 index 000000000..b3fbc03f0 --- /dev/null +++ b/applications/solvers/discreteMethods/CMakeLists.txt @@ -0,0 +1,33 @@ +# --------------------------------------------------------------------------# ======== | +# \ / F ield | foam-extend: Open Source CFD +# \ / O peration | Version: 4.1 +# \ / A nd | Web: http://www.foam-extend.org +# \/ M anipulation | For copyright notice see file Copyright +# -------------------------------------------------------------------------- +# License +# This file is part of foam-extend. +# +# foam-extend 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 3 of the License, or {at your +# option} any later version. +# +# foam-extend 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 foam-extend. If not, see . +# +# Description +# CMakeLists.txt file for libraries and applications +# +# Author +# Henrik Rusche, Wikki GmbH, 2017. All rights reserved +# +# +# -------------------------------------------------------------------------- + +add_subdirectory(molecularDynamics) +add_subdirectory(dsmc) \ No newline at end of file diff --git a/applications/solvers/discreteMethods/dsmc/CMakeLists.txt b/applications/solvers/discreteMethods/dsmc/CMakeLists.txt new file mode 100644 index 000000000..49b29ec4e --- /dev/null +++ b/applications/solvers/discreteMethods/dsmc/CMakeLists.txt @@ -0,0 +1,32 @@ +# --------------------------------------------------------------------------# ======== | +# \ / F ield | foam-extend: Open Source CFD +# \ / O peration | Version: 4.1 +# \ / A nd | Web: http://www.foam-extend.org +# \/ M anipulation | For copyright notice see file Copyright +# -------------------------------------------------------------------------- +# License +# This file is part of foam-extend. +# +# foam-extend 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 3 of the License, or {at your +# option} any later version. +# +# foam-extend 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 foam-extend. If not, see . +# +# Description +# CMakeLists.txt file for libraries and applications +# +# Author +# Henrik Rusche, Wikki GmbH, 2017. All rights reserved +# +# +# -------------------------------------------------------------------------- + +add_subdirectory(dsmcFoam) \ No newline at end of file diff --git a/applications/solvers/discreteMethods/dsmc/dsmcFoam/CMakeLists.txt b/applications/solvers/discreteMethods/dsmc/dsmcFoam/CMakeLists.txt new file mode 100644 index 000000000..32bcebe7d --- /dev/null +++ b/applications/solvers/discreteMethods/dsmc/dsmcFoam/CMakeLists.txt @@ -0,0 +1,46 @@ +# -------------------------------------------------------------------------- +# ======== | +# \ / F ield | foam-extend: Open Source CFD +# \ / O peration | Version: 4.1 +# \ / A nd | Web: http://www.foam-extend.org +# \/ M anipulation | For copyright notice see file Copyright +# -------------------------------------------------------------------------- +# License +# This file is part of foam-extend. +# +# foam-extend 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 3 of the License, or {at your +# option} any later version. +# +# foam-extend 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 foam-extend. If not, see . +# +# Description +# CMakeLists.txt file for libraries and applications +# +# Author +# Henrik Rusche, Wikki GmbH, 2017. All rights reserved +# +# +# -------------------------------------------------------------------------- + +list(APPEND sources + dsmcFoam.C +) + +# Set minimal environment for external compilation +if(NOT FOAM_FOUND) + cmake_minimum_required(VERSION 2.8) + find_package(FOAM REQUIRED) +endif() + +add_foam_executable(dsmcFoam +# DEPENDS finiteVolume + SOURCES ${sources} +) diff --git a/applications/solvers/discreteMethods/molecularDynamics/CMakeLists.txt b/applications/solvers/discreteMethods/molecularDynamics/CMakeLists.txt new file mode 100644 index 000000000..8da6f442c --- /dev/null +++ b/applications/solvers/discreteMethods/molecularDynamics/CMakeLists.txt @@ -0,0 +1,33 @@ +# --------------------------------------------------------------------------# ======== | +# \ / F ield | foam-extend: Open Source CFD +# \ / O peration | Version: 4.1 +# \ / A nd | Web: http://www.foam-extend.org +# \/ M anipulation | For copyright notice see file Copyright +# -------------------------------------------------------------------------- +# License +# This file is part of foam-extend. +# +# foam-extend 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 3 of the License, or {at your +# option} any later version. +# +# foam-extend 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 foam-extend. If not, see . +# +# Description +# CMakeLists.txt file for libraries and applications +# +# Author +# Henrik Rusche, Wikki GmbH, 2017. All rights reserved +# +# +# -------------------------------------------------------------------------- + +add_subdirectory(mdEquilibrationFoam) +add_subdirectory(mdFoam) \ No newline at end of file diff --git a/applications/solvers/discreteMethods/molecularDynamics/mdEquilibrationFoam/CMakeLists.txt b/applications/solvers/discreteMethods/molecularDynamics/mdEquilibrationFoam/CMakeLists.txt new file mode 100644 index 000000000..f88edc19f --- /dev/null +++ b/applications/solvers/discreteMethods/molecularDynamics/mdEquilibrationFoam/CMakeLists.txt @@ -0,0 +1,46 @@ +# -------------------------------------------------------------------------- +# ======== | +# \ / F ield | foam-extend: Open Source CFD +# \ / O peration | Version: 4.1 +# \ / A nd | Web: http://www.foam-extend.org +# \/ M anipulation | For copyright notice see file Copyright +# -------------------------------------------------------------------------- +# License +# This file is part of foam-extend. +# +# foam-extend 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 3 of the License, or {at your +# option} any later version. +# +# foam-extend 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 foam-extend. If not, see . +# +# Description +# CMakeLists.txt file for libraries and applications +# +# Author +# Henrik Rusche, Wikki GmbH, 2017. All rights reserved +# +# +# -------------------------------------------------------------------------- + +list(APPEND sources + mdEquilibrationFoam.C +) + +# Set minimal environment for external compilation +if(NOT FOAM_FOUND) + cmake_minimum_required(VERSION 2.8) + find_package(FOAM REQUIRED) +endif() + +add_foam_executable(mdEquirationFoam +# DEPENDS finiteVolume + SOURCES ${sources} +) diff --git a/applications/solvers/discreteMethods/molecularDynamics/mdFoam/CMakeLists.txt b/applications/solvers/discreteMethods/molecularDynamics/mdFoam/CMakeLists.txt new file mode 100644 index 000000000..a48df4cea --- /dev/null +++ b/applications/solvers/discreteMethods/molecularDynamics/mdFoam/CMakeLists.txt @@ -0,0 +1,46 @@ +# -------------------------------------------------------------------------- +# ======== | +# \ / F ield | foam-extend: Open Source CFD +# \ / O peration | Version: 4.1 +# \ / A nd | Web: http://www.foam-extend.org +# \/ M anipulation | For copyright notice see file Copyright +# -------------------------------------------------------------------------- +# License +# This file is part of foam-extend. +# +# foam-extend 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 3 of the License, or {at your +# option} any later version. +# +# foam-extend 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 foam-extend. If not, see . +# +# Description +# CMakeLists.txt file for libraries and applications +# +# Author +# Henrik Rusche, Wikki GmbH, 2017. All rights reserved +# +# +# -------------------------------------------------------------------------- + +list(APPEND sources + mdFoam.C +) + +# Set minimal environment for external compilation +if(NOT FOAM_FOUND) + cmake_minimum_required(VERSION 2.8) + find_package(FOAM REQUIRED) +endif() + +add_foam_executable(mdFoam +# DEPENDS finiteVolume + SOURCES ${sources} +) diff --git a/applications/solvers/electromagnetics/CMakeLists.txt b/applications/solvers/electromagnetics/CMakeLists.txt new file mode 100644 index 000000000..28c1feef0 --- /dev/null +++ b/applications/solvers/electromagnetics/CMakeLists.txt @@ -0,0 +1,33 @@ +# --------------------------------------------------------------------------# ======== | +# \ / F ield | foam-extend: Open Source CFD +# \ / O peration | Version: 4.1 +# \ / A nd | Web: http://www.foam-extend.org +# \/ M anipulation | For copyright notice see file Copyright +# -------------------------------------------------------------------------- +# License +# This file is part of foam-extend. +# +# foam-extend 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 3 of the License, or {at your +# option} any later version. +# +# foam-extend 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 foam-extend. If not, see . +# +# Description +# CMakeLists.txt file for libraries and applications +# +# Author +# Henrik Rusche, Wikki GmbH, 2017. All rights reserved +# +# +# -------------------------------------------------------------------------- + +add_subdirectory(mhdFoam) +add_subdirectory(electrostaticFoam) \ No newline at end of file diff --git a/applications/solvers/electromagnetics/electrostaticFoam/CMakeLists.txt b/applications/solvers/electromagnetics/electrostaticFoam/CMakeLists.txt new file mode 100644 index 000000000..4b5e851c8 --- /dev/null +++ b/applications/solvers/electromagnetics/electrostaticFoam/CMakeLists.txt @@ -0,0 +1,46 @@ +# -------------------------------------------------------------------------- +# ======== | +# \ / F ield | foam-extend: Open Source CFD +# \ / O peration | Version: 4.1 +# \ / A nd | Web: http://www.foam-extend.org +# \/ M anipulation | For copyright notice see file Copyright +# -------------------------------------------------------------------------- +# License +# This file is part of foam-extend. +# +# foam-extend 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 3 of the License, or {at your +# option} any later version. +# +# foam-extend 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 foam-extend. If not, see . +# +# Description +# CMakeLists.txt file for libraries and applications +# +# Author +# Henrik Rusche, Wikki GmbH, 2017. All rights reserved +# +# +# -------------------------------------------------------------------------- + +list(APPEND sources + electrostaticFoam.C +) + +# Set minimal environment for external compilation +if(NOT FOAM_FOUND) + cmake_minimum_required(VERSION 2.8) + find_package(FOAM REQUIRED) +endif() + +add_foam_executable(electrostaticFoam +# DEPENDS finiteVolume + SOURCES ${sources} +) diff --git a/applications/solvers/electromagnetics/mhdFoam/CMakeLists.txt b/applications/solvers/electromagnetics/mhdFoam/CMakeLists.txt new file mode 100644 index 000000000..6a26c47c1 --- /dev/null +++ b/applications/solvers/electromagnetics/mhdFoam/CMakeLists.txt @@ -0,0 +1,46 @@ +# -------------------------------------------------------------------------- +# ======== | +# \ / F ield | foam-extend: Open Source CFD +# \ / O peration | Version: 4.1 +# \ / A nd | Web: http://www.foam-extend.org +# \/ M anipulation | For copyright notice see file Copyright +# -------------------------------------------------------------------------- +# License +# This file is part of foam-extend. +# +# foam-extend 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 3 of the License, or {at your +# option} any later version. +# +# foam-extend 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 foam-extend. If not, see . +# +# Description +# CMakeLists.txt file for libraries and applications +# +# Author +# Henrik Rusche, Wikki GmbH, 2017. All rights reserved +# +# +# -------------------------------------------------------------------------- + +list(APPEND sources + mhdFoam.C +) + +# Set minimal environment for external compilation +if(NOT FOAM_FOUND) + cmake_minimum_required(VERSION 2.8) + find_package(FOAM REQUIRED) +endif() + +add_foam_executable(mhdFoam +# DEPENDS finiteVolume + SOURCES ${sources} +) diff --git a/applications/solvers/engine/CMakeLists.txt b/applications/solvers/engine/CMakeLists.txt new file mode 100644 index 000000000..3f15c5960 --- /dev/null +++ b/applications/solvers/engine/CMakeLists.txt @@ -0,0 +1,34 @@ +# --------------------------------------------------------------------------# ======== | +# \ / F ield | foam-extend: Open Source CFD +# \ / O peration | Version: 4.1 +# \ / A nd | Web: http://www.foam-extend.org +# \/ M anipulation | For copyright notice see file Copyright +# -------------------------------------------------------------------------- +# License +# This file is part of foam-extend. +# +# foam-extend 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 3 of the License, or {at your +# option} any later version. +# +# foam-extend 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 foam-extend. If not, see . +# +# Description +# CMakeLists.txt file for libraries and applications +# +# Author +# Henrik Rusche, Wikki GmbH, 2017. All rights reserved +# +# +# -------------------------------------------------------------------------- + +add_subdirectory(icoDyMEngineFoam) +add_subdirectory(turbDyMEngineFoam) +add_subdirectory(sonicTurbDyMEngineFoam) \ No newline at end of file diff --git a/applications/solvers/engine/icoDyMEngineFoam/CMakeLists.txt b/applications/solvers/engine/icoDyMEngineFoam/CMakeLists.txt new file mode 100644 index 000000000..4f6c8169e --- /dev/null +++ b/applications/solvers/engine/icoDyMEngineFoam/CMakeLists.txt @@ -0,0 +1,46 @@ +# -------------------------------------------------------------------------- +# ======== | +# \ / F ield | foam-extend: Open Source CFD +# \ / O peration | Version: 4.1 +# \ / A nd | Web: http://www.foam-extend.org +# \/ M anipulation | For copyright notice see file Copyright +# -------------------------------------------------------------------------- +# License +# This file is part of foam-extend. +# +# foam-extend 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 3 of the License, or {at your +# option} any later version. +# +# foam-extend 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 foam-extend. If not, see . +# +# Description +# CMakeLists.txt file for libraries and applications +# +# Author +# Henrik Rusche, Wikki GmbH, 2017. All rights reserved +# +# +# -------------------------------------------------------------------------- + +list(APPEND sources + icoDyMEngineFoam.C +) + +# Set minimal environment for external compilation +if(NOT FOAM_FOUND) + cmake_minimum_required(VERSION 2.8) + find_package(FOAM REQUIRED) +endif() + +add_foam_executable(icoDyMEngineFoam +# DEPENDS finiteVolume + SOURCES ${sources} +) diff --git a/applications/solvers/engine/sonicTurbDyMEngineFoam/CMakeLists.txt b/applications/solvers/engine/sonicTurbDyMEngineFoam/CMakeLists.txt new file mode 100644 index 000000000..67ef9e821 --- /dev/null +++ b/applications/solvers/engine/sonicTurbDyMEngineFoam/CMakeLists.txt @@ -0,0 +1,46 @@ +# -------------------------------------------------------------------------- +# ======== | +# \ / F ield | foam-extend: Open Source CFD +# \ / O peration | Version: 4.1 +# \ / A nd | Web: http://www.foam-extend.org +# \/ M anipulation | For copyright notice see file Copyright +# -------------------------------------------------------------------------- +# License +# This file is part of foam-extend. +# +# foam-extend 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 3 of the License, or {at your +# option} any later version. +# +# foam-extend 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 foam-extend. If not, see . +# +# Description +# CMakeLists.txt file for libraries and applications +# +# Author +# Henrik Rusche, Wikki GmbH, 2017. All rights reserved +# +# +# -------------------------------------------------------------------------- + +list(APPEND sources + sonicTurbDyMEngineFoam.C +) + +# Set minimal environment for external compilation +if(NOT FOAM_FOUND) + cmake_minimum_required(VERSION 2.8) + find_package(FOAM REQUIRED) +endif() + +add_foam_executable(sonicTurbDyMEngineFoam +# DEPENDS finiteVolume + SOURCES ${sources} +) diff --git a/applications/solvers/engine/turbDyMEngineFoam/CMakeLists.txt b/applications/solvers/engine/turbDyMEngineFoam/CMakeLists.txt new file mode 100644 index 000000000..5bc833845 --- /dev/null +++ b/applications/solvers/engine/turbDyMEngineFoam/CMakeLists.txt @@ -0,0 +1,46 @@ +# -------------------------------------------------------------------------- +# ======== | +# \ / F ield | foam-extend: Open Source CFD +# \ / O peration | Version: 4.1 +# \ / A nd | Web: http://www.foam-extend.org +# \/ M anipulation | For copyright notice see file Copyright +# -------------------------------------------------------------------------- +# License +# This file is part of foam-extend. +# +# foam-extend 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 3 of the License, or {at your +# option} any later version. +# +# foam-extend 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 foam-extend. If not, see . +# +# Description +# CMakeLists.txt file for libraries and applications +# +# Author +# Henrik Rusche, Wikki GmbH, 2017. All rights reserved +# +# +# -------------------------------------------------------------------------- + +list(APPEND sources + turbDyMEngineFoam.C +) + +# Set minimal environment for external compilation +if(NOT FOAM_FOUND) + cmake_minimum_required(VERSION 2.8) + find_package(FOAM REQUIRED) +endif() + +add_foam_executable(turbDyMEngineFoam +# DEPENDS finiteVolume + SOURCES ${sources} +) diff --git a/applications/solvers/equationReaderDemo/CMakeLists.txt b/applications/solvers/equationReaderDemo/CMakeLists.txt new file mode 100644 index 000000000..1721b8d7a --- /dev/null +++ b/applications/solvers/equationReaderDemo/CMakeLists.txt @@ -0,0 +1,46 @@ +# -------------------------------------------------------------------------- +# ======== | +# \ / F ield | foam-extend: Open Source CFD +# \ / O peration | Version: 4.1 +# \ / A nd | Web: http://www.foam-extend.org +# \/ M anipulation | For copyright notice see file Copyright +# -------------------------------------------------------------------------- +# License +# This file is part of foam-extend. +# +# foam-extend 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 3 of the License, or {at your +# option} any later version. +# +# foam-extend 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 foam-extend. If not, see . +# +# Description +# CMakeLists.txt file for libraries and applications +# +# Author +# Henrik Rusche, Wikki GmbH, 2017. All rights reserved +# +# +# -------------------------------------------------------------------------- + +list(APPEND sources + equationReaderDemo.C +) + +# Set minimal environment for external compilation +if(NOT FOAM_FOUND) + cmake_minimum_required(VERSION 2.8) + find_package(FOAM REQUIRED) +endif() + +add_foam_executable(equationReaderDemo +# DEPENDS finiteVolume + SOURCES ${sources} +) diff --git a/applications/solvers/financial/CMakeLists.txt b/applications/solvers/financial/CMakeLists.txt new file mode 100644 index 000000000..c3ef7c5d3 --- /dev/null +++ b/applications/solvers/financial/CMakeLists.txt @@ -0,0 +1,32 @@ +# --------------------------------------------------------------------------# ======== | +# \ / F ield | foam-extend: Open Source CFD +# \ / O peration | Version: 4.1 +# \ / A nd | Web: http://www.foam-extend.org +# \/ M anipulation | For copyright notice see file Copyright +# -------------------------------------------------------------------------- +# License +# This file is part of foam-extend. +# +# foam-extend 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 3 of the License, or {at your +# option} any later version. +# +# foam-extend 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 foam-extend. If not, see . +# +# Description +# CMakeLists.txt file for libraries and applications +# +# Author +# Henrik Rusche, Wikki GmbH, 2017. All rights reserved +# +# +# -------------------------------------------------------------------------- + +add_subdirectory(financialFoam) \ No newline at end of file diff --git a/applications/solvers/financial/financialFoam/CMakeLists.txt b/applications/solvers/financial/financialFoam/CMakeLists.txt new file mode 100644 index 000000000..54cb33155 --- /dev/null +++ b/applications/solvers/financial/financialFoam/CMakeLists.txt @@ -0,0 +1,46 @@ +# -------------------------------------------------------------------------- +# ======== | +# \ / F ield | foam-extend: Open Source CFD +# \ / O peration | Version: 4.1 +# \ / A nd | Web: http://www.foam-extend.org +# \/ M anipulation | For copyright notice see file Copyright +# -------------------------------------------------------------------------- +# License +# This file is part of foam-extend. +# +# foam-extend 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 3 of the License, or {at your +# option} any later version. +# +# foam-extend 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 foam-extend. If not, see . +# +# Description +# CMakeLists.txt file for libraries and applications +# +# Author +# Henrik Rusche, Wikki GmbH, 2017. All rights reserved +# +# +# -------------------------------------------------------------------------- + +list(APPEND sources + financialFoam.C +) + +# Set minimal environment for external compilation +if(NOT FOAM_FOUND) + cmake_minimum_required(VERSION 2.8) + find_package(FOAM REQUIRED) +endif() + +add_foam_executable(financialFoam +# DEPENDS finiteVolume + SOURCES ${sources} +) diff --git a/applications/solvers/finiteArea/CMakeLists.txt b/applications/solvers/finiteArea/CMakeLists.txt new file mode 100644 index 000000000..505bf7efb --- /dev/null +++ b/applications/solvers/finiteArea/CMakeLists.txt @@ -0,0 +1,33 @@ +# --------------------------------------------------------------------------# ======== | +# \ / F ield | foam-extend: Open Source CFD +# \ / O peration | Version: 4.1 +# \ / A nd | Web: http://www.foam-extend.org +# \/ M anipulation | For copyright notice see file Copyright +# -------------------------------------------------------------------------- +# License +# This file is part of foam-extend. +# +# foam-extend 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 3 of the License, or {at your +# option} any later version. +# +# foam-extend 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 foam-extend. If not, see . +# +# Description +# CMakeLists.txt file for libraries and applications +# +# Author +# Henrik Rusche, Wikki GmbH, 2017. All rights reserved +# +# +# -------------------------------------------------------------------------- + +add_subdirectory(surfactantFoam) +add_subdirectory(liquidFilmFoam) \ No newline at end of file diff --git a/applications/solvers/finiteArea/liquidFilmFoam/CMakeLists.txt b/applications/solvers/finiteArea/liquidFilmFoam/CMakeLists.txt new file mode 100644 index 000000000..e41330201 --- /dev/null +++ b/applications/solvers/finiteArea/liquidFilmFoam/CMakeLists.txt @@ -0,0 +1,46 @@ +# -------------------------------------------------------------------------- +# ======== | +# \ / F ield | foam-extend: Open Source CFD +# \ / O peration | Version: 4.1 +# \ / A nd | Web: http://www.foam-extend.org +# \/ M anipulation | For copyright notice see file Copyright +# -------------------------------------------------------------------------- +# License +# This file is part of foam-extend. +# +# foam-extend 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 3 of the License, or {at your +# option} any later version. +# +# foam-extend 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 foam-extend. If not, see . +# +# Description +# CMakeLists.txt file for libraries and applications +# +# Author +# Henrik Rusche, Wikki GmbH, 2017. All rights reserved +# +# +# -------------------------------------------------------------------------- + +list(APPEND sources + liquidFilmFoam.C +) + +# Set minimal environment for external compilation +if(NOT FOAM_FOUND) + cmake_minimum_required(VERSION 2.8) + find_package(FOAM REQUIRED) +endif() + +add_foam_executable(liquidFilmFoam +# DEPENDS finiteVolume + SOURCES ${sources} +) diff --git a/applications/solvers/finiteArea/surfactantFoam/CMakeLists.txt b/applications/solvers/finiteArea/surfactantFoam/CMakeLists.txt new file mode 100644 index 000000000..a6d33439e --- /dev/null +++ b/applications/solvers/finiteArea/surfactantFoam/CMakeLists.txt @@ -0,0 +1,46 @@ +# -------------------------------------------------------------------------- +# ======== | +# \ / F ield | foam-extend: Open Source CFD +# \ / O peration | Version: 4.1 +# \ / A nd | Web: http://www.foam-extend.org +# \/ M anipulation | For copyright notice see file Copyright +# -------------------------------------------------------------------------- +# License +# This file is part of foam-extend. +# +# foam-extend 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 3 of the License, or {at your +# option} any later version. +# +# foam-extend 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 foam-extend. If not, see . +# +# Description +# CMakeLists.txt file for libraries and applications +# +# Author +# Henrik Rusche, Wikki GmbH, 2017. All rights reserved +# +# +# -------------------------------------------------------------------------- + +list(APPEND sources + surfactantFoam.C +) + +# Set minimal environment for external compilation +if(NOT FOAM_FOUND) + cmake_minimum_required(VERSION 2.8) + find_package(FOAM REQUIRED) +endif() + +add_foam_executable(surfactantFoam +# DEPENDS finiteVolume + SOURCES ${sources} +) diff --git a/applications/solvers/heatTransfer/CMakeLists.txt b/applications/solvers/heatTransfer/CMakeLists.txt new file mode 100644 index 000000000..91dd945ff --- /dev/null +++ b/applications/solvers/heatTransfer/CMakeLists.txt @@ -0,0 +1,39 @@ +# --------------------------------------------------------------------------# ======== | +# \ / F ield | foam-extend: Open Source CFD +# \ / O peration | Version: 4.1 +# \ / A nd | Web: http://www.foam-extend.org +# \/ M anipulation | For copyright notice see file Copyright +# -------------------------------------------------------------------------- +# License +# This file is part of foam-extend. +# +# foam-extend 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 3 of the License, or {at your +# option} any later version. +# +# foam-extend 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 foam-extend. If not, see . +# +# Description +# CMakeLists.txt file for libraries and applications +# +# Author +# Henrik Rusche, Wikki GmbH, 2017. All rights reserved +# +# +# -------------------------------------------------------------------------- + +add_subdirectory(buoyantBoussinesqSimpleFoam) +add_subdirectory(chtMultiRegionFoam) +add_subdirectory(boussinesqBuoyantFoam) +add_subdirectory(buoyantBoussinesqPisoFoam) +add_subdirectory(buoyantSimpleFoam) +add_subdirectory(buoyantSimpleRadiationFoam) +add_subdirectory(chtMultiRegionSimpleFoam) +add_subdirectory(buoyantPisoFoam) \ No newline at end of file diff --git a/applications/solvers/heatTransfer/boussinesqBuoyantFoam/CMakeLists.txt b/applications/solvers/heatTransfer/boussinesqBuoyantFoam/CMakeLists.txt new file mode 100644 index 000000000..3c25228f7 --- /dev/null +++ b/applications/solvers/heatTransfer/boussinesqBuoyantFoam/CMakeLists.txt @@ -0,0 +1,46 @@ +# -------------------------------------------------------------------------- +# ======== | +# \ / F ield | foam-extend: Open Source CFD +# \ / O peration | Version: 4.1 +# \ / A nd | Web: http://www.foam-extend.org +# \/ M anipulation | For copyright notice see file Copyright +# -------------------------------------------------------------------------- +# License +# This file is part of foam-extend. +# +# foam-extend 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 3 of the License, or {at your +# option} any later version. +# +# foam-extend 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 foam-extend. If not, see . +# +# Description +# CMakeLists.txt file for libraries and applications +# +# Author +# Henrik Rusche, Wikki GmbH, 2017. All rights reserved +# +# +# -------------------------------------------------------------------------- + +list(APPEND sources + boussinesqBuoyantFoam.C +) + +# Set minimal environment for external compilation +if(NOT FOAM_FOUND) + cmake_minimum_required(VERSION 2.8) + find_package(FOAM REQUIRED) +endif() + +add_foam_executable(boussinesqBuoyantFoam +# DEPENDS finiteVolume + SOURCES ${sources} +) diff --git a/applications/solvers/heatTransfer/buoyantBoussinesqPisoFoam/CMakeLists.txt b/applications/solvers/heatTransfer/buoyantBoussinesqPisoFoam/CMakeLists.txt new file mode 100644 index 000000000..d3199041a --- /dev/null +++ b/applications/solvers/heatTransfer/buoyantBoussinesqPisoFoam/CMakeLists.txt @@ -0,0 +1,46 @@ +# -------------------------------------------------------------------------- +# ======== | +# \ / F ield | foam-extend: Open Source CFD +# \ / O peration | Version: 4.1 +# \ / A nd | Web: http://www.foam-extend.org +# \/ M anipulation | For copyright notice see file Copyright +# -------------------------------------------------------------------------- +# License +# This file is part of foam-extend. +# +# foam-extend 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 3 of the License, or {at your +# option} any later version. +# +# foam-extend 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 foam-extend. If not, see . +# +# Description +# CMakeLists.txt file for libraries and applications +# +# Author +# Henrik Rusche, Wikki GmbH, 2017. All rights reserved +# +# +# -------------------------------------------------------------------------- + +list(APPEND sources + buoyantBoussinesqPisoFoam.C +) + +# Set minimal environment for external compilation +if(NOT FOAM_FOUND) + cmake_minimum_required(VERSION 2.8) + find_package(FOAM REQUIRED) +endif() + +add_foam_executable(buoyantBoussinesqPisoFoam +# DEPENDS finiteVolume + SOURCES ${sources} +) diff --git a/applications/solvers/heatTransfer/buoyantBoussinesqSimpleFoam/CMakeLists.txt b/applications/solvers/heatTransfer/buoyantBoussinesqSimpleFoam/CMakeLists.txt new file mode 100644 index 000000000..ddd97bf76 --- /dev/null +++ b/applications/solvers/heatTransfer/buoyantBoussinesqSimpleFoam/CMakeLists.txt @@ -0,0 +1,46 @@ +# -------------------------------------------------------------------------- +# ======== | +# \ / F ield | foam-extend: Open Source CFD +# \ / O peration | Version: 4.1 +# \ / A nd | Web: http://www.foam-extend.org +# \/ M anipulation | For copyright notice see file Copyright +# -------------------------------------------------------------------------- +# License +# This file is part of foam-extend. +# +# foam-extend 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 3 of the License, or {at your +# option} any later version. +# +# foam-extend 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 foam-extend. If not, see . +# +# Description +# CMakeLists.txt file for libraries and applications +# +# Author +# Henrik Rusche, Wikki GmbH, 2017. All rights reserved +# +# +# -------------------------------------------------------------------------- + +list(APPEND sources + buoyantBoussinesqSimpleFoam.C +) + +# Set minimal environment for external compilation +if(NOT FOAM_FOUND) + cmake_minimum_required(VERSION 2.8) + find_package(FOAM REQUIRED) +endif() + +add_foam_executable(buoyantBoussinesqSimpleFoam +# DEPENDS finiteVolume + SOURCES ${sources} +) diff --git a/applications/solvers/heatTransfer/buoyantPisoFoam/CMakeLists.txt b/applications/solvers/heatTransfer/buoyantPisoFoam/CMakeLists.txt new file mode 100644 index 000000000..d339fad84 --- /dev/null +++ b/applications/solvers/heatTransfer/buoyantPisoFoam/CMakeLists.txt @@ -0,0 +1,46 @@ +# -------------------------------------------------------------------------- +# ======== | +# \ / F ield | foam-extend: Open Source CFD +# \ / O peration | Version: 4.1 +# \ / A nd | Web: http://www.foam-extend.org +# \/ M anipulation | For copyright notice see file Copyright +# -------------------------------------------------------------------------- +# License +# This file is part of foam-extend. +# +# foam-extend 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 3 of the License, or {at your +# option} any later version. +# +# foam-extend 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 foam-extend. If not, see . +# +# Description +# CMakeLists.txt file for libraries and applications +# +# Author +# Henrik Rusche, Wikki GmbH, 2017. All rights reserved +# +# +# -------------------------------------------------------------------------- + +list(APPEND sources + buoyantPisoFoam.C +) + +# Set minimal environment for external compilation +if(NOT FOAM_FOUND) + cmake_minimum_required(VERSION 2.8) + find_package(FOAM REQUIRED) +endif() + +add_foam_executable(buoyantPisoFoam +# DEPENDS finiteVolume + SOURCES ${sources} +) diff --git a/applications/solvers/heatTransfer/buoyantSimpleFoam/CMakeLists.txt b/applications/solvers/heatTransfer/buoyantSimpleFoam/CMakeLists.txt new file mode 100644 index 000000000..32baa7951 --- /dev/null +++ b/applications/solvers/heatTransfer/buoyantSimpleFoam/CMakeLists.txt @@ -0,0 +1,46 @@ +# -------------------------------------------------------------------------- +# ======== | +# \ / F ield | foam-extend: Open Source CFD +# \ / O peration | Version: 4.1 +# \ / A nd | Web: http://www.foam-extend.org +# \/ M anipulation | For copyright notice see file Copyright +# -------------------------------------------------------------------------- +# License +# This file is part of foam-extend. +# +# foam-extend 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 3 of the License, or {at your +# option} any later version. +# +# foam-extend 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 foam-extend. If not, see . +# +# Description +# CMakeLists.txt file for libraries and applications +# +# Author +# Henrik Rusche, Wikki GmbH, 2017. All rights reserved +# +# +# -------------------------------------------------------------------------- + +list(APPEND sources + buoyantSimpleFoam.C +) + +# Set minimal environment for external compilation +if(NOT FOAM_FOUND) + cmake_minimum_required(VERSION 2.8) + find_package(FOAM REQUIRED) +endif() + +add_foam_executable(buoyantSimpleFoam +# DEPENDS finiteVolume + SOURCES ${sources} +) diff --git a/applications/solvers/heatTransfer/buoyantSimpleRadiationFoam/CMakeLists.txt b/applications/solvers/heatTransfer/buoyantSimpleRadiationFoam/CMakeLists.txt new file mode 100644 index 000000000..e2fe1dc0a --- /dev/null +++ b/applications/solvers/heatTransfer/buoyantSimpleRadiationFoam/CMakeLists.txt @@ -0,0 +1,46 @@ +# -------------------------------------------------------------------------- +# ======== | +# \ / F ield | foam-extend: Open Source CFD +# \ / O peration | Version: 4.1 +# \ / A nd | Web: http://www.foam-extend.org +# \/ M anipulation | For copyright notice see file Copyright +# -------------------------------------------------------------------------- +# License +# This file is part of foam-extend. +# +# foam-extend 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 3 of the License, or {at your +# option} any later version. +# +# foam-extend 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 foam-extend. If not, see . +# +# Description +# CMakeLists.txt file for libraries and applications +# +# Author +# Henrik Rusche, Wikki GmbH, 2017. All rights reserved +# +# +# -------------------------------------------------------------------------- + +list(APPEND sources + buoyantSimpleRadiationFoam.C +) + +# Set minimal environment for external compilation +if(NOT FOAM_FOUND) + cmake_minimum_required(VERSION 2.8) + find_package(FOAM REQUIRED) +endif() + +add_foam_executable(buoyantSimpleRadiationFoam +# DEPENDS finiteVolume + SOURCES ${sources} +) diff --git a/applications/solvers/heatTransfer/chtMultiRegionFoam/CMakeLists.txt b/applications/solvers/heatTransfer/chtMultiRegionFoam/CMakeLists.txt new file mode 100644 index 000000000..7c84678ea --- /dev/null +++ b/applications/solvers/heatTransfer/chtMultiRegionFoam/CMakeLists.txt @@ -0,0 +1,51 @@ +# -------------------------------------------------------------------------- +# ======== | +# \ / F ield | foam-extend: Open Source CFD +# \ / O peration | Version: 4.1 +# \ / A nd | Web: http://www.foam-extend.org +# \/ M anipulation | For copyright notice see file Copyright +# -------------------------------------------------------------------------- +# License +# This file is part of foam-extend. +# +# foam-extend 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 3 of the License, or {at your +# option} any later version. +# +# foam-extend 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 foam-extend. If not, see . +# +# Description +# CMakeLists.txt file for libraries and applications +# +# Author +# Henrik Rusche, Wikki GmbH, 2017. All rights reserved +# +# +# -------------------------------------------------------------------------- + +list(APPEND sources + regionProperties/regionProperties.C + derivedFvPatchFields/solidWallHeatFluxTemperature/solidWallHeatFluxTemperatureFvPatchScalarField.C + derivedFvPatchFields/solidWallMixedTemperatureCoupled/solidWallMixedTemperatureCoupledFvPatchScalarField.C + fluid/compressibleCourantNo.C + solid/solidRegionDiffNo.C + chtMultiRegionFoam.C +) + +# Set minimal environment for external compilation +if(NOT FOAM_FOUND) + cmake_minimum_required(VERSION 2.8) + find_package(FOAM REQUIRED) +endif() + +add_foam_executable(chtMultiRegionFoam +# DEPENDS finiteVolume + SOURCES ${sources} +) diff --git a/applications/solvers/heatTransfer/chtMultiRegionSimpleFoam/CMakeLists.txt b/applications/solvers/heatTransfer/chtMultiRegionSimpleFoam/CMakeLists.txt new file mode 100644 index 000000000..63791deeb --- /dev/null +++ b/applications/solvers/heatTransfer/chtMultiRegionSimpleFoam/CMakeLists.txt @@ -0,0 +1,47 @@ +# -------------------------------------------------------------------------- +# ======== | +# \ / F ield | foam-extend: Open Source CFD +# \ / O peration | Version: 4.1 +# \ / A nd | Web: http://www.foam-extend.org +# \/ M anipulation | For copyright notice see file Copyright +# -------------------------------------------------------------------------- +# License +# This file is part of foam-extend. +# +# foam-extend 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 3 of the License, or {at your +# option} any later version. +# +# foam-extend 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 foam-extend. If not, see . +# +# Description +# CMakeLists.txt file for libraries and applications +# +# Author +# Henrik Rusche, Wikki GmbH, 2017. All rights reserved +# +# +# -------------------------------------------------------------------------- + +list(APPEND sources + derivedFvPatchFields/solidWallHeatFluxTemperature/solidWallHeatFluxTemperatureFvPatchScalarField.C + chtMultiRegionSimpleFoam.C +) + +# Set minimal environment for external compilation +if(NOT FOAM_FOUND) + cmake_minimum_required(VERSION 2.8) + find_package(FOAM REQUIRED) +endif() + +add_foam_executable(chtMultiRegionSimpleFoam +# DEPENDS finiteVolume + SOURCES ${sources} +) diff --git a/applications/solvers/immersedBoundary/CMakeLists.txt b/applications/solvers/immersedBoundary/CMakeLists.txt new file mode 100644 index 000000000..5420b65d0 --- /dev/null +++ b/applications/solvers/immersedBoundary/CMakeLists.txt @@ -0,0 +1,37 @@ +# --------------------------------------------------------------------------# ======== | +# \ / F ield | foam-extend: Open Source CFD +# \ / O peration | Version: 4.1 +# \ / A nd | Web: http://www.foam-extend.org +# \/ M anipulation | For copyright notice see file Copyright +# -------------------------------------------------------------------------- +# License +# This file is part of foam-extend. +# +# foam-extend 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 3 of the License, or {at your +# option} any later version. +# +# foam-extend 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 foam-extend. If not, see . +# +# Description +# CMakeLists.txt file for libraries and applications +# +# Author +# Henrik Rusche, Wikki GmbH, 2017. All rights reserved +# +# +# -------------------------------------------------------------------------- + +add_subdirectory(potentialIbFoam) +add_subdirectory(porousSimpleIbFoam) +add_subdirectory(simpleIbFoam) +add_subdirectory(icoDyMIbFoam) +add_subdirectory(interIbFoam) +add_subdirectory(icoIbFoam) \ No newline at end of file diff --git a/applications/solvers/immersedBoundary/icoDyMIbFoam/CMakeLists.txt b/applications/solvers/immersedBoundary/icoDyMIbFoam/CMakeLists.txt new file mode 100644 index 000000000..9850de6b2 --- /dev/null +++ b/applications/solvers/immersedBoundary/icoDyMIbFoam/CMakeLists.txt @@ -0,0 +1,46 @@ +# -------------------------------------------------------------------------- +# ======== | +# \ / F ield | foam-extend: Open Source CFD +# \ / O peration | Version: 4.1 +# \ / A nd | Web: http://www.foam-extend.org +# \/ M anipulation | For copyright notice see file Copyright +# -------------------------------------------------------------------------- +# License +# This file is part of foam-extend. +# +# foam-extend 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 3 of the License, or {at your +# option} any later version. +# +# foam-extend 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 foam-extend. If not, see . +# +# Description +# CMakeLists.txt file for libraries and applications +# +# Author +# Henrik Rusche, Wikki GmbH, 2017. All rights reserved +# +# +# -------------------------------------------------------------------------- + +list(APPEND sources + icoDyMIbFoam.C +) + +# Set minimal environment for external compilation +if(NOT FOAM_FOUND) + cmake_minimum_required(VERSION 2.8) + find_package(FOAM REQUIRED) +endif() + +add_foam_executable(icoDyMIbFoam +# DEPENDS finiteVolume + SOURCES ${sources} +) diff --git a/applications/solvers/immersedBoundary/icoIbFoam/CMakeLists.txt b/applications/solvers/immersedBoundary/icoIbFoam/CMakeLists.txt new file mode 100644 index 000000000..3793751ab --- /dev/null +++ b/applications/solvers/immersedBoundary/icoIbFoam/CMakeLists.txt @@ -0,0 +1,46 @@ +# -------------------------------------------------------------------------- +# ======== | +# \ / F ield | foam-extend: Open Source CFD +# \ / O peration | Version: 4.1 +# \ / A nd | Web: http://www.foam-extend.org +# \/ M anipulation | For copyright notice see file Copyright +# -------------------------------------------------------------------------- +# License +# This file is part of foam-extend. +# +# foam-extend 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 3 of the License, or {at your +# option} any later version. +# +# foam-extend 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 foam-extend. If not, see . +# +# Description +# CMakeLists.txt file for libraries and applications +# +# Author +# Henrik Rusche, Wikki GmbH, 2017. All rights reserved +# +# +# -------------------------------------------------------------------------- + +list(APPEND sources + icoIbFoam.C +) + +# Set minimal environment for external compilation +if(NOT FOAM_FOUND) + cmake_minimum_required(VERSION 2.8) + find_package(FOAM REQUIRED) +endif() + +add_foam_executable(icoIbFoam +# DEPENDS finiteVolume + SOURCES ${sources} +) diff --git a/applications/solvers/immersedBoundary/interIbFoam/CMakeLists.txt b/applications/solvers/immersedBoundary/interIbFoam/CMakeLists.txt new file mode 100644 index 000000000..97849df15 --- /dev/null +++ b/applications/solvers/immersedBoundary/interIbFoam/CMakeLists.txt @@ -0,0 +1,46 @@ +# -------------------------------------------------------------------------- +# ======== | +# \ / F ield | foam-extend: Open Source CFD +# \ / O peration | Version: 4.1 +# \ / A nd | Web: http://www.foam-extend.org +# \/ M anipulation | For copyright notice see file Copyright +# -------------------------------------------------------------------------- +# License +# This file is part of foam-extend. +# +# foam-extend 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 3 of the License, or {at your +# option} any later version. +# +# foam-extend 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 foam-extend. If not, see . +# +# Description +# CMakeLists.txt file for libraries and applications +# +# Author +# Henrik Rusche, Wikki GmbH, 2017. All rights reserved +# +# +# -------------------------------------------------------------------------- + +list(APPEND sources + interIbFoam.C +) + +# Set minimal environment for external compilation +if(NOT FOAM_FOUND) + cmake_minimum_required(VERSION 2.8) + find_package(FOAM REQUIRED) +endif() + +add_foam_executable(interIbFoam +# DEPENDS finiteVolume + SOURCES ${sources} +) diff --git a/applications/solvers/immersedBoundary/porousSimpleIbFoam/CMakeLists.txt b/applications/solvers/immersedBoundary/porousSimpleIbFoam/CMakeLists.txt new file mode 100644 index 000000000..6ac1bce83 --- /dev/null +++ b/applications/solvers/immersedBoundary/porousSimpleIbFoam/CMakeLists.txt @@ -0,0 +1,46 @@ +# -------------------------------------------------------------------------- +# ======== | +# \ / F ield | foam-extend: Open Source CFD +# \ / O peration | Version: 4.1 +# \ / A nd | Web: http://www.foam-extend.org +# \/ M anipulation | For copyright notice see file Copyright +# -------------------------------------------------------------------------- +# License +# This file is part of foam-extend. +# +# foam-extend 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 3 of the License, or {at your +# option} any later version. +# +# foam-extend 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 foam-extend. If not, see . +# +# Description +# CMakeLists.txt file for libraries and applications +# +# Author +# Henrik Rusche, Wikki GmbH, 2017. All rights reserved +# +# +# -------------------------------------------------------------------------- + +list(APPEND sources + porousSimpleIbFoam.C +) + +# Set minimal environment for external compilation +if(NOT FOAM_FOUND) + cmake_minimum_required(VERSION 2.8) + find_package(FOAM REQUIRED) +endif() + +add_foam_executable(porousSimpleIbFoam +# DEPENDS finiteVolume + SOURCES ${sources} +) diff --git a/applications/solvers/immersedBoundary/potentialIbFoam/CMakeLists.txt b/applications/solvers/immersedBoundary/potentialIbFoam/CMakeLists.txt new file mode 100644 index 000000000..772d731d7 --- /dev/null +++ b/applications/solvers/immersedBoundary/potentialIbFoam/CMakeLists.txt @@ -0,0 +1,46 @@ +# -------------------------------------------------------------------------- +# ======== | +# \ / F ield | foam-extend: Open Source CFD +# \ / O peration | Version: 4.1 +# \ / A nd | Web: http://www.foam-extend.org +# \/ M anipulation | For copyright notice see file Copyright +# -------------------------------------------------------------------------- +# License +# This file is part of foam-extend. +# +# foam-extend 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 3 of the License, or {at your +# option} any later version. +# +# foam-extend 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 foam-extend. If not, see . +# +# Description +# CMakeLists.txt file for libraries and applications +# +# Author +# Henrik Rusche, Wikki GmbH, 2017. All rights reserved +# +# +# -------------------------------------------------------------------------- + +list(APPEND sources + potentialIbFoam.C +) + +# Set minimal environment for external compilation +if(NOT FOAM_FOUND) + cmake_minimum_required(VERSION 2.8) + find_package(FOAM REQUIRED) +endif() + +add_foam_executable(potentialIbFoam +# DEPENDS finiteVolume + SOURCES ${sources} +) diff --git a/applications/solvers/immersedBoundary/simpleIbFoam/CMakeLists.txt b/applications/solvers/immersedBoundary/simpleIbFoam/CMakeLists.txt new file mode 100644 index 000000000..ca5e8c6a7 --- /dev/null +++ b/applications/solvers/immersedBoundary/simpleIbFoam/CMakeLists.txt @@ -0,0 +1,46 @@ +# -------------------------------------------------------------------------- +# ======== | +# \ / F ield | foam-extend: Open Source CFD +# \ / O peration | Version: 4.1 +# \ / A nd | Web: http://www.foam-extend.org +# \/ M anipulation | For copyright notice see file Copyright +# -------------------------------------------------------------------------- +# License +# This file is part of foam-extend. +# +# foam-extend 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 3 of the License, or {at your +# option} any later version. +# +# foam-extend 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 foam-extend. If not, see . +# +# Description +# CMakeLists.txt file for libraries and applications +# +# Author +# Henrik Rusche, Wikki GmbH, 2017. All rights reserved +# +# +# -------------------------------------------------------------------------- + +list(APPEND sources + simpleIbFoam.C +) + +# Set minimal environment for external compilation +if(NOT FOAM_FOUND) + cmake_minimum_required(VERSION 2.8) + find_package(FOAM REQUIRED) +endif() + +add_foam_executable(simpleIbFoam +# DEPENDS finiteVolume + SOURCES ${sources} +) diff --git a/applications/solvers/incompressible/CMakeLists.txt b/applications/solvers/incompressible/CMakeLists.txt new file mode 100644 index 000000000..70dbeb1b3 --- /dev/null +++ b/applications/solvers/incompressible/CMakeLists.txt @@ -0,0 +1,45 @@ +# --------------------------------------------------------------------------# ======== | +# \ / F ield | foam-extend: Open Source CFD +# \ / O peration | Version: 4.1 +# \ / A nd | Web: http://www.foam-extend.org +# \/ M anipulation | For copyright notice see file Copyright +# -------------------------------------------------------------------------- +# License +# This file is part of foam-extend. +# +# foam-extend 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 3 of the License, or {at your +# option} any later version. +# +# foam-extend 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 foam-extend. If not, see . +# +# Description +# CMakeLists.txt file for libraries and applications +# +# Author +# Henrik Rusche, Wikki GmbH, 2017. All rights reserved +# +# +# -------------------------------------------------------------------------- + +add_subdirectory(icoDyMFoam) +add_subdirectory(icoFoam) +add_subdirectory(simpleFoam) +add_subdirectory(pisoFoam) +add_subdirectory(channelFoam) +add_subdirectory(simpleSRFFoam) +add_subdirectory(pimpleDyMFoam) +add_subdirectory(porousSimpleFoam) +add_subdirectory(boundaryFoam) +add_subdirectory(icoDyMSimpleFoam) +add_subdirectory(nonNewtonianIcoFoam) +add_subdirectory(pimpleFoam) +add_subdirectory(shallowWaterFoam) +add_subdirectory(MRFSimpleFoam) \ No newline at end of file diff --git a/applications/solvers/incompressible/MRFSimpleFoam/CMakeLists.txt b/applications/solvers/incompressible/MRFSimpleFoam/CMakeLists.txt new file mode 100644 index 000000000..ddaab2666 --- /dev/null +++ b/applications/solvers/incompressible/MRFSimpleFoam/CMakeLists.txt @@ -0,0 +1,46 @@ +# -------------------------------------------------------------------------- +# ======== | +# \ / F ield | foam-extend: Open Source CFD +# \ / O peration | Version: 4.1 +# \ / A nd | Web: http://www.foam-extend.org +# \/ M anipulation | For copyright notice see file Copyright +# -------------------------------------------------------------------------- +# License +# This file is part of foam-extend. +# +# foam-extend 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 3 of the License, or {at your +# option} any later version. +# +# foam-extend 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 foam-extend. If not, see . +# +# Description +# CMakeLists.txt file for libraries and applications +# +# Author +# Henrik Rusche, Wikki GmbH, 2017. All rights reserved +# +# +# -------------------------------------------------------------------------- + +list(APPEND sources + MRFSimpleFoam.C +) + +# Set minimal environment for external compilation +if(NOT FOAM_FOUND) + cmake_minimum_required(VERSION 2.8) + find_package(FOAM REQUIRED) +endif() + +add_foam_executable(MRFSimpleFoam + DEPENDS incompressibleRASModels + SOURCES ${sources} +) diff --git a/applications/solvers/incompressible/boundaryFoam/CMakeLists.txt b/applications/solvers/incompressible/boundaryFoam/CMakeLists.txt new file mode 100644 index 000000000..c03739323 --- /dev/null +++ b/applications/solvers/incompressible/boundaryFoam/CMakeLists.txt @@ -0,0 +1,46 @@ +# -------------------------------------------------------------------------- +# ======== | +# \ / F ield | foam-extend: Open Source CFD +# \ / O peration | Version: 4.1 +# \ / A nd | Web: http://www.foam-extend.org +# \/ M anipulation | For copyright notice see file Copyright +# -------------------------------------------------------------------------- +# License +# This file is part of foam-extend. +# +# foam-extend 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 3 of the License, or {at your +# option} any later version. +# +# foam-extend 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 foam-extend. If not, see . +# +# Description +# CMakeLists.txt file for libraries and applications +# +# Author +# Henrik Rusche, Wikki GmbH, 2017. All rights reserved +# +# +# -------------------------------------------------------------------------- + +list(APPEND sources + boundaryFoam.C +) + +# Set minimal environment for external compilation +if(NOT FOAM_FOUND) + cmake_minimum_required(VERSION 2.8) + find_package(FOAM REQUIRED) +endif() + +add_foam_executable(boundaryFoam + DEPENDS incompressibleRASModels sampling + SOURCES ${sources} +) diff --git a/applications/solvers/incompressible/channelFoam/CMakeLists.txt b/applications/solvers/incompressible/channelFoam/CMakeLists.txt new file mode 100644 index 000000000..c6cab4d01 --- /dev/null +++ b/applications/solvers/incompressible/channelFoam/CMakeLists.txt @@ -0,0 +1,46 @@ +# -------------------------------------------------------------------------- +# ======== | +# \ / F ield | foam-extend: Open Source CFD +# \ / O peration | Version: 4.1 +# \ / A nd | Web: http://www.foam-extend.org +# \/ M anipulation | For copyright notice see file Copyright +# -------------------------------------------------------------------------- +# License +# This file is part of foam-extend. +# +# foam-extend 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 3 of the License, or {at your +# option} any later version. +# +# foam-extend 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 foam-extend. If not, see . +# +# Description +# CMakeLists.txt file for libraries and applications +# +# Author +# Henrik Rusche, Wikki GmbH, 2017. All rights reserved +# +# +# -------------------------------------------------------------------------- + +list(APPEND sources + channelFoam.C +) + +# Set minimal environment for external compilation +if(NOT FOAM_FOUND) + cmake_minimum_required(VERSION 2.8) + find_package(FOAM REQUIRED) +endif() + +add_foam_executable(channelFoam + DEPENDS incompressibleLESModels + SOURCES ${sources} +) diff --git a/applications/solvers/incompressible/icoDyMFoam/CMakeLists.txt b/applications/solvers/incompressible/icoDyMFoam/CMakeLists.txt new file mode 100644 index 000000000..4f814bc13 --- /dev/null +++ b/applications/solvers/incompressible/icoDyMFoam/CMakeLists.txt @@ -0,0 +1,46 @@ +# -------------------------------------------------------------------------- +# ======== | +# \ / F ield | foam-extend: Open Source CFD +# \ / O peration | Version: 4.1 +# \ / A nd | Web: http://www.foam-extend.org +# \/ M anipulation | For copyright notice see file Copyright +# -------------------------------------------------------------------------- +# License +# This file is part of foam-extend. +# +# foam-extend 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 3 of the License, or {at your +# option} any later version. +# +# foam-extend 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 foam-extend. If not, see . +# +# Description +# CMakeLists.txt file for libraries and applications +# +# Author +# Henrik Rusche, Wikki GmbH, 2017. All rights reserved +# +# +# -------------------------------------------------------------------------- + +list(APPEND sources + icoDyMFoam.C +) + +# Set minimal environment for external compilation +if(NOT FOAM_FOUND) + cmake_minimum_required(VERSION 2.8) + find_package(FOAM REQUIRED) +endif() + +add_foam_executable(icoDyMFoam + DEPENDS dynamicFvMesh + SOURCES ${sources} +) diff --git a/applications/solvers/incompressible/icoDyMSimpleFoam/CMakeLists.txt b/applications/solvers/incompressible/icoDyMSimpleFoam/CMakeLists.txt new file mode 100644 index 000000000..7d0d3f5b0 --- /dev/null +++ b/applications/solvers/incompressible/icoDyMSimpleFoam/CMakeLists.txt @@ -0,0 +1,46 @@ +# -------------------------------------------------------------------------- +# ======== | +# \ / F ield | foam-extend: Open Source CFD +# \ / O peration | Version: 4.1 +# \ / A nd | Web: http://www.foam-extend.org +# \/ M anipulation | For copyright notice see file Copyright +# -------------------------------------------------------------------------- +# License +# This file is part of foam-extend. +# +# foam-extend 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 3 of the License, or {at your +# option} any later version. +# +# foam-extend 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 foam-extend. If not, see . +# +# Description +# CMakeLists.txt file for libraries and applications +# +# Author +# Henrik Rusche, Wikki GmbH, 2017. All rights reserved +# +# +# -------------------------------------------------------------------------- + +list(APPEND sources + icoDyMSimpleFoam.C +) + +# Set minimal environment for external compilation +if(NOT FOAM_FOUND) + cmake_minimum_required(VERSION 2.8) + find_package(FOAM REQUIRED) +endif() + +add_foam_executable(icoDyMSimpleFoam + DEPENDS dynamicFvMesh + SOURCES ${sources} +) diff --git a/applications/solvers/incompressible/icoFoam/CMakeLists.txt b/applications/solvers/incompressible/icoFoam/CMakeLists.txt new file mode 100644 index 000000000..4d2881bb8 --- /dev/null +++ b/applications/solvers/incompressible/icoFoam/CMakeLists.txt @@ -0,0 +1,46 @@ +# -------------------------------------------------------------------------- +# ======== | +# \ / F ield | foam-extend: Open Source CFD +# \ / O peration | Version: 4.1 +# \ / A nd | Web: http://www.foam-extend.org +# \/ M anipulation | For copyright notice see file Copyright +# -------------------------------------------------------------------------- +# License +# This file is part of foam-extend. +# +# foam-extend 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 3 of the License, or {at your +# option} any later version. +# +# foam-extend 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 foam-extend. If not, see . +# +# Description +# CMakeLists.txt file for libraries and applications +# +# Author +# Henrik Rusche, Wikki GmbH, 2017. All rights reserved +# +# +# -------------------------------------------------------------------------- + +list(APPEND sources + icoFoam.C +) + +# Set minimal environment for external compilation +if(NOT FOAM_FOUND) + cmake_minimum_required(VERSION 2.8) + find_package(FOAM REQUIRED) +endif() + +add_foam_executable(icoFoam + DEPENDS finiteVolume + SOURCES ${sources} +) diff --git a/applications/solvers/incompressible/nonNewtonianIcoFoam/CMakeLists.txt b/applications/solvers/incompressible/nonNewtonianIcoFoam/CMakeLists.txt new file mode 100644 index 000000000..2677c3fa0 --- /dev/null +++ b/applications/solvers/incompressible/nonNewtonianIcoFoam/CMakeLists.txt @@ -0,0 +1,46 @@ +# -------------------------------------------------------------------------- +# ======== | +# \ / F ield | foam-extend: Open Source CFD +# \ / O peration | Version: 4.1 +# \ / A nd | Web: http://www.foam-extend.org +# \/ M anipulation | For copyright notice see file Copyright +# -------------------------------------------------------------------------- +# License +# This file is part of foam-extend. +# +# foam-extend 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 3 of the License, or {at your +# option} any later version. +# +# foam-extend 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 foam-extend. If not, see . +# +# Description +# CMakeLists.txt file for libraries and applications +# +# Author +# Henrik Rusche, Wikki GmbH, 2017. All rights reserved +# +# +# -------------------------------------------------------------------------- + +list(APPEND sources + nonNewtonianIcoFoam.C +) + +# Set minimal environment for external compilation +if(NOT FOAM_FOUND) + cmake_minimum_required(VERSION 2.8) + find_package(FOAM REQUIRED) +endif() + +add_foam_executable(nonNewtonianIcoFoam + DEPENDS incompressibleTransportModels + SOURCES ${sources} +) diff --git a/applications/solvers/incompressible/pimpleDyMFoam/CMakeLists.txt b/applications/solvers/incompressible/pimpleDyMFoam/CMakeLists.txt new file mode 100644 index 000000000..dacb029a5 --- /dev/null +++ b/applications/solvers/incompressible/pimpleDyMFoam/CMakeLists.txt @@ -0,0 +1,46 @@ +# -------------------------------------------------------------------------- +# ======== | +# \ / F ield | foam-extend: Open Source CFD +# \ / O peration | Version: 4.1 +# \ / A nd | Web: http://www.foam-extend.org +# \/ M anipulation | For copyright notice see file Copyright +# -------------------------------------------------------------------------- +# License +# This file is part of foam-extend. +# +# foam-extend 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 3 of the License, or {at your +# option} any later version. +# +# foam-extend 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 foam-extend. If not, see . +# +# Description +# CMakeLists.txt file for libraries and applications +# +# Author +# Henrik Rusche, Wikki GmbH, 2017. All rights reserved +# +# +# -------------------------------------------------------------------------- + +list(APPEND sources + pimpleDyMFoam.C +) + +# Set minimal environment for external compilation +if(NOT FOAM_FOUND) + cmake_minimum_required(VERSION 2.8) + find_package(FOAM REQUIRED) +endif() + +add_foam_executable(pimpleDyMFoam + DEPENDS dynamicFvMesh incompressibleRASModels incompressibleLESModels + SOURCES ${sources} +) diff --git a/applications/solvers/incompressible/pimpleFoam/CMakeLists.txt b/applications/solvers/incompressible/pimpleFoam/CMakeLists.txt new file mode 100644 index 000000000..ad6e3719a --- /dev/null +++ b/applications/solvers/incompressible/pimpleFoam/CMakeLists.txt @@ -0,0 +1,46 @@ +# -------------------------------------------------------------------------- +# ======== | +# \ / F ield | foam-extend: Open Source CFD +# \ / O peration | Version: 4.1 +# \ / A nd | Web: http://www.foam-extend.org +# \/ M anipulation | For copyright notice see file Copyright +# -------------------------------------------------------------------------- +# License +# This file is part of foam-extend. +# +# foam-extend 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 3 of the License, or {at your +# option} any later version. +# +# foam-extend 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 foam-extend. If not, see . +# +# Description +# CMakeLists.txt file for libraries and applications +# +# Author +# Henrik Rusche, Wikki GmbH, 2017. All rights reserved +# +# +# -------------------------------------------------------------------------- + +list(APPEND sources + pimpleFoam.C +) + +# Set minimal environment for external compilation +if(NOT FOAM_FOUND) + cmake_minimum_required(VERSION 2.8) + find_package(FOAM REQUIRED) +endif() + +add_foam_executable(pimpleFoam + DEPENDS incompressibleRASModels incompressibleLESModels + SOURCES ${sources} +) diff --git a/applications/solvers/incompressible/pisoFoam/CMakeLists.txt b/applications/solvers/incompressible/pisoFoam/CMakeLists.txt new file mode 100644 index 000000000..4540a3901 --- /dev/null +++ b/applications/solvers/incompressible/pisoFoam/CMakeLists.txt @@ -0,0 +1,46 @@ +# -------------------------------------------------------------------------- +# ======== | +# \ / F ield | foam-extend: Open Source CFD +# \ / O peration | Version: 4.1 +# \ / A nd | Web: http://www.foam-extend.org +# \/ M anipulation | For copyright notice see file Copyright +# -------------------------------------------------------------------------- +# License +# This file is part of foam-extend. +# +# foam-extend 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 3 of the License, or {at your +# option} any later version. +# +# foam-extend 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 foam-extend. If not, see . +# +# Description +# CMakeLists.txt file for libraries and applications +# +# Author +# Henrik Rusche, Wikki GmbH, 2017. All rights reserved +# +# +# -------------------------------------------------------------------------- + +list(APPEND sources + pisoFoam.C +) + +# Set minimal environment for external compilation +if(NOT FOAM_FOUND) + cmake_minimum_required(VERSION 2.8) + find_package(FOAM REQUIRED) +endif() + +add_foam_executable(pisoFoam + DEPENDS incompressibleRASModels incompressibleLESModels + SOURCES ${sources} +) diff --git a/applications/solvers/incompressible/porousSimpleFoam/CMakeLists.txt b/applications/solvers/incompressible/porousSimpleFoam/CMakeLists.txt new file mode 100644 index 000000000..87ddaca05 --- /dev/null +++ b/applications/solvers/incompressible/porousSimpleFoam/CMakeLists.txt @@ -0,0 +1,46 @@ +# -------------------------------------------------------------------------- +# ======== | +# \ / F ield | foam-extend: Open Source CFD +# \ / O peration | Version: 4.1 +# \ / A nd | Web: http://www.foam-extend.org +# \/ M anipulation | For copyright notice see file Copyright +# -------------------------------------------------------------------------- +# License +# This file is part of foam-extend. +# +# foam-extend 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 3 of the License, or {at your +# option} any later version. +# +# foam-extend 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 foam-extend. If not, see . +# +# Description +# CMakeLists.txt file for libraries and applications +# +# Author +# Henrik Rusche, Wikki GmbH, 2017. All rights reserved +# +# +# -------------------------------------------------------------------------- + +list(APPEND sources + porousSimpleFoam.C +) + +# Set minimal environment for external compilation +if(NOT FOAM_FOUND) + cmake_minimum_required(VERSION 2.8) + find_package(FOAM REQUIRED) +endif() + +add_foam_executable(porousSimpleFoam + DEPENDS incompressibleRASModels + SOURCES ${sources} +) diff --git a/applications/solvers/incompressible/shallowWaterFoam/CMakeLists.txt b/applications/solvers/incompressible/shallowWaterFoam/CMakeLists.txt new file mode 100644 index 000000000..1af199e2c --- /dev/null +++ b/applications/solvers/incompressible/shallowWaterFoam/CMakeLists.txt @@ -0,0 +1,46 @@ +# -------------------------------------------------------------------------- +# ======== | +# \ / F ield | foam-extend: Open Source CFD +# \ / O peration | Version: 4.1 +# \ / A nd | Web: http://www.foam-extend.org +# \/ M anipulation | For copyright notice see file Copyright +# -------------------------------------------------------------------------- +# License +# This file is part of foam-extend. +# +# foam-extend 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 3 of the License, or {at your +# option} any later version. +# +# foam-extend 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 foam-extend. If not, see . +# +# Description +# CMakeLists.txt file for libraries and applications +# +# Author +# Henrik Rusche, Wikki GmbH, 2017. All rights reserved +# +# +# -------------------------------------------------------------------------- + +list(APPEND sources + shallowWaterFoam.C +) + +# Set minimal environment for external compilation +if(NOT FOAM_FOUND) + cmake_minimum_required(VERSION 2.8) + find_package(FOAM REQUIRED) +endif() + +add_foam_executable(shallowWaterFoam + DEPENDS finiteVolume + SOURCES ${sources} +) diff --git a/applications/solvers/incompressible/simpleFoam/CMakeLists.txt b/applications/solvers/incompressible/simpleFoam/CMakeLists.txt new file mode 100644 index 000000000..426b83a48 --- /dev/null +++ b/applications/solvers/incompressible/simpleFoam/CMakeLists.txt @@ -0,0 +1,46 @@ +# -------------------------------------------------------------------------- +# ======== | +# \ / F ield | foam-extend: Open Source CFD +# \ / O peration | Version: 4.1 +# \ / A nd | Web: http://www.foam-extend.org +# \/ M anipulation | For copyright notice see file Copyright +# -------------------------------------------------------------------------- +# License +# This file is part of foam-extend. +# +# foam-extend 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 3 of the License, or {at your +# option} any later version. +# +# foam-extend 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 foam-extend. If not, see . +# +# Description +# CMakeLists.txt file for libraries and applications +# +# Author +# Henrik Rusche, Wikki GmbH, 2017. All rights reserved +# +# +# -------------------------------------------------------------------------- + +list(APPEND sources + simpleFoam.C +) + +# Set minimal environment for external compilation +if(NOT FOAM_FOUND) + cmake_minimum_required(VERSION 2.8) + find_package(FOAM REQUIRED) +endif() + +add_foam_executable(simpleFoam + DEPENDS incompressibleRASModels + SOURCES ${sources} +) diff --git a/applications/solvers/incompressible/simpleSRFFoam/CMakeLists.txt b/applications/solvers/incompressible/simpleSRFFoam/CMakeLists.txt new file mode 100644 index 000000000..fdaba40c5 --- /dev/null +++ b/applications/solvers/incompressible/simpleSRFFoam/CMakeLists.txt @@ -0,0 +1,46 @@ +# -------------------------------------------------------------------------- +# ======== | +# \ / F ield | foam-extend: Open Source CFD +# \ / O peration | Version: 4.1 +# \ / A nd | Web: http://www.foam-extend.org +# \/ M anipulation | For copyright notice see file Copyright +# -------------------------------------------------------------------------- +# License +# This file is part of foam-extend. +# +# foam-extend 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 3 of the License, or {at your +# option} any later version. +# +# foam-extend 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 foam-extend. If not, see . +# +# Description +# CMakeLists.txt file for libraries and applications +# +# Author +# Henrik Rusche, Wikki GmbH, 2017. All rights reserved +# +# +# -------------------------------------------------------------------------- + +list(APPEND sources + simpleSRFFoam.C +) + +# Set minimal environment for external compilation +if(NOT FOAM_FOUND) + cmake_minimum_required(VERSION 2.8) + find_package(FOAM REQUIRED) +endif() + +add_foam_executable(simpleSRFFoam + DEPENDS incompressibleRASModels + SOURCES ${sources} +) diff --git a/applications/solvers/lagrangian/CMakeLists.txt b/applications/solvers/lagrangian/CMakeLists.txt new file mode 100644 index 000000000..6339e3bcf --- /dev/null +++ b/applications/solvers/lagrangian/CMakeLists.txt @@ -0,0 +1,35 @@ +# --------------------------------------------------------------------------# ======== | +# \ / F ield | foam-extend: Open Source CFD +# \ / O peration | Version: 4.1 +# \ / A nd | Web: http://www.foam-extend.org +# \/ M anipulation | For copyright notice see file Copyright +# -------------------------------------------------------------------------- +# License +# This file is part of foam-extend. +# +# foam-extend 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 3 of the License, or {at your +# option} any later version. +# +# foam-extend 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 foam-extend. If not, see . +# +# Description +# CMakeLists.txt file for libraries and applications +# +# Author +# Henrik Rusche, Wikki GmbH, 2017. All rights reserved +# +# +# -------------------------------------------------------------------------- + +add_subdirectory(porousExplicitSourceReactingParcelFoam) +add_subdirectory(reactingParcelFoam) +add_subdirectory(coalChemistryFoam) +add_subdirectory(uncoupledKinematicParcelFoam) \ No newline at end of file diff --git a/applications/solvers/lagrangian/coalChemistryFoam/CMakeLists.txt b/applications/solvers/lagrangian/coalChemistryFoam/CMakeLists.txt new file mode 100644 index 000000000..c64c5b365 --- /dev/null +++ b/applications/solvers/lagrangian/coalChemistryFoam/CMakeLists.txt @@ -0,0 +1,46 @@ +# -------------------------------------------------------------------------- +# ======== | +# \ / F ield | foam-extend: Open Source CFD +# \ / O peration | Version: 4.1 +# \ / A nd | Web: http://www.foam-extend.org +# \/ M anipulation | For copyright notice see file Copyright +# -------------------------------------------------------------------------- +# License +# This file is part of foam-extend. +# +# foam-extend 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 3 of the License, or {at your +# option} any later version. +# +# foam-extend 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 foam-extend. If not, see . +# +# Description +# CMakeLists.txt file for libraries and applications +# +# Author +# Henrik Rusche, Wikki GmbH, 2017. All rights reserved +# +# +# -------------------------------------------------------------------------- + +list(APPEND sources + coalChemistryFoam.C +) + +# Set minimal environment for external compilation +if(NOT FOAM_FOUND) + cmake_minimum_required(VERSION 2.8) + find_package(FOAM REQUIRED) +endif() + +add_foam_executable(coalChemistryFoam +# DEPENDS finiteVolume + SOURCES ${sources} +) diff --git a/applications/solvers/lagrangian/porousExplicitSourceReactingParcelFoam/CMakeLists.txt b/applications/solvers/lagrangian/porousExplicitSourceReactingParcelFoam/CMakeLists.txt new file mode 100644 index 000000000..8f12269aa --- /dev/null +++ b/applications/solvers/lagrangian/porousExplicitSourceReactingParcelFoam/CMakeLists.txt @@ -0,0 +1,46 @@ +# -------------------------------------------------------------------------- +# ======== | +# \ / F ield | foam-extend: Open Source CFD +# \ / O peration | Version: 4.1 +# \ / A nd | Web: http://www.foam-extend.org +# \/ M anipulation | For copyright notice see file Copyright +# -------------------------------------------------------------------------- +# License +# This file is part of foam-extend. +# +# foam-extend 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 3 of the License, or {at your +# option} any later version. +# +# foam-extend 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 foam-extend. If not, see . +# +# Description +# CMakeLists.txt file for libraries and applications +# +# Author +# Henrik Rusche, Wikki GmbH, 2017. All rights reserved +# +# +# -------------------------------------------------------------------------- + +list(APPEND sources + porousExplicitSourceReactingParcelFoam.C +) + +# Set minimal environment for external compilation +if(NOT FOAM_FOUND) + cmake_minimum_required(VERSION 2.8) + find_package(FOAM REQUIRED) +endif() + +add_foam_executable(porousExplicitSourceReactingParcelFoam +# DEPENDS finiteVolume + SOURCES ${sources} +) diff --git a/applications/solvers/lagrangian/reactingParcelFoam/CMakeLists.txt b/applications/solvers/lagrangian/reactingParcelFoam/CMakeLists.txt new file mode 100644 index 000000000..a6136c8e2 --- /dev/null +++ b/applications/solvers/lagrangian/reactingParcelFoam/CMakeLists.txt @@ -0,0 +1,46 @@ +# -------------------------------------------------------------------------- +# ======== | +# \ / F ield | foam-extend: Open Source CFD +# \ / O peration | Version: 4.1 +# \ / A nd | Web: http://www.foam-extend.org +# \/ M anipulation | For copyright notice see file Copyright +# -------------------------------------------------------------------------- +# License +# This file is part of foam-extend. +# +# foam-extend 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 3 of the License, or {at your +# option} any later version. +# +# foam-extend 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 foam-extend. If not, see . +# +# Description +# CMakeLists.txt file for libraries and applications +# +# Author +# Henrik Rusche, Wikki GmbH, 2017. All rights reserved +# +# +# -------------------------------------------------------------------------- + +list(APPEND sources + reactingParcelFoam.C +) + +# Set minimal environment for external compilation +if(NOT FOAM_FOUND) + cmake_minimum_required(VERSION 2.8) + find_package(FOAM REQUIRED) +endif() + +add_foam_executable(reactingParcelFoam +# DEPENDS finiteVolume + SOURCES ${sources} +) diff --git a/applications/solvers/lagrangian/uncoupledKinematicParcelFoam/CMakeLists.txt b/applications/solvers/lagrangian/uncoupledKinematicParcelFoam/CMakeLists.txt new file mode 100644 index 000000000..bb9feac99 --- /dev/null +++ b/applications/solvers/lagrangian/uncoupledKinematicParcelFoam/CMakeLists.txt @@ -0,0 +1,46 @@ +# -------------------------------------------------------------------------- +# ======== | +# \ / F ield | foam-extend: Open Source CFD +# \ / O peration | Version: 4.1 +# \ / A nd | Web: http://www.foam-extend.org +# \/ M anipulation | For copyright notice see file Copyright +# -------------------------------------------------------------------------- +# License +# This file is part of foam-extend. +# +# foam-extend 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 3 of the License, or {at your +# option} any later version. +# +# foam-extend 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 foam-extend. If not, see . +# +# Description +# CMakeLists.txt file for libraries and applications +# +# Author +# Henrik Rusche, Wikki GmbH, 2017. All rights reserved +# +# +# -------------------------------------------------------------------------- + +list(APPEND sources + uncoupledKinematicParcelFoam.C +) + +# Set minimal environment for external compilation +if(NOT FOAM_FOUND) + cmake_minimum_required(VERSION 2.8) + find_package(FOAM REQUIRED) +endif() + +add_foam_executable(uncoupledKinematicParcelFoam +# DEPENDS finiteVolume + SOURCES ${sources} +) diff --git a/applications/solvers/multiSolver/CMakeLists.txt b/applications/solvers/multiSolver/CMakeLists.txt new file mode 100644 index 000000000..d9c7dd055 --- /dev/null +++ b/applications/solvers/multiSolver/CMakeLists.txt @@ -0,0 +1,32 @@ +# --------------------------------------------------------------------------# ======== | +# \ / F ield | foam-extend: Open Source CFD +# \ / O peration | Version: 4.1 +# \ / A nd | Web: http://www.foam-extend.org +# \/ M anipulation | For copyright notice see file Copyright +# -------------------------------------------------------------------------- +# License +# This file is part of foam-extend. +# +# foam-extend 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 3 of the License, or {at your +# option} any later version. +# +# foam-extend 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 foam-extend. If not, see . +# +# Description +# CMakeLists.txt file for libraries and applications +# +# Author +# Henrik Rusche, Wikki GmbH, 2017. All rights reserved +# +# +# -------------------------------------------------------------------------- + +add_subdirectory(multiSolverDemo) \ No newline at end of file diff --git a/applications/solvers/multiSolver/multiSolverDemo/CMakeLists.txt b/applications/solvers/multiSolver/multiSolverDemo/CMakeLists.txt new file mode 100644 index 000000000..c8c89ca68 --- /dev/null +++ b/applications/solvers/multiSolver/multiSolverDemo/CMakeLists.txt @@ -0,0 +1,46 @@ +# -------------------------------------------------------------------------- +# ======== | +# \ / F ield | foam-extend: Open Source CFD +# \ / O peration | Version: 4.1 +# \ / A nd | Web: http://www.foam-extend.org +# \/ M anipulation | For copyright notice see file Copyright +# -------------------------------------------------------------------------- +# License +# This file is part of foam-extend. +# +# foam-extend 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 3 of the License, or {at your +# option} any later version. +# +# foam-extend 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 foam-extend. If not, see . +# +# Description +# CMakeLists.txt file for libraries and applications +# +# Author +# Henrik Rusche, Wikki GmbH, 2017. All rights reserved +# +# +# -------------------------------------------------------------------------- + +list(APPEND sources + multiSolverDemo.C +) + +# Set minimal environment for external compilation +if(NOT FOAM_FOUND) + cmake_minimum_required(VERSION 2.8) + find_package(FOAM REQUIRED) +endif() + +add_foam_executable(multiSolverDemo +# DEPENDS finiteVolume + SOURCES ${sources} +) diff --git a/applications/solvers/multiphase/CMakeLists.txt b/applications/solvers/multiphase/CMakeLists.txt new file mode 100644 index 000000000..b1e3ae6e1 --- /dev/null +++ b/applications/solvers/multiphase/CMakeLists.txt @@ -0,0 +1,46 @@ +# --------------------------------------------------------------------------# ======== | +# \ / F ield | foam-extend: Open Source CFD +# \ / O peration | Version: 4.1 +# \ / A nd | Web: http://www.foam-extend.org +# \/ M anipulation | For copyright notice see file Copyright +# -------------------------------------------------------------------------- +# License +# This file is part of foam-extend. +# +# foam-extend 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 3 of the License, or {at your +# option} any later version. +# +# foam-extend 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 foam-extend. If not, see . +# +# Description +# CMakeLists.txt file for libraries and applications +# +# Author +# Henrik Rusche, Wikki GmbH, 2017. All rights reserved +# +# +# -------------------------------------------------------------------------- + +add_subdirectory(interDyMFoam) +add_subdirectory(interPhaseChangeFoam) +add_subdirectory(multiphaseInterFoam) +add_subdirectory(twoLiquidMixingFoam) +add_subdirectory(interMixingFoam) +add_subdirectory(bubbleFoam) +add_subdirectory(compressibleInterFoam) +add_subdirectory(twoPhaseEulerFoam) +add_subdirectory(MRFInterFoam) +add_subdirectory(barotropicCavitatingFoam) +add_subdirectory(compressibleInterDyMFoam) +add_subdirectory(interFoam) +add_subdirectory(settlingFoam) +add_subdirectory(porousInterFoam) +add_subdirectory(cavitatingFoam) \ No newline at end of file diff --git a/applications/solvers/multiphase/MRFInterFoam/CMakeLists.txt b/applications/solvers/multiphase/MRFInterFoam/CMakeLists.txt new file mode 100644 index 000000000..0a3019c43 --- /dev/null +++ b/applications/solvers/multiphase/MRFInterFoam/CMakeLists.txt @@ -0,0 +1,46 @@ +# -------------------------------------------------------------------------- +# ======== | +# \ / F ield | foam-extend: Open Source CFD +# \ / O peration | Version: 4.1 +# \ / A nd | Web: http://www.foam-extend.org +# \/ M anipulation | For copyright notice see file Copyright +# -------------------------------------------------------------------------- +# License +# This file is part of foam-extend. +# +# foam-extend 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 3 of the License, or {at your +# option} any later version. +# +# foam-extend 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 foam-extend. If not, see . +# +# Description +# CMakeLists.txt file for libraries and applications +# +# Author +# Henrik Rusche, Wikki GmbH, 2017. All rights reserved +# +# +# -------------------------------------------------------------------------- + +list(APPEND sources + MRFInterFoam.C +) + +# Set minimal environment for external compilation +if(NOT FOAM_FOUND) + cmake_minimum_required(VERSION 2.8) + find_package(FOAM REQUIRED) +endif() + +add_foam_executable(MRFInterFoam +# DEPENDS finiteVolume + SOURCES ${sources} +) diff --git a/applications/solvers/multiphase/barotropicCavitatingFoam/CMakeLists.txt b/applications/solvers/multiphase/barotropicCavitatingFoam/CMakeLists.txt new file mode 100644 index 000000000..0466f7274 --- /dev/null +++ b/applications/solvers/multiphase/barotropicCavitatingFoam/CMakeLists.txt @@ -0,0 +1,46 @@ +# -------------------------------------------------------------------------- +# ======== | +# \ / F ield | foam-extend: Open Source CFD +# \ / O peration | Version: 4.1 +# \ / A nd | Web: http://www.foam-extend.org +# \/ M anipulation | For copyright notice see file Copyright +# -------------------------------------------------------------------------- +# License +# This file is part of foam-extend. +# +# foam-extend 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 3 of the License, or {at your +# option} any later version. +# +# foam-extend 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 foam-extend. If not, see . +# +# Description +# CMakeLists.txt file for libraries and applications +# +# Author +# Henrik Rusche, Wikki GmbH, 2017. All rights reserved +# +# +# -------------------------------------------------------------------------- + +list(APPEND sources + barotropicCavitatingFoam.C +) + +# Set minimal environment for external compilation +if(NOT FOAM_FOUND) + cmake_minimum_required(VERSION 2.8) + find_package(FOAM REQUIRED) +endif() + +add_foam_executable(barotropicCavitatingFoam +# DEPENDS finiteVolume + SOURCES ${sources} +) diff --git a/applications/solvers/multiphase/bubbleFoam/CMakeLists.txt b/applications/solvers/multiphase/bubbleFoam/CMakeLists.txt new file mode 100644 index 000000000..22f8892f5 --- /dev/null +++ b/applications/solvers/multiphase/bubbleFoam/CMakeLists.txt @@ -0,0 +1,46 @@ +# -------------------------------------------------------------------------- +# ======== | +# \ / F ield | foam-extend: Open Source CFD +# \ / O peration | Version: 4.1 +# \ / A nd | Web: http://www.foam-extend.org +# \/ M anipulation | For copyright notice see file Copyright +# -------------------------------------------------------------------------- +# License +# This file is part of foam-extend. +# +# foam-extend 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 3 of the License, or {at your +# option} any later version. +# +# foam-extend 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 foam-extend. If not, see . +# +# Description +# CMakeLists.txt file for libraries and applications +# +# Author +# Henrik Rusche, Wikki GmbH, 2017. All rights reserved +# +# +# -------------------------------------------------------------------------- + +list(APPEND sources + bubbleFoam.C +) + +# Set minimal environment for external compilation +if(NOT FOAM_FOUND) + cmake_minimum_required(VERSION 2.8) + find_package(FOAM REQUIRED) +endif() + +add_foam_executable(bubbleFoam +# DEPENDS finiteVolume + SOURCES ${sources} +) diff --git a/applications/solvers/multiphase/cavitatingFoam/CMakeLists.txt b/applications/solvers/multiphase/cavitatingFoam/CMakeLists.txt new file mode 100644 index 000000000..f74511e9c --- /dev/null +++ b/applications/solvers/multiphase/cavitatingFoam/CMakeLists.txt @@ -0,0 +1,46 @@ +# -------------------------------------------------------------------------- +# ======== | +# \ / F ield | foam-extend: Open Source CFD +# \ / O peration | Version: 4.1 +# \ / A nd | Web: http://www.foam-extend.org +# \/ M anipulation | For copyright notice see file Copyright +# -------------------------------------------------------------------------- +# License +# This file is part of foam-extend. +# +# foam-extend 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 3 of the License, or {at your +# option} any later version. +# +# foam-extend 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 foam-extend. If not, see . +# +# Description +# CMakeLists.txt file for libraries and applications +# +# Author +# Henrik Rusche, Wikki GmbH, 2017. All rights reserved +# +# +# -------------------------------------------------------------------------- + +list(APPEND sources + cavitatingFoam.C +) + +# Set minimal environment for external compilation +if(NOT FOAM_FOUND) + cmake_minimum_required(VERSION 2.8) + find_package(FOAM REQUIRED) +endif() + +add_foam_executable(cavitatingFoam +# DEPENDS finiteVolume + SOURCES ${sources} +) diff --git a/applications/solvers/multiphase/compressibleInterDyMFoam/CMakeLists.txt b/applications/solvers/multiphase/compressibleInterDyMFoam/CMakeLists.txt new file mode 100644 index 000000000..9b5b2fbb6 --- /dev/null +++ b/applications/solvers/multiphase/compressibleInterDyMFoam/CMakeLists.txt @@ -0,0 +1,46 @@ +# -------------------------------------------------------------------------- +# ======== | +# \ / F ield | foam-extend: Open Source CFD +# \ / O peration | Version: 4.1 +# \ / A nd | Web: http://www.foam-extend.org +# \/ M anipulation | For copyright notice see file Copyright +# -------------------------------------------------------------------------- +# License +# This file is part of foam-extend. +# +# foam-extend 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 3 of the License, or {at your +# option} any later version. +# +# foam-extend 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 foam-extend. If not, see . +# +# Description +# CMakeLists.txt file for libraries and applications +# +# Author +# Henrik Rusche, Wikki GmbH, 2017. All rights reserved +# +# +# -------------------------------------------------------------------------- + +list(APPEND sources + compressibleInterDyMFoam.C +) + +# Set minimal environment for external compilation +if(NOT FOAM_FOUND) + cmake_minimum_required(VERSION 2.8) + find_package(FOAM REQUIRED) +endif() + +add_foam_executable(compressibleInterDyMFoam +# DEPENDS finiteVolume + SOURCES ${sources} +) diff --git a/applications/solvers/multiphase/compressibleInterFoam/CMakeLists.txt b/applications/solvers/multiphase/compressibleInterFoam/CMakeLists.txt new file mode 100644 index 000000000..daf216525 --- /dev/null +++ b/applications/solvers/multiphase/compressibleInterFoam/CMakeLists.txt @@ -0,0 +1,46 @@ +# -------------------------------------------------------------------------- +# ======== | +# \ / F ield | foam-extend: Open Source CFD +# \ / O peration | Version: 4.1 +# \ / A nd | Web: http://www.foam-extend.org +# \/ M anipulation | For copyright notice see file Copyright +# -------------------------------------------------------------------------- +# License +# This file is part of foam-extend. +# +# foam-extend 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 3 of the License, or {at your +# option} any later version. +# +# foam-extend 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 foam-extend. If not, see . +# +# Description +# CMakeLists.txt file for libraries and applications +# +# Author +# Henrik Rusche, Wikki GmbH, 2017. All rights reserved +# +# +# -------------------------------------------------------------------------- + +list(APPEND sources + compressibleInterFoam.C +) + +# Set minimal environment for external compilation +if(NOT FOAM_FOUND) + cmake_minimum_required(VERSION 2.8) + find_package(FOAM REQUIRED) +endif() + +add_foam_executable(compressibleInterFoam +# DEPENDS finiteVolume + SOURCES ${sources} +) diff --git a/applications/solvers/multiphase/interDyMFoam/CMakeLists.txt b/applications/solvers/multiphase/interDyMFoam/CMakeLists.txt new file mode 100644 index 000000000..da8968687 --- /dev/null +++ b/applications/solvers/multiphase/interDyMFoam/CMakeLists.txt @@ -0,0 +1,46 @@ +# -------------------------------------------------------------------------- +# ======== | +# \ / F ield | foam-extend: Open Source CFD +# \ / O peration | Version: 4.1 +# \ / A nd | Web: http://www.foam-extend.org +# \/ M anipulation | For copyright notice see file Copyright +# -------------------------------------------------------------------------- +# License +# This file is part of foam-extend. +# +# foam-extend 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 3 of the License, or {at your +# option} any later version. +# +# foam-extend 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 foam-extend. If not, see . +# +# Description +# CMakeLists.txt file for libraries and applications +# +# Author +# Henrik Rusche, Wikki GmbH, 2017. All rights reserved +# +# +# -------------------------------------------------------------------------- + +list(APPEND sources + interDyMFoam.C +) + +# Set minimal environment for external compilation +if(NOT FOAM_FOUND) + cmake_minimum_required(VERSION 2.8) + find_package(FOAM REQUIRED) +endif() + +add_foam_executable(interDyMFoam +# DEPENDS finiteVolume + SOURCES ${sources} +) diff --git a/applications/solvers/multiphase/interFoam/CMakeLists.txt b/applications/solvers/multiphase/interFoam/CMakeLists.txt new file mode 100644 index 000000000..dd9401100 --- /dev/null +++ b/applications/solvers/multiphase/interFoam/CMakeLists.txt @@ -0,0 +1,46 @@ +# -------------------------------------------------------------------------- +# ======== | +# \ / F ield | foam-extend: Open Source CFD +# \ / O peration | Version: 4.1 +# \ / A nd | Web: http://www.foam-extend.org +# \/ M anipulation | For copyright notice see file Copyright +# -------------------------------------------------------------------------- +# License +# This file is part of foam-extend. +# +# foam-extend 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 3 of the License, or {at your +# option} any later version. +# +# foam-extend 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 foam-extend. If not, see . +# +# Description +# CMakeLists.txt file for libraries and applications +# +# Author +# Henrik Rusche, Wikki GmbH, 2017. All rights reserved +# +# +# -------------------------------------------------------------------------- + +list(APPEND sources + interFoam.C +) + +# Set minimal environment for external compilation +if(NOT FOAM_FOUND) + cmake_minimum_required(VERSION 2.8) + find_package(FOAM REQUIRED) +endif() + +add_foam_executable(interFoam +# DEPENDS finiteVolume + SOURCES ${sources} +) diff --git a/applications/solvers/multiphase/interMixingFoam/CMakeLists.txt b/applications/solvers/multiphase/interMixingFoam/CMakeLists.txt new file mode 100644 index 000000000..e7af67713 --- /dev/null +++ b/applications/solvers/multiphase/interMixingFoam/CMakeLists.txt @@ -0,0 +1,48 @@ +# -------------------------------------------------------------------------- +# ======== | +# \ / F ield | foam-extend: Open Source CFD +# \ / O peration | Version: 4.1 +# \ / A nd | Web: http://www.foam-extend.org +# \/ M anipulation | For copyright notice see file Copyright +# -------------------------------------------------------------------------- +# License +# This file is part of foam-extend. +# +# foam-extend 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 3 of the License, or {at your +# option} any later version. +# +# foam-extend 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 foam-extend. If not, see . +# +# Description +# CMakeLists.txt file for libraries and applications +# +# Author +# Henrik Rusche, Wikki GmbH, 2017. All rights reserved +# +# +# -------------------------------------------------------------------------- + +list(APPEND sources + incompressibleThreePhaseMixture/threePhaseMixture.C + threePhaseInterfaceProperties/threePhaseInterfaceProperties.C + interMixingFoam.C +) + +# Set minimal environment for external compilation +if(NOT FOAM_FOUND) + cmake_minimum_required(VERSION 2.8) + find_package(FOAM REQUIRED) +endif() + +add_foam_executable(interMixingFoam +# DEPENDS finiteVolume + SOURCES ${sources} +) diff --git a/applications/solvers/multiphase/interPhaseChangeFoam/CMakeLists.txt b/applications/solvers/multiphase/interPhaseChangeFoam/CMakeLists.txt new file mode 100644 index 000000000..9b216435a --- /dev/null +++ b/applications/solvers/multiphase/interPhaseChangeFoam/CMakeLists.txt @@ -0,0 +1,51 @@ +# -------------------------------------------------------------------------- +# ======== | +# \ / F ield | foam-extend: Open Source CFD +# \ / O peration | Version: 4.1 +# \ / A nd | Web: http://www.foam-extend.org +# \/ M anipulation | For copyright notice see file Copyright +# -------------------------------------------------------------------------- +# License +# This file is part of foam-extend. +# +# foam-extend 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 3 of the License, or {at your +# option} any later version. +# +# foam-extend 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 foam-extend. If not, see . +# +# Description +# CMakeLists.txt file for libraries and applications +# +# Author +# Henrik Rusche, Wikki GmbH, 2017. All rights reserved +# +# +# -------------------------------------------------------------------------- + +list(APPEND sources + interPhaseChangeFoam.C + phaseChangeTwoPhaseMixtures/phaseChangeTwoPhaseMixture/phaseChangeTwoPhaseMixture.C + phaseChangeTwoPhaseMixtures/phaseChangeTwoPhaseMixture/newPhaseChangeTwoPhaseMixture.C + phaseChangeTwoPhaseMixtures/Kunz/Kunz.C + phaseChangeTwoPhaseMixtures/Merkle/Merkle.C + phaseChangeTwoPhaseMixtures/SchnerrSauer/SchnerrSauer.C +) + +# Set minimal environment for external compilation +if(NOT FOAM_FOUND) + cmake_minimum_required(VERSION 2.8) + find_package(FOAM REQUIRED) +endif() + +add_foam_executable(interPhaseChangeFoam +# DEPENDS finiteVolume + SOURCES ${sources} +) diff --git a/applications/solvers/multiphase/multiphaseInterFoam/CMakeLists.txt b/applications/solvers/multiphase/multiphaseInterFoam/CMakeLists.txt new file mode 100644 index 000000000..eddb42816 --- /dev/null +++ b/applications/solvers/multiphase/multiphaseInterFoam/CMakeLists.txt @@ -0,0 +1,49 @@ +# -------------------------------------------------------------------------- +# ======== | +# \ / F ield | foam-extend: Open Source CFD +# \ / O peration | Version: 4.1 +# \ / A nd | Web: http://www.foam-extend.org +# \/ M anipulation | For copyright notice see file Copyright +# -------------------------------------------------------------------------- +# License +# This file is part of foam-extend. +# +# foam-extend 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 3 of the License, or {at your +# option} any later version. +# +# foam-extend 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 foam-extend. If not, see . +# +# Description +# CMakeLists.txt file for libraries and applications +# +# Author +# Henrik Rusche, Wikki GmbH, 2017. All rights reserved +# +# +# -------------------------------------------------------------------------- + +list(APPEND sources + multiphaseMixture/phase/phase.C + multiphaseMixture/multiphaseAlphaContactAngle/multiphaseAlphaContactAngleFvPatchScalarField.C + multiphaseMixture/multiphaseMixture.C + multiphaseInterFoam.C +) + +# Set minimal environment for external compilation +if(NOT FOAM_FOUND) + cmake_minimum_required(VERSION 2.8) + find_package(FOAM REQUIRED) +endif() + +add_foam_executable(multiphaseInterFoam +# DEPENDS finiteVolume + SOURCES ${sources} +) diff --git a/applications/solvers/multiphase/porousInterFoam/CMakeLists.txt b/applications/solvers/multiphase/porousInterFoam/CMakeLists.txt new file mode 100644 index 000000000..48971a1c3 --- /dev/null +++ b/applications/solvers/multiphase/porousInterFoam/CMakeLists.txt @@ -0,0 +1,46 @@ +# -------------------------------------------------------------------------- +# ======== | +# \ / F ield | foam-extend: Open Source CFD +# \ / O peration | Version: 4.1 +# \ / A nd | Web: http://www.foam-extend.org +# \/ M anipulation | For copyright notice see file Copyright +# -------------------------------------------------------------------------- +# License +# This file is part of foam-extend. +# +# foam-extend 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 3 of the License, or {at your +# option} any later version. +# +# foam-extend 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 foam-extend. If not, see . +# +# Description +# CMakeLists.txt file for libraries and applications +# +# Author +# Henrik Rusche, Wikki GmbH, 2017. All rights reserved +# +# +# -------------------------------------------------------------------------- + +list(APPEND sources + porousInterFoam.C +) + +# Set minimal environment for external compilation +if(NOT FOAM_FOUND) + cmake_minimum_required(VERSION 2.8) + find_package(FOAM REQUIRED) +endif() + +add_foam_executable(porousInterFoam +# DEPENDS finiteVolume + SOURCES ${sources} +) diff --git a/applications/solvers/multiphase/settlingFoam/CMakeLists.txt b/applications/solvers/multiphase/settlingFoam/CMakeLists.txt new file mode 100644 index 000000000..c7c556ed9 --- /dev/null +++ b/applications/solvers/multiphase/settlingFoam/CMakeLists.txt @@ -0,0 +1,46 @@ +# -------------------------------------------------------------------------- +# ======== | +# \ / F ield | foam-extend: Open Source CFD +# \ / O peration | Version: 4.1 +# \ / A nd | Web: http://www.foam-extend.org +# \/ M anipulation | For copyright notice see file Copyright +# -------------------------------------------------------------------------- +# License +# This file is part of foam-extend. +# +# foam-extend 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 3 of the License, or {at your +# option} any later version. +# +# foam-extend 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 foam-extend. If not, see . +# +# Description +# CMakeLists.txt file for libraries and applications +# +# Author +# Henrik Rusche, Wikki GmbH, 2017. All rights reserved +# +# +# -------------------------------------------------------------------------- + +list(APPEND sources + settlingFoam.C +) + +# Set minimal environment for external compilation +if(NOT FOAM_FOUND) + cmake_minimum_required(VERSION 2.8) + find_package(FOAM REQUIRED) +endif() + +add_foam_executable(settlingFoam +# DEPENDS finiteVolume + SOURCES ${sources} +) diff --git a/applications/solvers/multiphase/twoLiquidMixingFoam/CMakeLists.txt b/applications/solvers/multiphase/twoLiquidMixingFoam/CMakeLists.txt new file mode 100644 index 000000000..711731760 --- /dev/null +++ b/applications/solvers/multiphase/twoLiquidMixingFoam/CMakeLists.txt @@ -0,0 +1,46 @@ +# -------------------------------------------------------------------------- +# ======== | +# \ / F ield | foam-extend: Open Source CFD +# \ / O peration | Version: 4.1 +# \ / A nd | Web: http://www.foam-extend.org +# \/ M anipulation | For copyright notice see file Copyright +# -------------------------------------------------------------------------- +# License +# This file is part of foam-extend. +# +# foam-extend 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 3 of the License, or {at your +# option} any later version. +# +# foam-extend 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 foam-extend. If not, see . +# +# Description +# CMakeLists.txt file for libraries and applications +# +# Author +# Henrik Rusche, Wikki GmbH, 2017. All rights reserved +# +# +# -------------------------------------------------------------------------- + +list(APPEND sources + twoLiquidMixingFoam.C +) + +# Set minimal environment for external compilation +if(NOT FOAM_FOUND) + cmake_minimum_required(VERSION 2.8) + find_package(FOAM REQUIRED) +endif() + +add_foam_executable(twoLiquidMixingFoam +# DEPENDS finiteVolume + SOURCES ${sources} +) diff --git a/applications/solvers/multiphase/twoPhaseEulerFoam/CMakeLists.txt b/applications/solvers/multiphase/twoPhaseEulerFoam/CMakeLists.txt new file mode 100644 index 000000000..895700b93 --- /dev/null +++ b/applications/solvers/multiphase/twoPhaseEulerFoam/CMakeLists.txt @@ -0,0 +1,34 @@ +# --------------------------------------------------------------------------# ======== | +# \ / F ield | foam-extend: Open Source CFD +# \ / O peration | Version: 4.1 +# \ / A nd | Web: http://www.foam-extend.org +# \/ M anipulation | For copyright notice see file Copyright +# -------------------------------------------------------------------------- +# License +# This file is part of foam-extend. +# +# foam-extend 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 3 of the License, or {at your +# option} any later version. +# +# foam-extend 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 foam-extend. If not, see . +# +# Description +# CMakeLists.txt file for libraries and applications +# +# Author +# Henrik Rusche, Wikki GmbH, 2017. All rights reserved +# +# +# -------------------------------------------------------------------------- + +add_subdirectory(interfacialModels) +add_subdirectory(phaseModel) +add_subdirectory(kineticTheoryModels) \ No newline at end of file diff --git a/applications/solvers/multiphase/twoPhaseEulerFoam/interfacialModels/CMakeLists.txt b/applications/solvers/multiphase/twoPhaseEulerFoam/interfacialModels/CMakeLists.txt new file mode 100644 index 000000000..247813536 --- /dev/null +++ b/applications/solvers/multiphase/twoPhaseEulerFoam/interfacialModels/CMakeLists.txt @@ -0,0 +1,49 @@ +# -------------------------------------------------------------------------- +# ======== | +# \ / F ield | foam-extend: Open Source CFD +# \ / O peration | Version: 4.1 +# \ / A nd | Web: http://www.foam-extend.org +# \/ M anipulation | For copyright notice see file Copyright +# -------------------------------------------------------------------------- +# License +# This file is part of foam-extend. +# +# foam-extend 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 3 of the License, or {at your +# option} any later version. +# +# foam-extend 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 foam-extend. If not, see . +# +# Description +# CMakeLists.txt file for libraries and applications +# +# Author +# Henrik Rusche, Wikki GmbH, 2017. All rights reserved +# +# +# -------------------------------------------------------------------------- + +list(APPEND sources + dragModels/dragModel/dragModel.C + dragModels/dragModel/newDragModel.C + dragModels/Ergun/Ergun.C + dragModels/GidaspowErgunWenYu/GidaspowErgunWenYu.C + dragModels/GidaspowSchillerNaumann/GidaspowSchillerNaumann.C + dragModels/SchillerNaumann/SchillerNaumann.C + dragModels/Gibilaro/Gibilaro.C + dragModels/WenYu/WenYu.C + dragModels/SyamlalOBrien/SyamlalOBrien.C +) + +add_foam_library(EulerianInterfacialModels SHARED ${sources}) + +# This is a prototype! Replace second argument with a list of the highest +# dependencies only. Inherited dependencies will be treated automatically. +#target_link_libraries(EulerianInterfacialModels finiteVolume) diff --git a/applications/solvers/multiphase/twoPhaseEulerFoam/kineticTheoryModels/CMakeLists.txt b/applications/solvers/multiphase/twoPhaseEulerFoam/kineticTheoryModels/CMakeLists.txt new file mode 100644 index 000000000..b46144113 --- /dev/null +++ b/applications/solvers/multiphase/twoPhaseEulerFoam/kineticTheoryModels/CMakeLists.txt @@ -0,0 +1,66 @@ +# -------------------------------------------------------------------------- +# ======== | +# \ / F ield | foam-extend: Open Source CFD +# \ / O peration | Version: 4.1 +# \ / A nd | Web: http://www.foam-extend.org +# \/ M anipulation | For copyright notice see file Copyright +# -------------------------------------------------------------------------- +# License +# This file is part of foam-extend. +# +# foam-extend 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 3 of the License, or {at your +# option} any later version. +# +# foam-extend 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 foam-extend. If not, see . +# +# Description +# CMakeLists.txt file for libraries and applications +# +# Author +# Henrik Rusche, Wikki GmbH, 2017. All rights reserved +# +# +# -------------------------------------------------------------------------- + +list(APPEND sources + kineticTheoryModel/kineticTheoryModel.C + viscosityModel/viscosityModel/kineticTheoryViscosityModel.C + viscosityModel/viscosityModel/newKineticTheoryViscosityModel.C + viscosityModel/Gidaspow/GidaspowViscosity.C + viscosityModel/Syamlal/SyamlalViscosity.C + viscosityModel/HrenyaSinclair/HrenyaSinclairViscosity.C + viscosityModel/none/noneViscosity.C + conductivityModel/conductivityModel/conductivityModel.C + conductivityModel/conductivityModel/newConductivityModel.C + conductivityModel/Gidaspow/GidaspowConductivity.C + conductivityModel/Syamlal/SyamlalConductivity.C + conductivityModel/HrenyaSinclair/HrenyaSinclairConductivity.C + radialModel/radialModel/radialModel.C + radialModel/radialModel/newRadialModel.C + radialModel/CarnahanStarling/CarnahanStarlingRadial.C + radialModel/Gidaspow/GidaspowRadial.C + radialModel/LunSavage/LunSavageRadial.C + radialModel/SinclairJackson/SinclairJacksonRadial.C + granularPressureModel/granularPressureModel/granularPressureModel.C + granularPressureModel/granularPressureModel/newGranularPressureModel.C + granularPressureModel/Lun/LunPressure.C + granularPressureModel/SyamlalRogersOBrien/SyamlalRogersOBrienPressure.C + frictionalStressModel/frictionalStressModel/frictionalStressModel.C + frictionalStressModel/frictionalStressModel/newFrictionalStressModel.C + frictionalStressModel/JohnsonJackson/JohnsonJacksonFrictionalStress.C + frictionalStressModel/Schaeffer/SchaefferFrictionalStress.C +) + +add_foam_library(kineticTheoryModel SHARED ${sources}) + +# This is a prototype! Replace second argument with a list of the highest +# dependencies only. Inherited dependencies will be treated automatically. +#target_link_libraries(kineticTheoryModel finiteVolume) diff --git a/applications/solvers/multiphase/twoPhaseEulerFoam/phaseModel/CMakeLists.txt b/applications/solvers/multiphase/twoPhaseEulerFoam/phaseModel/CMakeLists.txt new file mode 100644 index 000000000..2bd5b55ad --- /dev/null +++ b/applications/solvers/multiphase/twoPhaseEulerFoam/phaseModel/CMakeLists.txt @@ -0,0 +1,41 @@ +# -------------------------------------------------------------------------- +# ======== | +# \ / F ield | foam-extend: Open Source CFD +# \ / O peration | Version: 4.1 +# \ / A nd | Web: http://www.foam-extend.org +# \/ M anipulation | For copyright notice see file Copyright +# -------------------------------------------------------------------------- +# License +# This file is part of foam-extend. +# +# foam-extend 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 3 of the License, or {at your +# option} any later version. +# +# foam-extend 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 foam-extend. If not, see . +# +# Description +# CMakeLists.txt file for libraries and applications +# +# Author +# Henrik Rusche, Wikki GmbH, 2017. All rights reserved +# +# +# -------------------------------------------------------------------------- + +list(APPEND sources + phaseModel/phaseModel.C +) + +add_foam_library(phaseModel SHARED ${sources}) + +# This is a prototype! Replace second argument with a list of the highest +# dependencies only. Inherited dependencies will be treated automatically. +#target_link_libraries(phaseModel finiteVolume) diff --git a/applications/solvers/solidMechanics/CMakeLists.txt b/applications/solvers/solidMechanics/CMakeLists.txt new file mode 100644 index 000000000..d79cd8774 --- /dev/null +++ b/applications/solvers/solidMechanics/CMakeLists.txt @@ -0,0 +1,50 @@ +# --------------------------------------------------------------------------# ======== | +# \ / F ield | foam-extend: Open Source CFD +# \ / O peration | Version: 4.1 +# \ / A nd | Web: http://www.foam-extend.org +# \/ M anipulation | For copyright notice see file Copyright +# -------------------------------------------------------------------------- +# License +# This file is part of foam-extend. +# +# foam-extend 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 3 of the License, or {at your +# option} any later version. +# +# foam-extend 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 foam-extend. If not, see . +# +# Description +# CMakeLists.txt file for libraries and applications +# +# Author +# Henrik Rusche, Wikki GmbH, 2017. All rights reserved +# +# +# -------------------------------------------------------------------------- + +add_subdirectory(elasticThermalSolidFoam) +add_subdirectory(elasticOrthoAcpSolidFoam) +add_subdirectory(elasticIncrSolidFoam) +add_subdirectory(viscoElasticSolidFoam) +add_subdirectory(elasticSolidFoam) +add_subdirectory(elasticAcpSolidFoam) +add_subdirectory(icoFsiElasticNonLinULSolidFoam) +add_subdirectory(elasticOrthoNonLinULSolidFoam) +add_subdirectory(utilities) +add_subdirectory(deprecatedSolvers) +add_subdirectory(elasticPlasticNonLinTLSolidFoam) +add_subdirectory(elasticNonLinTLSolidFoam) +add_subdirectory(elasticOrthoSolidFoam) +add_subdirectory(stressFemFoam) +add_subdirectory(elasticNonLinULSolidFoam) +add_subdirectory(elasticNonLinIncrTLSolidFoam) +add_subdirectory(elasticPlasticSolidFoam) +add_subdirectory(elasticIncrAcpSolidFoam) +add_subdirectory(elasticPlasticNonLinULSolidFoam) \ No newline at end of file diff --git a/applications/solvers/solidMechanics/deprecatedSolvers/CMakeLists.txt b/applications/solvers/solidMechanics/deprecatedSolvers/CMakeLists.txt new file mode 100644 index 000000000..5377a1c8a --- /dev/null +++ b/applications/solvers/solidMechanics/deprecatedSolvers/CMakeLists.txt @@ -0,0 +1,39 @@ +# --------------------------------------------------------------------------# ======== | +# \ / F ield | foam-extend: Open Source CFD +# \ / O peration | Version: 4.1 +# \ / A nd | Web: http://www.foam-extend.org +# \/ M anipulation | For copyright notice see file Copyright +# -------------------------------------------------------------------------- +# License +# This file is part of foam-extend. +# +# foam-extend 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 3 of the License, or {at your +# option} any later version. +# +# foam-extend 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 foam-extend. If not, see . +# +# Description +# CMakeLists.txt file for libraries and applications +# +# Author +# Henrik Rusche, Wikki GmbH, 2017. All rights reserved +# +# +# -------------------------------------------------------------------------- + +add_subdirectory(materialModels) +add_subdirectory(newStressedFoam) +add_subdirectory(stressedFoam) +add_subdirectory(solidDisplacementFoam) +add_subdirectory(contactStressFoam) +add_subdirectory(newContactStressFoam) +add_subdirectory(solidEquilibriumDisplacementFoam) +add_subdirectory(icoFsiFoam) \ No newline at end of file diff --git a/applications/solvers/solidMechanics/deprecatedSolvers/contactStressFoam/CMakeLists.txt b/applications/solvers/solidMechanics/deprecatedSolvers/contactStressFoam/CMakeLists.txt new file mode 100644 index 000000000..21a815cf7 --- /dev/null +++ b/applications/solvers/solidMechanics/deprecatedSolvers/contactStressFoam/CMakeLists.txt @@ -0,0 +1,49 @@ +# -------------------------------------------------------------------------- +# ======== | +# \ / F ield | foam-extend: Open Source CFD +# \ / O peration | Version: 4.1 +# \ / A nd | Web: http://www.foam-extend.org +# \/ M anipulation | For copyright notice see file Copyright +# -------------------------------------------------------------------------- +# License +# This file is part of foam-extend. +# +# foam-extend 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 3 of the License, or {at your +# option} any later version. +# +# foam-extend 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 foam-extend. If not, see . +# +# Description +# CMakeLists.txt file for libraries and applications +# +# Author +# Henrik Rusche, Wikki GmbH, 2017. All rights reserved +# +# +# -------------------------------------------------------------------------- + +list(APPEND sources + contactPatchPair.C + contactPatchPairUpdateContact.C + contactPatchPairSlavePressure.C + contactStressFoam.C +) + +# Set minimal environment for external compilation +if(NOT FOAM_FOUND) + cmake_minimum_required(VERSION 2.8) + find_package(FOAM REQUIRED) +endif() + +add_foam_executable(contactStressFoam +# DEPENDS finiteVolume + SOURCES ${sources} +) diff --git a/applications/solvers/solidMechanics/deprecatedSolvers/icoFsiFoam/CMakeLists.txt b/applications/solvers/solidMechanics/deprecatedSolvers/icoFsiFoam/CMakeLists.txt new file mode 100644 index 000000000..ff4e0ec22 --- /dev/null +++ b/applications/solvers/solidMechanics/deprecatedSolvers/icoFsiFoam/CMakeLists.txt @@ -0,0 +1,47 @@ +# -------------------------------------------------------------------------- +# ======== | +# \ / F ield | foam-extend: Open Source CFD +# \ / O peration | Version: 4.1 +# \ / A nd | Web: http://www.foam-extend.org +# \/ M anipulation | For copyright notice see file Copyright +# -------------------------------------------------------------------------- +# License +# This file is part of foam-extend. +# +# foam-extend 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 3 of the License, or {at your +# option} any later version. +# +# foam-extend 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 foam-extend. If not, see . +# +# Description +# CMakeLists.txt file for libraries and applications +# +# Author +# Henrik Rusche, Wikki GmbH, 2017. All rights reserved +# +# +# -------------------------------------------------------------------------- + +list(APPEND sources + tractionDisplacement/tractionDisplacementFvPatchVectorField.C + icoFsiFoam.C +) + +# Set minimal environment for external compilation +if(NOT FOAM_FOUND) + cmake_minimum_required(VERSION 2.8) + find_package(FOAM REQUIRED) +endif() + +add_foam_executable(icoFsiFoam +# DEPENDS finiteVolume + SOURCES ${sources} +) diff --git a/applications/solvers/solidMechanics/deprecatedSolvers/materialModels/CMakeLists.txt b/applications/solvers/solidMechanics/deprecatedSolvers/materialModels/CMakeLists.txt new file mode 100644 index 000000000..dfacebd02 --- /dev/null +++ b/applications/solvers/solidMechanics/deprecatedSolvers/materialModels/CMakeLists.txt @@ -0,0 +1,73 @@ +# -------------------------------------------------------------------------- +# ======== | +# \ / F ield | foam-extend: Open Source CFD +# \ / O peration | Version: 4.1 +# \ / A nd | Web: http://www.foam-extend.org +# \/ M anipulation | For copyright notice see file Copyright +# -------------------------------------------------------------------------- +# License +# This file is part of foam-extend. +# +# foam-extend 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 3 of the License, or {at your +# option} any later version. +# +# foam-extend 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 foam-extend. If not, see . +# +# Description +# CMakeLists.txt file for libraries and applications +# +# Author +# Henrik Rusche, Wikki GmbH, 2017. All rights reserved +# +# +# -------------------------------------------------------------------------- + +list(APPEND sources + rheologyModel/rheologyModel.C +) +set(rheologyLaws rheologyModel/rheologyLaws) + +list(APPEND sources + ${rheologyLaws}/rheologyLaw/rheologyLaw.C + ${rheologyLaws}/rheologyLaw/newRheologyLaw.C + ${rheologyLaws}/linearElastic/linearElastic.C + ${rheologyLaws}/multiMaterial/multiMaterial.C + ${rheologyLaws}/MaxwellViscoelastic/MaxwellViscoelastic.C + ${rheologyLaws}/BurgersViscoelastic/BurgersViscoelastic.C + ${rheologyLaws}/KelvinSLSViscoelastic/KelvinSLSViscoelastic.C + ${rheologyLaws}/MaxwellSLSViscoelastic/MaxwellSLSViscoelastic.C + ${rheologyLaws}/MaxwellElasticViscoelastic/MaxwellElasticViscoelastic.C + ${rheologyLaws}/PronyViscoelastic/PronyViscoelastic.C + thermalModel/thermalModel.C +) +set(thermalLaws thermalModel/thermalLaws) + +list(APPEND sources + ${thermalLaws}/thermalLaw/thermalLaw.C + ${thermalLaws}/thermalLaw/newThermalLaw.C + ${thermalLaws}/constantThermal/constantThermal.C + ${thermalLaws}/multiMaterialThermal/multiMaterialThermal.C + cohesiveLaws/cohesiveLaw/cohesiveLaw.C + cohesiveLaws/Dugdale/DugdaleCohesiveLaw.C + cohesiveLaws/linear/linearCohesiveLaw.C + fvPatchFields/tractionDisplacement/tractionDisplacementFvPatchVectorField.C + fvPatchFields/tractionDisplacementThermo/tractionDisplacementThermoFvPatchVectorField.C + fvPatchFields/nusselt/nusseltFvPatchScalarField.C + fvPatchFields/newDirectionMixed/newDirectionMixedFvPatchFields.C + fvPatchFields/cohesiveLaw/cohesiveLawFvPatchVectorField.C + fvPatchFields/cohesiveZone/cohesiveZoneFvPatchVectorField.C +) + +add_foam_library(materialModels SHARED ${sources}) + +# This is a prototype! Replace second argument with a list of the highest +# dependencies only. Inherited dependencies will be treated automatically. +#target_link_libraries(materialModels finiteVolume) diff --git a/applications/solvers/solidMechanics/deprecatedSolvers/newContactStressFoam/CMakeLists.txt b/applications/solvers/solidMechanics/deprecatedSolvers/newContactStressFoam/CMakeLists.txt new file mode 100644 index 000000000..41f392207 --- /dev/null +++ b/applications/solvers/solidMechanics/deprecatedSolvers/newContactStressFoam/CMakeLists.txt @@ -0,0 +1,48 @@ +# -------------------------------------------------------------------------- +# ======== | +# \ / F ield | foam-extend: Open Source CFD +# \ / O peration | Version: 4.1 +# \ / A nd | Web: http://www.foam-extend.org +# \/ M anipulation | For copyright notice see file Copyright +# -------------------------------------------------------------------------- +# License +# This file is part of foam-extend. +# +# foam-extend 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 3 of the License, or {at your +# option} any later version. +# +# foam-extend 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 foam-extend. If not, see . +# +# Description +# CMakeLists.txt file for libraries and applications +# +# Author +# Henrik Rusche, Wikki GmbH, 2017. All rights reserved +# +# +# -------------------------------------------------------------------------- + +list(APPEND sources + contactProblem.C + contactPatchPair.C + newContactStressFoam.C +) + +# Set minimal environment for external compilation +if(NOT FOAM_FOUND) + cmake_minimum_required(VERSION 2.8) + find_package(FOAM REQUIRED) +endif() + +add_foam_executable(newContactStressFoam +# DEPENDS finiteVolume + SOURCES ${sources} +) diff --git a/applications/solvers/solidMechanics/deprecatedSolvers/newStressedFoam/CMakeLists.txt b/applications/solvers/solidMechanics/deprecatedSolvers/newStressedFoam/CMakeLists.txt new file mode 100644 index 000000000..362924442 --- /dev/null +++ b/applications/solvers/solidMechanics/deprecatedSolvers/newStressedFoam/CMakeLists.txt @@ -0,0 +1,46 @@ +# -------------------------------------------------------------------------- +# ======== | +# \ / F ield | foam-extend: Open Source CFD +# \ / O peration | Version: 4.1 +# \ / A nd | Web: http://www.foam-extend.org +# \/ M anipulation | For copyright notice see file Copyright +# -------------------------------------------------------------------------- +# License +# This file is part of foam-extend. +# +# foam-extend 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 3 of the License, or {at your +# option} any later version. +# +# foam-extend 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 foam-extend. If not, see . +# +# Description +# CMakeLists.txt file for libraries and applications +# +# Author +# Henrik Rusche, Wikki GmbH, 2017. All rights reserved +# +# +# -------------------------------------------------------------------------- + +list(APPEND sources + newStressedFoam.C +) + +# Set minimal environment for external compilation +if(NOT FOAM_FOUND) + cmake_minimum_required(VERSION 2.8) + find_package(FOAM REQUIRED) +endif() + +add_foam_executable(newStressedFoam +# DEPENDS finiteVolume + SOURCES ${sources} +) diff --git a/applications/solvers/solidMechanics/deprecatedSolvers/solidDisplacementFoam/CMakeLists.txt b/applications/solvers/solidMechanics/deprecatedSolvers/solidDisplacementFoam/CMakeLists.txt new file mode 100644 index 000000000..2de19658b --- /dev/null +++ b/applications/solvers/solidMechanics/deprecatedSolvers/solidDisplacementFoam/CMakeLists.txt @@ -0,0 +1,47 @@ +# -------------------------------------------------------------------------- +# ======== | +# \ / F ield | foam-extend: Open Source CFD +# \ / O peration | Version: 4.1 +# \ / A nd | Web: http://www.foam-extend.org +# \/ M anipulation | For copyright notice see file Copyright +# -------------------------------------------------------------------------- +# License +# This file is part of foam-extend. +# +# foam-extend 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 3 of the License, or {at your +# option} any later version. +# +# foam-extend 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 foam-extend. If not, see . +# +# Description +# CMakeLists.txt file for libraries and applications +# +# Author +# Henrik Rusche, Wikki GmbH, 2017. All rights reserved +# +# +# -------------------------------------------------------------------------- + +list(APPEND sources + tractionDisplacement/tractionDisplacementFvPatchVectorField.C + solidDisplacementFoam.C +) + +# Set minimal environment for external compilation +if(NOT FOAM_FOUND) + cmake_minimum_required(VERSION 2.8) + find_package(FOAM REQUIRED) +endif() + +add_foam_executable(solidDisplacementFoam +# DEPENDS finiteVolume + SOURCES ${sources} +) diff --git a/applications/solvers/solidMechanics/deprecatedSolvers/solidEquilibriumDisplacementFoam/CMakeLists.txt b/applications/solvers/solidMechanics/deprecatedSolvers/solidEquilibriumDisplacementFoam/CMakeLists.txt new file mode 100644 index 000000000..c2bf131a6 --- /dev/null +++ b/applications/solvers/solidMechanics/deprecatedSolvers/solidEquilibriumDisplacementFoam/CMakeLists.txt @@ -0,0 +1,47 @@ +# -------------------------------------------------------------------------- +# ======== | +# \ / F ield | foam-extend: Open Source CFD +# \ / O peration | Version: 4.1 +# \ / A nd | Web: http://www.foam-extend.org +# \/ M anipulation | For copyright notice see file Copyright +# -------------------------------------------------------------------------- +# License +# This file is part of foam-extend. +# +# foam-extend 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 3 of the License, or {at your +# option} any later version. +# +# foam-extend 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 foam-extend. If not, see . +# +# Description +# CMakeLists.txt file for libraries and applications +# +# Author +# Henrik Rusche, Wikki GmbH, 2017. All rights reserved +# +# +# -------------------------------------------------------------------------- + +list(APPEND sources + tractionDisplacementCorrection/tractionDisplacementCorrectionFvPatchVectorField.C + solidEquilibriumDisplacementFoam.C +) + +# Set minimal environment for external compilation +if(NOT FOAM_FOUND) + cmake_minimum_required(VERSION 2.8) + find_package(FOAM REQUIRED) +endif() + +add_foam_executable(solidEquiriumDisplacementFoam +# DEPENDS finiteVolume + SOURCES ${sources} +) diff --git a/applications/solvers/solidMechanics/deprecatedSolvers/stressedFoam/CMakeLists.txt b/applications/solvers/solidMechanics/deprecatedSolvers/stressedFoam/CMakeLists.txt new file mode 100644 index 000000000..b1d3bf8ad --- /dev/null +++ b/applications/solvers/solidMechanics/deprecatedSolvers/stressedFoam/CMakeLists.txt @@ -0,0 +1,47 @@ +# -------------------------------------------------------------------------- +# ======== | +# \ / F ield | foam-extend: Open Source CFD +# \ / O peration | Version: 4.1 +# \ / A nd | Web: http://www.foam-extend.org +# \/ M anipulation | For copyright notice see file Copyright +# -------------------------------------------------------------------------- +# License +# This file is part of foam-extend. +# +# foam-extend 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 3 of the License, or {at your +# option} any later version. +# +# foam-extend 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 foam-extend. If not, see . +# +# Description +# CMakeLists.txt file for libraries and applications +# +# Author +# Henrik Rusche, Wikki GmbH, 2017. All rights reserved +# +# +# -------------------------------------------------------------------------- + +list(APPEND sources + tractionDisplacement/tractionDisplacementFvPatchVectorField.C + stressedFoam.C +) + +# Set minimal environment for external compilation +if(NOT FOAM_FOUND) + cmake_minimum_required(VERSION 2.8) + find_package(FOAM REQUIRED) +endif() + +add_foam_executable(stressedFoam +# DEPENDS finiteVolume + SOURCES ${sources} +) diff --git a/applications/solvers/solidMechanics/elasticAcpSolidFoam/CMakeLists.txt b/applications/solvers/solidMechanics/elasticAcpSolidFoam/CMakeLists.txt new file mode 100644 index 000000000..38bac0f16 --- /dev/null +++ b/applications/solvers/solidMechanics/elasticAcpSolidFoam/CMakeLists.txt @@ -0,0 +1,46 @@ +# -------------------------------------------------------------------------- +# ======== | +# \ / F ield | foam-extend: Open Source CFD +# \ / O peration | Version: 4.1 +# \ / A nd | Web: http://www.foam-extend.org +# \/ M anipulation | For copyright notice see file Copyright +# -------------------------------------------------------------------------- +# License +# This file is part of foam-extend. +# +# foam-extend 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 3 of the License, or {at your +# option} any later version. +# +# foam-extend 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 foam-extend. If not, see . +# +# Description +# CMakeLists.txt file for libraries and applications +# +# Author +# Henrik Rusche, Wikki GmbH, 2017. All rights reserved +# +# +# -------------------------------------------------------------------------- + +list(APPEND sources + elasticAcpSolidFoam.C +) + +# Set minimal environment for external compilation +if(NOT FOAM_FOUND) + cmake_minimum_required(VERSION 2.8) + find_package(FOAM REQUIRED) +endif() + +add_foam_executable(elasticAcpSolidFoam +# DEPENDS finiteVolume + SOURCES ${sources} +) diff --git a/applications/solvers/solidMechanics/elasticIncrAcpSolidFoam/CMakeLists.txt b/applications/solvers/solidMechanics/elasticIncrAcpSolidFoam/CMakeLists.txt new file mode 100644 index 000000000..cbe8e5cf1 --- /dev/null +++ b/applications/solvers/solidMechanics/elasticIncrAcpSolidFoam/CMakeLists.txt @@ -0,0 +1,46 @@ +# -------------------------------------------------------------------------- +# ======== | +# \ / F ield | foam-extend: Open Source CFD +# \ / O peration | Version: 4.1 +# \ / A nd | Web: http://www.foam-extend.org +# \/ M anipulation | For copyright notice see file Copyright +# -------------------------------------------------------------------------- +# License +# This file is part of foam-extend. +# +# foam-extend 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 3 of the License, or {at your +# option} any later version. +# +# foam-extend 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 foam-extend. If not, see . +# +# Description +# CMakeLists.txt file for libraries and applications +# +# Author +# Henrik Rusche, Wikki GmbH, 2017. All rights reserved +# +# +# -------------------------------------------------------------------------- + +list(APPEND sources + elasticIncrAcpSolidFoam.C +) + +# Set minimal environment for external compilation +if(NOT FOAM_FOUND) + cmake_minimum_required(VERSION 2.8) + find_package(FOAM REQUIRED) +endif() + +add_foam_executable(elasticIncrAcpSolidFoam +# DEPENDS finiteVolume + SOURCES ${sources} +) diff --git a/applications/solvers/solidMechanics/elasticIncrSolidFoam/CMakeLists.txt b/applications/solvers/solidMechanics/elasticIncrSolidFoam/CMakeLists.txt new file mode 100644 index 000000000..1b424e9ea --- /dev/null +++ b/applications/solvers/solidMechanics/elasticIncrSolidFoam/CMakeLists.txt @@ -0,0 +1,46 @@ +# -------------------------------------------------------------------------- +# ======== | +# \ / F ield | foam-extend: Open Source CFD +# \ / O peration | Version: 4.1 +# \ / A nd | Web: http://www.foam-extend.org +# \/ M anipulation | For copyright notice see file Copyright +# -------------------------------------------------------------------------- +# License +# This file is part of foam-extend. +# +# foam-extend 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 3 of the License, or {at your +# option} any later version. +# +# foam-extend 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 foam-extend. If not, see . +# +# Description +# CMakeLists.txt file for libraries and applications +# +# Author +# Henrik Rusche, Wikki GmbH, 2017. All rights reserved +# +# +# -------------------------------------------------------------------------- + +list(APPEND sources + elasticIncrSolidFoam.C +) + +# Set minimal environment for external compilation +if(NOT FOAM_FOUND) + cmake_minimum_required(VERSION 2.8) + find_package(FOAM REQUIRED) +endif() + +add_foam_executable(elasticIncrSolidFoam +# DEPENDS finiteVolume + SOURCES ${sources} +) diff --git a/applications/solvers/solidMechanics/elasticNonLinIncrTLSolidFoam/CMakeLists.txt b/applications/solvers/solidMechanics/elasticNonLinIncrTLSolidFoam/CMakeLists.txt new file mode 100644 index 000000000..53a86fb1b --- /dev/null +++ b/applications/solvers/solidMechanics/elasticNonLinIncrTLSolidFoam/CMakeLists.txt @@ -0,0 +1,46 @@ +# -------------------------------------------------------------------------- +# ======== | +# \ / F ield | foam-extend: Open Source CFD +# \ / O peration | Version: 4.1 +# \ / A nd | Web: http://www.foam-extend.org +# \/ M anipulation | For copyright notice see file Copyright +# -------------------------------------------------------------------------- +# License +# This file is part of foam-extend. +# +# foam-extend 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 3 of the License, or {at your +# option} any later version. +# +# foam-extend 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 foam-extend. If not, see . +# +# Description +# CMakeLists.txt file for libraries and applications +# +# Author +# Henrik Rusche, Wikki GmbH, 2017. All rights reserved +# +# +# -------------------------------------------------------------------------- + +list(APPEND sources + elasticNonLinIncrTLSolidFoam.C +) + +# Set minimal environment for external compilation +if(NOT FOAM_FOUND) + cmake_minimum_required(VERSION 2.8) + find_package(FOAM REQUIRED) +endif() + +add_foam_executable(elasticNonLinIncrTLSolidFoam +# DEPENDS finiteVolume + SOURCES ${sources} +) diff --git a/applications/solvers/solidMechanics/elasticNonLinTLSolidFoam/CMakeLists.txt b/applications/solvers/solidMechanics/elasticNonLinTLSolidFoam/CMakeLists.txt new file mode 100644 index 000000000..5bf44b6bc --- /dev/null +++ b/applications/solvers/solidMechanics/elasticNonLinTLSolidFoam/CMakeLists.txt @@ -0,0 +1,46 @@ +# -------------------------------------------------------------------------- +# ======== | +# \ / F ield | foam-extend: Open Source CFD +# \ / O peration | Version: 4.1 +# \ / A nd | Web: http://www.foam-extend.org +# \/ M anipulation | For copyright notice see file Copyright +# -------------------------------------------------------------------------- +# License +# This file is part of foam-extend. +# +# foam-extend 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 3 of the License, or {at your +# option} any later version. +# +# foam-extend 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 foam-extend. If not, see . +# +# Description +# CMakeLists.txt file for libraries and applications +# +# Author +# Henrik Rusche, Wikki GmbH, 2017. All rights reserved +# +# +# -------------------------------------------------------------------------- + +list(APPEND sources + elasticNonLinTLSolidFoam.C +) + +# Set minimal environment for external compilation +if(NOT FOAM_FOUND) + cmake_minimum_required(VERSION 2.8) + find_package(FOAM REQUIRED) +endif() + +add_foam_executable(elasticNonLinTLSolidFoam +# DEPENDS finiteVolume + SOURCES ${sources} +) diff --git a/applications/solvers/solidMechanics/elasticNonLinULSolidFoam/CMakeLists.txt b/applications/solvers/solidMechanics/elasticNonLinULSolidFoam/CMakeLists.txt new file mode 100644 index 000000000..01873f032 --- /dev/null +++ b/applications/solvers/solidMechanics/elasticNonLinULSolidFoam/CMakeLists.txt @@ -0,0 +1,46 @@ +# -------------------------------------------------------------------------- +# ======== | +# \ / F ield | foam-extend: Open Source CFD +# \ / O peration | Version: 4.1 +# \ / A nd | Web: http://www.foam-extend.org +# \/ M anipulation | For copyright notice see file Copyright +# -------------------------------------------------------------------------- +# License +# This file is part of foam-extend. +# +# foam-extend 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 3 of the License, or {at your +# option} any later version. +# +# foam-extend 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 foam-extend. If not, see . +# +# Description +# CMakeLists.txt file for libraries and applications +# +# Author +# Henrik Rusche, Wikki GmbH, 2017. All rights reserved +# +# +# -------------------------------------------------------------------------- + +list(APPEND sources + elasticNonLinULSolidFoam.C +) + +# Set minimal environment for external compilation +if(NOT FOAM_FOUND) + cmake_minimum_required(VERSION 2.8) + find_package(FOAM REQUIRED) +endif() + +add_foam_executable(elasticNonLinULSolidFoam +# DEPENDS finiteVolume + SOURCES ${sources} +) diff --git a/applications/solvers/solidMechanics/elasticOrthoAcpSolidFoam/CMakeLists.txt b/applications/solvers/solidMechanics/elasticOrthoAcpSolidFoam/CMakeLists.txt new file mode 100644 index 000000000..89bea1720 --- /dev/null +++ b/applications/solvers/solidMechanics/elasticOrthoAcpSolidFoam/CMakeLists.txt @@ -0,0 +1,46 @@ +# -------------------------------------------------------------------------- +# ======== | +# \ / F ield | foam-extend: Open Source CFD +# \ / O peration | Version: 4.1 +# \ / A nd | Web: http://www.foam-extend.org +# \/ M anipulation | For copyright notice see file Copyright +# -------------------------------------------------------------------------- +# License +# This file is part of foam-extend. +# +# foam-extend 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 3 of the License, or {at your +# option} any later version. +# +# foam-extend 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 foam-extend. If not, see . +# +# Description +# CMakeLists.txt file for libraries and applications +# +# Author +# Henrik Rusche, Wikki GmbH, 2017. All rights reserved +# +# +# -------------------------------------------------------------------------- + +list(APPEND sources + elasticOrthoAcpSolidFoam.C +) + +# Set minimal environment for external compilation +if(NOT FOAM_FOUND) + cmake_minimum_required(VERSION 2.8) + find_package(FOAM REQUIRED) +endif() + +add_foam_executable(elasticOrthoAcpSolidFoam +# DEPENDS finiteVolume + SOURCES ${sources} +) diff --git a/applications/solvers/solidMechanics/elasticOrthoNonLinULSolidFoam/CMakeLists.txt b/applications/solvers/solidMechanics/elasticOrthoNonLinULSolidFoam/CMakeLists.txt new file mode 100644 index 000000000..8fecb32ef --- /dev/null +++ b/applications/solvers/solidMechanics/elasticOrthoNonLinULSolidFoam/CMakeLists.txt @@ -0,0 +1,46 @@ +# -------------------------------------------------------------------------- +# ======== | +# \ / F ield | foam-extend: Open Source CFD +# \ / O peration | Version: 4.1 +# \ / A nd | Web: http://www.foam-extend.org +# \/ M anipulation | For copyright notice see file Copyright +# -------------------------------------------------------------------------- +# License +# This file is part of foam-extend. +# +# foam-extend 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 3 of the License, or {at your +# option} any later version. +# +# foam-extend 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 foam-extend. If not, see . +# +# Description +# CMakeLists.txt file for libraries and applications +# +# Author +# Henrik Rusche, Wikki GmbH, 2017. All rights reserved +# +# +# -------------------------------------------------------------------------- + +list(APPEND sources + elasticOrthoNonLinULSolidFoam.C +) + +# Set minimal environment for external compilation +if(NOT FOAM_FOUND) + cmake_minimum_required(VERSION 2.8) + find_package(FOAM REQUIRED) +endif() + +add_foam_executable(elasticOrthoNonLinULSolidFoam +# DEPENDS finiteVolume + SOURCES ${sources} +) diff --git a/applications/solvers/solidMechanics/elasticOrthoSolidFoam/CMakeLists.txt b/applications/solvers/solidMechanics/elasticOrthoSolidFoam/CMakeLists.txt new file mode 100644 index 000000000..1ff5801f0 --- /dev/null +++ b/applications/solvers/solidMechanics/elasticOrthoSolidFoam/CMakeLists.txt @@ -0,0 +1,46 @@ +# -------------------------------------------------------------------------- +# ======== | +# \ / F ield | foam-extend: Open Source CFD +# \ / O peration | Version: 4.1 +# \ / A nd | Web: http://www.foam-extend.org +# \/ M anipulation | For copyright notice see file Copyright +# -------------------------------------------------------------------------- +# License +# This file is part of foam-extend. +# +# foam-extend 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 3 of the License, or {at your +# option} any later version. +# +# foam-extend 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 foam-extend. If not, see . +# +# Description +# CMakeLists.txt file for libraries and applications +# +# Author +# Henrik Rusche, Wikki GmbH, 2017. All rights reserved +# +# +# -------------------------------------------------------------------------- + +list(APPEND sources + elasticOrthoSolidFoam.C +) + +# Set minimal environment for external compilation +if(NOT FOAM_FOUND) + cmake_minimum_required(VERSION 2.8) + find_package(FOAM REQUIRED) +endif() + +add_foam_executable(elasticOrthoSolidFoam +# DEPENDS finiteVolume + SOURCES ${sources} +) diff --git a/applications/solvers/solidMechanics/elasticPlasticNonLinTLSolidFoam/CMakeLists.txt b/applications/solvers/solidMechanics/elasticPlasticNonLinTLSolidFoam/CMakeLists.txt new file mode 100644 index 000000000..97814f53c --- /dev/null +++ b/applications/solvers/solidMechanics/elasticPlasticNonLinTLSolidFoam/CMakeLists.txt @@ -0,0 +1,46 @@ +# -------------------------------------------------------------------------- +# ======== | +# \ / F ield | foam-extend: Open Source CFD +# \ / O peration | Version: 4.1 +# \ / A nd | Web: http://www.foam-extend.org +# \/ M anipulation | For copyright notice see file Copyright +# -------------------------------------------------------------------------- +# License +# This file is part of foam-extend. +# +# foam-extend 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 3 of the License, or {at your +# option} any later version. +# +# foam-extend 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 foam-extend. If not, see . +# +# Description +# CMakeLists.txt file for libraries and applications +# +# Author +# Henrik Rusche, Wikki GmbH, 2017. All rights reserved +# +# +# -------------------------------------------------------------------------- + +list(APPEND sources + elasticPlasticNonLinTLSolidFoam.C +) + +# Set minimal environment for external compilation +if(NOT FOAM_FOUND) + cmake_minimum_required(VERSION 2.8) + find_package(FOAM REQUIRED) +endif() + +add_foam_executable(elasticPlasticNonLinTLSolidFoam +# DEPENDS finiteVolume + SOURCES ${sources} +) diff --git a/applications/solvers/solidMechanics/elasticPlasticNonLinULSolidFoam/CMakeLists.txt b/applications/solvers/solidMechanics/elasticPlasticNonLinULSolidFoam/CMakeLists.txt new file mode 100644 index 000000000..5321d82fd --- /dev/null +++ b/applications/solvers/solidMechanics/elasticPlasticNonLinULSolidFoam/CMakeLists.txt @@ -0,0 +1,46 @@ +# -------------------------------------------------------------------------- +# ======== | +# \ / F ield | foam-extend: Open Source CFD +# \ / O peration | Version: 4.1 +# \ / A nd | Web: http://www.foam-extend.org +# \/ M anipulation | For copyright notice see file Copyright +# -------------------------------------------------------------------------- +# License +# This file is part of foam-extend. +# +# foam-extend 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 3 of the License, or {at your +# option} any later version. +# +# foam-extend 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 foam-extend. If not, see . +# +# Description +# CMakeLists.txt file for libraries and applications +# +# Author +# Henrik Rusche, Wikki GmbH, 2017. All rights reserved +# +# +# -------------------------------------------------------------------------- + +list(APPEND sources + elasticPlasticNonLinULSolidFoam.C +) + +# Set minimal environment for external compilation +if(NOT FOAM_FOUND) + cmake_minimum_required(VERSION 2.8) + find_package(FOAM REQUIRED) +endif() + +add_foam_executable(elasticPlasticNonLinULSolidFoam +# DEPENDS finiteVolume + SOURCES ${sources} +) diff --git a/applications/solvers/solidMechanics/elasticPlasticSolidFoam/CMakeLists.txt b/applications/solvers/solidMechanics/elasticPlasticSolidFoam/CMakeLists.txt new file mode 100644 index 000000000..224b01c77 --- /dev/null +++ b/applications/solvers/solidMechanics/elasticPlasticSolidFoam/CMakeLists.txt @@ -0,0 +1,46 @@ +# -------------------------------------------------------------------------- +# ======== | +# \ / F ield | foam-extend: Open Source CFD +# \ / O peration | Version: 4.1 +# \ / A nd | Web: http://www.foam-extend.org +# \/ M anipulation | For copyright notice see file Copyright +# -------------------------------------------------------------------------- +# License +# This file is part of foam-extend. +# +# foam-extend 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 3 of the License, or {at your +# option} any later version. +# +# foam-extend 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 foam-extend. If not, see . +# +# Description +# CMakeLists.txt file for libraries and applications +# +# Author +# Henrik Rusche, Wikki GmbH, 2017. All rights reserved +# +# +# -------------------------------------------------------------------------- + +list(APPEND sources + elasticPlasticSolidFoam.C +) + +# Set minimal environment for external compilation +if(NOT FOAM_FOUND) + cmake_minimum_required(VERSION 2.8) + find_package(FOAM REQUIRED) +endif() + +add_foam_executable(elasticPlasticSolidFoam +# DEPENDS finiteVolume + SOURCES ${sources} +) diff --git a/applications/solvers/solidMechanics/elasticSolidFoam/CMakeLists.txt b/applications/solvers/solidMechanics/elasticSolidFoam/CMakeLists.txt new file mode 100644 index 000000000..d4e4b2fa4 --- /dev/null +++ b/applications/solvers/solidMechanics/elasticSolidFoam/CMakeLists.txt @@ -0,0 +1,46 @@ +# -------------------------------------------------------------------------- +# ======== | +# \ / F ield | foam-extend: Open Source CFD +# \ / O peration | Version: 4.1 +# \ / A nd | Web: http://www.foam-extend.org +# \/ M anipulation | For copyright notice see file Copyright +# -------------------------------------------------------------------------- +# License +# This file is part of foam-extend. +# +# foam-extend 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 3 of the License, or {at your +# option} any later version. +# +# foam-extend 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 foam-extend. If not, see . +# +# Description +# CMakeLists.txt file for libraries and applications +# +# Author +# Henrik Rusche, Wikki GmbH, 2017. All rights reserved +# +# +# -------------------------------------------------------------------------- + +list(APPEND sources + elasticSolidFoam.C +) + +# Set minimal environment for external compilation +if(NOT FOAM_FOUND) + cmake_minimum_required(VERSION 2.8) + find_package(FOAM REQUIRED) +endif() + +add_foam_executable(elasticSolidFoam +# DEPENDS finiteVolume + SOURCES ${sources} +) diff --git a/applications/solvers/solidMechanics/elasticThermalSolidFoam/CMakeLists.txt b/applications/solvers/solidMechanics/elasticThermalSolidFoam/CMakeLists.txt new file mode 100644 index 000000000..06a8c4791 --- /dev/null +++ b/applications/solvers/solidMechanics/elasticThermalSolidFoam/CMakeLists.txt @@ -0,0 +1,46 @@ +# -------------------------------------------------------------------------- +# ======== | +# \ / F ield | foam-extend: Open Source CFD +# \ / O peration | Version: 4.1 +# \ / A nd | Web: http://www.foam-extend.org +# \/ M anipulation | For copyright notice see file Copyright +# -------------------------------------------------------------------------- +# License +# This file is part of foam-extend. +# +# foam-extend 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 3 of the License, or {at your +# option} any later version. +# +# foam-extend 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 foam-extend. If not, see . +# +# Description +# CMakeLists.txt file for libraries and applications +# +# Author +# Henrik Rusche, Wikki GmbH, 2017. All rights reserved +# +# +# -------------------------------------------------------------------------- + +list(APPEND sources + elasticThermalSolidFoam.C +) + +# Set minimal environment for external compilation +if(NOT FOAM_FOUND) + cmake_minimum_required(VERSION 2.8) + find_package(FOAM REQUIRED) +endif() + +add_foam_executable(elasticThermalSolidFoam +# DEPENDS finiteVolume + SOURCES ${sources} +) diff --git a/applications/solvers/solidMechanics/icoFsiElasticNonLinULSolidFoam/CMakeLists.txt b/applications/solvers/solidMechanics/icoFsiElasticNonLinULSolidFoam/CMakeLists.txt new file mode 100644 index 000000000..e7e115177 --- /dev/null +++ b/applications/solvers/solidMechanics/icoFsiElasticNonLinULSolidFoam/CMakeLists.txt @@ -0,0 +1,46 @@ +# -------------------------------------------------------------------------- +# ======== | +# \ / F ield | foam-extend: Open Source CFD +# \ / O peration | Version: 4.1 +# \ / A nd | Web: http://www.foam-extend.org +# \/ M anipulation | For copyright notice see file Copyright +# -------------------------------------------------------------------------- +# License +# This file is part of foam-extend. +# +# foam-extend 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 3 of the License, or {at your +# option} any later version. +# +# foam-extend 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 foam-extend. If not, see . +# +# Description +# CMakeLists.txt file for libraries and applications +# +# Author +# Henrik Rusche, Wikki GmbH, 2017. All rights reserved +# +# +# -------------------------------------------------------------------------- + +list(APPEND sources + icoFsiElasticNonLinULSolidFoam.C +) + +# Set minimal environment for external compilation +if(NOT FOAM_FOUND) + cmake_minimum_required(VERSION 2.8) + find_package(FOAM REQUIRED) +endif() + +add_foam_executable(icoFsiElasticNonLinULSolidFoam +# DEPENDS finiteVolume + SOURCES ${sources} +) diff --git a/applications/solvers/solidMechanics/stressFemFoam/CMakeLists.txt b/applications/solvers/solidMechanics/stressFemFoam/CMakeLists.txt new file mode 100644 index 000000000..f6bf7a898 --- /dev/null +++ b/applications/solvers/solidMechanics/stressFemFoam/CMakeLists.txt @@ -0,0 +1,47 @@ +# -------------------------------------------------------------------------- +# ======== | +# \ / F ield | foam-extend: Open Source CFD +# \ / O peration | Version: 4.1 +# \ / A nd | Web: http://www.foam-extend.org +# \/ M anipulation | For copyright notice see file Copyright +# -------------------------------------------------------------------------- +# License +# This file is part of foam-extend. +# +# foam-extend 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 3 of the License, or {at your +# option} any later version. +# +# foam-extend 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 foam-extend. If not, see . +# +# Description +# CMakeLists.txt file for libraries and applications +# +# Author +# Henrik Rusche, Wikki GmbH, 2017. All rights reserved +# +# +# -------------------------------------------------------------------------- + +list(APPEND sources + femStress/tractionTetPolyPatchVectorField.C + stressFemFoam.C +) + +# Set minimal environment for external compilation +if(NOT FOAM_FOUND) + cmake_minimum_required(VERSION 2.8) + find_package(FOAM REQUIRED) +endif() + +add_foam_executable(stressFemFoam +# DEPENDS finiteVolume + SOURCES ${sources} +) diff --git a/applications/solvers/solidMechanics/utilities/CMakeLists.txt b/applications/solvers/solidMechanics/utilities/CMakeLists.txt new file mode 100644 index 000000000..41a9a58d5 --- /dev/null +++ b/applications/solvers/solidMechanics/utilities/CMakeLists.txt @@ -0,0 +1,36 @@ +# --------------------------------------------------------------------------# ======== | +# \ / F ield | foam-extend: Open Source CFD +# \ / O peration | Version: 4.1 +# \ / A nd | Web: http://www.foam-extend.org +# \/ M anipulation | For copyright notice see file Copyright +# -------------------------------------------------------------------------- +# License +# This file is part of foam-extend. +# +# foam-extend 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 3 of the License, or {at your +# option} any later version. +# +# foam-extend 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 foam-extend. If not, see . +# +# Description +# CMakeLists.txt file for libraries and applications +# +# Author +# Henrik Rusche, Wikki GmbH, 2017. All rights reserved +# +# +# -------------------------------------------------------------------------- + +add_subdirectory(calculateCourantNumber) +add_subdirectory(forceDisp) +add_subdirectory(patchStressIntegrate) +add_subdirectory(surfaceTractions) +add_subdirectory(smoothMesh) \ No newline at end of file diff --git a/applications/solvers/solidMechanics/utilities/calculateCourantNumber/CMakeLists.txt b/applications/solvers/solidMechanics/utilities/calculateCourantNumber/CMakeLists.txt new file mode 100644 index 000000000..3b74e3912 --- /dev/null +++ b/applications/solvers/solidMechanics/utilities/calculateCourantNumber/CMakeLists.txt @@ -0,0 +1,46 @@ +# -------------------------------------------------------------------------- +# ======== | +# \ / F ield | foam-extend: Open Source CFD +# \ / O peration | Version: 4.1 +# \ / A nd | Web: http://www.foam-extend.org +# \/ M anipulation | For copyright notice see file Copyright +# -------------------------------------------------------------------------- +# License +# This file is part of foam-extend. +# +# foam-extend 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 3 of the License, or {at your +# option} any later version. +# +# foam-extend 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 foam-extend. If not, see . +# +# Description +# CMakeLists.txt file for libraries and applications +# +# Author +# Henrik Rusche, Wikki GmbH, 2017. All rights reserved +# +# +# -------------------------------------------------------------------------- + +list(APPEND sources + calculateCourantNumber.C +) + +# Set minimal environment for external compilation +if(NOT FOAM_FOUND) + cmake_minimum_required(VERSION 2.8) + find_package(FOAM REQUIRED) +endif() + +add_foam_executable(calculateCourantNumber +# DEPENDS finiteVolume + SOURCES ${sources} +) diff --git a/applications/solvers/solidMechanics/utilities/forceDisp/CMakeLists.txt b/applications/solvers/solidMechanics/utilities/forceDisp/CMakeLists.txt new file mode 100644 index 000000000..065cd16c4 --- /dev/null +++ b/applications/solvers/solidMechanics/utilities/forceDisp/CMakeLists.txt @@ -0,0 +1,46 @@ +# -------------------------------------------------------------------------- +# ======== | +# \ / F ield | foam-extend: Open Source CFD +# \ / O peration | Version: 4.1 +# \ / A nd | Web: http://www.foam-extend.org +# \/ M anipulation | For copyright notice see file Copyright +# -------------------------------------------------------------------------- +# License +# This file is part of foam-extend. +# +# foam-extend 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 3 of the License, or {at your +# option} any later version. +# +# foam-extend 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 foam-extend. If not, see . +# +# Description +# CMakeLists.txt file for libraries and applications +# +# Author +# Henrik Rusche, Wikki GmbH, 2017. All rights reserved +# +# +# -------------------------------------------------------------------------- + +list(APPEND sources + forceDisp.C +) + +# Set minimal environment for external compilation +if(NOT FOAM_FOUND) + cmake_minimum_required(VERSION 2.8) + find_package(FOAM REQUIRED) +endif() + +add_foam_executable(forceDisp +# DEPENDS finiteVolume + SOURCES ${sources} +) diff --git a/applications/solvers/solidMechanics/utilities/patchStressIntegrate/CMakeLists.txt b/applications/solvers/solidMechanics/utilities/patchStressIntegrate/CMakeLists.txt new file mode 100644 index 000000000..87ea4d5e6 --- /dev/null +++ b/applications/solvers/solidMechanics/utilities/patchStressIntegrate/CMakeLists.txt @@ -0,0 +1,46 @@ +# -------------------------------------------------------------------------- +# ======== | +# \ / F ield | foam-extend: Open Source CFD +# \ / O peration | Version: 4.1 +# \ / A nd | Web: http://www.foam-extend.org +# \/ M anipulation | For copyright notice see file Copyright +# -------------------------------------------------------------------------- +# License +# This file is part of foam-extend. +# +# foam-extend 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 3 of the License, or {at your +# option} any later version. +# +# foam-extend 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 foam-extend. If not, see . +# +# Description +# CMakeLists.txt file for libraries and applications +# +# Author +# Henrik Rusche, Wikki GmbH, 2017. All rights reserved +# +# +# -------------------------------------------------------------------------- + +list(APPEND sources + patchStressIntegrate.C +) + +# Set minimal environment for external compilation +if(NOT FOAM_FOUND) + cmake_minimum_required(VERSION 2.8) + find_package(FOAM REQUIRED) +endif() + +add_foam_executable(patchStressIntegrate +# DEPENDS finiteVolume + SOURCES ${sources} +) diff --git a/applications/solvers/solidMechanics/utilities/smoothMesh/CMakeLists.txt b/applications/solvers/solidMechanics/utilities/smoothMesh/CMakeLists.txt new file mode 100644 index 000000000..e6dc49d54 --- /dev/null +++ b/applications/solvers/solidMechanics/utilities/smoothMesh/CMakeLists.txt @@ -0,0 +1,46 @@ +# -------------------------------------------------------------------------- +# ======== | +# \ / F ield | foam-extend: Open Source CFD +# \ / O peration | Version: 4.1 +# \ / A nd | Web: http://www.foam-extend.org +# \/ M anipulation | For copyright notice see file Copyright +# -------------------------------------------------------------------------- +# License +# This file is part of foam-extend. +# +# foam-extend 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 3 of the License, or {at your +# option} any later version. +# +# foam-extend 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 foam-extend. If not, see . +# +# Description +# CMakeLists.txt file for libraries and applications +# +# Author +# Henrik Rusche, Wikki GmbH, 2017. All rights reserved +# +# +# -------------------------------------------------------------------------- + +list(APPEND sources + smoothMesh.C +) + +# Set minimal environment for external compilation +if(NOT FOAM_FOUND) + cmake_minimum_required(VERSION 2.8) + find_package(FOAM REQUIRED) +endif() + +add_foam_executable(smoothMesh +# DEPENDS finiteVolume + SOURCES ${sources} +) diff --git a/applications/solvers/solidMechanics/utilities/surfaceTractions/CMakeLists.txt b/applications/solvers/solidMechanics/utilities/surfaceTractions/CMakeLists.txt new file mode 100644 index 000000000..cf2caa259 --- /dev/null +++ b/applications/solvers/solidMechanics/utilities/surfaceTractions/CMakeLists.txt @@ -0,0 +1,46 @@ +# -------------------------------------------------------------------------- +# ======== | +# \ / F ield | foam-extend: Open Source CFD +# \ / O peration | Version: 4.1 +# \ / A nd | Web: http://www.foam-extend.org +# \/ M anipulation | For copyright notice see file Copyright +# -------------------------------------------------------------------------- +# License +# This file is part of foam-extend. +# +# foam-extend 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 3 of the License, or {at your +# option} any later version. +# +# foam-extend 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 foam-extend. If not, see . +# +# Description +# CMakeLists.txt file for libraries and applications +# +# Author +# Henrik Rusche, Wikki GmbH, 2017. All rights reserved +# +# +# -------------------------------------------------------------------------- + +list(APPEND sources + surfaceTractions.C +) + +# Set minimal environment for external compilation +if(NOT FOAM_FOUND) + cmake_minimum_required(VERSION 2.8) + find_package(FOAM REQUIRED) +endif() + +add_foam_executable(surfaceTractions +# DEPENDS finiteVolume + SOURCES ${sources} +) diff --git a/applications/solvers/solidMechanics/viscoElasticSolidFoam/CMakeLists.txt b/applications/solvers/solidMechanics/viscoElasticSolidFoam/CMakeLists.txt new file mode 100644 index 000000000..ac3bb6afc --- /dev/null +++ b/applications/solvers/solidMechanics/viscoElasticSolidFoam/CMakeLists.txt @@ -0,0 +1,46 @@ +# -------------------------------------------------------------------------- +# ======== | +# \ / F ield | foam-extend: Open Source CFD +# \ / O peration | Version: 4.1 +# \ / A nd | Web: http://www.foam-extend.org +# \/ M anipulation | For copyright notice see file Copyright +# -------------------------------------------------------------------------- +# License +# This file is part of foam-extend. +# +# foam-extend 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 3 of the License, or {at your +# option} any later version. +# +# foam-extend 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 foam-extend. If not, see . +# +# Description +# CMakeLists.txt file for libraries and applications +# +# Author +# Henrik Rusche, Wikki GmbH, 2017. All rights reserved +# +# +# -------------------------------------------------------------------------- + +list(APPEND sources + viscoElasticSolidFoam.C +) + +# Set minimal environment for external compilation +if(NOT FOAM_FOUND) + cmake_minimum_required(VERSION 2.8) + find_package(FOAM REQUIRED) +endif() + +add_foam_executable(viscoElasticSolidFoam +# DEPENDS finiteVolume + SOURCES ${sources} +) diff --git a/applications/solvers/surfaceTracking/CMakeLists.txt b/applications/solvers/surfaceTracking/CMakeLists.txt new file mode 100644 index 000000000..0186c04a2 --- /dev/null +++ b/applications/solvers/surfaceTracking/CMakeLists.txt @@ -0,0 +1,35 @@ +# --------------------------------------------------------------------------# ======== | +# \ / F ield | foam-extend: Open Source CFD +# \ / O peration | Version: 4.1 +# \ / A nd | Web: http://www.foam-extend.org +# \/ M anipulation | For copyright notice see file Copyright +# -------------------------------------------------------------------------- +# License +# This file is part of foam-extend. +# +# foam-extend 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 3 of the License, or {at your +# option} any later version. +# +# foam-extend 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 foam-extend. If not, see . +# +# Description +# CMakeLists.txt file for libraries and applications +# +# Author +# Henrik Rusche, Wikki GmbH, 2017. All rights reserved +# +# +# -------------------------------------------------------------------------- + +add_subdirectory(bubbleInterTrackFoam) +add_subdirectory(freeSurface) +add_subdirectory(utilities) +add_subdirectory(interTrackFoam) \ No newline at end of file diff --git a/applications/solvers/surfaceTracking/bubbleInterTrackFoam/CMakeLists.txt b/applications/solvers/surfaceTracking/bubbleInterTrackFoam/CMakeLists.txt new file mode 100644 index 000000000..17d89d5cf --- /dev/null +++ b/applications/solvers/surfaceTracking/bubbleInterTrackFoam/CMakeLists.txt @@ -0,0 +1,46 @@ +# -------------------------------------------------------------------------- +# ======== | +# \ / F ield | foam-extend: Open Source CFD +# \ / O peration | Version: 4.1 +# \ / A nd | Web: http://www.foam-extend.org +# \/ M anipulation | For copyright notice see file Copyright +# -------------------------------------------------------------------------- +# License +# This file is part of foam-extend. +# +# foam-extend 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 3 of the License, or {at your +# option} any later version. +# +# foam-extend 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 foam-extend. If not, see . +# +# Description +# CMakeLists.txt file for libraries and applications +# +# Author +# Henrik Rusche, Wikki GmbH, 2017. All rights reserved +# +# +# -------------------------------------------------------------------------- + +list(APPEND sources + bubbleInterTrackFoam.C +) + +# Set minimal environment for external compilation +if(NOT FOAM_FOUND) + cmake_minimum_required(VERSION 2.8) + find_package(FOAM REQUIRED) +endif() + +add_foam_executable(bubbleInterTrackFoam +# DEPENDS finiteVolume + SOURCES ${sources} +) diff --git a/applications/solvers/surfaceTracking/freeSurface/CMakeLists.txt b/applications/solvers/surfaceTracking/freeSurface/CMakeLists.txt new file mode 100644 index 000000000..8222a08da --- /dev/null +++ b/applications/solvers/surfaceTracking/freeSurface/CMakeLists.txt @@ -0,0 +1,54 @@ +# -------------------------------------------------------------------------- +# ======== | +# \ / F ield | foam-extend: Open Source CFD +# \ / O peration | Version: 4.1 +# \ / A nd | Web: http://www.foam-extend.org +# \/ M anipulation | For copyright notice see file Copyright +# -------------------------------------------------------------------------- +# License +# This file is part of foam-extend. +# +# foam-extend 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 3 of the License, or {at your +# option} any later version. +# +# foam-extend 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 foam-extend. If not, see . +# +# Description +# CMakeLists.txt file for libraries and applications +# +# Author +# Henrik Rusche, Wikki GmbH, 2017. All rights reserved +# +# +# -------------------------------------------------------------------------- + +list(APPEND sources + freeSurface.C + makeFreeSurfaceData.C + freeSurfacePointDisplacement.C + correctedFvPatchFields/correctedFvPatchField/correctedFvPatchFields.C +) + +set(basicCorrectedFvPatchFields correctedFvPatchFields/basicCorrectedFvPatchFields) +list(APPEND sources + ${basicCorrectedFvPatchFields}/fixedGradient/fixedGradientCorrectedFvPatchFields.C + ${basicCorrectedFvPatchFields}/fixedValue/fixedValueCorrectedFvPatchFields.C + ${basicCorrectedFvPatchFields}/zeroGradient/zeroGradientCorrectedFvPatchFields.C + patchCorrectedSnGrad/patchCorrectedSnGrads.C + functionObjects/bubbleHistory/bubbleHistory.C + functionObjects/sloshingHistory/sloshingHistory.C +) + +add_foam_library(freeSurface SHARED ${sources}) + +# This is a prototype! Replace second argument with a list of the highest +# dependencies only. Inherited dependencies will be treated automatically. +#target_link_libraries(freeSurface finiteVolume) diff --git a/applications/solvers/surfaceTracking/interTrackFoam/CMakeLists.txt b/applications/solvers/surfaceTracking/interTrackFoam/CMakeLists.txt new file mode 100644 index 000000000..2c3d33f4f --- /dev/null +++ b/applications/solvers/surfaceTracking/interTrackFoam/CMakeLists.txt @@ -0,0 +1,46 @@ +# -------------------------------------------------------------------------- +# ======== | +# \ / F ield | foam-extend: Open Source CFD +# \ / O peration | Version: 4.1 +# \ / A nd | Web: http://www.foam-extend.org +# \/ M anipulation | For copyright notice see file Copyright +# -------------------------------------------------------------------------- +# License +# This file is part of foam-extend. +# +# foam-extend 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 3 of the License, or {at your +# option} any later version. +# +# foam-extend 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 foam-extend. If not, see . +# +# Description +# CMakeLists.txt file for libraries and applications +# +# Author +# Henrik Rusche, Wikki GmbH, 2017. All rights reserved +# +# +# -------------------------------------------------------------------------- + +list(APPEND sources + interTrackFoam.C +) + +# Set minimal environment for external compilation +if(NOT FOAM_FOUND) + cmake_minimum_required(VERSION 2.8) + find_package(FOAM REQUIRED) +endif() + +add_foam_executable(interTrackFoam +# DEPENDS finiteVolume + SOURCES ${sources} +) diff --git a/applications/solvers/surfaceTracking/utilities/CMakeLists.txt b/applications/solvers/surfaceTracking/utilities/CMakeLists.txt new file mode 100644 index 000000000..f73c82ae8 --- /dev/null +++ b/applications/solvers/surfaceTracking/utilities/CMakeLists.txt @@ -0,0 +1,32 @@ +# --------------------------------------------------------------------------# ======== | +# \ / F ield | foam-extend: Open Source CFD +# \ / O peration | Version: 4.1 +# \ / A nd | Web: http://www.foam-extend.org +# \/ M anipulation | For copyright notice see file Copyright +# -------------------------------------------------------------------------- +# License +# This file is part of foam-extend. +# +# foam-extend 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 3 of the License, or {at your +# option} any later version. +# +# foam-extend 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 foam-extend. If not, see . +# +# Description +# CMakeLists.txt file for libraries and applications +# +# Author +# Henrik Rusche, Wikki GmbH, 2017. All rights reserved +# +# +# -------------------------------------------------------------------------- + +add_subdirectory(setFluidIndicator) \ No newline at end of file diff --git a/applications/solvers/surfaceTracking/utilities/setFluidIndicator/CMakeLists.txt b/applications/solvers/surfaceTracking/utilities/setFluidIndicator/CMakeLists.txt new file mode 100644 index 000000000..ccf147727 --- /dev/null +++ b/applications/solvers/surfaceTracking/utilities/setFluidIndicator/CMakeLists.txt @@ -0,0 +1,46 @@ +# -------------------------------------------------------------------------- +# ======== | +# \ / F ield | foam-extend: Open Source CFD +# \ / O peration | Version: 4.1 +# \ / A nd | Web: http://www.foam-extend.org +# \/ M anipulation | For copyright notice see file Copyright +# -------------------------------------------------------------------------- +# License +# This file is part of foam-extend. +# +# foam-extend 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 3 of the License, or {at your +# option} any later version. +# +# foam-extend 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 foam-extend. If not, see . +# +# Description +# CMakeLists.txt file for libraries and applications +# +# Author +# Henrik Rusche, Wikki GmbH, 2017. All rights reserved +# +# +# -------------------------------------------------------------------------- + +list(APPEND sources + setFluidIndicator.C +) + +# Set minimal environment for external compilation +if(NOT FOAM_FOUND) + cmake_minimum_required(VERSION 2.8) + find_package(FOAM REQUIRED) +endif() + +add_foam_executable(setFluidIndicator +# DEPENDS finiteVolume + SOURCES ${sources} +) diff --git a/applications/solvers/viscoelastic/CMakeLists.txt b/applications/solvers/viscoelastic/CMakeLists.txt new file mode 100644 index 000000000..122eb4b32 --- /dev/null +++ b/applications/solvers/viscoelastic/CMakeLists.txt @@ -0,0 +1,32 @@ +# --------------------------------------------------------------------------# ======== | +# \ / F ield | foam-extend: Open Source CFD +# \ / O peration | Version: 4.1 +# \ / A nd | Web: http://www.foam-extend.org +# \/ M anipulation | For copyright notice see file Copyright +# -------------------------------------------------------------------------- +# License +# This file is part of foam-extend. +# +# foam-extend 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 3 of the License, or {at your +# option} any later version. +# +# foam-extend 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 foam-extend. If not, see . +# +# Description +# CMakeLists.txt file for libraries and applications +# +# Author +# Henrik Rusche, Wikki GmbH, 2017. All rights reserved +# +# +# -------------------------------------------------------------------------- + +add_subdirectory(viscoelasticFluidFoam) \ No newline at end of file diff --git a/applications/solvers/viscoelastic/viscoelasticFluidFoam/CMakeLists.txt b/applications/solvers/viscoelastic/viscoelasticFluidFoam/CMakeLists.txt new file mode 100644 index 000000000..11eca757d --- /dev/null +++ b/applications/solvers/viscoelastic/viscoelasticFluidFoam/CMakeLists.txt @@ -0,0 +1,46 @@ +# -------------------------------------------------------------------------- +# ======== | +# \ / F ield | foam-extend: Open Source CFD +# \ / O peration | Version: 4.1 +# \ / A nd | Web: http://www.foam-extend.org +# \/ M anipulation | For copyright notice see file Copyright +# -------------------------------------------------------------------------- +# License +# This file is part of foam-extend. +# +# foam-extend 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 3 of the License, or {at your +# option} any later version. +# +# foam-extend 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 foam-extend. If not, see . +# +# Description +# CMakeLists.txt file for libraries and applications +# +# Author +# Henrik Rusche, Wikki GmbH, 2017. All rights reserved +# +# +# -------------------------------------------------------------------------- + +list(APPEND sources + viscoelasticFluidFoam.C +) + +# Set minimal environment for external compilation +if(NOT FOAM_FOUND) + cmake_minimum_required(VERSION 2.8) + find_package(FOAM REQUIRED) +endif() + +add_foam_executable(viscoelasticFluidFoam +# DEPENDS finiteVolume + SOURCES ${sources} +) diff --git a/applications/utilities/CMakeLists.txt b/applications/utilities/CMakeLists.txt new file mode 100644 index 000000000..e0cde4bf2 --- /dev/null +++ b/applications/utilities/CMakeLists.txt @@ -0,0 +1,42 @@ +# --------------------------------------------------------------------------# ======== | +# \ / F ield | foam-extend: Open Source CFD +# \ / O peration | Version: 4.1 +# \ / A nd | Web: http://www.foam-extend.org +# \/ M anipulation | For copyright notice see file Copyright +# -------------------------------------------------------------------------- +# License +# This file is part of foam-extend. +# +# foam-extend 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 3 of the License, or {at your +# option} any later version. +# +# foam-extend 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 foam-extend. If not, see . +# +# Description +# CMakeLists.txt file for libraries and applications +# +# Author +# Henrik Rusche, Wikki GmbH, 2017. All rights reserved +# +# +# -------------------------------------------------------------------------- + +add_subdirectory(solidMechanics) +add_subdirectory(immersedBoundary) +add_subdirectory(thermophysical) +add_subdirectory(miscellaneous) +add_subdirectory(surface) +add_subdirectory(preProcessing) +add_subdirectory(finiteArea) +add_subdirectory(postProcessing) +add_subdirectory(parallelProcessing) +add_subdirectory(errorEstimation) +add_subdirectory(mesh) \ No newline at end of file diff --git a/applications/utilities/errorEstimation/CMakeLists.txt b/applications/utilities/errorEstimation/CMakeLists.txt new file mode 100644 index 000000000..47bd20bd4 --- /dev/null +++ b/applications/utilities/errorEstimation/CMakeLists.txt @@ -0,0 +1,36 @@ +# --------------------------------------------------------------------------# ======== | +# \ / F ield | foam-extend: Open Source CFD +# \ / O peration | Version: 4.1 +# \ / A nd | Web: http://www.foam-extend.org +# \/ M anipulation | For copyright notice see file Copyright +# -------------------------------------------------------------------------- +# License +# This file is part of foam-extend. +# +# foam-extend 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 3 of the License, or {at your +# option} any later version. +# +# foam-extend 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 foam-extend. If not, see . +# +# Description +# CMakeLists.txt file for libraries and applications +# +# Author +# Henrik Rusche, Wikki GmbH, 2017. All rights reserved +# +# +# -------------------------------------------------------------------------- + +add_subdirectory(momentScalarError) +add_subdirectory(icoErrorEstimate) +add_subdirectory(simpleFoamResidual) +add_subdirectory(estimateScalarError) +add_subdirectory(icoMomentError) \ No newline at end of file diff --git a/applications/utilities/errorEstimation/estimateScalarError/CMakeLists.txt b/applications/utilities/errorEstimation/estimateScalarError/CMakeLists.txt new file mode 100644 index 000000000..0a64a2ed8 --- /dev/null +++ b/applications/utilities/errorEstimation/estimateScalarError/CMakeLists.txt @@ -0,0 +1,46 @@ +# -------------------------------------------------------------------------- +# ======== | +# \ / F ield | foam-extend: Open Source CFD +# \ / O peration | Version: 4.1 +# \ / A nd | Web: http://www.foam-extend.org +# \/ M anipulation | For copyright notice see file Copyright +# -------------------------------------------------------------------------- +# License +# This file is part of foam-extend. +# +# foam-extend 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 3 of the License, or {at your +# option} any later version. +# +# foam-extend 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 foam-extend. If not, see . +# +# Description +# CMakeLists.txt file for libraries and applications +# +# Author +# Henrik Rusche, Wikki GmbH, 2017. All rights reserved +# +# +# -------------------------------------------------------------------------- + +list(APPEND sources + estimateScalarError.C +) + +# Set minimal environment for external compilation +if(NOT FOAM_FOUND) + cmake_minimum_required(VERSION 2.8) + find_package(FOAM REQUIRED) +endif() + +add_foam_executable(estimateScalarError + DEPENDS errorEstimation + SOURCES ${sources} +) diff --git a/applications/utilities/errorEstimation/icoErrorEstimate/CMakeLists.txt b/applications/utilities/errorEstimation/icoErrorEstimate/CMakeLists.txt new file mode 100644 index 000000000..4e69e08b9 --- /dev/null +++ b/applications/utilities/errorEstimation/icoErrorEstimate/CMakeLists.txt @@ -0,0 +1,46 @@ +# -------------------------------------------------------------------------- +# ======== | +# \ / F ield | foam-extend: Open Source CFD +# \ / O peration | Version: 4.1 +# \ / A nd | Web: http://www.foam-extend.org +# \/ M anipulation | For copyright notice see file Copyright +# -------------------------------------------------------------------------- +# License +# This file is part of foam-extend. +# +# foam-extend 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 3 of the License, or {at your +# option} any later version. +# +# foam-extend 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 foam-extend. If not, see . +# +# Description +# CMakeLists.txt file for libraries and applications +# +# Author +# Henrik Rusche, Wikki GmbH, 2017. All rights reserved +# +# +# -------------------------------------------------------------------------- + +list(APPEND sources + icoErrorEstimate.C +) + +# Set minimal environment for external compilation +if(NOT FOAM_FOUND) + cmake_minimum_required(VERSION 2.8) + find_package(FOAM REQUIRED) +endif() + +add_foam_executable(icoErrorEstimate + DEPENDS errorEstimation + SOURCES ${sources} +) diff --git a/applications/utilities/errorEstimation/icoMomentError/CMakeLists.txt b/applications/utilities/errorEstimation/icoMomentError/CMakeLists.txt new file mode 100644 index 000000000..bbce8ebd2 --- /dev/null +++ b/applications/utilities/errorEstimation/icoMomentError/CMakeLists.txt @@ -0,0 +1,46 @@ +# -------------------------------------------------------------------------- +# ======== | +# \ / F ield | foam-extend: Open Source CFD +# \ / O peration | Version: 4.1 +# \ / A nd | Web: http://www.foam-extend.org +# \/ M anipulation | For copyright notice see file Copyright +# -------------------------------------------------------------------------- +# License +# This file is part of foam-extend. +# +# foam-extend 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 3 of the License, or {at your +# option} any later version. +# +# foam-extend 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 foam-extend. If not, see . +# +# Description +# CMakeLists.txt file for libraries and applications +# +# Author +# Henrik Rusche, Wikki GmbH, 2017. All rights reserved +# +# +# -------------------------------------------------------------------------- + +list(APPEND sources + icoMomentError.C +) + +# Set minimal environment for external compilation +if(NOT FOAM_FOUND) + cmake_minimum_required(VERSION 2.8) + find_package(FOAM REQUIRED) +endif() + +add_foam_executable(icoMomentError + DEPENDS errorEstimation + SOURCES ${sources} +) diff --git a/applications/utilities/errorEstimation/momentScalarError/CMakeLists.txt b/applications/utilities/errorEstimation/momentScalarError/CMakeLists.txt new file mode 100644 index 000000000..dd8bc4030 --- /dev/null +++ b/applications/utilities/errorEstimation/momentScalarError/CMakeLists.txt @@ -0,0 +1,46 @@ +# -------------------------------------------------------------------------- +# ======== | +# \ / F ield | foam-extend: Open Source CFD +# \ / O peration | Version: 4.1 +# \ / A nd | Web: http://www.foam-extend.org +# \/ M anipulation | For copyright notice see file Copyright +# -------------------------------------------------------------------------- +# License +# This file is part of foam-extend. +# +# foam-extend 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 3 of the License, or {at your +# option} any later version. +# +# foam-extend 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 foam-extend. If not, see . +# +# Description +# CMakeLists.txt file for libraries and applications +# +# Author +# Henrik Rusche, Wikki GmbH, 2017. All rights reserved +# +# +# -------------------------------------------------------------------------- + +list(APPEND sources + momentScalarError.C +) + +# Set minimal environment for external compilation +if(NOT FOAM_FOUND) + cmake_minimum_required(VERSION 2.8) + find_package(FOAM REQUIRED) +endif() + +add_foam_executable(momentScalarError + DEPENDS errorEstimation + SOURCES ${sources} +) diff --git a/applications/utilities/errorEstimation/simpleFoamResidual/CMakeLists.txt b/applications/utilities/errorEstimation/simpleFoamResidual/CMakeLists.txt new file mode 100644 index 000000000..fcf6114a1 --- /dev/null +++ b/applications/utilities/errorEstimation/simpleFoamResidual/CMakeLists.txt @@ -0,0 +1,46 @@ +# -------------------------------------------------------------------------- +# ======== | +# \ / F ield | foam-extend: Open Source CFD +# \ / O peration | Version: 4.1 +# \ / A nd | Web: http://www.foam-extend.org +# \/ M anipulation | For copyright notice see file Copyright +# -------------------------------------------------------------------------- +# License +# This file is part of foam-extend. +# +# foam-extend 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 3 of the License, or {at your +# option} any later version. +# +# foam-extend 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 foam-extend. If not, see . +# +# Description +# CMakeLists.txt file for libraries and applications +# +# Author +# Henrik Rusche, Wikki GmbH, 2017. All rights reserved +# +# +# -------------------------------------------------------------------------- + +list(APPEND sources + simpleFoamResidual.C +) + +# Set minimal environment for external compilation +if(NOT FOAM_FOUND) + cmake_minimum_required(VERSION 2.8) + find_package(FOAM REQUIRED) +endif() + +add_foam_executable(simpleFoamResidual + DEPENDS errorEstimation incompressibleRASModels incompressibleLESModels + SOURCES ${sources} +) diff --git a/applications/utilities/finiteArea/CMakeLists.txt b/applications/utilities/finiteArea/CMakeLists.txt new file mode 100644 index 000000000..4ec204dfb --- /dev/null +++ b/applications/utilities/finiteArea/CMakeLists.txt @@ -0,0 +1,34 @@ +# --------------------------------------------------------------------------# ======== | +# \ / F ield | foam-extend: Open Source CFD +# \ / O peration | Version: 4.1 +# \ / A nd | Web: http://www.foam-extend.org +# \/ M anipulation | For copyright notice see file Copyright +# -------------------------------------------------------------------------- +# License +# This file is part of foam-extend. +# +# foam-extend 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 3 of the License, or {at your +# option} any later version. +# +# foam-extend 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 foam-extend. If not, see . +# +# Description +# CMakeLists.txt file for libraries and applications +# +# Author +# Henrik Rusche, Wikki GmbH, 2017. All rights reserved +# +# +# -------------------------------------------------------------------------- + +add_subdirectory(makeFaMesh) +add_subdirectory(checkFaMesh) +add_subdirectory(createFaMeshFromStl) \ No newline at end of file diff --git a/applications/utilities/finiteArea/checkFaMesh/CMakeLists.txt b/applications/utilities/finiteArea/checkFaMesh/CMakeLists.txt new file mode 100644 index 000000000..dceda9543 --- /dev/null +++ b/applications/utilities/finiteArea/checkFaMesh/CMakeLists.txt @@ -0,0 +1,46 @@ +# -------------------------------------------------------------------------- +# ======== | +# \ / F ield | foam-extend: Open Source CFD +# \ / O peration | Version: 4.1 +# \ / A nd | Web: http://www.foam-extend.org +# \/ M anipulation | For copyright notice see file Copyright +# -------------------------------------------------------------------------- +# License +# This file is part of foam-extend. +# +# foam-extend 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 3 of the License, or {at your +# option} any later version. +# +# foam-extend 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 foam-extend. If not, see . +# +# Description +# CMakeLists.txt file for libraries and applications +# +# Author +# Henrik Rusche, Wikki GmbH, 2017. All rights reserved +# +# +# -------------------------------------------------------------------------- + +list(APPEND sources + checkFaMesh.C +) + +# Set minimal environment for external compilation +if(NOT FOAM_FOUND) + cmake_minimum_required(VERSION 2.8) + find_package(FOAM REQUIRED) +endif() + +add_foam_executable(checkFaMesh + DEPENDS finiteVolume finiteArea + SOURCES ${sources} +) diff --git a/applications/utilities/finiteArea/createFaMeshFromStl/CMakeLists.txt b/applications/utilities/finiteArea/createFaMeshFromStl/CMakeLists.txt new file mode 100644 index 000000000..44ff0bd94 --- /dev/null +++ b/applications/utilities/finiteArea/createFaMeshFromStl/CMakeLists.txt @@ -0,0 +1,46 @@ +# -------------------------------------------------------------------------- +# ======== | +# \ / F ield | foam-extend: Open Source CFD +# \ / O peration | Version: 4.1 +# \ / A nd | Web: http://www.foam-extend.org +# \/ M anipulation | For copyright notice see file Copyright +# -------------------------------------------------------------------------- +# License +# This file is part of foam-extend. +# +# foam-extend 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 3 of the License, or {at your +# option} any later version. +# +# foam-extend 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 foam-extend. If not, see . +# +# Description +# CMakeLists.txt file for libraries and applications +# +# Author +# Henrik Rusche, Wikki GmbH, 2017. All rights reserved +# +# +# -------------------------------------------------------------------------- + +list(APPEND sources + createFaMeshFromStl.C +) + +# Set minimal environment for external compilation +if(NOT FOAM_FOUND) + cmake_minimum_required(VERSION 2.8) + find_package(FOAM REQUIRED) +endif() + +add_foam_executable(createFaMeshFromStl + DEPENDS finiteArea meshTools + SOURCES ${sources} +) diff --git a/applications/utilities/finiteArea/makeFaMesh/CMakeLists.txt b/applications/utilities/finiteArea/makeFaMesh/CMakeLists.txt new file mode 100644 index 000000000..3df65bd7e --- /dev/null +++ b/applications/utilities/finiteArea/makeFaMesh/CMakeLists.txt @@ -0,0 +1,46 @@ +# -------------------------------------------------------------------------- +# ======== | +# \ / F ield | foam-extend: Open Source CFD +# \ / O peration | Version: 4.1 +# \ / A nd | Web: http://www.foam-extend.org +# \/ M anipulation | For copyright notice see file Copyright +# -------------------------------------------------------------------------- +# License +# This file is part of foam-extend. +# +# foam-extend 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 3 of the License, or {at your +# option} any later version. +# +# foam-extend 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 foam-extend. If not, see . +# +# Description +# CMakeLists.txt file for libraries and applications +# +# Author +# Henrik Rusche, Wikki GmbH, 2017. All rights reserved +# +# +# -------------------------------------------------------------------------- + +list(APPEND sources + makeFaMesh.C +) + +# Set minimal environment for external compilation +if(NOT FOAM_FOUND) + cmake_minimum_required(VERSION 2.8) + find_package(FOAM REQUIRED) +endif() + +add_foam_executable(makeFaMesh + DEPENDS finiteVolume finiteArea + SOURCES ${sources} +) diff --git a/applications/utilities/immersedBoundary/CMakeLists.txt b/applications/utilities/immersedBoundary/CMakeLists.txt new file mode 100644 index 000000000..1f1810402 --- /dev/null +++ b/applications/utilities/immersedBoundary/CMakeLists.txt @@ -0,0 +1,37 @@ +# --------------------------------------------------------------------------# ======== | +# \ / F ield | foam-extend: Open Source CFD +# \ / O peration | Version: 4.1 +# \ / A nd | Web: http://www.foam-extend.org +# \/ M anipulation | For copyright notice see file Copyright +# -------------------------------------------------------------------------- +# License +# This file is part of foam-extend. +# +# foam-extend 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 3 of the License, or {at your +# option} any later version. +# +# foam-extend 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 foam-extend. If not, see . +# +# Description +# CMakeLists.txt file for libraries and applications +# +# Author +# Henrik Rusche, Wikki GmbH, 2017. All rights reserved +# +# +# -------------------------------------------------------------------------- + +add_subdirectory(surfaceNormal) +add_subdirectory(writeIbMasks) +add_subdirectory(ibContinuityError) +add_subdirectory(makeTriSurfaceMesh) +add_subdirectory(refineImmersedBoundaryMesh) +add_subdirectory(surfaceInvertNormal) \ No newline at end of file diff --git a/applications/utilities/immersedBoundary/ibContinuityError/CMakeLists.txt b/applications/utilities/immersedBoundary/ibContinuityError/CMakeLists.txt new file mode 100644 index 000000000..852727ae2 --- /dev/null +++ b/applications/utilities/immersedBoundary/ibContinuityError/CMakeLists.txt @@ -0,0 +1,46 @@ +# -------------------------------------------------------------------------- +# ======== | +# \ / F ield | foam-extend: Open Source CFD +# \ / O peration | Version: 4.1 +# \ / A nd | Web: http://www.foam-extend.org +# \/ M anipulation | For copyright notice see file Copyright +# -------------------------------------------------------------------------- +# License +# This file is part of foam-extend. +# +# foam-extend 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 3 of the License, or {at your +# option} any later version. +# +# foam-extend 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 foam-extend. If not, see . +# +# Description +# CMakeLists.txt file for libraries and applications +# +# Author +# Henrik Rusche, Wikki GmbH, 2017. All rights reserved +# +# +# -------------------------------------------------------------------------- + +list(APPEND sources + ibContinuityError.C +) + +# Set minimal environment for external compilation +if(NOT FOAM_FOUND) + cmake_minimum_required(VERSION 2.8) + find_package(FOAM REQUIRED) +endif() + +add_foam_executable(ibContinuityError + DEPENDS immersedBoundary postCalc + SOURCES ${sources} +) diff --git a/applications/utilities/immersedBoundary/makeTriSurfaceMesh/CMakeLists.txt b/applications/utilities/immersedBoundary/makeTriSurfaceMesh/CMakeLists.txt new file mode 100644 index 000000000..0460c2ee3 --- /dev/null +++ b/applications/utilities/immersedBoundary/makeTriSurfaceMesh/CMakeLists.txt @@ -0,0 +1,46 @@ +# -------------------------------------------------------------------------- +# ======== | +# \ / F ield | foam-extend: Open Source CFD +# \ / O peration | Version: 4.1 +# \ / A nd | Web: http://www.foam-extend.org +# \/ M anipulation | For copyright notice see file Copyright +# -------------------------------------------------------------------------- +# License +# This file is part of foam-extend. +# +# foam-extend 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 3 of the License, or {at your +# option} any later version. +# +# foam-extend 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 foam-extend. If not, see . +# +# Description +# CMakeLists.txt file for libraries and applications +# +# Author +# Henrik Rusche, Wikki GmbH, 2017. All rights reserved +# +# +# -------------------------------------------------------------------------- + +list(APPEND sources + makeTriSurfaceMesh.C +) + +# Set minimal environment for external compilation +if(NOT FOAM_FOUND) + cmake_minimum_required(VERSION 2.8) + find_package(FOAM REQUIRED) +endif() + +add_foam_executable(makeTriSurfaceMesh + DEPENDS immersedBoundary + SOURCES ${sources} +) diff --git a/applications/utilities/immersedBoundary/refineImmersedBoundaryMesh/CMakeLists.txt b/applications/utilities/immersedBoundary/refineImmersedBoundaryMesh/CMakeLists.txt new file mode 100644 index 000000000..54ed1658f --- /dev/null +++ b/applications/utilities/immersedBoundary/refineImmersedBoundaryMesh/CMakeLists.txt @@ -0,0 +1,46 @@ +# -------------------------------------------------------------------------- +# ======== | +# \ / F ield | foam-extend: Open Source CFD +# \ / O peration | Version: 4.1 +# \ / A nd | Web: http://www.foam-extend.org +# \/ M anipulation | For copyright notice see file Copyright +# -------------------------------------------------------------------------- +# License +# This file is part of foam-extend. +# +# foam-extend 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 3 of the License, or {at your +# option} any later version. +# +# foam-extend 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 foam-extend. If not, see . +# +# Description +# CMakeLists.txt file for libraries and applications +# +# Author +# Henrik Rusche, Wikki GmbH, 2017. All rights reserved +# +# +# -------------------------------------------------------------------------- + +list(APPEND sources + refineImmersedBoundaryMesh.C +) + +# Set minimal environment for external compilation +if(NOT FOAM_FOUND) + cmake_minimum_required(VERSION 2.8) + find_package(FOAM REQUIRED) +endif() + +add_foam_executable(refineImmersedBoundaryMesh + DEPENDS immersedBoundary + SOURCES ${sources} +) diff --git a/applications/utilities/immersedBoundary/surfaceInvertNormal/CMakeLists.txt b/applications/utilities/immersedBoundary/surfaceInvertNormal/CMakeLists.txt new file mode 100644 index 000000000..f40b44cd9 --- /dev/null +++ b/applications/utilities/immersedBoundary/surfaceInvertNormal/CMakeLists.txt @@ -0,0 +1,46 @@ +# -------------------------------------------------------------------------- +# ======== | +# \ / F ield | foam-extend: Open Source CFD +# \ / O peration | Version: 4.1 +# \ / A nd | Web: http://www.foam-extend.org +# \/ M anipulation | For copyright notice see file Copyright +# -------------------------------------------------------------------------- +# License +# This file is part of foam-extend. +# +# foam-extend 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 3 of the License, or {at your +# option} any later version. +# +# foam-extend 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 foam-extend. If not, see . +# +# Description +# CMakeLists.txt file for libraries and applications +# +# Author +# Henrik Rusche, Wikki GmbH, 2017. All rights reserved +# +# +# -------------------------------------------------------------------------- + +list(APPEND sources + surfaceInvertNormal.C +) + +# Set minimal environment for external compilation +if(NOT FOAM_FOUND) + cmake_minimum_required(VERSION 2.8) + find_package(FOAM REQUIRED) +endif() + +add_foam_executable(surfaceInvertNormal + DEPENDS immersedBoundary + SOURCES ${sources} +) diff --git a/applications/utilities/immersedBoundary/surfaceNormal/CMakeLists.txt b/applications/utilities/immersedBoundary/surfaceNormal/CMakeLists.txt new file mode 100644 index 000000000..e1895ccdd --- /dev/null +++ b/applications/utilities/immersedBoundary/surfaceNormal/CMakeLists.txt @@ -0,0 +1,46 @@ +# -------------------------------------------------------------------------- +# ======== | +# \ / F ield | foam-extend: Open Source CFD +# \ / O peration | Version: 4.1 +# \ / A nd | Web: http://www.foam-extend.org +# \/ M anipulation | For copyright notice see file Copyright +# -------------------------------------------------------------------------- +# License +# This file is part of foam-extend. +# +# foam-extend 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 3 of the License, or {at your +# option} any later version. +# +# foam-extend 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 foam-extend. If not, see . +# +# Description +# CMakeLists.txt file for libraries and applications +# +# Author +# Henrik Rusche, Wikki GmbH, 2017. All rights reserved +# +# +# -------------------------------------------------------------------------- + +list(APPEND sources + surfaceNormal.C +) + +# Set minimal environment for external compilation +if(NOT FOAM_FOUND) + cmake_minimum_required(VERSION 2.8) + find_package(FOAM REQUIRED) +endif() + +add_foam_executable(surfaceNormal + DEPENDS immersedBoundary + SOURCES ${sources} +) diff --git a/applications/utilities/immersedBoundary/writeIbMasks/CMakeLists.txt b/applications/utilities/immersedBoundary/writeIbMasks/CMakeLists.txt new file mode 100644 index 000000000..b4da50579 --- /dev/null +++ b/applications/utilities/immersedBoundary/writeIbMasks/CMakeLists.txt @@ -0,0 +1,46 @@ +# -------------------------------------------------------------------------- +# ======== | +# \ / F ield | foam-extend: Open Source CFD +# \ / O peration | Version: 4.1 +# \ / A nd | Web: http://www.foam-extend.org +# \/ M anipulation | For copyright notice see file Copyright +# -------------------------------------------------------------------------- +# License +# This file is part of foam-extend. +# +# foam-extend 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 3 of the License, or {at your +# option} any later version. +# +# foam-extend 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 foam-extend. If not, see . +# +# Description +# CMakeLists.txt file for libraries and applications +# +# Author +# Henrik Rusche, Wikki GmbH, 2017. All rights reserved +# +# +# -------------------------------------------------------------------------- + +list(APPEND sources + writeIbMasks.C +) + +# Set minimal environment for external compilation +if(NOT FOAM_FOUND) + cmake_minimum_required(VERSION 2.8) + find_package(FOAM REQUIRED) +endif() + +add_foam_executable(writeIbMasks + DEPENDS immersedBoundary + SOURCES ${sources} +) diff --git a/applications/utilities/mesh/CMakeLists.txt b/applications/utilities/mesh/CMakeLists.txt new file mode 100644 index 000000000..0c688067f --- /dev/null +++ b/applications/utilities/mesh/CMakeLists.txt @@ -0,0 +1,35 @@ +# --------------------------------------------------------------------------# ======== | +# \ / F ield | foam-extend: Open Source CFD +# \ / O peration | Version: 4.1 +# \ / A nd | Web: http://www.foam-extend.org +# \/ M anipulation | For copyright notice see file Copyright +# -------------------------------------------------------------------------- +# License +# This file is part of foam-extend. +# +# foam-extend 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 3 of the License, or {at your +# option} any later version. +# +# foam-extend 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 foam-extend. If not, see . +# +# Description +# CMakeLists.txt file for libraries and applications +# +# Author +# Henrik Rusche, Wikki GmbH, 2017. All rights reserved +# +# +# -------------------------------------------------------------------------- + +add_subdirectory(generation) +add_subdirectory(conversion) +add_subdirectory(advanced) +add_subdirectory(manipulation) \ No newline at end of file diff --git a/applications/utilities/mesh/advanced/CMakeLists.txt b/applications/utilities/mesh/advanced/CMakeLists.txt new file mode 100644 index 000000000..cb0bb4a6d --- /dev/null +++ b/applications/utilities/mesh/advanced/CMakeLists.txt @@ -0,0 +1,41 @@ +# --------------------------------------------------------------------------# ======== | +# \ / F ield | foam-extend: Open Source CFD +# \ / O peration | Version: 4.1 +# \ / A nd | Web: http://www.foam-extend.org +# \/ M anipulation | For copyright notice see file Copyright +# -------------------------------------------------------------------------- +# License +# This file is part of foam-extend. +# +# foam-extend 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 3 of the License, or {at your +# option} any later version. +# +# foam-extend 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 foam-extend. If not, see . +# +# Description +# CMakeLists.txt file for libraries and applications +# +# Author +# Henrik Rusche, Wikki GmbH, 2017. All rights reserved +# +# +# -------------------------------------------------------------------------- + +add_subdirectory(refineHexMesh) +add_subdirectory(removeFaces) +add_subdirectory(combinePatchFaces) +add_subdirectory(collapseEdges) +add_subdirectory(autoRefineMesh) +add_subdirectory(refinementLevel) +add_subdirectory(refineWallLayer) +add_subdirectory(splitCells) +add_subdirectory(modifyMesh) +add_subdirectory(selectCells) \ No newline at end of file diff --git a/applications/utilities/mesh/advanced/autoRefineMesh/CMakeLists.txt b/applications/utilities/mesh/advanced/autoRefineMesh/CMakeLists.txt new file mode 100644 index 000000000..8aac962c8 --- /dev/null +++ b/applications/utilities/mesh/advanced/autoRefineMesh/CMakeLists.txt @@ -0,0 +1,46 @@ +# -------------------------------------------------------------------------- +# ======== | +# \ / F ield | foam-extend: Open Source CFD +# \ / O peration | Version: 4.1 +# \ / A nd | Web: http://www.foam-extend.org +# \/ M anipulation | For copyright notice see file Copyright +# -------------------------------------------------------------------------- +# License +# This file is part of foam-extend. +# +# foam-extend 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 3 of the License, or {at your +# option} any later version. +# +# foam-extend 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 foam-extend. If not, see . +# +# Description +# CMakeLists.txt file for libraries and applications +# +# Author +# Henrik Rusche, Wikki GmbH, 2017. All rights reserved +# +# +# -------------------------------------------------------------------------- + +list(APPEND sources + autoRefineMesh.C +) + +# Set minimal environment for external compilation +if(NOT FOAM_FOUND) + cmake_minimum_required(VERSION 2.8) + find_package(FOAM REQUIRED) +endif() + +add_foam_executable(autoRefineMesh + DEPENDS finiteVolume dynamicMesh + SOURCES ${sources} +) diff --git a/applications/utilities/mesh/advanced/collapseEdges/CMakeLists.txt b/applications/utilities/mesh/advanced/collapseEdges/CMakeLists.txt new file mode 100644 index 000000000..71668b24c --- /dev/null +++ b/applications/utilities/mesh/advanced/collapseEdges/CMakeLists.txt @@ -0,0 +1,46 @@ +# -------------------------------------------------------------------------- +# ======== | +# \ / F ield | foam-extend: Open Source CFD +# \ / O peration | Version: 4.1 +# \ / A nd | Web: http://www.foam-extend.org +# \/ M anipulation | For copyright notice see file Copyright +# -------------------------------------------------------------------------- +# License +# This file is part of foam-extend. +# +# foam-extend 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 3 of the License, or {at your +# option} any later version. +# +# foam-extend 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 foam-extend. If not, see . +# +# Description +# CMakeLists.txt file for libraries and applications +# +# Author +# Henrik Rusche, Wikki GmbH, 2017. All rights reserved +# +# +# -------------------------------------------------------------------------- + +list(APPEND sources + collapseEdges.C +) + +# Set minimal environment for external compilation +if(NOT FOAM_FOUND) + cmake_minimum_required(VERSION 2.8) + find_package(FOAM REQUIRED) +endif() + +add_foam_executable(collapseEdges + DEPENDS finiteVolume dynamicMesh + SOURCES ${sources} +) diff --git a/applications/utilities/mesh/advanced/combinePatchFaces/CMakeLists.txt b/applications/utilities/mesh/advanced/combinePatchFaces/CMakeLists.txt new file mode 100644 index 000000000..8437a66f9 --- /dev/null +++ b/applications/utilities/mesh/advanced/combinePatchFaces/CMakeLists.txt @@ -0,0 +1,46 @@ +# -------------------------------------------------------------------------- +# ======== | +# \ / F ield | foam-extend: Open Source CFD +# \ / O peration | Version: 4.1 +# \ / A nd | Web: http://www.foam-extend.org +# \/ M anipulation | For copyright notice see file Copyright +# -------------------------------------------------------------------------- +# License +# This file is part of foam-extend. +# +# foam-extend 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 3 of the License, or {at your +# option} any later version. +# +# foam-extend 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 foam-extend. If not, see . +# +# Description +# CMakeLists.txt file for libraries and applications +# +# Author +# Henrik Rusche, Wikki GmbH, 2017. All rights reserved +# +# +# -------------------------------------------------------------------------- + +list(APPEND sources + combinePatchFaces.C +) + +# Set minimal environment for external compilation +if(NOT FOAM_FOUND) + cmake_minimum_required(VERSION 2.8) + find_package(FOAM REQUIRED) +endif() + +add_foam_executable(combinePatchFaces + DEPENDS finiteVolume dynamicMesh + SOURCES ${sources} +) diff --git a/applications/utilities/mesh/advanced/modifyMesh/CMakeLists.txt b/applications/utilities/mesh/advanced/modifyMesh/CMakeLists.txt new file mode 100644 index 000000000..72cea8707 --- /dev/null +++ b/applications/utilities/mesh/advanced/modifyMesh/CMakeLists.txt @@ -0,0 +1,47 @@ +# -------------------------------------------------------------------------- +# ======== | +# \ / F ield | foam-extend: Open Source CFD +# \ / O peration | Version: 4.1 +# \ / A nd | Web: http://www.foam-extend.org +# \/ M anipulation | For copyright notice see file Copyright +# -------------------------------------------------------------------------- +# License +# This file is part of foam-extend. +# +# foam-extend 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 3 of the License, or {at your +# option} any later version. +# +# foam-extend 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 foam-extend. If not, see . +# +# Description +# CMakeLists.txt file for libraries and applications +# +# Author +# Henrik Rusche, Wikki GmbH, 2017. All rights reserved +# +# +# -------------------------------------------------------------------------- + +list(APPEND sources + cellSplitter.C + modifyMesh.C +) + +# Set minimal environment for external compilation +if(NOT FOAM_FOUND) + cmake_minimum_required(VERSION 2.8) + find_package(FOAM REQUIRED) +endif() + +add_foam_executable(modifyMesh + DEPENDS finiteVolume dynamicMesh + SOURCES ${sources} +) diff --git a/applications/utilities/mesh/advanced/refineHexMesh/CMakeLists.txt b/applications/utilities/mesh/advanced/refineHexMesh/CMakeLists.txt new file mode 100644 index 000000000..e8d44a796 --- /dev/null +++ b/applications/utilities/mesh/advanced/refineHexMesh/CMakeLists.txt @@ -0,0 +1,46 @@ +# -------------------------------------------------------------------------- +# ======== | +# \ / F ield | foam-extend: Open Source CFD +# \ / O peration | Version: 4.1 +# \ / A nd | Web: http://www.foam-extend.org +# \/ M anipulation | For copyright notice see file Copyright +# -------------------------------------------------------------------------- +# License +# This file is part of foam-extend. +# +# foam-extend 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 3 of the License, or {at your +# option} any later version. +# +# foam-extend 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 foam-extend. If not, see . +# +# Description +# CMakeLists.txt file for libraries and applications +# +# Author +# Henrik Rusche, Wikki GmbH, 2017. All rights reserved +# +# +# -------------------------------------------------------------------------- + +list(APPEND sources + refineHexMesh.C +) + +# Set minimal environment for external compilation +if(NOT FOAM_FOUND) + cmake_minimum_required(VERSION 2.8) + find_package(FOAM REQUIRED) +endif() + +add_foam_executable(refineHexMesh + DEPENDS finiteVolume dynamicMesh + SOURCES ${sources} +) diff --git a/applications/utilities/mesh/advanced/refineWallLayer/CMakeLists.txt b/applications/utilities/mesh/advanced/refineWallLayer/CMakeLists.txt new file mode 100644 index 000000000..86d7a34e0 --- /dev/null +++ b/applications/utilities/mesh/advanced/refineWallLayer/CMakeLists.txt @@ -0,0 +1,46 @@ +# -------------------------------------------------------------------------- +# ======== | +# \ / F ield | foam-extend: Open Source CFD +# \ / O peration | Version: 4.1 +# \ / A nd | Web: http://www.foam-extend.org +# \/ M anipulation | For copyright notice see file Copyright +# -------------------------------------------------------------------------- +# License +# This file is part of foam-extend. +# +# foam-extend 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 3 of the License, or {at your +# option} any later version. +# +# foam-extend 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 foam-extend. If not, see . +# +# Description +# CMakeLists.txt file for libraries and applications +# +# Author +# Henrik Rusche, Wikki GmbH, 2017. All rights reserved +# +# +# -------------------------------------------------------------------------- + +list(APPEND sources + refineWallLayer.C +) + +# Set minimal environment for external compilation +if(NOT FOAM_FOUND) + cmake_minimum_required(VERSION 2.8) + find_package(FOAM REQUIRED) +endif() + +add_foam_executable(refineWallLayer + DEPENDS finiteVolume dynamicMesh + SOURCES ${sources} +) diff --git a/applications/utilities/mesh/advanced/refinementLevel/CMakeLists.txt b/applications/utilities/mesh/advanced/refinementLevel/CMakeLists.txt new file mode 100644 index 000000000..9caf3d21a --- /dev/null +++ b/applications/utilities/mesh/advanced/refinementLevel/CMakeLists.txt @@ -0,0 +1,46 @@ +# -------------------------------------------------------------------------- +# ======== | +# \ / F ield | foam-extend: Open Source CFD +# \ / O peration | Version: 4.1 +# \ / A nd | Web: http://www.foam-extend.org +# \/ M anipulation | For copyright notice see file Copyright +# -------------------------------------------------------------------------- +# License +# This file is part of foam-extend. +# +# foam-extend 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 3 of the License, or {at your +# option} any later version. +# +# foam-extend 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 foam-extend. If not, see . +# +# Description +# CMakeLists.txt file for libraries and applications +# +# Author +# Henrik Rusche, Wikki GmbH, 2017. All rights reserved +# +# +# -------------------------------------------------------------------------- + +list(APPEND sources + refinementLevel.C +) + +# Set minimal environment for external compilation +if(NOT FOAM_FOUND) + cmake_minimum_required(VERSION 2.8) + find_package(FOAM REQUIRED) +endif() + +add_foam_executable(refinementLevel + DEPENDS finiteVolume dynamicMesh + SOURCES ${sources} +) diff --git a/applications/utilities/mesh/advanced/removeFaces/CMakeLists.txt b/applications/utilities/mesh/advanced/removeFaces/CMakeLists.txt new file mode 100644 index 000000000..e84f156cc --- /dev/null +++ b/applications/utilities/mesh/advanced/removeFaces/CMakeLists.txt @@ -0,0 +1,46 @@ +# -------------------------------------------------------------------------- +# ======== | +# \ / F ield | foam-extend: Open Source CFD +# \ / O peration | Version: 4.1 +# \ / A nd | Web: http://www.foam-extend.org +# \/ M anipulation | For copyright notice see file Copyright +# -------------------------------------------------------------------------- +# License +# This file is part of foam-extend. +# +# foam-extend 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 3 of the License, or {at your +# option} any later version. +# +# foam-extend 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 foam-extend. If not, see . +# +# Description +# CMakeLists.txt file for libraries and applications +# +# Author +# Henrik Rusche, Wikki GmbH, 2017. All rights reserved +# +# +# -------------------------------------------------------------------------- + +list(APPEND sources + removeFaces.C +) + +# Set minimal environment for external compilation +if(NOT FOAM_FOUND) + cmake_minimum_required(VERSION 2.8) + find_package(FOAM REQUIRED) +endif() + +add_foam_executable(removeFaces + DEPENDS finiteVolume dynamicMesh + SOURCES ${sources} +) diff --git a/applications/utilities/mesh/advanced/selectCells/CMakeLists.txt b/applications/utilities/mesh/advanced/selectCells/CMakeLists.txt new file mode 100644 index 000000000..eda2e26bd --- /dev/null +++ b/applications/utilities/mesh/advanced/selectCells/CMakeLists.txt @@ -0,0 +1,47 @@ +# -------------------------------------------------------------------------- +# ======== | +# \ / F ield | foam-extend: Open Source CFD +# \ / O peration | Version: 4.1 +# \ / A nd | Web: http://www.foam-extend.org +# \/ M anipulation | For copyright notice see file Copyright +# -------------------------------------------------------------------------- +# License +# This file is part of foam-extend. +# +# foam-extend 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 3 of the License, or {at your +# option} any later version. +# +# foam-extend 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 foam-extend. If not, see . +# +# Description +# CMakeLists.txt file for libraries and applications +# +# Author +# Henrik Rusche, Wikki GmbH, 2017. All rights reserved +# +# +# -------------------------------------------------------------------------- + +list(APPEND sources + edgeStats.C + selectCells.C +) + +# Set minimal environment for external compilation +if(NOT FOAM_FOUND) + cmake_minimum_required(VERSION 2.8) + find_package(FOAM REQUIRED) +endif() + +add_foam_executable(selectCells + DEPENDS finiteVolume + SOURCES ${sources} +) diff --git a/applications/utilities/mesh/advanced/splitCells/CMakeLists.txt b/applications/utilities/mesh/advanced/splitCells/CMakeLists.txt new file mode 100644 index 000000000..5ecb4b776 --- /dev/null +++ b/applications/utilities/mesh/advanced/splitCells/CMakeLists.txt @@ -0,0 +1,46 @@ +# -------------------------------------------------------------------------- +# ======== | +# \ / F ield | foam-extend: Open Source CFD +# \ / O peration | Version: 4.1 +# \ / A nd | Web: http://www.foam-extend.org +# \/ M anipulation | For copyright notice see file Copyright +# -------------------------------------------------------------------------- +# License +# This file is part of foam-extend. +# +# foam-extend 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 3 of the License, or {at your +# option} any later version. +# +# foam-extend 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 foam-extend. If not, see . +# +# Description +# CMakeLists.txt file for libraries and applications +# +# Author +# Henrik Rusche, Wikki GmbH, 2017. All rights reserved +# +# +# -------------------------------------------------------------------------- + +list(APPEND sources + splitCells.C +) + +# Set minimal environment for external compilation +if(NOT FOAM_FOUND) + cmake_minimum_required(VERSION 2.8) + find_package(FOAM REQUIRED) +endif() + +add_foam_executable(splitCells + DEPENDS finiteVolume dynamicMesh + SOURCES ${sources} +) diff --git a/applications/utilities/mesh/conversion/CMakeLists.txt b/applications/utilities/mesh/conversion/CMakeLists.txt new file mode 100644 index 000000000..1f2294e39 --- /dev/null +++ b/applications/utilities/mesh/conversion/CMakeLists.txt @@ -0,0 +1,54 @@ +# --------------------------------------------------------------------------# ======== | +# \ / F ield | foam-extend: Open Source CFD +# \ / O peration | Version: 4.1 +# \ / A nd | Web: http://www.foam-extend.org +# \/ M anipulation | For copyright notice see file Copyright +# -------------------------------------------------------------------------- +# License +# This file is part of foam-extend. +# +# foam-extend 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 3 of the License, or {at your +# option} any later version. +# +# foam-extend 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 foam-extend. If not, see . +# +# Description +# CMakeLists.txt file for libraries and applications +# +# Author +# Henrik Rusche, Wikki GmbH, 2017. All rights reserved +# +# +# -------------------------------------------------------------------------- + +add_subdirectory(netgenNeutralToFoam) +add_subdirectory(writeMeshObj) +add_subdirectory(polyDualMesh) +add_subdirectory(gmshToFoam) +add_subdirectory(cfx4ToFoam) +add_subdirectory(ideasUnvToFoam) +add_subdirectory(foamMeshToElmer) +add_subdirectory(fluent3DMeshToElmer) +add_subdirectory(sammToFoam) +add_subdirectory(Optional) +add_subdirectory(mshToFoam) +add_subdirectory(foamMeshToAbaqus) +add_subdirectory(starToFoam) +add_subdirectory(kivaToFoam) +add_subdirectory(foamMeshToFluent) +add_subdirectory(gambitToFoam) +add_subdirectory(ansysToFoam) +add_subdirectory(foamToStarMesh) +add_subdirectory(plot3dToFoam) +add_subdirectory(fluent3DMeshToFoam) +add_subdirectory(tetgenToFoam) +add_subdirectory(fluentMeshToFoam) +add_subdirectory(star4ToFoam) \ No newline at end of file diff --git a/applications/utilities/mesh/conversion/Optional/CMakeLists.txt b/applications/utilities/mesh/conversion/Optional/CMakeLists.txt new file mode 100644 index 000000000..9b4ae369b --- /dev/null +++ b/applications/utilities/mesh/conversion/Optional/CMakeLists.txt @@ -0,0 +1,32 @@ +# --------------------------------------------------------------------------# ======== | +# \ / F ield | foam-extend: Open Source CFD +# \ / O peration | Version: 4.1 +# \ / A nd | Web: http://www.foam-extend.org +# \/ M anipulation | For copyright notice see file Copyright +# -------------------------------------------------------------------------- +# License +# This file is part of foam-extend. +# +# foam-extend 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 3 of the License, or {at your +# option} any later version. +# +# foam-extend 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 foam-extend. If not, see . +# +# Description +# CMakeLists.txt file for libraries and applications +# +# Author +# Henrik Rusche, Wikki GmbH, 2017. All rights reserved +# +# +# -------------------------------------------------------------------------- + +#add_subdirectory(ccm26ToFoam) diff --git a/applications/utilities/mesh/conversion/Optional/ccm26ToFoam/CMakeLists.txt b/applications/utilities/mesh/conversion/Optional/ccm26ToFoam/CMakeLists.txt new file mode 100644 index 000000000..0e8d1b7a0 --- /dev/null +++ b/applications/utilities/mesh/conversion/Optional/ccm26ToFoam/CMakeLists.txt @@ -0,0 +1,46 @@ +# -------------------------------------------------------------------------- +# ======== | +# \ / F ield | foam-extend: Open Source CFD +# \ / O peration | Version: 4.1 +# \ / A nd | Web: http://www.foam-extend.org +# \/ M anipulation | For copyright notice see file Copyright +# -------------------------------------------------------------------------- +# License +# This file is part of foam-extend. +# +# foam-extend 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 3 of the License, or {at your +# option} any later version. +# +# foam-extend 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 foam-extend. If not, see . +# +# Description +# CMakeLists.txt file for libraries and applications +# +# Author +# Henrik Rusche, Wikki GmbH, 2017. All rights reserved +# +# +# -------------------------------------------------------------------------- + +list(APPEND sources + ccm26ToFoam.C +) + +# Set minimal environment for external compilation +if(NOT FOAM_FOUND) + cmake_minimum_required(VERSION 2.8) + find_package(FOAM REQUIRED) +endif() + +add_foam_executable(ccm26ToFoam + DEPENDS finiteVolume meshTools + SOURCES ${sources} +) diff --git a/applications/utilities/mesh/conversion/ansysToFoam/CMakeLists.txt b/applications/utilities/mesh/conversion/ansysToFoam/CMakeLists.txt new file mode 100644 index 000000000..513184b38 --- /dev/null +++ b/applications/utilities/mesh/conversion/ansysToFoam/CMakeLists.txt @@ -0,0 +1,46 @@ +# -------------------------------------------------------------------------- +# ======== | +# \ / F ield | foam-extend: Open Source CFD +# \ / O peration | Version: 4.1 +# \ / A nd | Web: http://www.foam-extend.org +# \/ M anipulation | For copyright notice see file Copyright +# -------------------------------------------------------------------------- +# License +# This file is part of foam-extend. +# +# foam-extend 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 3 of the License, or {at your +# option} any later version. +# +# foam-extend 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 foam-extend. If not, see . +# +# Description +# CMakeLists.txt file for libraries and applications +# +# Author +# Henrik Rusche, Wikki GmbH, 2017. All rights reserved +# +# +# -------------------------------------------------------------------------- + +FLEX_TARGET(ansysToFoam ansysToFoam.L + ${CMAKE_CURRENT_BINARY_DIR}/ansysToFoam.C COMPILE_FLAGS "-+") +list(APPEND sources ${FLEX_ansysToFoam_OUTPUTS}) + +# Set minimal environment for external compilation +if(NOT FOAM_FOUND) + cmake_minimum_required(VERSION 2.8) + find_package(FOAM REQUIRED) +endif() + +add_foam_executable(ansysToFoam + DEPENDS foam + SOURCES ${sources} +) diff --git a/applications/utilities/mesh/conversion/cfx4ToFoam/CMakeLists.txt b/applications/utilities/mesh/conversion/cfx4ToFoam/CMakeLists.txt new file mode 100644 index 000000000..8acef9951 --- /dev/null +++ b/applications/utilities/mesh/conversion/cfx4ToFoam/CMakeLists.txt @@ -0,0 +1,47 @@ +# -------------------------------------------------------------------------- +# ======== | +# \ / F ield | foam-extend: Open Source CFD +# \ / O peration | Version: 4.1 +# \ / A nd | Web: http://www.foam-extend.org +# \/ M anipulation | For copyright notice see file Copyright +# -------------------------------------------------------------------------- +# License +# This file is part of foam-extend. +# +# foam-extend 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 3 of the License, or {at your +# option} any later version. +# +# foam-extend 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 foam-extend. If not, see . +# +# Description +# CMakeLists.txt file for libraries and applications +# +# Author +# Henrik Rusche, Wikki GmbH, 2017. All rights reserved +# +# +# -------------------------------------------------------------------------- + +list(APPEND sources + hexBlock.C + cfx4ToFoam.C +) + +# Set minimal environment for external compilation +if(NOT FOAM_FOUND) + cmake_minimum_required(VERSION 2.8) + find_package(FOAM REQUIRED) +endif() + +add_foam_executable(cfx4ToFoam + DEPENDS foam + SOURCES ${sources} +) diff --git a/applications/utilities/mesh/conversion/fluent3DMeshToElmer/CMakeLists.txt b/applications/utilities/mesh/conversion/fluent3DMeshToElmer/CMakeLists.txt new file mode 100644 index 000000000..d4e795840 --- /dev/null +++ b/applications/utilities/mesh/conversion/fluent3DMeshToElmer/CMakeLists.txt @@ -0,0 +1,46 @@ +# -------------------------------------------------------------------------- +# ======== | +# \ / F ield | foam-extend: Open Source CFD +# \ / O peration | Version: 4.1 +# \ / A nd | Web: http://www.foam-extend.org +# \/ M anipulation | For copyright notice see file Copyright +# -------------------------------------------------------------------------- +# License +# This file is part of foam-extend. +# +# foam-extend 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 3 of the License, or {at your +# option} any later version. +# +# foam-extend 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 foam-extend. If not, see . +# +# Description +# CMakeLists.txt file for libraries and applications +# +# Author +# Henrik Rusche, Wikki GmbH, 2017. All rights reserved +# +# +# -------------------------------------------------------------------------- + +FLEX_TARGET(fluent3DMeshToElmer fluent3DMeshToElmer.L + ${CMAKE_CURRENT_BINARY_DIR}/fluent3DMeshToElmer.C COMPILE_FLAGS "-+") +list(APPEND sources ${FLEX_fluent3DMeshToElmer_OUTPUTS}) + +# Set minimal environment for external compilation +if(NOT FOAM_FOUND) + cmake_minimum_required(VERSION 2.8) + find_package(FOAM REQUIRED) +endif() + +add_foam_executable(fluent3DMeshToElmer + DEPENDS dynamicMesh conversion + SOURCES ${sources} +) diff --git a/applications/utilities/mesh/conversion/fluent3DMeshToFoam/CMakeLists.txt b/applications/utilities/mesh/conversion/fluent3DMeshToFoam/CMakeLists.txt new file mode 100644 index 000000000..6f9b49b09 --- /dev/null +++ b/applications/utilities/mesh/conversion/fluent3DMeshToFoam/CMakeLists.txt @@ -0,0 +1,46 @@ +# -------------------------------------------------------------------------- +# ======== | +# \ / F ield | foam-extend: Open Source CFD +# \ / O peration | Version: 4.1 +# \ / A nd | Web: http://www.foam-extend.org +# \/ M anipulation | For copyright notice see file Copyright +# -------------------------------------------------------------------------- +# License +# This file is part of foam-extend. +# +# foam-extend 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 3 of the License, or {at your +# option} any later version. +# +# foam-extend 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 foam-extend. If not, see . +# +# Description +# CMakeLists.txt file for libraries and applications +# +# Author +# Henrik Rusche, Wikki GmbH, 2017. All rights reserved +# +# +# -------------------------------------------------------------------------- + +FLEX_TARGET(fluent3DMeshToFoam fluent3DMeshToFoam.L + ${CMAKE_CURRENT_BINARY_DIR}/fluent3DMeshToFoam.C COMPILE_FLAGS "-+") +list(APPEND sources ${FLEX_fluent3DMeshToFoam_OUTPUTS}) + +# Set minimal environment for external compilation +if(NOT FOAM_FOUND) + cmake_minimum_required(VERSION 2.8) + find_package(FOAM REQUIRED) +endif() + +add_foam_executable(fluent3DMeshToFoam + DEPENDS dynamicMesh + SOURCES ${sources} +) diff --git a/applications/utilities/mesh/conversion/fluentMeshToFoam/CMakeLists.txt b/applications/utilities/mesh/conversion/fluentMeshToFoam/CMakeLists.txt new file mode 100644 index 000000000..4fa257d2a --- /dev/null +++ b/applications/utilities/mesh/conversion/fluentMeshToFoam/CMakeLists.txt @@ -0,0 +1,51 @@ +# -------------------------------------------------------------------------- +# ======== | +# \ / F ield | foam-extend: Open Source CFD +# \ / O peration | Version: 4.1 +# \ / A nd | Web: http://www.foam-extend.org +# \/ M anipulation | For copyright notice see file Copyright +# -------------------------------------------------------------------------- +# License +# This file is part of foam-extend. +# +# foam-extend 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 3 of the License, or {at your +# option} any later version. +# +# foam-extend 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 foam-extend. If not, see . +# +# Description +# CMakeLists.txt file for libraries and applications +# +# Author +# Henrik Rusche, Wikki GmbH, 2017. All rights reserved +# +# +# -------------------------------------------------------------------------- + +list(APPEND sources + extrudedTriangleCellShape.C + extrudedQuadCellShape.C + create3DCellShape.C +) +FLEX_TARGET(fluentMeshToFoam fluentMeshToFoam.L + ${CMAKE_CURRENT_BINARY_DIR}/fluentMeshToFoam.C COMPILE_FLAGS "-+") +list(APPEND sources ${FLEX_fluentMeshToFoam_OUTPUTS}) + +# Set minimal environment for external compilation +if(NOT FOAM_FOUND) + cmake_minimum_required(VERSION 2.8) + find_package(FOAM REQUIRED) +endif() + +add_foam_executable(fluentMeshToFoam + DEPENDS dynamicMesh + SOURCES ${sources} +) diff --git a/applications/utilities/mesh/conversion/foamMeshToAbaqus/CMakeLists.txt b/applications/utilities/mesh/conversion/foamMeshToAbaqus/CMakeLists.txt new file mode 100644 index 000000000..b044a1de7 --- /dev/null +++ b/applications/utilities/mesh/conversion/foamMeshToAbaqus/CMakeLists.txt @@ -0,0 +1,46 @@ +# -------------------------------------------------------------------------- +# ======== | +# \ / F ield | foam-extend: Open Source CFD +# \ / O peration | Version: 4.1 +# \ / A nd | Web: http://www.foam-extend.org +# \/ M anipulation | For copyright notice see file Copyright +# -------------------------------------------------------------------------- +# License +# This file is part of foam-extend. +# +# foam-extend 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 3 of the License, or {at your +# option} any later version. +# +# foam-extend 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 foam-extend. If not, see . +# +# Description +# CMakeLists.txt file for libraries and applications +# +# Author +# Henrik Rusche, Wikki GmbH, 2017. All rights reserved +# +# +# -------------------------------------------------------------------------- + +list(APPEND sources + foamMeshToAbaqus.C +) + +# Set minimal environment for external compilation +if(NOT FOAM_FOUND) + cmake_minimum_required(VERSION 2.8) + find_package(FOAM REQUIRED) +endif() + +add_foam_executable(foamMeshToAbaqus + DEPENDS finiteVolume + SOURCES ${sources} +) diff --git a/applications/utilities/mesh/conversion/foamMeshToElmer/CMakeLists.txt b/applications/utilities/mesh/conversion/foamMeshToElmer/CMakeLists.txt new file mode 100644 index 000000000..85393bd4f --- /dev/null +++ b/applications/utilities/mesh/conversion/foamMeshToElmer/CMakeLists.txt @@ -0,0 +1,46 @@ +# -------------------------------------------------------------------------- +# ======== | +# \ / F ield | foam-extend: Open Source CFD +# \ / O peration | Version: 4.1 +# \ / A nd | Web: http://www.foam-extend.org +# \/ M anipulation | For copyright notice see file Copyright +# -------------------------------------------------------------------------- +# License +# This file is part of foam-extend. +# +# foam-extend 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 3 of the License, or {at your +# option} any later version. +# +# foam-extend 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 foam-extend. If not, see . +# +# Description +# CMakeLists.txt file for libraries and applications +# +# Author +# Henrik Rusche, Wikki GmbH, 2017. All rights reserved +# +# +# -------------------------------------------------------------------------- + +list(APPEND sources + foamMeshToElmer.C +) + +# Set minimal environment for external compilation +if(NOT FOAM_FOUND) + cmake_minimum_required(VERSION 2.8) + find_package(FOAM REQUIRED) +endif() + +add_foam_executable(foamMeshToElmer + DEPENDS conversion + SOURCES ${sources} +) diff --git a/applications/utilities/mesh/conversion/foamMeshToFluent/CMakeLists.txt b/applications/utilities/mesh/conversion/foamMeshToFluent/CMakeLists.txt new file mode 100644 index 000000000..ab3229c5a --- /dev/null +++ b/applications/utilities/mesh/conversion/foamMeshToFluent/CMakeLists.txt @@ -0,0 +1,47 @@ +# -------------------------------------------------------------------------- +# ======== | +# \ / F ield | foam-extend: Open Source CFD +# \ / O peration | Version: 4.1 +# \ / A nd | Web: http://www.foam-extend.org +# \/ M anipulation | For copyright notice see file Copyright +# -------------------------------------------------------------------------- +# License +# This file is part of foam-extend. +# +# foam-extend 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 3 of the License, or {at your +# option} any later version. +# +# foam-extend 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 foam-extend. If not, see . +# +# Description +# CMakeLists.txt file for libraries and applications +# +# Author +# Henrik Rusche, Wikki GmbH, 2017. All rights reserved +# +# +# -------------------------------------------------------------------------- + +list(APPEND sources + fluentFvMesh.C + foamMeshToFluent.C +) + +# Set minimal environment for external compilation +if(NOT FOAM_FOUND) + cmake_minimum_required(VERSION 2.8) + find_package(FOAM REQUIRED) +endif() + +add_foam_executable(foamMeshToFluent + DEPENDS finiteVolume + SOURCES ${sources} +) diff --git a/applications/utilities/mesh/conversion/foamToStarMesh/CMakeLists.txt b/applications/utilities/mesh/conversion/foamToStarMesh/CMakeLists.txt new file mode 100644 index 000000000..9a2fb3dc7 --- /dev/null +++ b/applications/utilities/mesh/conversion/foamToStarMesh/CMakeLists.txt @@ -0,0 +1,46 @@ +# -------------------------------------------------------------------------- +# ======== | +# \ / F ield | foam-extend: Open Source CFD +# \ / O peration | Version: 4.1 +# \ / A nd | Web: http://www.foam-extend.org +# \/ M anipulation | For copyright notice see file Copyright +# -------------------------------------------------------------------------- +# License +# This file is part of foam-extend. +# +# foam-extend 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 3 of the License, or {at your +# option} any later version. +# +# foam-extend 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 foam-extend. If not, see . +# +# Description +# CMakeLists.txt file for libraries and applications +# +# Author +# Henrik Rusche, Wikki GmbH, 2017. All rights reserved +# +# +# -------------------------------------------------------------------------- + +list(APPEND sources + foamToStarMesh.C +) + +# Set minimal environment for external compilation +if(NOT FOAM_FOUND) + cmake_minimum_required(VERSION 2.8) + find_package(FOAM REQUIRED) +endif() + +add_foam_executable(foamToStarMesh + DEPENDS conversion + SOURCES ${sources} +) diff --git a/applications/utilities/mesh/conversion/gambitToFoam/CMakeLists.txt b/applications/utilities/mesh/conversion/gambitToFoam/CMakeLists.txt new file mode 100644 index 000000000..1a8703d88 --- /dev/null +++ b/applications/utilities/mesh/conversion/gambitToFoam/CMakeLists.txt @@ -0,0 +1,46 @@ +# -------------------------------------------------------------------------- +# ======== | +# \ / F ield | foam-extend: Open Source CFD +# \ / O peration | Version: 4.1 +# \ / A nd | Web: http://www.foam-extend.org +# \/ M anipulation | For copyright notice see file Copyright +# -------------------------------------------------------------------------- +# License +# This file is part of foam-extend. +# +# foam-extend 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 3 of the License, or {at your +# option} any later version. +# +# foam-extend 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 foam-extend. If not, see . +# +# Description +# CMakeLists.txt file for libraries and applications +# +# Author +# Henrik Rusche, Wikki GmbH, 2017. All rights reserved +# +# +# -------------------------------------------------------------------------- + +FLEX_TARGET(gambitToFoam gambitToFoam.L + ${CMAKE_CURRENT_BINARY_DIR}/gambitToFoam.C COMPILE_FLAGS "-+") +list(APPEND sources ${FLEX_gambitToFoam_OUTPUTS}) + +# Set minimal environment for external compilation +if(NOT FOAM_FOUND) + cmake_minimum_required(VERSION 2.8) + find_package(FOAM REQUIRED) +endif() + +add_foam_executable(gambitToFoam + DEPENDS foam + SOURCES ${sources} +) diff --git a/applications/utilities/mesh/conversion/gmshToFoam/CMakeLists.txt b/applications/utilities/mesh/conversion/gmshToFoam/CMakeLists.txt new file mode 100644 index 000000000..5338a8503 --- /dev/null +++ b/applications/utilities/mesh/conversion/gmshToFoam/CMakeLists.txt @@ -0,0 +1,46 @@ +# -------------------------------------------------------------------------- +# ======== | +# \ / F ield | foam-extend: Open Source CFD +# \ / O peration | Version: 4.1 +# \ / A nd | Web: http://www.foam-extend.org +# \/ M anipulation | For copyright notice see file Copyright +# -------------------------------------------------------------------------- +# License +# This file is part of foam-extend. +# +# foam-extend 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 3 of the License, or {at your +# option} any later version. +# +# foam-extend 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 foam-extend. If not, see . +# +# Description +# CMakeLists.txt file for libraries and applications +# +# Author +# Henrik Rusche, Wikki GmbH, 2017. All rights reserved +# +# +# -------------------------------------------------------------------------- + +list(APPEND sources + gmshToFoam.C +) + +# Set minimal environment for external compilation +if(NOT FOAM_FOUND) + cmake_minimum_required(VERSION 2.8) + find_package(FOAM REQUIRED) +endif() + +add_foam_executable(gmshToFoam + DEPENDS dynamicMesh meshTools + SOURCES ${sources} +) diff --git a/applications/utilities/mesh/conversion/ideasUnvToFoam/CMakeLists.txt b/applications/utilities/mesh/conversion/ideasUnvToFoam/CMakeLists.txt new file mode 100644 index 000000000..d99117286 --- /dev/null +++ b/applications/utilities/mesh/conversion/ideasUnvToFoam/CMakeLists.txt @@ -0,0 +1,46 @@ +# -------------------------------------------------------------------------- +# ======== | +# \ / F ield | foam-extend: Open Source CFD +# \ / O peration | Version: 4.1 +# \ / A nd | Web: http://www.foam-extend.org +# \/ M anipulation | For copyright notice see file Copyright +# -------------------------------------------------------------------------- +# License +# This file is part of foam-extend. +# +# foam-extend 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 3 of the License, or {at your +# option} any later version. +# +# foam-extend 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 foam-extend. If not, see . +# +# Description +# CMakeLists.txt file for libraries and applications +# +# Author +# Henrik Rusche, Wikki GmbH, 2017. All rights reserved +# +# +# -------------------------------------------------------------------------- + +list(APPEND sources + ideasUnvToFoam.C +) + +# Set minimal environment for external compilation +if(NOT FOAM_FOUND) + cmake_minimum_required(VERSION 2.8) + find_package(FOAM REQUIRED) +endif() + +add_foam_executable(ideasUnvToFoam + DEPENDS meshTools + SOURCES ${sources} +) diff --git a/applications/utilities/mesh/conversion/kivaToFoam/CMakeLists.txt b/applications/utilities/mesh/conversion/kivaToFoam/CMakeLists.txt new file mode 100644 index 000000000..9d437c99b --- /dev/null +++ b/applications/utilities/mesh/conversion/kivaToFoam/CMakeLists.txt @@ -0,0 +1,46 @@ +# -------------------------------------------------------------------------- +# ======== | +# \ / F ield | foam-extend: Open Source CFD +# \ / O peration | Version: 4.1 +# \ / A nd | Web: http://www.foam-extend.org +# \/ M anipulation | For copyright notice see file Copyright +# -------------------------------------------------------------------------- +# License +# This file is part of foam-extend. +# +# foam-extend 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 3 of the License, or {at your +# option} any later version. +# +# foam-extend 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 foam-extend. If not, see . +# +# Description +# CMakeLists.txt file for libraries and applications +# +# Author +# Henrik Rusche, Wikki GmbH, 2017. All rights reserved +# +# +# -------------------------------------------------------------------------- + +list(APPEND sources + kivaToFoam.C +) + +# Set minimal environment for external compilation +if(NOT FOAM_FOUND) + cmake_minimum_required(VERSION 2.8) + find_package(FOAM REQUIRED) +endif() + +add_foam_executable(kivaToFoam + DEPENDS foam + SOURCES ${sources} +) diff --git a/applications/utilities/mesh/conversion/mshToFoam/CMakeLists.txt b/applications/utilities/mesh/conversion/mshToFoam/CMakeLists.txt new file mode 100644 index 000000000..d84ba0472 --- /dev/null +++ b/applications/utilities/mesh/conversion/mshToFoam/CMakeLists.txt @@ -0,0 +1,46 @@ +# -------------------------------------------------------------------------- +# ======== | +# \ / F ield | foam-extend: Open Source CFD +# \ / O peration | Version: 4.1 +# \ / A nd | Web: http://www.foam-extend.org +# \/ M anipulation | For copyright notice see file Copyright +# -------------------------------------------------------------------------- +# License +# This file is part of foam-extend. +# +# foam-extend 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 3 of the License, or {at your +# option} any later version. +# +# foam-extend 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 foam-extend. If not, see . +# +# Description +# CMakeLists.txt file for libraries and applications +# +# Author +# Henrik Rusche, Wikki GmbH, 2017. All rights reserved +# +# +# -------------------------------------------------------------------------- + +list(APPEND sources + mshToFoam.C +) + +# Set minimal environment for external compilation +if(NOT FOAM_FOUND) + cmake_minimum_required(VERSION 2.8) + find_package(FOAM REQUIRED) +endif() + +add_foam_executable(mshToFoam + DEPENDS foam + SOURCES ${sources} +) diff --git a/applications/utilities/mesh/conversion/netgenNeutralToFoam/CMakeLists.txt b/applications/utilities/mesh/conversion/netgenNeutralToFoam/CMakeLists.txt new file mode 100644 index 000000000..5ed98fb77 --- /dev/null +++ b/applications/utilities/mesh/conversion/netgenNeutralToFoam/CMakeLists.txt @@ -0,0 +1,46 @@ +# -------------------------------------------------------------------------- +# ======== | +# \ / F ield | foam-extend: Open Source CFD +# \ / O peration | Version: 4.1 +# \ / A nd | Web: http://www.foam-extend.org +# \/ M anipulation | For copyright notice see file Copyright +# -------------------------------------------------------------------------- +# License +# This file is part of foam-extend. +# +# foam-extend 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 3 of the License, or {at your +# option} any later version. +# +# foam-extend 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 foam-extend. If not, see . +# +# Description +# CMakeLists.txt file for libraries and applications +# +# Author +# Henrik Rusche, Wikki GmbH, 2017. All rights reserved +# +# +# -------------------------------------------------------------------------- + +list(APPEND sources + netgenNeutralToFoam.C +) + +# Set minimal environment for external compilation +if(NOT FOAM_FOUND) + cmake_minimum_required(VERSION 2.8) + find_package(FOAM REQUIRED) +endif() + +add_foam_executable(netgenNeutralToFoam + DEPENDS foam + SOURCES ${sources} +) diff --git a/applications/utilities/mesh/conversion/plot3dToFoam/CMakeLists.txt b/applications/utilities/mesh/conversion/plot3dToFoam/CMakeLists.txt new file mode 100644 index 000000000..c604ad3a0 --- /dev/null +++ b/applications/utilities/mesh/conversion/plot3dToFoam/CMakeLists.txt @@ -0,0 +1,47 @@ +# -------------------------------------------------------------------------- +# ======== | +# \ / F ield | foam-extend: Open Source CFD +# \ / O peration | Version: 4.1 +# \ / A nd | Web: http://www.foam-extend.org +# \/ M anipulation | For copyright notice see file Copyright +# -------------------------------------------------------------------------- +# License +# This file is part of foam-extend. +# +# foam-extend 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 3 of the License, or {at your +# option} any later version. +# +# foam-extend 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 foam-extend. If not, see . +# +# Description +# CMakeLists.txt file for libraries and applications +# +# Author +# Henrik Rusche, Wikki GmbH, 2017. All rights reserved +# +# +# -------------------------------------------------------------------------- + +list(APPEND sources + hexBlock.C + plot3dToFoam.C +) + +# Set minimal environment for external compilation +if(NOT FOAM_FOUND) + cmake_minimum_required(VERSION 2.8) + find_package(FOAM REQUIRED) +endif() + +add_foam_executable(plot3dToFoam + DEPENDS foam + SOURCES ${sources} +) diff --git a/applications/utilities/mesh/conversion/polyDualMesh/CMakeLists.txt b/applications/utilities/mesh/conversion/polyDualMesh/CMakeLists.txt new file mode 100644 index 000000000..d493223b2 --- /dev/null +++ b/applications/utilities/mesh/conversion/polyDualMesh/CMakeLists.txt @@ -0,0 +1,47 @@ +# -------------------------------------------------------------------------- +# ======== | +# \ / F ield | foam-extend: Open Source CFD +# \ / O peration | Version: 4.1 +# \ / A nd | Web: http://www.foam-extend.org +# \/ M anipulation | For copyright notice see file Copyright +# -------------------------------------------------------------------------- +# License +# This file is part of foam-extend. +# +# foam-extend 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 3 of the License, or {at your +# option} any later version. +# +# foam-extend 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 foam-extend. If not, see . +# +# Description +# CMakeLists.txt file for libraries and applications +# +# Author +# Henrik Rusche, Wikki GmbH, 2017. All rights reserved +# +# +# -------------------------------------------------------------------------- + +list(APPEND sources + meshDualiser.C + polyDualMeshApp.C +) + +# Set minimal environment for external compilation +if(NOT FOAM_FOUND) + cmake_minimum_required(VERSION 2.8) + find_package(FOAM REQUIRED) +endif() + +add_foam_executable(polyDualMesh + DEPENDS finiteVolume dynamicMesh + SOURCES ${sources} +) diff --git a/applications/utilities/mesh/conversion/sammToFoam/CMakeLists.txt b/applications/utilities/mesh/conversion/sammToFoam/CMakeLists.txt new file mode 100644 index 000000000..2b5df5c26 --- /dev/null +++ b/applications/utilities/mesh/conversion/sammToFoam/CMakeLists.txt @@ -0,0 +1,60 @@ +# -------------------------------------------------------------------------- +# ======== | +# \ / F ield | foam-extend: Open Source CFD +# \ / O peration | Version: 4.1 +# \ / A nd | Web: http://www.foam-extend.org +# \/ M anipulation | For copyright notice see file Copyright +# -------------------------------------------------------------------------- +# License +# This file is part of foam-extend. +# +# foam-extend 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 3 of the License, or {at your +# option} any later version. +# +# foam-extend 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 foam-extend. If not, see . +# +# Description +# CMakeLists.txt file for libraries and applications +# +# Author +# Henrik Rusche, Wikki GmbH, 2017. All rights reserved +# +# +# -------------------------------------------------------------------------- + +list(APPEND sources + sammMesh.C + fillSammCellShapeTable.C + fillSammAddressingTable.C + readPoints.C + readCells.C + readBoundary.C + fixCollapsedEdges.C + readCouples.C + calcPointCells.C + createPolyCells.C + createBoundaryFaces.C + createPolyBoundary.C + purgeCellShapes.C + writeMesh.C + sammToFoam.C +) + +# Set minimal environment for external compilation +if(NOT FOAM_FOUND) + cmake_minimum_required(VERSION 2.8) + find_package(FOAM REQUIRED) +endif() + +add_foam_executable(sammToFoam + DEPENDS foam + SOURCES ${sources} +) diff --git a/applications/utilities/mesh/conversion/star4ToFoam/CMakeLists.txt b/applications/utilities/mesh/conversion/star4ToFoam/CMakeLists.txt new file mode 100644 index 000000000..9ad80b336 --- /dev/null +++ b/applications/utilities/mesh/conversion/star4ToFoam/CMakeLists.txt @@ -0,0 +1,34 @@ +# --------------------------------------------------------------------------# ======== | +# \ / F ield | foam-extend: Open Source CFD +# \ / O peration | Version: 4.1 +# \ / A nd | Web: http://www.foam-extend.org +# \/ M anipulation | For copyright notice see file Copyright +# -------------------------------------------------------------------------- +# License +# This file is part of foam-extend. +# +# foam-extend 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 3 of the License, or {at your +# option} any later version. +# +# foam-extend 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 foam-extend. If not, see . +# +# Description +# CMakeLists.txt file for libraries and applications +# +# Author +# Henrik Rusche, Wikki GmbH, 2017. All rights reserved +# +# +# -------------------------------------------------------------------------- + +add_subdirectory(foamMeshToStar) +add_subdirectory(cellZoneToCellTableId) +#add_subdirectory(star4ToFoam) diff --git a/applications/utilities/mesh/conversion/star4ToFoam/cellZoneToCellTableId/CMakeLists.txt b/applications/utilities/mesh/conversion/star4ToFoam/cellZoneToCellTableId/CMakeLists.txt new file mode 100644 index 000000000..5238976db --- /dev/null +++ b/applications/utilities/mesh/conversion/star4ToFoam/cellZoneToCellTableId/CMakeLists.txt @@ -0,0 +1,46 @@ +# -------------------------------------------------------------------------- +# ======== | +# \ / F ield | foam-extend: Open Source CFD +# \ / O peration | Version: 4.1 +# \ / A nd | Web: http://www.foam-extend.org +# \/ M anipulation | For copyright notice see file Copyright +# -------------------------------------------------------------------------- +# License +# This file is part of foam-extend. +# +# foam-extend 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 3 of the License, or {at your +# option} any later version. +# +# foam-extend 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 foam-extend. If not, see . +# +# Description +# CMakeLists.txt file for libraries and applications +# +# Author +# Henrik Rusche, Wikki GmbH, 2017. All rights reserved +# +# +# -------------------------------------------------------------------------- + +list(APPEND sources + cellZoneToCellTableId.C +) + +# Set minimal environment for external compilation +if(NOT FOAM_FOUND) + cmake_minimum_required(VERSION 2.8) + find_package(FOAM REQUIRED) +endif() + +add_foam_executable(cellZoneToCellTableId + DEPENDS finiteVolume + SOURCES ${sources} +) diff --git a/applications/utilities/mesh/conversion/star4ToFoam/foamMeshToStar/CMakeLists.txt b/applications/utilities/mesh/conversion/star4ToFoam/foamMeshToStar/CMakeLists.txt new file mode 100644 index 000000000..30c0bf731 --- /dev/null +++ b/applications/utilities/mesh/conversion/star4ToFoam/foamMeshToStar/CMakeLists.txt @@ -0,0 +1,46 @@ +# -------------------------------------------------------------------------- +# ======== | +# \ / F ield | foam-extend: Open Source CFD +# \ / O peration | Version: 4.1 +# \ / A nd | Web: http://www.foam-extend.org +# \/ M anipulation | For copyright notice see file Copyright +# -------------------------------------------------------------------------- +# License +# This file is part of foam-extend. +# +# foam-extend 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 3 of the License, or {at your +# option} any later version. +# +# foam-extend 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 foam-extend. If not, see . +# +# Description +# CMakeLists.txt file for libraries and applications +# +# Author +# Henrik Rusche, Wikki GmbH, 2017. All rights reserved +# +# +# -------------------------------------------------------------------------- + +list(APPEND sources + foamMeshToStar.C +) + +# Set minimal environment for external compilation +if(NOT FOAM_FOUND) + cmake_minimum_required(VERSION 2.8) + find_package(FOAM REQUIRED) +endif() + +add_foam_executable(foamMeshToStar + DEPENDS conversion meshTools + SOURCES ${sources} +) diff --git a/applications/utilities/mesh/conversion/star4ToFoam/star4ToFoam/CMakeLists.txt b/applications/utilities/mesh/conversion/star4ToFoam/star4ToFoam/CMakeLists.txt new file mode 100644 index 000000000..f30a4c39d --- /dev/null +++ b/applications/utilities/mesh/conversion/star4ToFoam/star4ToFoam/CMakeLists.txt @@ -0,0 +1,52 @@ +# -------------------------------------------------------------------------- +# ======== | +# \ / F ield | foam-extend: Open Source CFD +# \ / O peration | Version: 4.1 +# \ / A nd | Web: http://www.foam-extend.org +# \/ M anipulation | For copyright notice see file Copyright +# -------------------------------------------------------------------------- +# License +# This file is part of foam-extend. +# +# foam-extend 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 3 of the License, or {at your +# option} any later version. +# +# foam-extend 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 foam-extend. If not, see . +# +# Description +# CMakeLists.txt file for libraries and applications +# +# Author +# Henrik Rusche, Wikki GmbH, 2017. All rights reserved +# +# +# -------------------------------------------------------------------------- + +list(APPEND sources + meshReader.C + meshReaderAux.C + starMeshReader.C + calcPointCells.C + createPolyCells.C + createPolyBoundary.C + star4ToFoam.C +) + +# Set minimal environment for external compilation +if(NOT FOAM_FOUND) + cmake_minimum_required(VERSION 2.8) + find_package(FOAM REQUIRED) +endif() + +add_foam_executable(star4ToFoam + DEPENDS finiteVolume meshTools + SOURCES ${sources} +) diff --git a/applications/utilities/mesh/conversion/starToFoam/CMakeLists.txt b/applications/utilities/mesh/conversion/starToFoam/CMakeLists.txt new file mode 100644 index 000000000..4a9bf082f --- /dev/null +++ b/applications/utilities/mesh/conversion/starToFoam/CMakeLists.txt @@ -0,0 +1,64 @@ +# -------------------------------------------------------------------------- +# ======== | +# \ / F ield | foam-extend: Open Source CFD +# \ / O peration | Version: 4.1 +# \ / A nd | Web: http://www.foam-extend.org +# \/ M anipulation | For copyright notice see file Copyright +# -------------------------------------------------------------------------- +# License +# This file is part of foam-extend. +# +# foam-extend 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 3 of the License, or {at your +# option} any later version. +# +# foam-extend 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 foam-extend. If not, see . +# +# Description +# CMakeLists.txt file for libraries and applications +# +# Author +# Henrik Rusche, Wikki GmbH, 2017. All rights reserved +# +# +# -------------------------------------------------------------------------- + +list(APPEND sources + coupledFacePair.C + starMesh.C + readPoints.C +) +# readSeparatedPoints.C +list(APPEND sources + readCells.C + readBoundary.C + fixCollapsedEdges.C + readCouples.C + createCoupleMatches.C + mergeCoupleFacePoints.C + calcPointCells.C + createPolyCells.C + createBoundaryFaces.C + createPolyBoundary.C + purgeCellShapes.C + writeMesh.C + starToFoam.C +) + +# Set minimal environment for external compilation +if(NOT FOAM_FOUND) + cmake_minimum_required(VERSION 2.8) + find_package(FOAM REQUIRED) +endif() + +add_foam_executable(starToFoam + DEPENDS foam + SOURCES ${sources} +) diff --git a/applications/utilities/mesh/conversion/tetgenToFoam/CMakeLists.txt b/applications/utilities/mesh/conversion/tetgenToFoam/CMakeLists.txt new file mode 100644 index 000000000..dfe013097 --- /dev/null +++ b/applications/utilities/mesh/conversion/tetgenToFoam/CMakeLists.txt @@ -0,0 +1,46 @@ +# -------------------------------------------------------------------------- +# ======== | +# \ / F ield | foam-extend: Open Source CFD +# \ / O peration | Version: 4.1 +# \ / A nd | Web: http://www.foam-extend.org +# \/ M anipulation | For copyright notice see file Copyright +# -------------------------------------------------------------------------- +# License +# This file is part of foam-extend. +# +# foam-extend 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 3 of the License, or {at your +# option} any later version. +# +# foam-extend 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 foam-extend. If not, see . +# +# Description +# CMakeLists.txt file for libraries and applications +# +# Author +# Henrik Rusche, Wikki GmbH, 2017. All rights reserved +# +# +# -------------------------------------------------------------------------- + +list(APPEND sources + tetgenToFoam.C +) + +# Set minimal environment for external compilation +if(NOT FOAM_FOUND) + cmake_minimum_required(VERSION 2.8) + find_package(FOAM REQUIRED) +endif() + +add_foam_executable(tetgenToFoam + DEPENDS foam + SOURCES ${sources} +) diff --git a/applications/utilities/mesh/conversion/writeMeshObj/CMakeLists.txt b/applications/utilities/mesh/conversion/writeMeshObj/CMakeLists.txt new file mode 100644 index 000000000..04aba7cfb --- /dev/null +++ b/applications/utilities/mesh/conversion/writeMeshObj/CMakeLists.txt @@ -0,0 +1,46 @@ +# -------------------------------------------------------------------------- +# ======== | +# \ / F ield | foam-extend: Open Source CFD +# \ / O peration | Version: 4.1 +# \ / A nd | Web: http://www.foam-extend.org +# \/ M anipulation | For copyright notice see file Copyright +# -------------------------------------------------------------------------- +# License +# This file is part of foam-extend. +# +# foam-extend 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 3 of the License, or {at your +# option} any later version. +# +# foam-extend 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 foam-extend. If not, see . +# +# Description +# CMakeLists.txt file for libraries and applications +# +# Author +# Henrik Rusche, Wikki GmbH, 2017. All rights reserved +# +# +# -------------------------------------------------------------------------- + +list(APPEND sources + writeMeshObj.C +) + +# Set minimal environment for external compilation +if(NOT FOAM_FOUND) + cmake_minimum_required(VERSION 2.8) + find_package(FOAM REQUIRED) +endif() + +add_foam_executable(writeMeshObj + DEPENDS foam meshTools + SOURCES ${sources} +) diff --git a/applications/utilities/mesh/generation/CMakeLists.txt b/applications/utilities/mesh/generation/CMakeLists.txt new file mode 100644 index 000000000..b6fe74ff4 --- /dev/null +++ b/applications/utilities/mesh/generation/CMakeLists.txt @@ -0,0 +1,36 @@ +# --------------------------------------------------------------------------# ======== | +# \ / F ield | foam-extend: Open Source CFD +# \ / O peration | Version: 4.1 +# \ / A nd | Web: http://www.foam-extend.org +# \/ M anipulation | For copyright notice see file Copyright +# -------------------------------------------------------------------------- +# License +# This file is part of foam-extend. +# +# foam-extend 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 3 of the License, or {at your +# option} any later version. +# +# foam-extend 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 foam-extend. If not, see . +# +# Description +# CMakeLists.txt file for libraries and applications +# +# Author +# Henrik Rusche, Wikki GmbH, 2017. All rights reserved +# +# +# -------------------------------------------------------------------------- + +add_subdirectory(blockMesh) +add_subdirectory(cfMesh) +add_subdirectory(extrudeMesh) +add_subdirectory(snappyHexMesh) +add_subdirectory(extrude2DMesh) \ No newline at end of file diff --git a/applications/utilities/mesh/generation/blockMesh/CMakeLists.txt b/applications/utilities/mesh/generation/blockMesh/CMakeLists.txt new file mode 100644 index 000000000..de3485d86 --- /dev/null +++ b/applications/utilities/mesh/generation/blockMesh/CMakeLists.txt @@ -0,0 +1,46 @@ +# -------------------------------------------------------------------------- +# ======== | +# \ / F ield | foam-extend: Open Source CFD +# \ / O peration | Version: 4.1 +# \ / A nd | Web: http://www.foam-extend.org +# \/ M anipulation | For copyright notice see file Copyright +# -------------------------------------------------------------------------- +# License +# This file is part of foam-extend. +# +# foam-extend 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 3 of the License, or {at your +# option} any later version. +# +# foam-extend 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 foam-extend. If not, see . +# +# Description +# CMakeLists.txt file for libraries and applications +# +# Author +# Henrik Rusche, Wikki GmbH, 2017. All rights reserved +# +# +# -------------------------------------------------------------------------- + +list(APPEND sources + blockMeshApp.C +) + +# Set minimal environment for external compilation +if(NOT FOAM_FOUND) + cmake_minimum_required(VERSION 2.8) + find_package(FOAM REQUIRED) +endif() + +add_foam_executable(blockMesh + DEPENDS blockMeshLib + SOURCES ${sources} +) diff --git a/applications/utilities/mesh/generation/cfMesh/CMakeLists.txt b/applications/utilities/mesh/generation/cfMesh/CMakeLists.txt new file mode 100644 index 000000000..4a256774e --- /dev/null +++ b/applications/utilities/mesh/generation/cfMesh/CMakeLists.txt @@ -0,0 +1,56 @@ +# --------------------------------------------------------------------------# ======== | +# \ / F ield | foam-extend: Open Source CFD +# \ / O peration | Version: 4.1 +# \ / A nd | Web: http://www.foam-extend.org +# \/ M anipulation | For copyright notice see file Copyright +# -------------------------------------------------------------------------- +# License +# This file is part of foam-extend. +# +# foam-extend 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 3 of the License, or {at your +# option} any later version. +# +# foam-extend 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 foam-extend. If not, see . +# +# Description +# CMakeLists.txt file for libraries and applications +# +# Author +# Henrik Rusche, Wikki GmbH, 2017. All rights reserved +# +# +# -------------------------------------------------------------------------- + +add_subdirectory(FMSToVTK) +add_subdirectory(scaleMesh) +add_subdirectory(cartesian2DMesh) +add_subdirectory(extrudeEdgesInto2DSurface) +add_subdirectory(scaleSurfaceMesh) +add_subdirectory(surfaceFeatureEdges) +add_subdirectory(patchesToSubsets) +add_subdirectory(FLMAToSurface) +add_subdirectory(mergeSurfacePatches) +add_subdirectory(generateBoundaryLayers) +add_subdirectory(surfaceToFMS) +add_subdirectory(improveSymmetryPlanes) +add_subdirectory(pMesh) +add_subdirectory(tetMesh) +add_subdirectory(importSurfaceAsSubset) +add_subdirectory(checkSurfaceMesh) +add_subdirectory(subsetToPatch) +add_subdirectory(improveMeshQuality) +add_subdirectory(preparePar) +add_subdirectory(surfaceGenerateBoundingBox) +add_subdirectory(removeSurfaceFacets) +add_subdirectory(FMSToSurface) +add_subdirectory(cartesianMesh) +add_subdirectory(copySurfaceParts) +add_subdirectory(meshToFPMA) \ No newline at end of file diff --git a/applications/utilities/mesh/generation/cfMesh/FLMAToSurface/CMakeLists.txt b/applications/utilities/mesh/generation/cfMesh/FLMAToSurface/CMakeLists.txt new file mode 100644 index 000000000..e5d7f2b59 --- /dev/null +++ b/applications/utilities/mesh/generation/cfMesh/FLMAToSurface/CMakeLists.txt @@ -0,0 +1,46 @@ +# -------------------------------------------------------------------------- +# ======== | +# \ / F ield | foam-extend: Open Source CFD +# \ / O peration | Version: 4.1 +# \ / A nd | Web: http://www.foam-extend.org +# \/ M anipulation | For copyright notice see file Copyright +# -------------------------------------------------------------------------- +# License +# This file is part of foam-extend. +# +# foam-extend 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 3 of the License, or {at your +# option} any later version. +# +# foam-extend 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 foam-extend. If not, see . +# +# Description +# CMakeLists.txt file for libraries and applications +# +# Author +# Henrik Rusche, Wikki GmbH, 2017. All rights reserved +# +# +# -------------------------------------------------------------------------- + +list(APPEND sources + FLMAToSurface.C +) + +# Set minimal environment for external compilation +if(NOT FOAM_FOUND) + cmake_minimum_required(VERSION 2.8) + find_package(FOAM REQUIRED) +endif() + +add_foam_executable(FLMAToSurface + DEPENDS cfMesh + SOURCES ${sources} +) diff --git a/applications/utilities/mesh/generation/cfMesh/FMSToSurface/CMakeLists.txt b/applications/utilities/mesh/generation/cfMesh/FMSToSurface/CMakeLists.txt new file mode 100644 index 000000000..fe491c446 --- /dev/null +++ b/applications/utilities/mesh/generation/cfMesh/FMSToSurface/CMakeLists.txt @@ -0,0 +1,46 @@ +# -------------------------------------------------------------------------- +# ======== | +# \ / F ield | foam-extend: Open Source CFD +# \ / O peration | Version: 4.1 +# \ / A nd | Web: http://www.foam-extend.org +# \/ M anipulation | For copyright notice see file Copyright +# -------------------------------------------------------------------------- +# License +# This file is part of foam-extend. +# +# foam-extend 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 3 of the License, or {at your +# option} any later version. +# +# foam-extend 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 foam-extend. If not, see . +# +# Description +# CMakeLists.txt file for libraries and applications +# +# Author +# Henrik Rusche, Wikki GmbH, 2017. All rights reserved +# +# +# -------------------------------------------------------------------------- + +list(APPEND sources + FMSToSurface.C +) + +# Set minimal environment for external compilation +if(NOT FOAM_FOUND) + cmake_minimum_required(VERSION 2.8) + find_package(FOAM REQUIRED) +endif() + +add_foam_executable(FMSToSurface + DEPENDS cfMesh + SOURCES ${sources} +) diff --git a/applications/utilities/mesh/generation/cfMesh/FMSToVTK/CMakeLists.txt b/applications/utilities/mesh/generation/cfMesh/FMSToVTK/CMakeLists.txt new file mode 100644 index 000000000..ce826120c --- /dev/null +++ b/applications/utilities/mesh/generation/cfMesh/FMSToVTK/CMakeLists.txt @@ -0,0 +1,46 @@ +# -------------------------------------------------------------------------- +# ======== | +# \ / F ield | foam-extend: Open Source CFD +# \ / O peration | Version: 4.1 +# \ / A nd | Web: http://www.foam-extend.org +# \/ M anipulation | For copyright notice see file Copyright +# -------------------------------------------------------------------------- +# License +# This file is part of foam-extend. +# +# foam-extend 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 3 of the License, or {at your +# option} any later version. +# +# foam-extend 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 foam-extend. If not, see . +# +# Description +# CMakeLists.txt file for libraries and applications +# +# Author +# Henrik Rusche, Wikki GmbH, 2017. All rights reserved +# +# +# -------------------------------------------------------------------------- + +list(APPEND sources + FMSToVTK.C +) + +# Set minimal environment for external compilation +if(NOT FOAM_FOUND) + cmake_minimum_required(VERSION 2.8) + find_package(FOAM REQUIRED) +endif() + +add_foam_executable(FMSToVTK + DEPENDS cfMesh + SOURCES ${sources} +) diff --git a/applications/utilities/mesh/generation/cfMesh/cartesian2DMesh/CMakeLists.txt b/applications/utilities/mesh/generation/cfMesh/cartesian2DMesh/CMakeLists.txt new file mode 100644 index 000000000..898041924 --- /dev/null +++ b/applications/utilities/mesh/generation/cfMesh/cartesian2DMesh/CMakeLists.txt @@ -0,0 +1,46 @@ +# -------------------------------------------------------------------------- +# ======== | +# \ / F ield | foam-extend: Open Source CFD +# \ / O peration | Version: 4.1 +# \ / A nd | Web: http://www.foam-extend.org +# \/ M anipulation | For copyright notice see file Copyright +# -------------------------------------------------------------------------- +# License +# This file is part of foam-extend. +# +# foam-extend 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 3 of the License, or {at your +# option} any later version. +# +# foam-extend 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 foam-extend. If not, see . +# +# Description +# CMakeLists.txt file for libraries and applications +# +# Author +# Henrik Rusche, Wikki GmbH, 2017. All rights reserved +# +# +# -------------------------------------------------------------------------- + +list(APPEND sources + cartesian2DMesh.C +) + +# Set minimal environment for external compilation +if(NOT FOAM_FOUND) + cmake_minimum_required(VERSION 2.8) + find_package(FOAM REQUIRED) +endif() + +add_foam_executable(cartesian2DMesh + DEPENDS cfMesh + SOURCES ${sources} +) diff --git a/applications/utilities/mesh/generation/cfMesh/cartesianMesh/CMakeLists.txt b/applications/utilities/mesh/generation/cfMesh/cartesianMesh/CMakeLists.txt new file mode 100644 index 000000000..5a8e068e6 --- /dev/null +++ b/applications/utilities/mesh/generation/cfMesh/cartesianMesh/CMakeLists.txt @@ -0,0 +1,46 @@ +# -------------------------------------------------------------------------- +# ======== | +# \ / F ield | foam-extend: Open Source CFD +# \ / O peration | Version: 4.1 +# \ / A nd | Web: http://www.foam-extend.org +# \/ M anipulation | For copyright notice see file Copyright +# -------------------------------------------------------------------------- +# License +# This file is part of foam-extend. +# +# foam-extend 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 3 of the License, or {at your +# option} any later version. +# +# foam-extend 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 foam-extend. If not, see . +# +# Description +# CMakeLists.txt file for libraries and applications +# +# Author +# Henrik Rusche, Wikki GmbH, 2017. All rights reserved +# +# +# -------------------------------------------------------------------------- + +list(APPEND sources + cartesianMesh.C +) + +# Set minimal environment for external compilation +if(NOT FOAM_FOUND) + cmake_minimum_required(VERSION 2.8) + find_package(FOAM REQUIRED) +endif() + +add_foam_executable(cartesianMesh + DEPENDS cfMesh + SOURCES ${sources} +) diff --git a/applications/utilities/mesh/generation/cfMesh/checkSurfaceMesh/CMakeLists.txt b/applications/utilities/mesh/generation/cfMesh/checkSurfaceMesh/CMakeLists.txt new file mode 100644 index 000000000..a22489408 --- /dev/null +++ b/applications/utilities/mesh/generation/cfMesh/checkSurfaceMesh/CMakeLists.txt @@ -0,0 +1,46 @@ +# -------------------------------------------------------------------------- +# ======== | +# \ / F ield | foam-extend: Open Source CFD +# \ / O peration | Version: 4.1 +# \ / A nd | Web: http://www.foam-extend.org +# \/ M anipulation | For copyright notice see file Copyright +# -------------------------------------------------------------------------- +# License +# This file is part of foam-extend. +# +# foam-extend 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 3 of the License, or {at your +# option} any later version. +# +# foam-extend 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 foam-extend. If not, see . +# +# Description +# CMakeLists.txt file for libraries and applications +# +# Author +# Henrik Rusche, Wikki GmbH, 2017. All rights reserved +# +# +# -------------------------------------------------------------------------- + +list(APPEND sources + checkSurfaceMesh.C +) + +# Set minimal environment for external compilation +if(NOT FOAM_FOUND) + cmake_minimum_required(VERSION 2.8) + find_package(FOAM REQUIRED) +endif() + +add_foam_executable(checkSurfaceMesh + DEPENDS cfMesh + SOURCES ${sources} +) diff --git a/applications/utilities/mesh/generation/cfMesh/copySurfaceParts/CMakeLists.txt b/applications/utilities/mesh/generation/cfMesh/copySurfaceParts/CMakeLists.txt new file mode 100644 index 000000000..680055aa2 --- /dev/null +++ b/applications/utilities/mesh/generation/cfMesh/copySurfaceParts/CMakeLists.txt @@ -0,0 +1,46 @@ +# -------------------------------------------------------------------------- +# ======== | +# \ / F ield | foam-extend: Open Source CFD +# \ / O peration | Version: 4.1 +# \ / A nd | Web: http://www.foam-extend.org +# \/ M anipulation | For copyright notice see file Copyright +# -------------------------------------------------------------------------- +# License +# This file is part of foam-extend. +# +# foam-extend 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 3 of the License, or {at your +# option} any later version. +# +# foam-extend 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 foam-extend. If not, see . +# +# Description +# CMakeLists.txt file for libraries and applications +# +# Author +# Henrik Rusche, Wikki GmbH, 2017. All rights reserved +# +# +# -------------------------------------------------------------------------- + +list(APPEND sources + copySurfaceParts.C +) + +# Set minimal environment for external compilation +if(NOT FOAM_FOUND) + cmake_minimum_required(VERSION 2.8) + find_package(FOAM REQUIRED) +endif() + +add_foam_executable(copySurfaceParts + DEPENDS cfMesh + SOURCES ${sources} +) diff --git a/applications/utilities/mesh/generation/cfMesh/extrudeEdgesInto2DSurface/CMakeLists.txt b/applications/utilities/mesh/generation/cfMesh/extrudeEdgesInto2DSurface/CMakeLists.txt new file mode 100644 index 000000000..7e73ea254 --- /dev/null +++ b/applications/utilities/mesh/generation/cfMesh/extrudeEdgesInto2DSurface/CMakeLists.txt @@ -0,0 +1,46 @@ +# -------------------------------------------------------------------------- +# ======== | +# \ / F ield | foam-extend: Open Source CFD +# \ / O peration | Version: 4.1 +# \ / A nd | Web: http://www.foam-extend.org +# \/ M anipulation | For copyright notice see file Copyright +# -------------------------------------------------------------------------- +# License +# This file is part of foam-extend. +# +# foam-extend 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 3 of the License, or {at your +# option} any later version. +# +# foam-extend 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 foam-extend. If not, see . +# +# Description +# CMakeLists.txt file for libraries and applications +# +# Author +# Henrik Rusche, Wikki GmbH, 2017. All rights reserved +# +# +# -------------------------------------------------------------------------- + +list(APPEND sources + extrudeEdgesInto2DSurface.C +) + +# Set minimal environment for external compilation +if(NOT FOAM_FOUND) + cmake_minimum_required(VERSION 2.8) + find_package(FOAM REQUIRED) +endif() + +add_foam_executable(extrudeEdgesInto2DSurface + DEPENDS cfMesh + SOURCES ${sources} +) diff --git a/applications/utilities/mesh/generation/cfMesh/generateBoundaryLayers/CMakeLists.txt b/applications/utilities/mesh/generation/cfMesh/generateBoundaryLayers/CMakeLists.txt new file mode 100644 index 000000000..f2eb31930 --- /dev/null +++ b/applications/utilities/mesh/generation/cfMesh/generateBoundaryLayers/CMakeLists.txt @@ -0,0 +1,46 @@ +# -------------------------------------------------------------------------- +# ======== | +# \ / F ield | foam-extend: Open Source CFD +# \ / O peration | Version: 4.1 +# \ / A nd | Web: http://www.foam-extend.org +# \/ M anipulation | For copyright notice see file Copyright +# -------------------------------------------------------------------------- +# License +# This file is part of foam-extend. +# +# foam-extend 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 3 of the License, or {at your +# option} any later version. +# +# foam-extend 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 foam-extend. If not, see . +# +# Description +# CMakeLists.txt file for libraries and applications +# +# Author +# Henrik Rusche, Wikki GmbH, 2017. All rights reserved +# +# +# -------------------------------------------------------------------------- + +list(APPEND sources + generateBoundaryLayers.C +) + +# Set minimal environment for external compilation +if(NOT FOAM_FOUND) + cmake_minimum_required(VERSION 2.8) + find_package(FOAM REQUIRED) +endif() + +add_foam_executable(generateBoundaryLayers + DEPENDS cfMesh + SOURCES ${sources} +) diff --git a/applications/utilities/mesh/generation/cfMesh/importSurfaceAsSubset/CMakeLists.txt b/applications/utilities/mesh/generation/cfMesh/importSurfaceAsSubset/CMakeLists.txt new file mode 100644 index 000000000..2ec0797a5 --- /dev/null +++ b/applications/utilities/mesh/generation/cfMesh/importSurfaceAsSubset/CMakeLists.txt @@ -0,0 +1,46 @@ +# -------------------------------------------------------------------------- +# ======== | +# \ / F ield | foam-extend: Open Source CFD +# \ / O peration | Version: 4.1 +# \ / A nd | Web: http://www.foam-extend.org +# \/ M anipulation | For copyright notice see file Copyright +# -------------------------------------------------------------------------- +# License +# This file is part of foam-extend. +# +# foam-extend 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 3 of the License, or {at your +# option} any later version. +# +# foam-extend 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 foam-extend. If not, see . +# +# Description +# CMakeLists.txt file for libraries and applications +# +# Author +# Henrik Rusche, Wikki GmbH, 2017. All rights reserved +# +# +# -------------------------------------------------------------------------- + +list(APPEND sources + importSurfaceAsSubset.C +) + +# Set minimal environment for external compilation +if(NOT FOAM_FOUND) + cmake_minimum_required(VERSION 2.8) + find_package(FOAM REQUIRED) +endif() + +add_foam_executable(importSurfaceAsSubset + DEPENDS cfMesh + SOURCES ${sources} +) diff --git a/applications/utilities/mesh/generation/cfMesh/improveMeshQuality/CMakeLists.txt b/applications/utilities/mesh/generation/cfMesh/improveMeshQuality/CMakeLists.txt new file mode 100644 index 000000000..ffe2081d9 --- /dev/null +++ b/applications/utilities/mesh/generation/cfMesh/improveMeshQuality/CMakeLists.txt @@ -0,0 +1,46 @@ +# -------------------------------------------------------------------------- +# ======== | +# \ / F ield | foam-extend: Open Source CFD +# \ / O peration | Version: 4.1 +# \ / A nd | Web: http://www.foam-extend.org +# \/ M anipulation | For copyright notice see file Copyright +# -------------------------------------------------------------------------- +# License +# This file is part of foam-extend. +# +# foam-extend 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 3 of the License, or {at your +# option} any later version. +# +# foam-extend 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 foam-extend. If not, see . +# +# Description +# CMakeLists.txt file for libraries and applications +# +# Author +# Henrik Rusche, Wikki GmbH, 2017. All rights reserved +# +# +# -------------------------------------------------------------------------- + +list(APPEND sources + improveMeshQuality.C +) + +# Set minimal environment for external compilation +if(NOT FOAM_FOUND) + cmake_minimum_required(VERSION 2.8) + find_package(FOAM REQUIRED) +endif() + +add_foam_executable(improveMeshQuality + DEPENDS cfMesh + SOURCES ${sources} +) diff --git a/applications/utilities/mesh/generation/cfMesh/improveSymmetryPlanes/CMakeLists.txt b/applications/utilities/mesh/generation/cfMesh/improveSymmetryPlanes/CMakeLists.txt new file mode 100644 index 000000000..e44ef0c9c --- /dev/null +++ b/applications/utilities/mesh/generation/cfMesh/improveSymmetryPlanes/CMakeLists.txt @@ -0,0 +1,46 @@ +# -------------------------------------------------------------------------- +# ======== | +# \ / F ield | foam-extend: Open Source CFD +# \ / O peration | Version: 4.1 +# \ / A nd | Web: http://www.foam-extend.org +# \/ M anipulation | For copyright notice see file Copyright +# -------------------------------------------------------------------------- +# License +# This file is part of foam-extend. +# +# foam-extend 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 3 of the License, or {at your +# option} any later version. +# +# foam-extend 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 foam-extend. If not, see . +# +# Description +# CMakeLists.txt file for libraries and applications +# +# Author +# Henrik Rusche, Wikki GmbH, 2017. All rights reserved +# +# +# -------------------------------------------------------------------------- + +list(APPEND sources + improveSymmetryPlanes.C +) + +# Set minimal environment for external compilation +if(NOT FOAM_FOUND) + cmake_minimum_required(VERSION 2.8) + find_package(FOAM REQUIRED) +endif() + +add_foam_executable(improveSymmetryPlanes + DEPENDS cfMesh + SOURCES ${sources} +) diff --git a/applications/utilities/mesh/generation/cfMesh/mergeSurfacePatches/CMakeLists.txt b/applications/utilities/mesh/generation/cfMesh/mergeSurfacePatches/CMakeLists.txt new file mode 100644 index 000000000..9c92e3700 --- /dev/null +++ b/applications/utilities/mesh/generation/cfMesh/mergeSurfacePatches/CMakeLists.txt @@ -0,0 +1,46 @@ +# -------------------------------------------------------------------------- +# ======== | +# \ / F ield | foam-extend: Open Source CFD +# \ / O peration | Version: 4.1 +# \ / A nd | Web: http://www.foam-extend.org +# \/ M anipulation | For copyright notice see file Copyright +# -------------------------------------------------------------------------- +# License +# This file is part of foam-extend. +# +# foam-extend 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 3 of the License, or {at your +# option} any later version. +# +# foam-extend 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 foam-extend. If not, see . +# +# Description +# CMakeLists.txt file for libraries and applications +# +# Author +# Henrik Rusche, Wikki GmbH, 2017. All rights reserved +# +# +# -------------------------------------------------------------------------- + +list(APPEND sources + mergeSurfacePatches.C +) + +# Set minimal environment for external compilation +if(NOT FOAM_FOUND) + cmake_minimum_required(VERSION 2.8) + find_package(FOAM REQUIRED) +endif() + +add_foam_executable(mergeSurfacePatches + DEPENDS cfMesh + SOURCES ${sources} +) diff --git a/applications/utilities/mesh/generation/cfMesh/meshToFPMA/CMakeLists.txt b/applications/utilities/mesh/generation/cfMesh/meshToFPMA/CMakeLists.txt new file mode 100644 index 000000000..a3948a13f --- /dev/null +++ b/applications/utilities/mesh/generation/cfMesh/meshToFPMA/CMakeLists.txt @@ -0,0 +1,46 @@ +# -------------------------------------------------------------------------- +# ======== | +# \ / F ield | foam-extend: Open Source CFD +# \ / O peration | Version: 4.1 +# \ / A nd | Web: http://www.foam-extend.org +# \/ M anipulation | For copyright notice see file Copyright +# -------------------------------------------------------------------------- +# License +# This file is part of foam-extend. +# +# foam-extend 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 3 of the License, or {at your +# option} any later version. +# +# foam-extend 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 foam-extend. If not, see . +# +# Description +# CMakeLists.txt file for libraries and applications +# +# Author +# Henrik Rusche, Wikki GmbH, 2017. All rights reserved +# +# +# -------------------------------------------------------------------------- + +list(APPEND sources + meshToFPMA.C +) + +# Set minimal environment for external compilation +if(NOT FOAM_FOUND) + cmake_minimum_required(VERSION 2.8) + find_package(FOAM REQUIRED) +endif() + +add_foam_executable(meshToFPMA + DEPENDS cfMesh + SOURCES ${sources} +) diff --git a/applications/utilities/mesh/generation/cfMesh/pMesh/CMakeLists.txt b/applications/utilities/mesh/generation/cfMesh/pMesh/CMakeLists.txt new file mode 100644 index 000000000..2a0296f4a --- /dev/null +++ b/applications/utilities/mesh/generation/cfMesh/pMesh/CMakeLists.txt @@ -0,0 +1,46 @@ +# -------------------------------------------------------------------------- +# ======== | +# \ / F ield | foam-extend: Open Source CFD +# \ / O peration | Version: 4.1 +# \ / A nd | Web: http://www.foam-extend.org +# \/ M anipulation | For copyright notice see file Copyright +# -------------------------------------------------------------------------- +# License +# This file is part of foam-extend. +# +# foam-extend 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 3 of the License, or {at your +# option} any later version. +# +# foam-extend 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 foam-extend. If not, see . +# +# Description +# CMakeLists.txt file for libraries and applications +# +# Author +# Henrik Rusche, Wikki GmbH, 2017. All rights reserved +# +# +# -------------------------------------------------------------------------- + +list(APPEND sources + pMesh.C +) + +# Set minimal environment for external compilation +if(NOT FOAM_FOUND) + cmake_minimum_required(VERSION 2.8) + find_package(FOAM REQUIRED) +endif() + +add_foam_executable(pMesh + DEPENDS cfMesh + SOURCES ${sources} +) diff --git a/applications/utilities/mesh/generation/cfMesh/patchesToSubsets/CMakeLists.txt b/applications/utilities/mesh/generation/cfMesh/patchesToSubsets/CMakeLists.txt new file mode 100644 index 000000000..3e95136c3 --- /dev/null +++ b/applications/utilities/mesh/generation/cfMesh/patchesToSubsets/CMakeLists.txt @@ -0,0 +1,46 @@ +# -------------------------------------------------------------------------- +# ======== | +# \ / F ield | foam-extend: Open Source CFD +# \ / O peration | Version: 4.1 +# \ / A nd | Web: http://www.foam-extend.org +# \/ M anipulation | For copyright notice see file Copyright +# -------------------------------------------------------------------------- +# License +# This file is part of foam-extend. +# +# foam-extend 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 3 of the License, or {at your +# option} any later version. +# +# foam-extend 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 foam-extend. If not, see . +# +# Description +# CMakeLists.txt file for libraries and applications +# +# Author +# Henrik Rusche, Wikki GmbH, 2017. All rights reserved +# +# +# -------------------------------------------------------------------------- + +list(APPEND sources + patchesToSubsets.C +) + +# Set minimal environment for external compilation +if(NOT FOAM_FOUND) + cmake_minimum_required(VERSION 2.8) + find_package(FOAM REQUIRED) +endif() + +add_foam_executable(patchesToSubsets + DEPENDS cfMesh + SOURCES ${sources} +) diff --git a/applications/utilities/mesh/generation/cfMesh/preparePar/CMakeLists.txt b/applications/utilities/mesh/generation/cfMesh/preparePar/CMakeLists.txt new file mode 100644 index 000000000..5d47c9cef --- /dev/null +++ b/applications/utilities/mesh/generation/cfMesh/preparePar/CMakeLists.txt @@ -0,0 +1,46 @@ +# -------------------------------------------------------------------------- +# ======== | +# \ / F ield | foam-extend: Open Source CFD +# \ / O peration | Version: 4.1 +# \ / A nd | Web: http://www.foam-extend.org +# \/ M anipulation | For copyright notice see file Copyright +# -------------------------------------------------------------------------- +# License +# This file is part of foam-extend. +# +# foam-extend 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 3 of the License, or {at your +# option} any later version. +# +# foam-extend 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 foam-extend. If not, see . +# +# Description +# CMakeLists.txt file for libraries and applications +# +# Author +# Henrik Rusche, Wikki GmbH, 2017. All rights reserved +# +# +# -------------------------------------------------------------------------- + +list(APPEND sources + preparePar.C +) + +# Set minimal environment for external compilation +if(NOT FOAM_FOUND) + cmake_minimum_required(VERSION 2.8) + find_package(FOAM REQUIRED) +endif() + +add_foam_executable(preparePar + DEPENDS cfMesh + SOURCES ${sources} +) diff --git a/applications/utilities/mesh/generation/cfMesh/removeSurfaceFacets/CMakeLists.txt b/applications/utilities/mesh/generation/cfMesh/removeSurfaceFacets/CMakeLists.txt new file mode 100644 index 000000000..87c348f18 --- /dev/null +++ b/applications/utilities/mesh/generation/cfMesh/removeSurfaceFacets/CMakeLists.txt @@ -0,0 +1,46 @@ +# -------------------------------------------------------------------------- +# ======== | +# \ / F ield | foam-extend: Open Source CFD +# \ / O peration | Version: 4.1 +# \ / A nd | Web: http://www.foam-extend.org +# \/ M anipulation | For copyright notice see file Copyright +# -------------------------------------------------------------------------- +# License +# This file is part of foam-extend. +# +# foam-extend 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 3 of the License, or {at your +# option} any later version. +# +# foam-extend 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 foam-extend. If not, see . +# +# Description +# CMakeLists.txt file for libraries and applications +# +# Author +# Henrik Rusche, Wikki GmbH, 2017. All rights reserved +# +# +# -------------------------------------------------------------------------- + +list(APPEND sources + removeSurfaceFacets.C +) + +# Set minimal environment for external compilation +if(NOT FOAM_FOUND) + cmake_minimum_required(VERSION 2.8) + find_package(FOAM REQUIRED) +endif() + +add_foam_executable(removeSurfaceFacets + DEPENDS cfMesh + SOURCES ${sources} +) diff --git a/applications/utilities/mesh/generation/cfMesh/scaleMesh/CMakeLists.txt b/applications/utilities/mesh/generation/cfMesh/scaleMesh/CMakeLists.txt new file mode 100644 index 000000000..1e44dfe58 --- /dev/null +++ b/applications/utilities/mesh/generation/cfMesh/scaleMesh/CMakeLists.txt @@ -0,0 +1,46 @@ +# -------------------------------------------------------------------------- +# ======== | +# \ / F ield | foam-extend: Open Source CFD +# \ / O peration | Version: 4.1 +# \ / A nd | Web: http://www.foam-extend.org +# \/ M anipulation | For copyright notice see file Copyright +# -------------------------------------------------------------------------- +# License +# This file is part of foam-extend. +# +# foam-extend 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 3 of the License, or {at your +# option} any later version. +# +# foam-extend 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 foam-extend. If not, see . +# +# Description +# CMakeLists.txt file for libraries and applications +# +# Author +# Henrik Rusche, Wikki GmbH, 2017. All rights reserved +# +# +# -------------------------------------------------------------------------- + +list(APPEND sources + scaleMesh.C +) + +# Set minimal environment for external compilation +if(NOT FOAM_FOUND) + cmake_minimum_required(VERSION 2.8) + find_package(FOAM REQUIRED) +endif() + +add_foam_executable(scaleMesh + DEPENDS cfMesh + SOURCES ${sources} +) diff --git a/applications/utilities/mesh/generation/cfMesh/scaleSurfaceMesh/CMakeLists.txt b/applications/utilities/mesh/generation/cfMesh/scaleSurfaceMesh/CMakeLists.txt new file mode 100644 index 000000000..f34b5fc5b --- /dev/null +++ b/applications/utilities/mesh/generation/cfMesh/scaleSurfaceMesh/CMakeLists.txt @@ -0,0 +1,46 @@ +# -------------------------------------------------------------------------- +# ======== | +# \ / F ield | foam-extend: Open Source CFD +# \ / O peration | Version: 4.1 +# \ / A nd | Web: http://www.foam-extend.org +# \/ M anipulation | For copyright notice see file Copyright +# -------------------------------------------------------------------------- +# License +# This file is part of foam-extend. +# +# foam-extend 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 3 of the License, or {at your +# option} any later version. +# +# foam-extend 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 foam-extend. If not, see . +# +# Description +# CMakeLists.txt file for libraries and applications +# +# Author +# Henrik Rusche, Wikki GmbH, 2017. All rights reserved +# +# +# -------------------------------------------------------------------------- + +list(APPEND sources + scaleSurfaceMesh.C +) + +# Set minimal environment for external compilation +if(NOT FOAM_FOUND) + cmake_minimum_required(VERSION 2.8) + find_package(FOAM REQUIRED) +endif() + +add_foam_executable(scaleSurfaceMesh + DEPENDS cfMesh + SOURCES ${sources} +) diff --git a/applications/utilities/mesh/generation/cfMesh/subsetToPatch/CMakeLists.txt b/applications/utilities/mesh/generation/cfMesh/subsetToPatch/CMakeLists.txt new file mode 100644 index 000000000..2832e2ab6 --- /dev/null +++ b/applications/utilities/mesh/generation/cfMesh/subsetToPatch/CMakeLists.txt @@ -0,0 +1,46 @@ +# -------------------------------------------------------------------------- +# ======== | +# \ / F ield | foam-extend: Open Source CFD +# \ / O peration | Version: 4.1 +# \ / A nd | Web: http://www.foam-extend.org +# \/ M anipulation | For copyright notice see file Copyright +# -------------------------------------------------------------------------- +# License +# This file is part of foam-extend. +# +# foam-extend 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 3 of the License, or {at your +# option} any later version. +# +# foam-extend 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 foam-extend. If not, see . +# +# Description +# CMakeLists.txt file for libraries and applications +# +# Author +# Henrik Rusche, Wikki GmbH, 2017. All rights reserved +# +# +# -------------------------------------------------------------------------- + +list(APPEND sources + subsetToPatch.C +) + +# Set minimal environment for external compilation +if(NOT FOAM_FOUND) + cmake_minimum_required(VERSION 2.8) + find_package(FOAM REQUIRED) +endif() + +add_foam_executable(subsetToPatch + DEPENDS cfMesh + SOURCES ${sources} +) diff --git a/applications/utilities/mesh/generation/cfMesh/surfaceFeatureEdges/CMakeLists.txt b/applications/utilities/mesh/generation/cfMesh/surfaceFeatureEdges/CMakeLists.txt new file mode 100644 index 000000000..755a54f3a --- /dev/null +++ b/applications/utilities/mesh/generation/cfMesh/surfaceFeatureEdges/CMakeLists.txt @@ -0,0 +1,46 @@ +# -------------------------------------------------------------------------- +# ======== | +# \ / F ield | foam-extend: Open Source CFD +# \ / O peration | Version: 4.1 +# \ / A nd | Web: http://www.foam-extend.org +# \/ M anipulation | For copyright notice see file Copyright +# -------------------------------------------------------------------------- +# License +# This file is part of foam-extend. +# +# foam-extend 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 3 of the License, or {at your +# option} any later version. +# +# foam-extend 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 foam-extend. If not, see . +# +# Description +# CMakeLists.txt file for libraries and applications +# +# Author +# Henrik Rusche, Wikki GmbH, 2017. All rights reserved +# +# +# -------------------------------------------------------------------------- + +list(APPEND sources + surfaceFeatureEdges.C +) + +# Set minimal environment for external compilation +if(NOT FOAM_FOUND) + cmake_minimum_required(VERSION 2.8) + find_package(FOAM REQUIRED) +endif() + +add_foam_executable(surfaceFeatureEdges + DEPENDS cfMesh + SOURCES ${sources} +) diff --git a/applications/utilities/mesh/generation/cfMesh/surfaceGenerateBoundingBox/CMakeLists.txt b/applications/utilities/mesh/generation/cfMesh/surfaceGenerateBoundingBox/CMakeLists.txt new file mode 100644 index 000000000..483713654 --- /dev/null +++ b/applications/utilities/mesh/generation/cfMesh/surfaceGenerateBoundingBox/CMakeLists.txt @@ -0,0 +1,46 @@ +# -------------------------------------------------------------------------- +# ======== | +# \ / F ield | foam-extend: Open Source CFD +# \ / O peration | Version: 4.1 +# \ / A nd | Web: http://www.foam-extend.org +# \/ M anipulation | For copyright notice see file Copyright +# -------------------------------------------------------------------------- +# License +# This file is part of foam-extend. +# +# foam-extend 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 3 of the License, or {at your +# option} any later version. +# +# foam-extend 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 foam-extend. If not, see . +# +# Description +# CMakeLists.txt file for libraries and applications +# +# Author +# Henrik Rusche, Wikki GmbH, 2017. All rights reserved +# +# +# -------------------------------------------------------------------------- + +list(APPEND sources + surfaceGenerateBoundingBox.C +) + +# Set minimal environment for external compilation +if(NOT FOAM_FOUND) + cmake_minimum_required(VERSION 2.8) + find_package(FOAM REQUIRED) +endif() + +add_foam_executable(surfaceGenerateBoundingBox + DEPENDS cfMesh + SOURCES ${sources} +) diff --git a/applications/utilities/mesh/generation/cfMesh/surfaceToFMS/CMakeLists.txt b/applications/utilities/mesh/generation/cfMesh/surfaceToFMS/CMakeLists.txt new file mode 100644 index 000000000..126fae5b1 --- /dev/null +++ b/applications/utilities/mesh/generation/cfMesh/surfaceToFMS/CMakeLists.txt @@ -0,0 +1,46 @@ +# -------------------------------------------------------------------------- +# ======== | +# \ / F ield | foam-extend: Open Source CFD +# \ / O peration | Version: 4.1 +# \ / A nd | Web: http://www.foam-extend.org +# \/ M anipulation | For copyright notice see file Copyright +# -------------------------------------------------------------------------- +# License +# This file is part of foam-extend. +# +# foam-extend 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 3 of the License, or {at your +# option} any later version. +# +# foam-extend 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 foam-extend. If not, see . +# +# Description +# CMakeLists.txt file for libraries and applications +# +# Author +# Henrik Rusche, Wikki GmbH, 2017. All rights reserved +# +# +# -------------------------------------------------------------------------- + +list(APPEND sources + surfaceToFMS.C +) + +# Set minimal environment for external compilation +if(NOT FOAM_FOUND) + cmake_minimum_required(VERSION 2.8) + find_package(FOAM REQUIRED) +endif() + +add_foam_executable(surfaceToFMS + DEPENDS cfMesh + SOURCES ${sources} +) diff --git a/applications/utilities/mesh/generation/cfMesh/tetMesh/CMakeLists.txt b/applications/utilities/mesh/generation/cfMesh/tetMesh/CMakeLists.txt new file mode 100644 index 000000000..2f4ec16d2 --- /dev/null +++ b/applications/utilities/mesh/generation/cfMesh/tetMesh/CMakeLists.txt @@ -0,0 +1,46 @@ +# -------------------------------------------------------------------------- +# ======== | +# \ / F ield | foam-extend: Open Source CFD +# \ / O peration | Version: 4.1 +# \ / A nd | Web: http://www.foam-extend.org +# \/ M anipulation | For copyright notice see file Copyright +# -------------------------------------------------------------------------- +# License +# This file is part of foam-extend. +# +# foam-extend 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 3 of the License, or {at your +# option} any later version. +# +# foam-extend 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 foam-extend. If not, see . +# +# Description +# CMakeLists.txt file for libraries and applications +# +# Author +# Henrik Rusche, Wikki GmbH, 2017. All rights reserved +# +# +# -------------------------------------------------------------------------- + +list(APPEND sources + tetMesh.C +) + +# Set minimal environment for external compilation +if(NOT FOAM_FOUND) + cmake_minimum_required(VERSION 2.8) + find_package(FOAM REQUIRED) +endif() + +add_foam_executable(tetMesh + DEPENDS cfMesh + SOURCES ${sources} +) diff --git a/applications/utilities/mesh/generation/extrude2DMesh/CMakeLists.txt b/applications/utilities/mesh/generation/extrude2DMesh/CMakeLists.txt new file mode 100644 index 000000000..4ecf073eb --- /dev/null +++ b/applications/utilities/mesh/generation/extrude2DMesh/CMakeLists.txt @@ -0,0 +1,47 @@ +# -------------------------------------------------------------------------- +# ======== | +# \ / F ield | foam-extend: Open Source CFD +# \ / O peration | Version: 4.1 +# \ / A nd | Web: http://www.foam-extend.org +# \/ M anipulation | For copyright notice see file Copyright +# -------------------------------------------------------------------------- +# License +# This file is part of foam-extend. +# +# foam-extend 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 3 of the License, or {at your +# option} any later version. +# +# foam-extend 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 foam-extend. If not, see . +# +# Description +# CMakeLists.txt file for libraries and applications +# +# Author +# Henrik Rusche, Wikki GmbH, 2017. All rights reserved +# +# +# -------------------------------------------------------------------------- + +list(APPEND sources + extrude2DMesh.C + doExtrude2DMesh.C +) + +# Set minimal environment for external compilation +if(NOT FOAM_FOUND) + cmake_minimum_required(VERSION 2.8) + find_package(FOAM REQUIRED) +endif() + +add_foam_executable(extrude2DMesh + DEPENDS dynamicMesh + SOURCES ${sources} +) diff --git a/applications/utilities/mesh/generation/extrudeMesh/CMakeLists.txt b/applications/utilities/mesh/generation/extrudeMesh/CMakeLists.txt new file mode 100644 index 000000000..1a0c0ff80 --- /dev/null +++ b/applications/utilities/mesh/generation/extrudeMesh/CMakeLists.txt @@ -0,0 +1,51 @@ +# -------------------------------------------------------------------------- +# ======== | +# \ / F ield | foam-extend: Open Source CFD +# \ / O peration | Version: 4.1 +# \ / A nd | Web: http://www.foam-extend.org +# \/ M anipulation | For copyright notice see file Copyright +# -------------------------------------------------------------------------- +# License +# This file is part of foam-extend. +# +# foam-extend 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 3 of the License, or {at your +# option} any later version. +# +# foam-extend 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 foam-extend. If not, see . +# +# Description +# CMakeLists.txt file for libraries and applications +# +# Author +# Henrik Rusche, Wikki GmbH, 2017. All rights reserved +# +# +# -------------------------------------------------------------------------- + +list(APPEND sources + extrudeMesh.C +) + +# Set minimal environment for external compilation +if(NOT FOAM_FOUND) + cmake_minimum_required(VERSION 2.8) + find_package(FOAM REQUIRED) +endif() + +add_foam_executable(extrudeMesh + DEPENDS extrudeModel + SOURCES ${sources} +) + +target_include_directories(extrudeMesh PUBLIC + $ + $ +) diff --git a/applications/utilities/mesh/generation/snappyHexMesh/CMakeLists.txt b/applications/utilities/mesh/generation/snappyHexMesh/CMakeLists.txt new file mode 100644 index 000000000..232487d28 --- /dev/null +++ b/applications/utilities/mesh/generation/snappyHexMesh/CMakeLists.txt @@ -0,0 +1,46 @@ +# -------------------------------------------------------------------------- +# ======== | +# \ / F ield | foam-extend: Open Source CFD +# \ / O peration | Version: 4.1 +# \ / A nd | Web: http://www.foam-extend.org +# \/ M anipulation | For copyright notice see file Copyright +# -------------------------------------------------------------------------- +# License +# This file is part of foam-extend. +# +# foam-extend 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 3 of the License, or {at your +# option} any later version. +# +# foam-extend 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 foam-extend. If not, see . +# +# Description +# CMakeLists.txt file for libraries and applications +# +# Author +# Henrik Rusche, Wikki GmbH, 2017. All rights reserved +# +# +# -------------------------------------------------------------------------- + +list(APPEND sources + snappyHexMesh.C +) + +# Set minimal environment for external compilation +if(NOT FOAM_FOUND) + cmake_minimum_required(VERSION 2.8) + find_package(FOAM REQUIRED) +endif() + +add_foam_executable(snappyHexMesh + DEPENDS dynamicFvMesh autoMesh + SOURCES ${sources} +) diff --git a/applications/utilities/mesh/manipulation/CMakeLists.txt b/applications/utilities/mesh/manipulation/CMakeLists.txt new file mode 100644 index 000000000..a042bcd36 --- /dev/null +++ b/applications/utilities/mesh/manipulation/CMakeLists.txt @@ -0,0 +1,65 @@ +# --------------------------------------------------------------------------# ======== | +# \ / F ield | foam-extend: Open Source CFD +# \ / O peration | Version: 4.1 +# \ / A nd | Web: http://www.foam-extend.org +# \/ M anipulation | For copyright notice see file Copyright +# -------------------------------------------------------------------------- +# License +# This file is part of foam-extend. +# +# foam-extend 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 3 of the License, or {at your +# option} any later version. +# +# foam-extend 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 foam-extend. If not, see . +# +# Description +# CMakeLists.txt file for libraries and applications +# +# Author +# Henrik Rusche, Wikki GmbH, 2017. All rights reserved +# +# +# -------------------------------------------------------------------------- + +add_subdirectory(checkSurfaceCurvature) +add_subdirectory(regionCellSets) +add_subdirectory(checkMesh) +add_subdirectory(createBaffles) +add_subdirectory(faceSet) +add_subdirectory(splitMesh) +add_subdirectory(mergeOrSplitBaffles) +add_subdirectory(objToVTK) +add_subdirectory(moveDyMEngineMesh) +add_subdirectory(transformPoints) +add_subdirectory(cellSet) +add_subdirectory(moveEngineMesh) +add_subdirectory(insideCells) +add_subdirectory(subsetMesh) +add_subdirectory(setsToZones) +add_subdirectory(deformedGeom) +add_subdirectory(autoPatch) +add_subdirectory(mergeMeshes) +add_subdirectory(refineMesh) +add_subdirectory(rotateMesh) +add_subdirectory(attachMesh) +add_subdirectory(renumberMesh) +add_subdirectory(splitMeshRegions) +add_subdirectory(deformedTetFemGeom) +add_subdirectory(moveMesh) +add_subdirectory(flattenMesh) +add_subdirectory(zipUpMesh) +add_subdirectory(stitchMesh) +add_subdirectory(tetDecomposition) +add_subdirectory(setSet) +add_subdirectory(mirrorMesh) +add_subdirectory(moveDynamicMesh) +add_subdirectory(pointSet) +add_subdirectory(createPatch) \ No newline at end of file diff --git a/applications/utilities/mesh/manipulation/attachMesh/CMakeLists.txt b/applications/utilities/mesh/manipulation/attachMesh/CMakeLists.txt new file mode 100644 index 000000000..79208e8c9 --- /dev/null +++ b/applications/utilities/mesh/manipulation/attachMesh/CMakeLists.txt @@ -0,0 +1,47 @@ +# -------------------------------------------------------------------------- +# ======== | +# \ / F ield | foam-extend: Open Source CFD +# \ / O peration | Version: 4.1 +# \ / A nd | Web: http://www.foam-extend.org +# \/ M anipulation | For copyright notice see file Copyright +# -------------------------------------------------------------------------- +# License +# This file is part of foam-extend. +# +# foam-extend 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 3 of the License, or {at your +# option} any later version. +# +# foam-extend 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 foam-extend. If not, see . +# +# Description +# CMakeLists.txt file for libraries and applications +# +# Author +# Henrik Rusche, Wikki GmbH, 2017. All rights reserved +# +# +# -------------------------------------------------------------------------- + +list(APPEND sources + attachPolyTopoChanger.C + attachMesh.C +) + +# Set minimal environment for external compilation +if(NOT FOAM_FOUND) + cmake_minimum_required(VERSION 2.8) + find_package(FOAM REQUIRED) +endif() + +add_foam_executable(attachMesh + DEPENDS dynamicMesh meshTools + SOURCES ${sources} +) diff --git a/applications/utilities/mesh/manipulation/autoPatch/CMakeLists.txt b/applications/utilities/mesh/manipulation/autoPatch/CMakeLists.txt new file mode 100644 index 000000000..36d5a2f95 --- /dev/null +++ b/applications/utilities/mesh/manipulation/autoPatch/CMakeLists.txt @@ -0,0 +1,46 @@ +# -------------------------------------------------------------------------- +# ======== | +# \ / F ield | foam-extend: Open Source CFD +# \ / O peration | Version: 4.1 +# \ / A nd | Web: http://www.foam-extend.org +# \/ M anipulation | For copyright notice see file Copyright +# -------------------------------------------------------------------------- +# License +# This file is part of foam-extend. +# +# foam-extend 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 3 of the License, or {at your +# option} any later version. +# +# foam-extend 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 foam-extend. If not, see . +# +# Description +# CMakeLists.txt file for libraries and applications +# +# Author +# Henrik Rusche, Wikki GmbH, 2017. All rights reserved +# +# +# -------------------------------------------------------------------------- + +list(APPEND sources + autoPatch.C +) + +# Set minimal environment for external compilation +if(NOT FOAM_FOUND) + cmake_minimum_required(VERSION 2.8) + find_package(FOAM REQUIRED) +endif() + +add_foam_executable(autoPatch + DEPENDS dynamicMesh meshTools + SOURCES ${sources} +) diff --git a/applications/utilities/mesh/manipulation/cellSet/CMakeLists.txt b/applications/utilities/mesh/manipulation/cellSet/CMakeLists.txt new file mode 100644 index 000000000..91349290e --- /dev/null +++ b/applications/utilities/mesh/manipulation/cellSet/CMakeLists.txt @@ -0,0 +1,46 @@ +# -------------------------------------------------------------------------- +# ======== | +# \ / F ield | foam-extend: Open Source CFD +# \ / O peration | Version: 4.1 +# \ / A nd | Web: http://www.foam-extend.org +# \/ M anipulation | For copyright notice see file Copyright +# -------------------------------------------------------------------------- +# License +# This file is part of foam-extend. +# +# foam-extend 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 3 of the License, or {at your +# option} any later version. +# +# foam-extend 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 foam-extend. If not, see . +# +# Description +# CMakeLists.txt file for libraries and applications +# +# Author +# Henrik Rusche, Wikki GmbH, 2017. All rights reserved +# +# +# -------------------------------------------------------------------------- + +list(APPEND sources + cellSet.C +) + +# Set minimal environment for external compilation +if(NOT FOAM_FOUND) + cmake_minimum_required(VERSION 2.8) + find_package(FOAM REQUIRED) +endif() + +add_foam_executable(cellSet + DEPENDS meshTools + SOURCES ${sources} +) diff --git a/applications/utilities/mesh/manipulation/checkMesh/CMakeLists.txt b/applications/utilities/mesh/manipulation/checkMesh/CMakeLists.txt new file mode 100644 index 000000000..9ead34e48 --- /dev/null +++ b/applications/utilities/mesh/manipulation/checkMesh/CMakeLists.txt @@ -0,0 +1,49 @@ +# -------------------------------------------------------------------------- +# ======== | +# \ / F ield | foam-extend: Open Source CFD +# \ / O peration | Version: 4.1 +# \ / A nd | Web: http://www.foam-extend.org +# \/ M anipulation | For copyright notice see file Copyright +# -------------------------------------------------------------------------- +# License +# This file is part of foam-extend. +# +# foam-extend 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 3 of the License, or {at your +# option} any later version. +# +# foam-extend 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 foam-extend. If not, see . +# +# Description +# CMakeLists.txt file for libraries and applications +# +# Author +# Henrik Rusche, Wikki GmbH, 2017. All rights reserved +# +# +# -------------------------------------------------------------------------- + +list(APPEND sources + printMeshStats.C + checkTopology.C + checkGeometry.C + checkMesh.C +) + +# Set minimal environment for external compilation +if(NOT FOAM_FOUND) + cmake_minimum_required(VERSION 2.8) + find_package(FOAM REQUIRED) +endif() + +add_foam_executable(checkMesh + DEPENDS finiteVolume meshTools + SOURCES ${sources} +) diff --git a/applications/utilities/mesh/manipulation/checkSurfaceCurvature/CMakeLists.txt b/applications/utilities/mesh/manipulation/checkSurfaceCurvature/CMakeLists.txt new file mode 100644 index 000000000..33ae64a54 --- /dev/null +++ b/applications/utilities/mesh/manipulation/checkSurfaceCurvature/CMakeLists.txt @@ -0,0 +1,46 @@ +# -------------------------------------------------------------------------- +# ======== | +# \ / F ield | foam-extend: Open Source CFD +# \ / O peration | Version: 4.1 +# \ / A nd | Web: http://www.foam-extend.org +# \/ M anipulation | For copyright notice see file Copyright +# -------------------------------------------------------------------------- +# License +# This file is part of foam-extend. +# +# foam-extend 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 3 of the License, or {at your +# option} any later version. +# +# foam-extend 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 foam-extend. If not, see . +# +# Description +# CMakeLists.txt file for libraries and applications +# +# Author +# Henrik Rusche, Wikki GmbH, 2017. All rights reserved +# +# +# -------------------------------------------------------------------------- + +list(APPEND sources + checkSurfaceCurvature.C +) + +# Set minimal environment for external compilation +if(NOT FOAM_FOUND) + cmake_minimum_required(VERSION 2.8) + find_package(FOAM REQUIRED) +endif() + +add_foam_executable(checkSurfaceCurvature + DEPENDS finiteVolume finiteArea + SOURCES ${sources} +) diff --git a/applications/utilities/mesh/manipulation/createBaffles/CMakeLists.txt b/applications/utilities/mesh/manipulation/createBaffles/CMakeLists.txt new file mode 100644 index 000000000..888e0e53f --- /dev/null +++ b/applications/utilities/mesh/manipulation/createBaffles/CMakeLists.txt @@ -0,0 +1,46 @@ +# -------------------------------------------------------------------------- +# ======== | +# \ / F ield | foam-extend: Open Source CFD +# \ / O peration | Version: 4.1 +# \ / A nd | Web: http://www.foam-extend.org +# \/ M anipulation | For copyright notice see file Copyright +# -------------------------------------------------------------------------- +# License +# This file is part of foam-extend. +# +# foam-extend 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 3 of the License, or {at your +# option} any later version. +# +# foam-extend 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 foam-extend. If not, see . +# +# Description +# CMakeLists.txt file for libraries and applications +# +# Author +# Henrik Rusche, Wikki GmbH, 2017. All rights reserved +# +# +# -------------------------------------------------------------------------- + +list(APPEND sources + createBaffles.C +) + +# Set minimal environment for external compilation +if(NOT FOAM_FOUND) + cmake_minimum_required(VERSION 2.8) + find_package(FOAM REQUIRED) +endif() + +add_foam_executable(createBaffles + DEPENDS finiteVolume dynamicMesh meshTools + SOURCES ${sources} +) diff --git a/applications/utilities/mesh/manipulation/createPatch/CMakeLists.txt b/applications/utilities/mesh/manipulation/createPatch/CMakeLists.txt new file mode 100644 index 000000000..33d87aa0d --- /dev/null +++ b/applications/utilities/mesh/manipulation/createPatch/CMakeLists.txt @@ -0,0 +1,46 @@ +# -------------------------------------------------------------------------- +# ======== | +# \ / F ield | foam-extend: Open Source CFD +# \ / O peration | Version: 4.1 +# \ / A nd | Web: http://www.foam-extend.org +# \/ M anipulation | For copyright notice see file Copyright +# -------------------------------------------------------------------------- +# License +# This file is part of foam-extend. +# +# foam-extend 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 3 of the License, or {at your +# option} any later version. +# +# foam-extend 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 foam-extend. If not, see . +# +# Description +# CMakeLists.txt file for libraries and applications +# +# Author +# Henrik Rusche, Wikki GmbH, 2017. All rights reserved +# +# +# -------------------------------------------------------------------------- + +list(APPEND sources + createPatch.C +) + +# Set minimal environment for external compilation +if(NOT FOAM_FOUND) + cmake_minimum_required(VERSION 2.8) + find_package(FOAM REQUIRED) +endif() + +add_foam_executable(createPatch + DEPENDS dynamicMesh + SOURCES ${sources} +) diff --git a/applications/utilities/mesh/manipulation/deformedGeom/CMakeLists.txt b/applications/utilities/mesh/manipulation/deformedGeom/CMakeLists.txt new file mode 100644 index 000000000..6fe3ce8fe --- /dev/null +++ b/applications/utilities/mesh/manipulation/deformedGeom/CMakeLists.txt @@ -0,0 +1,46 @@ +# -------------------------------------------------------------------------- +# ======== | +# \ / F ield | foam-extend: Open Source CFD +# \ / O peration | Version: 4.1 +# \ / A nd | Web: http://www.foam-extend.org +# \/ M anipulation | For copyright notice see file Copyright +# -------------------------------------------------------------------------- +# License +# This file is part of foam-extend. +# +# foam-extend 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 3 of the License, or {at your +# option} any later version. +# +# foam-extend 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 foam-extend. If not, see . +# +# Description +# CMakeLists.txt file for libraries and applications +# +# Author +# Henrik Rusche, Wikki GmbH, 2017. All rights reserved +# +# +# -------------------------------------------------------------------------- + +list(APPEND sources + deformedGeom.C +) + +# Set minimal environment for external compilation +if(NOT FOAM_FOUND) + cmake_minimum_required(VERSION 2.8) + find_package(FOAM REQUIRED) +endif() + +add_foam_executable(deformedGeom + DEPENDS finiteVolume meshTools + SOURCES ${sources} +) diff --git a/applications/utilities/mesh/manipulation/deformedTetFemGeom/CMakeLists.txt b/applications/utilities/mesh/manipulation/deformedTetFemGeom/CMakeLists.txt new file mode 100644 index 000000000..f7cbdd197 --- /dev/null +++ b/applications/utilities/mesh/manipulation/deformedTetFemGeom/CMakeLists.txt @@ -0,0 +1,46 @@ +# -------------------------------------------------------------------------- +# ======== | +# \ / F ield | foam-extend: Open Source CFD +# \ / O peration | Version: 4.1 +# \ / A nd | Web: http://www.foam-extend.org +# \/ M anipulation | For copyright notice see file Copyright +# -------------------------------------------------------------------------- +# License +# This file is part of foam-extend. +# +# foam-extend 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 3 of the License, or {at your +# option} any later version. +# +# foam-extend 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 foam-extend. If not, see . +# +# Description +# CMakeLists.txt file for libraries and applications +# +# Author +# Henrik Rusche, Wikki GmbH, 2017. All rights reserved +# +# +# -------------------------------------------------------------------------- + +list(APPEND sources + deformedTetFemGeom.C +) + +# Set minimal environment for external compilation +if(NOT FOAM_FOUND) + cmake_minimum_required(VERSION 2.8) + find_package(FOAM REQUIRED) +endif() + +add_foam_executable(deformedTetFemGeom + DEPENDS tetFiniteElement + SOURCES ${sources} +) diff --git a/applications/utilities/mesh/manipulation/faceSet/CMakeLists.txt b/applications/utilities/mesh/manipulation/faceSet/CMakeLists.txt new file mode 100644 index 000000000..f392774d4 --- /dev/null +++ b/applications/utilities/mesh/manipulation/faceSet/CMakeLists.txt @@ -0,0 +1,46 @@ +# -------------------------------------------------------------------------- +# ======== | +# \ / F ield | foam-extend: Open Source CFD +# \ / O peration | Version: 4.1 +# \ / A nd | Web: http://www.foam-extend.org +# \/ M anipulation | For copyright notice see file Copyright +# -------------------------------------------------------------------------- +# License +# This file is part of foam-extend. +# +# foam-extend 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 3 of the License, or {at your +# option} any later version. +# +# foam-extend 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 foam-extend. If not, see . +# +# Description +# CMakeLists.txt file for libraries and applications +# +# Author +# Henrik Rusche, Wikki GmbH, 2017. All rights reserved +# +# +# -------------------------------------------------------------------------- + +list(APPEND sources + faceSet.C +) + +# Set minimal environment for external compilation +if(NOT FOAM_FOUND) + cmake_minimum_required(VERSION 2.8) + find_package(FOAM REQUIRED) +endif() + +add_foam_executable(faceSet + DEPENDS finiteVolume meshTools + SOURCES ${sources} +) diff --git a/applications/utilities/mesh/manipulation/flattenMesh/CMakeLists.txt b/applications/utilities/mesh/manipulation/flattenMesh/CMakeLists.txt new file mode 100644 index 000000000..4763cc21e --- /dev/null +++ b/applications/utilities/mesh/manipulation/flattenMesh/CMakeLists.txt @@ -0,0 +1,46 @@ +# -------------------------------------------------------------------------- +# ======== | +# \ / F ield | foam-extend: Open Source CFD +# \ / O peration | Version: 4.1 +# \ / A nd | Web: http://www.foam-extend.org +# \/ M anipulation | For copyright notice see file Copyright +# -------------------------------------------------------------------------- +# License +# This file is part of foam-extend. +# +# foam-extend 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 3 of the License, or {at your +# option} any later version. +# +# foam-extend 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 foam-extend. If not, see . +# +# Description +# CMakeLists.txt file for libraries and applications +# +# Author +# Henrik Rusche, Wikki GmbH, 2017. All rights reserved +# +# +# -------------------------------------------------------------------------- + +list(APPEND sources + flattenMesh.C +) + +# Set minimal environment for external compilation +if(NOT FOAM_FOUND) + cmake_minimum_required(VERSION 2.8) + find_package(FOAM REQUIRED) +endif() + +add_foam_executable(flattenMesh + DEPENDS finiteVolume meshTools + SOURCES ${sources} +) diff --git a/applications/utilities/mesh/manipulation/insideCells/CMakeLists.txt b/applications/utilities/mesh/manipulation/insideCells/CMakeLists.txt new file mode 100644 index 000000000..808b93ce3 --- /dev/null +++ b/applications/utilities/mesh/manipulation/insideCells/CMakeLists.txt @@ -0,0 +1,46 @@ +# -------------------------------------------------------------------------- +# ======== | +# \ / F ield | foam-extend: Open Source CFD +# \ / O peration | Version: 4.1 +# \ / A nd | Web: http://www.foam-extend.org +# \/ M anipulation | For copyright notice see file Copyright +# -------------------------------------------------------------------------- +# License +# This file is part of foam-extend. +# +# foam-extend 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 3 of the License, or {at your +# option} any later version. +# +# foam-extend 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 foam-extend. If not, see . +# +# Description +# CMakeLists.txt file for libraries and applications +# +# Author +# Henrik Rusche, Wikki GmbH, 2017. All rights reserved +# +# +# -------------------------------------------------------------------------- + +list(APPEND sources + insideCells.C +) + +# Set minimal environment for external compilation +if(NOT FOAM_FOUND) + cmake_minimum_required(VERSION 2.8) + find_package(FOAM REQUIRED) +endif() + +add_foam_executable(insideCells + DEPENDS meshTools + SOURCES ${sources} +) diff --git a/applications/utilities/mesh/manipulation/mergeMeshes/CMakeLists.txt b/applications/utilities/mesh/manipulation/mergeMeshes/CMakeLists.txt new file mode 100644 index 000000000..8a067e1a0 --- /dev/null +++ b/applications/utilities/mesh/manipulation/mergeMeshes/CMakeLists.txt @@ -0,0 +1,47 @@ +# -------------------------------------------------------------------------- +# ======== | +# \ / F ield | foam-extend: Open Source CFD +# \ / O peration | Version: 4.1 +# \ / A nd | Web: http://www.foam-extend.org +# \/ M anipulation | For copyright notice see file Copyright +# -------------------------------------------------------------------------- +# License +# This file is part of foam-extend. +# +# foam-extend 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 3 of the License, or {at your +# option} any later version. +# +# foam-extend 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 foam-extend. If not, see . +# +# Description +# CMakeLists.txt file for libraries and applications +# +# Author +# Henrik Rusche, Wikki GmbH, 2017. All rights reserved +# +# +# -------------------------------------------------------------------------- + +list(APPEND sources + mergePolyMesh.C + mergeMeshes.C +) + +# Set minimal environment for external compilation +if(NOT FOAM_FOUND) + cmake_minimum_required(VERSION 2.8) + find_package(FOAM REQUIRED) +endif() + +add_foam_executable(mergeMeshes + DEPENDS dynamicMesh meshTools + SOURCES ${sources} +) diff --git a/applications/utilities/mesh/manipulation/mergeOrSplitBaffles/CMakeLists.txt b/applications/utilities/mesh/manipulation/mergeOrSplitBaffles/CMakeLists.txt new file mode 100644 index 000000000..3c237f928 --- /dev/null +++ b/applications/utilities/mesh/manipulation/mergeOrSplitBaffles/CMakeLists.txt @@ -0,0 +1,46 @@ +# -------------------------------------------------------------------------- +# ======== | +# \ / F ield | foam-extend: Open Source CFD +# \ / O peration | Version: 4.1 +# \ / A nd | Web: http://www.foam-extend.org +# \/ M anipulation | For copyright notice see file Copyright +# -------------------------------------------------------------------------- +# License +# This file is part of foam-extend. +# +# foam-extend 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 3 of the License, or {at your +# option} any later version. +# +# foam-extend 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 foam-extend. If not, see . +# +# Description +# CMakeLists.txt file for libraries and applications +# +# Author +# Henrik Rusche, Wikki GmbH, 2017. All rights reserved +# +# +# -------------------------------------------------------------------------- + +list(APPEND sources + mergeOrSplitBaffles.C +) + +# Set minimal environment for external compilation +if(NOT FOAM_FOUND) + cmake_minimum_required(VERSION 2.8) + find_package(FOAM REQUIRED) +endif() + +add_foam_executable(mergeOrSplitBaffles + DEPENDS finiteVolume dynamicMesh meshTools + SOURCES ${sources} +) diff --git a/applications/utilities/mesh/manipulation/mirrorMesh/CMakeLists.txt b/applications/utilities/mesh/manipulation/mirrorMesh/CMakeLists.txt new file mode 100644 index 000000000..1ed1963c3 --- /dev/null +++ b/applications/utilities/mesh/manipulation/mirrorMesh/CMakeLists.txt @@ -0,0 +1,47 @@ +# -------------------------------------------------------------------------- +# ======== | +# \ / F ield | foam-extend: Open Source CFD +# \ / O peration | Version: 4.1 +# \ / A nd | Web: http://www.foam-extend.org +# \/ M anipulation | For copyright notice see file Copyright +# -------------------------------------------------------------------------- +# License +# This file is part of foam-extend. +# +# foam-extend 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 3 of the License, or {at your +# option} any later version. +# +# foam-extend 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 foam-extend. If not, see . +# +# Description +# CMakeLists.txt file for libraries and applications +# +# Author +# Henrik Rusche, Wikki GmbH, 2017. All rights reserved +# +# +# -------------------------------------------------------------------------- + +list(APPEND sources + mirrorFvMesh.C + mirrorMesh.C +) + +# Set minimal environment for external compilation +if(NOT FOAM_FOUND) + cmake_minimum_required(VERSION 2.8) + find_package(FOAM REQUIRED) +endif() + +add_foam_executable(mirrorMesh + DEPENDS finiteVolume + SOURCES ${sources} +) diff --git a/applications/utilities/mesh/manipulation/moveDyMEngineMesh/CMakeLists.txt b/applications/utilities/mesh/manipulation/moveDyMEngineMesh/CMakeLists.txt new file mode 100644 index 000000000..7715231dc --- /dev/null +++ b/applications/utilities/mesh/manipulation/moveDyMEngineMesh/CMakeLists.txt @@ -0,0 +1,46 @@ +# -------------------------------------------------------------------------- +# ======== | +# \ / F ield | foam-extend: Open Source CFD +# \ / O peration | Version: 4.1 +# \ / A nd | Web: http://www.foam-extend.org +# \/ M anipulation | For copyright notice see file Copyright +# -------------------------------------------------------------------------- +# License +# This file is part of foam-extend. +# +# foam-extend 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 3 of the License, or {at your +# option} any later version. +# +# foam-extend 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 foam-extend. If not, see . +# +# Description +# CMakeLists.txt file for libraries and applications +# +# Author +# Henrik Rusche, Wikki GmbH, 2017. All rights reserved +# +# +# -------------------------------------------------------------------------- + +list(APPEND sources + moveDyMEngineMesh.C +) + +# Set minimal environment for external compilation +if(NOT FOAM_FOUND) + cmake_minimum_required(VERSION 2.8) + find_package(FOAM REQUIRED) +endif() + +add_foam_executable(moveDyMEngineMesh + DEPENDS engine + SOURCES ${sources} +) diff --git a/applications/utilities/mesh/manipulation/moveDynamicMesh/CMakeLists.txt b/applications/utilities/mesh/manipulation/moveDynamicMesh/CMakeLists.txt new file mode 100644 index 000000000..5a1cf9c46 --- /dev/null +++ b/applications/utilities/mesh/manipulation/moveDynamicMesh/CMakeLists.txt @@ -0,0 +1,46 @@ +# -------------------------------------------------------------------------- +# ======== | +# \ / F ield | foam-extend: Open Source CFD +# \ / O peration | Version: 4.1 +# \ / A nd | Web: http://www.foam-extend.org +# \/ M anipulation | For copyright notice see file Copyright +# -------------------------------------------------------------------------- +# License +# This file is part of foam-extend. +# +# foam-extend 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 3 of the License, or {at your +# option} any later version. +# +# foam-extend 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 foam-extend. If not, see . +# +# Description +# CMakeLists.txt file for libraries and applications +# +# Author +# Henrik Rusche, Wikki GmbH, 2017. All rights reserved +# +# +# -------------------------------------------------------------------------- + +list(APPEND sources + moveDynamicMesh.C +) + +# Set minimal environment for external compilation +if(NOT FOAM_FOUND) + cmake_minimum_required(VERSION 2.8) + find_package(FOAM REQUIRED) +endif() + +add_foam_executable(moveDynamicMesh + DEPENDS engine + SOURCES ${sources} +) diff --git a/applications/utilities/mesh/manipulation/moveEngineMesh/CMakeLists.txt b/applications/utilities/mesh/manipulation/moveEngineMesh/CMakeLists.txt new file mode 100644 index 000000000..8948a2f30 --- /dev/null +++ b/applications/utilities/mesh/manipulation/moveEngineMesh/CMakeLists.txt @@ -0,0 +1,46 @@ +# -------------------------------------------------------------------------- +# ======== | +# \ / F ield | foam-extend: Open Source CFD +# \ / O peration | Version: 4.1 +# \ / A nd | Web: http://www.foam-extend.org +# \/ M anipulation | For copyright notice see file Copyright +# -------------------------------------------------------------------------- +# License +# This file is part of foam-extend. +# +# foam-extend 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 3 of the License, or {at your +# option} any later version. +# +# foam-extend 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 foam-extend. If not, see . +# +# Description +# CMakeLists.txt file for libraries and applications +# +# Author +# Henrik Rusche, Wikki GmbH, 2017. All rights reserved +# +# +# -------------------------------------------------------------------------- + +list(APPEND sources + moveEngineMesh.C +) + +# Set minimal environment for external compilation +if(NOT FOAM_FOUND) + cmake_minimum_required(VERSION 2.8) + find_package(FOAM REQUIRED) +endif() + +add_foam_executable(moveEngineMesh + DEPENDS engine + SOURCES ${sources} +) diff --git a/applications/utilities/mesh/manipulation/moveMesh/CMakeLists.txt b/applications/utilities/mesh/manipulation/moveMesh/CMakeLists.txt new file mode 100644 index 000000000..36590ce62 --- /dev/null +++ b/applications/utilities/mesh/manipulation/moveMesh/CMakeLists.txt @@ -0,0 +1,46 @@ +# -------------------------------------------------------------------------- +# ======== | +# \ / F ield | foam-extend: Open Source CFD +# \ / O peration | Version: 4.1 +# \ / A nd | Web: http://www.foam-extend.org +# \/ M anipulation | For copyright notice see file Copyright +# -------------------------------------------------------------------------- +# License +# This file is part of foam-extend. +# +# foam-extend 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 3 of the License, or {at your +# option} any later version. +# +# foam-extend 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 foam-extend. If not, see . +# +# Description +# CMakeLists.txt file for libraries and applications +# +# Author +# Henrik Rusche, Wikki GmbH, 2017. All rights reserved +# +# +# -------------------------------------------------------------------------- + +list(APPEND sources + moveMesh.C +) + +# Set minimal environment for external compilation +if(NOT FOAM_FOUND) + cmake_minimum_required(VERSION 2.8) + find_package(FOAM REQUIRED) +endif() + +add_foam_executable(moveMesh + DEPENDS finiteVolume dynamicMesh + SOURCES ${sources} +) diff --git a/applications/utilities/mesh/manipulation/objToVTK/CMakeLists.txt b/applications/utilities/mesh/manipulation/objToVTK/CMakeLists.txt new file mode 100644 index 000000000..1524095d5 --- /dev/null +++ b/applications/utilities/mesh/manipulation/objToVTK/CMakeLists.txt @@ -0,0 +1,46 @@ +# -------------------------------------------------------------------------- +# ======== | +# \ / F ield | foam-extend: Open Source CFD +# \ / O peration | Version: 4.1 +# \ / A nd | Web: http://www.foam-extend.org +# \/ M anipulation | For copyright notice see file Copyright +# -------------------------------------------------------------------------- +# License +# This file is part of foam-extend. +# +# foam-extend 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 3 of the License, or {at your +# option} any later version. +# +# foam-extend 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 foam-extend. If not, see . +# +# Description +# CMakeLists.txt file for libraries and applications +# +# Author +# Henrik Rusche, Wikki GmbH, 2017. All rights reserved +# +# +# -------------------------------------------------------------------------- + +list(APPEND sources + objToVTK.C +) + +# Set minimal environment for external compilation +if(NOT FOAM_FOUND) + cmake_minimum_required(VERSION 2.8) + find_package(FOAM REQUIRED) +endif() + +add_foam_executable(objToVTK + DEPENDS finiteVolume meshTools + SOURCES ${sources} +) diff --git a/applications/utilities/mesh/manipulation/pointSet/CMakeLists.txt b/applications/utilities/mesh/manipulation/pointSet/CMakeLists.txt new file mode 100644 index 000000000..2c058dd55 --- /dev/null +++ b/applications/utilities/mesh/manipulation/pointSet/CMakeLists.txt @@ -0,0 +1,46 @@ +# -------------------------------------------------------------------------- +# ======== | +# \ / F ield | foam-extend: Open Source CFD +# \ / O peration | Version: 4.1 +# \ / A nd | Web: http://www.foam-extend.org +# \/ M anipulation | For copyright notice see file Copyright +# -------------------------------------------------------------------------- +# License +# This file is part of foam-extend. +# +# foam-extend 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 3 of the License, or {at your +# option} any later version. +# +# foam-extend 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 foam-extend. If not, see . +# +# Description +# CMakeLists.txt file for libraries and applications +# +# Author +# Henrik Rusche, Wikki GmbH, 2017. All rights reserved +# +# +# -------------------------------------------------------------------------- + +list(APPEND sources + pointSet.C +) + +# Set minimal environment for external compilation +if(NOT FOAM_FOUND) + cmake_minimum_required(VERSION 2.8) + find_package(FOAM REQUIRED) +endif() + +add_foam_executable(pointSet + DEPENDS meshTools + SOURCES ${sources} +) diff --git a/applications/utilities/mesh/manipulation/refineMesh/CMakeLists.txt b/applications/utilities/mesh/manipulation/refineMesh/CMakeLists.txt new file mode 100644 index 000000000..00033928f --- /dev/null +++ b/applications/utilities/mesh/manipulation/refineMesh/CMakeLists.txt @@ -0,0 +1,46 @@ +# -------------------------------------------------------------------------- +# ======== | +# \ / F ield | foam-extend: Open Source CFD +# \ / O peration | Version: 4.1 +# \ / A nd | Web: http://www.foam-extend.org +# \/ M anipulation | For copyright notice see file Copyright +# -------------------------------------------------------------------------- +# License +# This file is part of foam-extend. +# +# foam-extend 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 3 of the License, or {at your +# option} any later version. +# +# foam-extend 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 foam-extend. If not, see . +# +# Description +# CMakeLists.txt file for libraries and applications +# +# Author +# Henrik Rusche, Wikki GmbH, 2017. All rights reserved +# +# +# -------------------------------------------------------------------------- + +list(APPEND sources + refineMesh.C +) + +# Set minimal environment for external compilation +if(NOT FOAM_FOUND) + cmake_minimum_required(VERSION 2.8) + find_package(FOAM REQUIRED) +endif() + +add_foam_executable(refineMesh + DEPENDS dynamicMesh meshTools + SOURCES ${sources} +) diff --git a/applications/utilities/mesh/manipulation/regionCellSets/CMakeLists.txt b/applications/utilities/mesh/manipulation/regionCellSets/CMakeLists.txt new file mode 100644 index 000000000..3a5c4604a --- /dev/null +++ b/applications/utilities/mesh/manipulation/regionCellSets/CMakeLists.txt @@ -0,0 +1,46 @@ +# -------------------------------------------------------------------------- +# ======== | +# \ / F ield | foam-extend: Open Source CFD +# \ / O peration | Version: 4.1 +# \ / A nd | Web: http://www.foam-extend.org +# \/ M anipulation | For copyright notice see file Copyright +# -------------------------------------------------------------------------- +# License +# This file is part of foam-extend. +# +# foam-extend 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 3 of the License, or {at your +# option} any later version. +# +# foam-extend 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 foam-extend. If not, see . +# +# Description +# CMakeLists.txt file for libraries and applications +# +# Author +# Henrik Rusche, Wikki GmbH, 2017. All rights reserved +# +# +# -------------------------------------------------------------------------- + +list(APPEND sources + regionCellSets.C +) + +# Set minimal environment for external compilation +if(NOT FOAM_FOUND) + cmake_minimum_required(VERSION 2.8) + find_package(FOAM REQUIRED) +endif() + +add_foam_executable(regionCellSets + DEPENDS finiteVolume meshTools + SOURCES ${sources} +) diff --git a/applications/utilities/mesh/manipulation/renumberMesh/CMakeLists.txt b/applications/utilities/mesh/manipulation/renumberMesh/CMakeLists.txt new file mode 100644 index 000000000..66203bdfe --- /dev/null +++ b/applications/utilities/mesh/manipulation/renumberMesh/CMakeLists.txt @@ -0,0 +1,46 @@ +# -------------------------------------------------------------------------- +# ======== | +# \ / F ield | foam-extend: Open Source CFD +# \ / O peration | Version: 4.1 +# \ / A nd | Web: http://www.foam-extend.org +# \/ M anipulation | For copyright notice see file Copyright +# -------------------------------------------------------------------------- +# License +# This file is part of foam-extend. +# +# foam-extend 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 3 of the License, or {at your +# option} any later version. +# +# foam-extend 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 foam-extend. If not, see . +# +# Description +# CMakeLists.txt file for libraries and applications +# +# Author +# Henrik Rusche, Wikki GmbH, 2017. All rights reserved +# +# +# -------------------------------------------------------------------------- + +list(APPEND sources + renumberMesh.C +) + +# Set minimal environment for external compilation +if(NOT FOAM_FOUND) + cmake_minimum_required(VERSION 2.8) + find_package(FOAM REQUIRED) +endif() + +add_foam_executable(renumberMesh + DEPENDS finiteVolume dynamicMesh + SOURCES ${sources} +) diff --git a/applications/utilities/mesh/manipulation/rotateMesh/CMakeLists.txt b/applications/utilities/mesh/manipulation/rotateMesh/CMakeLists.txt new file mode 100644 index 000000000..3961854f3 --- /dev/null +++ b/applications/utilities/mesh/manipulation/rotateMesh/CMakeLists.txt @@ -0,0 +1,46 @@ +# -------------------------------------------------------------------------- +# ======== | +# \ / F ield | foam-extend: Open Source CFD +# \ / O peration | Version: 4.1 +# \ / A nd | Web: http://www.foam-extend.org +# \/ M anipulation | For copyright notice see file Copyright +# -------------------------------------------------------------------------- +# License +# This file is part of foam-extend. +# +# foam-extend 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 3 of the License, or {at your +# option} any later version. +# +# foam-extend 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 foam-extend. If not, see . +# +# Description +# CMakeLists.txt file for libraries and applications +# +# Author +# Henrik Rusche, Wikki GmbH, 2017. All rights reserved +# +# +# -------------------------------------------------------------------------- + +list(APPEND sources + rotateMesh.C +) + +# Set minimal environment for external compilation +if(NOT FOAM_FOUND) + cmake_minimum_required(VERSION 2.8) + find_package(FOAM REQUIRED) +endif() + +add_foam_executable(rotateMesh + DEPENDS finiteVolume + SOURCES ${sources} +) diff --git a/applications/utilities/mesh/manipulation/setSet/CMakeLists.txt b/applications/utilities/mesh/manipulation/setSet/CMakeLists.txt new file mode 100644 index 000000000..507e12671 --- /dev/null +++ b/applications/utilities/mesh/manipulation/setSet/CMakeLists.txt @@ -0,0 +1,49 @@ +# -------------------------------------------------------------------------- +# ======== | +# \ / F ield | foam-extend: Open Source CFD +# \ / O peration | Version: 4.1 +# \ / A nd | Web: http://www.foam-extend.org +# \/ M anipulation | For copyright notice see file Copyright +# -------------------------------------------------------------------------- +# License +# This file is part of foam-extend. +# +# foam-extend 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 3 of the License, or {at your +# option} any later version. +# +# foam-extend 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 foam-extend. If not, see . +# +# Description +# CMakeLists.txt file for libraries and applications +# +# Author +# Henrik Rusche, Wikki GmbH, 2017. All rights reserved +# +# +# -------------------------------------------------------------------------- + +list(APPEND sources + writePointSet.C + writeFuns.C + writePatch.C + setSet.C +) + +# Set minimal environment for external compilation +if(NOT FOAM_FOUND) + cmake_minimum_required(VERSION 2.8) + find_package(FOAM REQUIRED) +endif() + +add_foam_executable(setSet + DEPENDS meshTools + SOURCES ${sources} +) diff --git a/applications/utilities/mesh/manipulation/setsToZones/CMakeLists.txt b/applications/utilities/mesh/manipulation/setsToZones/CMakeLists.txt new file mode 100644 index 000000000..4fa1eb1be --- /dev/null +++ b/applications/utilities/mesh/manipulation/setsToZones/CMakeLists.txt @@ -0,0 +1,46 @@ +# -------------------------------------------------------------------------- +# ======== | +# \ / F ield | foam-extend: Open Source CFD +# \ / O peration | Version: 4.1 +# \ / A nd | Web: http://www.foam-extend.org +# \/ M anipulation | For copyright notice see file Copyright +# -------------------------------------------------------------------------- +# License +# This file is part of foam-extend. +# +# foam-extend 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 3 of the License, or {at your +# option} any later version. +# +# foam-extend 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 foam-extend. If not, see . +# +# Description +# CMakeLists.txt file for libraries and applications +# +# Author +# Henrik Rusche, Wikki GmbH, 2017. All rights reserved +# +# +# -------------------------------------------------------------------------- + +list(APPEND sources + setsToZones.C +) + +# Set minimal environment for external compilation +if(NOT FOAM_FOUND) + cmake_minimum_required(VERSION 2.8) + find_package(FOAM REQUIRED) +endif() + +add_foam_executable(setsToZones + DEPENDS meshTools + SOURCES ${sources} +) diff --git a/applications/utilities/mesh/manipulation/splitMesh/CMakeLists.txt b/applications/utilities/mesh/manipulation/splitMesh/CMakeLists.txt new file mode 100644 index 000000000..ecdeb6286 --- /dev/null +++ b/applications/utilities/mesh/manipulation/splitMesh/CMakeLists.txt @@ -0,0 +1,47 @@ +# -------------------------------------------------------------------------- +# ======== | +# \ / F ield | foam-extend: Open Source CFD +# \ / O peration | Version: 4.1 +# \ / A nd | Web: http://www.foam-extend.org +# \/ M anipulation | For copyright notice see file Copyright +# -------------------------------------------------------------------------- +# License +# This file is part of foam-extend. +# +# foam-extend 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 3 of the License, or {at your +# option} any later version. +# +# foam-extend 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 foam-extend. If not, see . +# +# Description +# CMakeLists.txt file for libraries and applications +# +# Author +# Henrik Rusche, Wikki GmbH, 2017. All rights reserved +# +# +# -------------------------------------------------------------------------- + +list(APPEND sources + regionSide.C + splitMesh.C +) + +# Set minimal environment for external compilation +if(NOT FOAM_FOUND) + cmake_minimum_required(VERSION 2.8) + find_package(FOAM REQUIRED) +endif() + +add_foam_executable(splitMesh + DEPENDS dynamicMesh meshTools + SOURCES ${sources} +) diff --git a/applications/utilities/mesh/manipulation/splitMeshRegions/CMakeLists.txt b/applications/utilities/mesh/manipulation/splitMeshRegions/CMakeLists.txt new file mode 100644 index 000000000..9b57ee8f4 --- /dev/null +++ b/applications/utilities/mesh/manipulation/splitMeshRegions/CMakeLists.txt @@ -0,0 +1,46 @@ +# -------------------------------------------------------------------------- +# ======== | +# \ / F ield | foam-extend: Open Source CFD +# \ / O peration | Version: 4.1 +# \ / A nd | Web: http://www.foam-extend.org +# \/ M anipulation | For copyright notice see file Copyright +# -------------------------------------------------------------------------- +# License +# This file is part of foam-extend. +# +# foam-extend 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 3 of the License, or {at your +# option} any later version. +# +# foam-extend 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 foam-extend. If not, see . +# +# Description +# CMakeLists.txt file for libraries and applications +# +# Author +# Henrik Rusche, Wikki GmbH, 2017. All rights reserved +# +# +# -------------------------------------------------------------------------- + +list(APPEND sources + splitMeshRegions.C +) + +# Set minimal environment for external compilation +if(NOT FOAM_FOUND) + cmake_minimum_required(VERSION 2.8) + find_package(FOAM REQUIRED) +endif() + +add_foam_executable(splitMeshRegions + DEPENDS finiteVolume dynamicMesh + SOURCES ${sources} +) diff --git a/applications/utilities/mesh/manipulation/stitchMesh/CMakeLists.txt b/applications/utilities/mesh/manipulation/stitchMesh/CMakeLists.txt new file mode 100644 index 000000000..d895bce7f --- /dev/null +++ b/applications/utilities/mesh/manipulation/stitchMesh/CMakeLists.txt @@ -0,0 +1,46 @@ +# -------------------------------------------------------------------------- +# ======== | +# \ / F ield | foam-extend: Open Source CFD +# \ / O peration | Version: 4.1 +# \ / A nd | Web: http://www.foam-extend.org +# \/ M anipulation | For copyright notice see file Copyright +# -------------------------------------------------------------------------- +# License +# This file is part of foam-extend. +# +# foam-extend 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 3 of the License, or {at your +# option} any later version. +# +# foam-extend 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 foam-extend. If not, see . +# +# Description +# CMakeLists.txt file for libraries and applications +# +# Author +# Henrik Rusche, Wikki GmbH, 2017. All rights reserved +# +# +# -------------------------------------------------------------------------- + +list(APPEND sources + stitchMesh.C +) + +# Set minimal environment for external compilation +if(NOT FOAM_FOUND) + cmake_minimum_required(VERSION 2.8) + find_package(FOAM REQUIRED) +endif() + +add_foam_executable(stitchMesh + DEPENDS finiteVolume dynamicMesh + SOURCES ${sources} +) diff --git a/applications/utilities/mesh/manipulation/subsetMesh/CMakeLists.txt b/applications/utilities/mesh/manipulation/subsetMesh/CMakeLists.txt new file mode 100644 index 000000000..03f9d6309 --- /dev/null +++ b/applications/utilities/mesh/manipulation/subsetMesh/CMakeLists.txt @@ -0,0 +1,46 @@ +# -------------------------------------------------------------------------- +# ======== | +# \ / F ield | foam-extend: Open Source CFD +# \ / O peration | Version: 4.1 +# \ / A nd | Web: http://www.foam-extend.org +# \/ M anipulation | For copyright notice see file Copyright +# -------------------------------------------------------------------------- +# License +# This file is part of foam-extend. +# +# foam-extend 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 3 of the License, or {at your +# option} any later version. +# +# foam-extend 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 foam-extend. If not, see . +# +# Description +# CMakeLists.txt file for libraries and applications +# +# Author +# Henrik Rusche, Wikki GmbH, 2017. All rights reserved +# +# +# -------------------------------------------------------------------------- + +list(APPEND sources + subsetMesh.C +) + +# Set minimal environment for external compilation +if(NOT FOAM_FOUND) + cmake_minimum_required(VERSION 2.8) + find_package(FOAM REQUIRED) +endif() + +add_foam_executable(subsetMesh + DEPENDS finiteVolume meshTools + SOURCES ${sources} +) diff --git a/applications/utilities/mesh/manipulation/tetDecomposition/CMakeLists.txt b/applications/utilities/mesh/manipulation/tetDecomposition/CMakeLists.txt new file mode 100644 index 000000000..056e8ef1f --- /dev/null +++ b/applications/utilities/mesh/manipulation/tetDecomposition/CMakeLists.txt @@ -0,0 +1,46 @@ +# -------------------------------------------------------------------------- +# ======== | +# \ / F ield | foam-extend: Open Source CFD +# \ / O peration | Version: 4.1 +# \ / A nd | Web: http://www.foam-extend.org +# \/ M anipulation | For copyright notice see file Copyright +# -------------------------------------------------------------------------- +# License +# This file is part of foam-extend. +# +# foam-extend 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 3 of the License, or {at your +# option} any later version. +# +# foam-extend 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 foam-extend. If not, see . +# +# Description +# CMakeLists.txt file for libraries and applications +# +# Author +# Henrik Rusche, Wikki GmbH, 2017. All rights reserved +# +# +# -------------------------------------------------------------------------- + +list(APPEND sources + tetDecomposition.C +) + +# Set minimal environment for external compilation +if(NOT FOAM_FOUND) + cmake_minimum_required(VERSION 2.8) + find_package(FOAM REQUIRED) +endif() + +add_foam_executable(tetDecomposition + DEPENDS finiteVolume tetFiniteElement + SOURCES ${sources} +) diff --git a/applications/utilities/mesh/manipulation/transformPoints/CMakeLists.txt b/applications/utilities/mesh/manipulation/transformPoints/CMakeLists.txt new file mode 100644 index 000000000..f25775e83 --- /dev/null +++ b/applications/utilities/mesh/manipulation/transformPoints/CMakeLists.txt @@ -0,0 +1,46 @@ +# -------------------------------------------------------------------------- +# ======== | +# \ / F ield | foam-extend: Open Source CFD +# \ / O peration | Version: 4.1 +# \ / A nd | Web: http://www.foam-extend.org +# \/ M anipulation | For copyright notice see file Copyright +# -------------------------------------------------------------------------- +# License +# This file is part of foam-extend. +# +# foam-extend 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 3 of the License, or {at your +# option} any later version. +# +# foam-extend 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 foam-extend. If not, see . +# +# Description +# CMakeLists.txt file for libraries and applications +# +# Author +# Henrik Rusche, Wikki GmbH, 2017. All rights reserved +# +# +# -------------------------------------------------------------------------- + +list(APPEND sources + transformPoints.C +) + +# Set minimal environment for external compilation +if(NOT FOAM_FOUND) + cmake_minimum_required(VERSION 2.8) + find_package(FOAM REQUIRED) +endif() + +add_foam_executable(transformPoints + DEPENDS finiteVolume + SOURCES ${sources} +) diff --git a/applications/utilities/mesh/manipulation/zipUpMesh/CMakeLists.txt b/applications/utilities/mesh/manipulation/zipUpMesh/CMakeLists.txt new file mode 100644 index 000000000..47ec2621d --- /dev/null +++ b/applications/utilities/mesh/manipulation/zipUpMesh/CMakeLists.txt @@ -0,0 +1,46 @@ +# -------------------------------------------------------------------------- +# ======== | +# \ / F ield | foam-extend: Open Source CFD +# \ / O peration | Version: 4.1 +# \ / A nd | Web: http://www.foam-extend.org +# \/ M anipulation | For copyright notice see file Copyright +# -------------------------------------------------------------------------- +# License +# This file is part of foam-extend. +# +# foam-extend 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 3 of the License, or {at your +# option} any later version. +# +# foam-extend 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 foam-extend. If not, see . +# +# Description +# CMakeLists.txt file for libraries and applications +# +# Author +# Henrik Rusche, Wikki GmbH, 2017. All rights reserved +# +# +# -------------------------------------------------------------------------- + +list(APPEND sources + zipUpMesh.C +) + +# Set minimal environment for external compilation +if(NOT FOAM_FOUND) + cmake_minimum_required(VERSION 2.8) + find_package(FOAM REQUIRED) +endif() + +add_foam_executable(zipUpMesh + DEPENDS finiteVolume meshTools + SOURCES ${sources} +) diff --git a/applications/utilities/miscellaneous/CMakeLists.txt b/applications/utilities/miscellaneous/CMakeLists.txt new file mode 100644 index 000000000..f21a26df8 --- /dev/null +++ b/applications/utilities/miscellaneous/CMakeLists.txt @@ -0,0 +1,37 @@ +# --------------------------------------------------------------------------# ======== | +# \ / F ield | foam-extend: Open Source CFD +# \ / O peration | Version: 4.1 +# \ / A nd | Web: http://www.foam-extend.org +# \/ M anipulation | For copyright notice see file Copyright +# -------------------------------------------------------------------------- +# License +# This file is part of foam-extend. +# +# foam-extend 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 3 of the License, or {at your +# option} any later version. +# +# foam-extend 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 foam-extend. If not, see . +# +# Description +# CMakeLists.txt file for libraries and applications +# +# Author +# Henrik Rusche, Wikki GmbH, 2017. All rights reserved +# +# +# -------------------------------------------------------------------------- + +add_subdirectory(foamInfoExec) +add_subdirectory(foamFormatConvert) +add_subdirectory(expandDictionary) +add_subdirectory(patchSummary) +add_subdirectory(autoDerivative) +add_subdirectory(findRoot) \ No newline at end of file diff --git a/applications/utilities/miscellaneous/autoDerivative/CMakeLists.txt b/applications/utilities/miscellaneous/autoDerivative/CMakeLists.txt new file mode 100644 index 000000000..b741a7390 --- /dev/null +++ b/applications/utilities/miscellaneous/autoDerivative/CMakeLists.txt @@ -0,0 +1,33 @@ +# --------------------------------------------------------------------------# ======== | +# \ / F ield | foam-extend: Open Source CFD +# \ / O peration | Version: 4.1 +# \ / A nd | Web: http://www.foam-extend.org +# \/ M anipulation | For copyright notice see file Copyright +# -------------------------------------------------------------------------- +# License +# This file is part of foam-extend. +# +# foam-extend 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 3 of the License, or {at your +# option} any later version. +# +# foam-extend 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 foam-extend. If not, see . +# +# Description +# CMakeLists.txt file for libraries and applications +# +# Author +# Henrik Rusche, Wikki GmbH, 2017. All rights reserved +# +# +# -------------------------------------------------------------------------- + +add_subdirectory(testFadField) +add_subdirectory(testFad) \ No newline at end of file diff --git a/applications/utilities/miscellaneous/autoDerivative/testFad/CMakeLists.txt b/applications/utilities/miscellaneous/autoDerivative/testFad/CMakeLists.txt new file mode 100644 index 000000000..60196aa41 --- /dev/null +++ b/applications/utilities/miscellaneous/autoDerivative/testFad/CMakeLists.txt @@ -0,0 +1,46 @@ +# -------------------------------------------------------------------------- +# ======== | +# \ / F ield | foam-extend: Open Source CFD +# \ / O peration | Version: 4.1 +# \ / A nd | Web: http://www.foam-extend.org +# \/ M anipulation | For copyright notice see file Copyright +# -------------------------------------------------------------------------- +# License +# This file is part of foam-extend. +# +# foam-extend 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 3 of the License, or {at your +# option} any later version. +# +# foam-extend 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 foam-extend. If not, see . +# +# Description +# CMakeLists.txt file for libraries and applications +# +# Author +# Henrik Rusche, Wikki GmbH, 2017. All rights reserved +# +# +# -------------------------------------------------------------------------- + +list(APPEND sources + testFad.C +) + +# Set minimal environment for external compilation +if(NOT FOAM_FOUND) + cmake_minimum_required(VERSION 2.8) + find_package(FOAM REQUIRED) +endif() + +add_foam_executable(testFad + DEPENDS finiteVolume + SOURCES ${sources} +) diff --git a/applications/utilities/miscellaneous/autoDerivative/testFadField/CMakeLists.txt b/applications/utilities/miscellaneous/autoDerivative/testFadField/CMakeLists.txt new file mode 100644 index 000000000..9d7a21c0b --- /dev/null +++ b/applications/utilities/miscellaneous/autoDerivative/testFadField/CMakeLists.txt @@ -0,0 +1,47 @@ +# -------------------------------------------------------------------------- +# ======== | +# \ / F ield | foam-extend: Open Source CFD +# \ / O peration | Version: 4.1 +# \ / A nd | Web: http://www.foam-extend.org +# \/ M anipulation | For copyright notice see file Copyright +# -------------------------------------------------------------------------- +# License +# This file is part of foam-extend. +# +# foam-extend 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 3 of the License, or {at your +# option} any later version. +# +# foam-extend 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 foam-extend. If not, see . +# +# Description +# CMakeLists.txt file for libraries and applications +# +# Author +# Henrik Rusche, Wikki GmbH, 2017. All rights reserved +# +# +# -------------------------------------------------------------------------- + +list(APPEND sources + testFadField.C + fadOneFields.C +) + +# Set minimal environment for external compilation +if(NOT FOAM_FOUND) + cmake_minimum_required(VERSION 2.8) + find_package(FOAM REQUIRED) +endif() + +add_foam_executable(testFadField + DEPENDS finiteVolume + SOURCES ${sources} +) diff --git a/applications/utilities/miscellaneous/expandDictionary/CMakeLists.txt b/applications/utilities/miscellaneous/expandDictionary/CMakeLists.txt new file mode 100644 index 000000000..85d311b65 --- /dev/null +++ b/applications/utilities/miscellaneous/expandDictionary/CMakeLists.txt @@ -0,0 +1,46 @@ +# -------------------------------------------------------------------------- +# ======== | +# \ / F ield | foam-extend: Open Source CFD +# \ / O peration | Version: 4.1 +# \ / A nd | Web: http://www.foam-extend.org +# \/ M anipulation | For copyright notice see file Copyright +# -------------------------------------------------------------------------- +# License +# This file is part of foam-extend. +# +# foam-extend 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 3 of the License, or {at your +# option} any later version. +# +# foam-extend 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 foam-extend. If not, see . +# +# Description +# CMakeLists.txt file for libraries and applications +# +# Author +# Henrik Rusche, Wikki GmbH, 2017. All rights reserved +# +# +# -------------------------------------------------------------------------- + +list(APPEND sources + expandDictionary.C +) + +# Set minimal environment for external compilation +if(NOT FOAM_FOUND) + cmake_minimum_required(VERSION 2.8) + find_package(FOAM REQUIRED) +endif() + +add_foam_executable(expandDictionary + DEPENDS foam + SOURCES ${sources} +) diff --git a/applications/utilities/miscellaneous/findRoot/CMakeLists.txt b/applications/utilities/miscellaneous/findRoot/CMakeLists.txt new file mode 100644 index 000000000..459579f86 --- /dev/null +++ b/applications/utilities/miscellaneous/findRoot/CMakeLists.txt @@ -0,0 +1,46 @@ +# -------------------------------------------------------------------------- +# ======== | +# \ / F ield | foam-extend: Open Source CFD +# \ / O peration | Version: 4.1 +# \ / A nd | Web: http://www.foam-extend.org +# \/ M anipulation | For copyright notice see file Copyright +# -------------------------------------------------------------------------- +# License +# This file is part of foam-extend. +# +# foam-extend 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 3 of the License, or {at your +# option} any later version. +# +# foam-extend 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 foam-extend. If not, see . +# +# Description +# CMakeLists.txt file for libraries and applications +# +# Author +# Henrik Rusche, Wikki GmbH, 2017. All rights reserved +# +# +# -------------------------------------------------------------------------- + +list(APPEND sources + findRoot.C +) + +# Set minimal environment for external compilation +if(NOT FOAM_FOUND) + cmake_minimum_required(VERSION 2.8) + find_package(FOAM REQUIRED) +endif() + +add_foam_executable(findRoot + DEPENDS finiteVolume ODE + SOURCES ${sources} +) diff --git a/applications/utilities/miscellaneous/foamFormatConvert/CMakeLists.txt b/applications/utilities/miscellaneous/foamFormatConvert/CMakeLists.txt new file mode 100644 index 000000000..400797bd2 --- /dev/null +++ b/applications/utilities/miscellaneous/foamFormatConvert/CMakeLists.txt @@ -0,0 +1,46 @@ +# -------------------------------------------------------------------------- +# ======== | +# \ / F ield | foam-extend: Open Source CFD +# \ / O peration | Version: 4.1 +# \ / A nd | Web: http://www.foam-extend.org +# \/ M anipulation | For copyright notice see file Copyright +# -------------------------------------------------------------------------- +# License +# This file is part of foam-extend. +# +# foam-extend 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 3 of the License, or {at your +# option} any later version. +# +# foam-extend 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 foam-extend. If not, see . +# +# Description +# CMakeLists.txt file for libraries and applications +# +# Author +# Henrik Rusche, Wikki GmbH, 2017. All rights reserved +# +# +# -------------------------------------------------------------------------- + +list(APPEND sources + foamFormatConvert.C +) + +# Set minimal environment for external compilation +if(NOT FOAM_FOUND) + cmake_minimum_required(VERSION 2.8) + find_package(FOAM REQUIRED) +endif() + +add_foam_executable(foamFormatConvert + DEPENDS finiteVolume + SOURCES ${sources} +) diff --git a/applications/utilities/miscellaneous/foamInfoExec/CMakeLists.txt b/applications/utilities/miscellaneous/foamInfoExec/CMakeLists.txt new file mode 100644 index 000000000..7808507ac --- /dev/null +++ b/applications/utilities/miscellaneous/foamInfoExec/CMakeLists.txt @@ -0,0 +1,46 @@ +# -------------------------------------------------------------------------- +# ======== | +# \ / F ield | foam-extend: Open Source CFD +# \ / O peration | Version: 4.1 +# \ / A nd | Web: http://www.foam-extend.org +# \/ M anipulation | For copyright notice see file Copyright +# -------------------------------------------------------------------------- +# License +# This file is part of foam-extend. +# +# foam-extend 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 3 of the License, or {at your +# option} any later version. +# +# foam-extend 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 foam-extend. If not, see . +# +# Description +# CMakeLists.txt file for libraries and applications +# +# Author +# Henrik Rusche, Wikki GmbH, 2017. All rights reserved +# +# +# -------------------------------------------------------------------------- + +list(APPEND sources + foamInfoExec.C +) + +# Set minimal environment for external compilation +if(NOT FOAM_FOUND) + cmake_minimum_required(VERSION 2.8) + find_package(FOAM REQUIRED) +endif() + +add_foam_executable(foamInfoExec + DEPENDS foam + SOURCES ${sources} +) diff --git a/applications/utilities/miscellaneous/patchSummary/CMakeLists.txt b/applications/utilities/miscellaneous/patchSummary/CMakeLists.txt new file mode 100644 index 000000000..fd7664edd --- /dev/null +++ b/applications/utilities/miscellaneous/patchSummary/CMakeLists.txt @@ -0,0 +1,46 @@ +# -------------------------------------------------------------------------- +# ======== | +# \ / F ield | foam-extend: Open Source CFD +# \ / O peration | Version: 4.1 +# \ / A nd | Web: http://www.foam-extend.org +# \/ M anipulation | For copyright notice see file Copyright +# -------------------------------------------------------------------------- +# License +# This file is part of foam-extend. +# +# foam-extend 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 3 of the License, or {at your +# option} any later version. +# +# foam-extend 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 foam-extend. If not, see . +# +# Description +# CMakeLists.txt file for libraries and applications +# +# Author +# Henrik Rusche, Wikki GmbH, 2017. All rights reserved +# +# +# -------------------------------------------------------------------------- + +list(APPEND sources + patchSummary.C +) + +# Set minimal environment for external compilation +if(NOT FOAM_FOUND) + cmake_minimum_required(VERSION 2.8) + find_package(FOAM REQUIRED) +endif() + +add_foam_executable(patchSummary + DEPENDS finiteVolume + SOURCES ${sources} +) diff --git a/applications/utilities/parallelProcessing/CMakeLists.txt b/applications/utilities/parallelProcessing/CMakeLists.txt new file mode 100644 index 000000000..e1306fadf --- /dev/null +++ b/applications/utilities/parallelProcessing/CMakeLists.txt @@ -0,0 +1,36 @@ +# --------------------------------------------------------------------------# ======== | +# \ / F ield | foam-extend: Open Source CFD +# \ / O peration | Version: 4.1 +# \ / A nd | Web: http://www.foam-extend.org +# \/ M anipulation | For copyright notice see file Copyright +# -------------------------------------------------------------------------- +# License +# This file is part of foam-extend. +# +# foam-extend 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 3 of the License, or {at your +# option} any later version. +# +# foam-extend 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 foam-extend. If not, see . +# +# Description +# CMakeLists.txt file for libraries and applications +# +# Author +# Henrik Rusche, Wikki GmbH, 2017. All rights reserved +# +# +# -------------------------------------------------------------------------- + +add_subdirectory(redistributeMeshPar) +add_subdirectory(reconstructParMesh) +add_subdirectory(decomposePar) +add_subdirectory(decomposeSets) +add_subdirectory(reconstructPar) \ No newline at end of file diff --git a/applications/utilities/parallelProcessing/decomposePar/CMakeLists.txt b/applications/utilities/parallelProcessing/decomposePar/CMakeLists.txt new file mode 100644 index 000000000..73055d26c --- /dev/null +++ b/applications/utilities/parallelProcessing/decomposePar/CMakeLists.txt @@ -0,0 +1,55 @@ +# -------------------------------------------------------------------------- +# ======== | +# \ / F ield | foam-extend: Open Source CFD +# \ / O peration | Version: 4.1 +# \ / A nd | Web: http://www.foam-extend.org +# \/ M anipulation | For copyright notice see file Copyright +# -------------------------------------------------------------------------- +# License +# This file is part of foam-extend. +# +# foam-extend 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 3 of the License, or {at your +# option} any later version. +# +# foam-extend 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 foam-extend. If not, see . +# +# Description +# CMakeLists.txt file for libraries and applications +# +# Author +# Henrik Rusche, Wikki GmbH, 2017. All rights reserved +# +# +# -------------------------------------------------------------------------- + +list(APPEND sources + decomposeMesh.C + decomposePar.C + domainDecomposition.C + distributeCells.C + faMeshDecomposition.C + fvFieldDecomposer.C + faFieldDecomposer.C + pointFieldDecomposer.C + tetPointFieldDecomposer.C + lagrangianFieldDecomposer.C +) + +# Set minimal environment for external compilation +if(NOT FOAM_FOUND) + cmake_minimum_required(VERSION 2.8) + find_package(FOAM REQUIRED) +endif() + +add_foam_executable(decomposePar + DEPENDS finiteVolume finiteArea tetFiniteElement + SOURCES ${sources} +) diff --git a/applications/utilities/parallelProcessing/decomposeSets/CMakeLists.txt b/applications/utilities/parallelProcessing/decomposeSets/CMakeLists.txt new file mode 100644 index 000000000..adbf31ac2 --- /dev/null +++ b/applications/utilities/parallelProcessing/decomposeSets/CMakeLists.txt @@ -0,0 +1,47 @@ +# -------------------------------------------------------------------------- +# ======== | +# \ / F ield | foam-extend: Open Source CFD +# \ / O peration | Version: 4.1 +# \ / A nd | Web: http://www.foam-extend.org +# \/ M anipulation | For copyright notice see file Copyright +# -------------------------------------------------------------------------- +# License +# This file is part of foam-extend. +# +# foam-extend 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 3 of the License, or {at your +# option} any later version. +# +# foam-extend 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 foam-extend. If not, see . +# +# Description +# CMakeLists.txt file for libraries and applications +# +# Author +# Henrik Rusche, Wikki GmbH, 2017. All rights reserved +# +# +# -------------------------------------------------------------------------- + +list(APPEND sources + processorMeshes.C + decomposeSets.C +) + +# Set minimal environment for external compilation +if(NOT FOAM_FOUND) + cmake_minimum_required(VERSION 2.8) + find_package(FOAM REQUIRED) +endif() + +add_foam_executable(decomposeSets + DEPENDS finiteVolume meshTools + SOURCES ${sources} +) diff --git a/applications/utilities/parallelProcessing/reconstructPar/CMakeLists.txt b/applications/utilities/parallelProcessing/reconstructPar/CMakeLists.txt new file mode 100644 index 000000000..929057cc1 --- /dev/null +++ b/applications/utilities/parallelProcessing/reconstructPar/CMakeLists.txt @@ -0,0 +1,53 @@ +# -------------------------------------------------------------------------- +# ======== | +# \ / F ield | foam-extend: Open Source CFD +# \ / O peration | Version: 4.1 +# \ / A nd | Web: http://www.foam-extend.org +# \/ M anipulation | For copyright notice see file Copyright +# -------------------------------------------------------------------------- +# License +# This file is part of foam-extend. +# +# foam-extend 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 3 of the License, or {at your +# option} any later version. +# +# foam-extend 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 foam-extend. If not, see . +# +# Description +# CMakeLists.txt file for libraries and applications +# +# Author +# Henrik Rusche, Wikki GmbH, 2017. All rights reserved +# +# +# -------------------------------------------------------------------------- + +list(APPEND sources + processorMeshes.C + processorFaMeshes.C + fvFieldReconstructor.C + faFieldReconstructor.C + pointFieldReconstructor.C + tetPointFieldReconstructor.C + reconstructLagrangianPositions.C + reconstructPar.C +) + +# Set minimal environment for external compilation +if(NOT FOAM_FOUND) + cmake_minimum_required(VERSION 2.8) + find_package(FOAM REQUIRED) +endif() + +add_foam_executable(reconstructPar + DEPENDS finiteVolume finiteArea tetFiniteElement + SOURCES ${sources} +) diff --git a/applications/utilities/parallelProcessing/reconstructParMesh/CMakeLists.txt b/applications/utilities/parallelProcessing/reconstructParMesh/CMakeLists.txt new file mode 100644 index 000000000..58de8846e --- /dev/null +++ b/applications/utilities/parallelProcessing/reconstructParMesh/CMakeLists.txt @@ -0,0 +1,54 @@ +# -------------------------------------------------------------------------- +# ======== | +# \ / F ield | foam-extend: Open Source CFD +# \ / O peration | Version: 4.1 +# \ / A nd | Web: http://www.foam-extend.org +# \/ M anipulation | For copyright notice see file Copyright +# -------------------------------------------------------------------------- +# License +# This file is part of foam-extend. +# +# foam-extend 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 3 of the License, or {at your +# option} any later version. +# +# foam-extend 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 foam-extend. If not, see . +# +# Description +# CMakeLists.txt file for libraries and applications +# +# Author +# Henrik Rusche, Wikki GmbH, 2017. All rights reserved +# +# +# -------------------------------------------------------------------------- + +list(APPEND sources + processorMeshesReconstructor.C + processorMeshesRebuild.C + processorFaMeshes.C + fvFieldReconstructor.C + faFieldReconstructor.C + pointFieldReconstructor.C + tetPointFieldReconstructor.C + reconstructLagrangianPositions.C + reconstructParMesh.C +) + +# Set minimal environment for external compilation +if(NOT FOAM_FOUND) + cmake_minimum_required(VERSION 2.8) + find_package(FOAM REQUIRED) +endif() + +add_foam_executable(reconstructParMesh + DEPENDS finiteVolume finiteArea tetFiniteElement + SOURCES ${sources} +) diff --git a/applications/utilities/parallelProcessing/redistributeMeshPar/CMakeLists.txt b/applications/utilities/parallelProcessing/redistributeMeshPar/CMakeLists.txt new file mode 100644 index 000000000..a84c21a9e --- /dev/null +++ b/applications/utilities/parallelProcessing/redistributeMeshPar/CMakeLists.txt @@ -0,0 +1,46 @@ +# -------------------------------------------------------------------------- +# ======== | +# \ / F ield | foam-extend: Open Source CFD +# \ / O peration | Version: 4.1 +# \ / A nd | Web: http://www.foam-extend.org +# \/ M anipulation | For copyright notice see file Copyright +# -------------------------------------------------------------------------- +# License +# This file is part of foam-extend. +# +# foam-extend 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 3 of the License, or {at your +# option} any later version. +# +# foam-extend 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 foam-extend. If not, see . +# +# Description +# CMakeLists.txt file for libraries and applications +# +# Author +# Henrik Rusche, Wikki GmbH, 2017. All rights reserved +# +# +# -------------------------------------------------------------------------- + +list(APPEND sources + redistributeMeshPar.C +) + +# Set minimal environment for external compilation +if(NOT FOAM_FOUND) + cmake_minimum_required(VERSION 2.8) + find_package(FOAM REQUIRED) +endif() + +add_foam_executable(redistributeMeshPar + DEPENDS dynamicFvMesh + SOURCES ${sources} +) diff --git a/applications/utilities/postProcessing/CMakeLists.txt b/applications/utilities/postProcessing/CMakeLists.txt new file mode 100644 index 000000000..20f8b6a88 --- /dev/null +++ b/applications/utilities/postProcessing/CMakeLists.txt @@ -0,0 +1,46 @@ +# --------------------------------------------------------------------------# ======== | +# \ / F ield | foam-extend: Open Source CFD +# \ / O peration | Version: 4.1 +# \ / A nd | Web: http://www.foam-extend.org +# \/ M anipulation | For copyright notice see file Copyright +# -------------------------------------------------------------------------- +# License +# This file is part of foam-extend. +# +# foam-extend 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 3 of the License, or {at your +# option} any later version. +# +# foam-extend 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 foam-extend. If not, see . +# +# Description +# CMakeLists.txt file for libraries and applications +# +# Author +# Henrik Rusche, Wikki GmbH, 2017. All rights reserved +# +# +# -------------------------------------------------------------------------- + +add_subdirectory(velocityField) +add_subdirectory(lagrangian) +add_subdirectory(wall) +add_subdirectory(multiSolver) +add_subdirectory(stressField) +add_subdirectory(foamCalc) +add_subdirectory(miscellaneous) +add_subdirectory(patch) +add_subdirectory(sampling) +add_subdirectory(graphics) +add_subdirectory(turbulence) +add_subdirectory(POD) +add_subdirectory(scalarField) +add_subdirectory(viscoelastic) +add_subdirectory(dataConversion) \ No newline at end of file diff --git a/applications/utilities/postProcessing/POD/CMakeLists.txt b/applications/utilities/postProcessing/POD/CMakeLists.txt new file mode 100644 index 000000000..b02d80ba0 --- /dev/null +++ b/applications/utilities/postProcessing/POD/CMakeLists.txt @@ -0,0 +1,33 @@ +# --------------------------------------------------------------------------# ======== | +# \ / F ield | foam-extend: Open Source CFD +# \ / O peration | Version: 4.1 +# \ / A nd | Web: http://www.foam-extend.org +# \/ M anipulation | For copyright notice see file Copyright +# -------------------------------------------------------------------------- +# License +# This file is part of foam-extend. +# +# foam-extend 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 3 of the License, or {at your +# option} any later version. +# +# foam-extend 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 foam-extend. If not, see . +# +# Description +# CMakeLists.txt file for libraries and applications +# +# Author +# Henrik Rusche, Wikki GmbH, 2017. All rights reserved +# +# +# -------------------------------------------------------------------------- + +add_subdirectory(vectorSnapshots) +add_subdirectory(scalarSnapshots) \ No newline at end of file diff --git a/applications/utilities/postProcessing/POD/scalarSnapshots/CMakeLists.txt b/applications/utilities/postProcessing/POD/scalarSnapshots/CMakeLists.txt new file mode 100644 index 000000000..2c4307602 --- /dev/null +++ b/applications/utilities/postProcessing/POD/scalarSnapshots/CMakeLists.txt @@ -0,0 +1,46 @@ +# -------------------------------------------------------------------------- +# ======== | +# \ / F ield | foam-extend: Open Source CFD +# \ / O peration | Version: 4.1 +# \ / A nd | Web: http://www.foam-extend.org +# \/ M anipulation | For copyright notice see file Copyright +# -------------------------------------------------------------------------- +# License +# This file is part of foam-extend. +# +# foam-extend 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 3 of the License, or {at your +# option} any later version. +# +# foam-extend 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 foam-extend. If not, see . +# +# Description +# CMakeLists.txt file for libraries and applications +# +# Author +# Henrik Rusche, Wikki GmbH, 2017. All rights reserved +# +# +# -------------------------------------------------------------------------- + +list(APPEND sources + scalarSnapshots.C +) + +# Set minimal environment for external compilation +if(NOT FOAM_FOUND) + cmake_minimum_required(VERSION 2.8) + find_package(FOAM REQUIRED) +endif() + +add_foam_executable(scalarSnapshots + DEPENDS POD + SOURCES ${sources} +) diff --git a/applications/utilities/postProcessing/POD/vectorSnapshots/CMakeLists.txt b/applications/utilities/postProcessing/POD/vectorSnapshots/CMakeLists.txt new file mode 100644 index 000000000..18411ddcc --- /dev/null +++ b/applications/utilities/postProcessing/POD/vectorSnapshots/CMakeLists.txt @@ -0,0 +1,46 @@ +# -------------------------------------------------------------------------- +# ======== | +# \ / F ield | foam-extend: Open Source CFD +# \ / O peration | Version: 4.1 +# \ / A nd | Web: http://www.foam-extend.org +# \/ M anipulation | For copyright notice see file Copyright +# -------------------------------------------------------------------------- +# License +# This file is part of foam-extend. +# +# foam-extend 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 3 of the License, or {at your +# option} any later version. +# +# foam-extend 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 foam-extend. If not, see . +# +# Description +# CMakeLists.txt file for libraries and applications +# +# Author +# Henrik Rusche, Wikki GmbH, 2017. All rights reserved +# +# +# -------------------------------------------------------------------------- + +list(APPEND sources + vectorSnapshots.C +) + +# Set minimal environment for external compilation +if(NOT FOAM_FOUND) + cmake_minimum_required(VERSION 2.8) + find_package(FOAM REQUIRED) +endif() + +add_foam_executable(vectorSnapshots + DEPENDS POD + SOURCES ${sources} +) diff --git a/applications/utilities/postProcessing/dataConversion/CMakeLists.txt b/applications/utilities/postProcessing/dataConversion/CMakeLists.txt new file mode 100644 index 000000000..ac5556a6f --- /dev/null +++ b/applications/utilities/postProcessing/dataConversion/CMakeLists.txt @@ -0,0 +1,39 @@ +# --------------------------------------------------------------------------# ======== | +# \ / F ield | foam-extend: Open Source CFD +# \ / O peration | Version: 4.1 +# \ / A nd | Web: http://www.foam-extend.org +# \/ M anipulation | For copyright notice see file Copyright +# -------------------------------------------------------------------------- +# License +# This file is part of foam-extend. +# +# foam-extend 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 3 of the License, or {at your +# option} any later version. +# +# foam-extend 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 foam-extend. If not, see . +# +# Description +# CMakeLists.txt file for libraries and applications +# +# Author +# Henrik Rusche, Wikki GmbH, 2017. All rights reserved +# +# +# -------------------------------------------------------------------------- + +add_subdirectory(foamToEnsight) +add_subdirectory(smapToFoam) +add_subdirectory(foamToVTK) +add_subdirectory(foamToEnsightParts) +#add_subdirectory(foamToTecplot360) +add_subdirectory(foamToFieldview9) +add_subdirectory(foamDataToFluent) +add_subdirectory(foamToGMV) diff --git a/applications/utilities/postProcessing/dataConversion/foamDataToFluent/CMakeLists.txt b/applications/utilities/postProcessing/dataConversion/foamDataToFluent/CMakeLists.txt new file mode 100644 index 000000000..092f502ac --- /dev/null +++ b/applications/utilities/postProcessing/dataConversion/foamDataToFluent/CMakeLists.txt @@ -0,0 +1,48 @@ +# -------------------------------------------------------------------------- +# ======== | +# \ / F ield | foam-extend: Open Source CFD +# \ / O peration | Version: 4.1 +# \ / A nd | Web: http://www.foam-extend.org +# \/ M anipulation | For copyright notice see file Copyright +# -------------------------------------------------------------------------- +# License +# This file is part of foam-extend. +# +# foam-extend 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 3 of the License, or {at your +# option} any later version. +# +# foam-extend 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 foam-extend. If not, see . +# +# Description +# CMakeLists.txt file for libraries and applications +# +# Author +# Henrik Rusche, Wikki GmbH, 2017. All rights reserved +# +# +# -------------------------------------------------------------------------- + +list(APPEND sources + writeFluentScalarField.C + writeFluentVectorField.C + foamDataToFluent.C +) + +# Set minimal environment for external compilation +if(NOT FOAM_FOUND) + cmake_minimum_required(VERSION 2.8) + find_package(FOAM REQUIRED) +endif() + +add_foam_executable(foamDataToFluent + DEPENDS finiteVolume + SOURCES ${sources} +) diff --git a/applications/utilities/postProcessing/dataConversion/foamToEnsight/CMakeLists.txt b/applications/utilities/postProcessing/dataConversion/foamToEnsight/CMakeLists.txt new file mode 100644 index 000000000..24590d63a --- /dev/null +++ b/applications/utilities/postProcessing/dataConversion/foamToEnsight/CMakeLists.txt @@ -0,0 +1,50 @@ +# -------------------------------------------------------------------------- +# ======== | +# \ / F ield | foam-extend: Open Source CFD +# \ / O peration | Version: 4.1 +# \ / A nd | Web: http://www.foam-extend.org +# \/ M anipulation | For copyright notice see file Copyright +# -------------------------------------------------------------------------- +# License +# This file is part of foam-extend. +# +# foam-extend 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 3 of the License, or {at your +# option} any later version. +# +# foam-extend 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 foam-extend. If not, see . +# +# Description +# CMakeLists.txt file for libraries and applications +# +# Author +# Henrik Rusche, Wikki GmbH, 2017. All rights reserved +# +# +# -------------------------------------------------------------------------- + +list(APPEND sources + itoa.C + ensightMesh.C + ensightParticlePositions.C + foamToEnsight.C + ensightWriteBinary.C +) + +# Set minimal environment for external compilation +if(NOT FOAM_FOUND) + cmake_minimum_required(VERSION 2.8) + find_package(FOAM REQUIRED) +endif() + +add_foam_executable(foamToEnsight + DEPENDS finiteVolume + SOURCES ${sources} +) diff --git a/applications/utilities/postProcessing/dataConversion/foamToEnsightParts/CMakeLists.txt b/applications/utilities/postProcessing/dataConversion/foamToEnsightParts/CMakeLists.txt new file mode 100644 index 000000000..0d3b24172 --- /dev/null +++ b/applications/utilities/postProcessing/dataConversion/foamToEnsightParts/CMakeLists.txt @@ -0,0 +1,46 @@ +# -------------------------------------------------------------------------- +# ======== | +# \ / F ield | foam-extend: Open Source CFD +# \ / O peration | Version: 4.1 +# \ / A nd | Web: http://www.foam-extend.org +# \/ M anipulation | For copyright notice see file Copyright +# -------------------------------------------------------------------------- +# License +# This file is part of foam-extend. +# +# foam-extend 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 3 of the License, or {at your +# option} any later version. +# +# foam-extend 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 foam-extend. If not, see . +# +# Description +# CMakeLists.txt file for libraries and applications +# +# Author +# Henrik Rusche, Wikki GmbH, 2017. All rights reserved +# +# +# -------------------------------------------------------------------------- + +list(APPEND sources + foamToEnsightParts.C +) + +# Set minimal environment for external compilation +if(NOT FOAM_FOUND) + cmake_minimum_required(VERSION 2.8) + find_package(FOAM REQUIRED) +endif() + +add_foam_executable(foamToEnsightParts + DEPENDS finiteVolume conversion + SOURCES ${sources} +) diff --git a/applications/utilities/postProcessing/dataConversion/foamToFieldview9/CMakeLists.txt b/applications/utilities/postProcessing/dataConversion/foamToFieldview9/CMakeLists.txt new file mode 100644 index 000000000..bee379dc9 --- /dev/null +++ b/applications/utilities/postProcessing/dataConversion/foamToFieldview9/CMakeLists.txt @@ -0,0 +1,50 @@ +# -------------------------------------------------------------------------- +# ======== | +# \ / F ield | foam-extend: Open Source CFD +# \ / O peration | Version: 4.1 +# \ / A nd | Web: http://www.foam-extend.org +# \/ M anipulation | For copyright notice see file Copyright +# -------------------------------------------------------------------------- +# License +# This file is part of foam-extend. +# +# foam-extend 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 3 of the License, or {at your +# option} any later version. +# +# foam-extend 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 foam-extend. If not, see . +# +# Description +# CMakeLists.txt file for libraries and applications +# +# Author +# Henrik Rusche, Wikki GmbH, 2017. All rights reserved +# +# +# -------------------------------------------------------------------------- + +list(APPEND sources + foamToFieldview9.C + fieldviewTopology.C + write_binary_uns.c + calcFaceAddressing.C + writeFunctions.C +) + +# Set minimal environment for external compilation +if(NOT FOAM_FOUND) + cmake_minimum_required(VERSION 2.8) + find_package(FOAM REQUIRED) +endif() + +add_foam_executable(foamToFieldview9 + DEPENDS finiteVolume + SOURCES ${sources} +) diff --git a/applications/utilities/postProcessing/dataConversion/foamToGMV/CMakeLists.txt b/applications/utilities/postProcessing/dataConversion/foamToGMV/CMakeLists.txt new file mode 100644 index 000000000..c99f9faa6 --- /dev/null +++ b/applications/utilities/postProcessing/dataConversion/foamToGMV/CMakeLists.txt @@ -0,0 +1,47 @@ +# -------------------------------------------------------------------------- +# ======== | +# \ / F ield | foam-extend: Open Source CFD +# \ / O peration | Version: 4.1 +# \ / A nd | Web: http://www.foam-extend.org +# \/ M anipulation | For copyright notice see file Copyright +# -------------------------------------------------------------------------- +# License +# This file is part of foam-extend. +# +# foam-extend 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 3 of the License, or {at your +# option} any later version. +# +# foam-extend 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 foam-extend. If not, see . +# +# Description +# CMakeLists.txt file for libraries and applications +# +# Author +# Henrik Rusche, Wikki GmbH, 2017. All rights reserved +# +# +# -------------------------------------------------------------------------- + +list(APPEND sources + foamToGMV.C + itoa.C +) + +# Set minimal environment for external compilation +if(NOT FOAM_FOUND) + cmake_minimum_required(VERSION 2.8) + find_package(FOAM REQUIRED) +endif() + +add_foam_executable(foamToGMV + DEPENDS finiteVolume + SOURCES ${sources} +) diff --git a/applications/utilities/postProcessing/dataConversion/foamToTecplot360/CMakeLists.txt b/applications/utilities/postProcessing/dataConversion/foamToTecplot360/CMakeLists.txt new file mode 100644 index 000000000..c760190eb --- /dev/null +++ b/applications/utilities/postProcessing/dataConversion/foamToTecplot360/CMakeLists.txt @@ -0,0 +1,32 @@ +# --------------------------------------------------------------------------# ======== | +# \ / F ield | foam-extend: Open Source CFD +# \ / O peration | Version: 4.1 +# \ / A nd | Web: http://www.foam-extend.org +# \/ M anipulation | For copyright notice see file Copyright +# -------------------------------------------------------------------------- +# License +# This file is part of foam-extend. +# +# foam-extend 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 3 of the License, or {at your +# option} any later version. +# +# foam-extend 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 foam-extend. If not, see . +# +# Description +# CMakeLists.txt file for libraries and applications +# +# Author +# Henrik Rusche, Wikki GmbH, 2017. All rights reserved +# +# +# -------------------------------------------------------------------------- + +add_subdirectory(tecio) diff --git a/applications/utilities/postProcessing/dataConversion/foamToTecplot360/tecio/CMakeLists.txt b/applications/utilities/postProcessing/dataConversion/foamToTecplot360/tecio/CMakeLists.txt new file mode 100644 index 000000000..add37f10b --- /dev/null +++ b/applications/utilities/postProcessing/dataConversion/foamToTecplot360/tecio/CMakeLists.txt @@ -0,0 +1,32 @@ +# --------------------------------------------------------------------------# ======== | +# \ / F ield | foam-extend: Open Source CFD +# \ / O peration | Version: 4.1 +# \ / A nd | Web: http://www.foam-extend.org +# \/ M anipulation | For copyright notice see file Copyright +# -------------------------------------------------------------------------- +# License +# This file is part of foam-extend. +# +# foam-extend 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 3 of the License, or {at your +# option} any later version. +# +# foam-extend 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 foam-extend. If not, see . +# +# Description +# CMakeLists.txt file for libraries and applications +# +# Author +# Henrik Rusche, Wikki GmbH, 2017. All rights reserved +# +# +# -------------------------------------------------------------------------- + +add_subdirectory(tecsrc) \ No newline at end of file diff --git a/applications/utilities/postProcessing/dataConversion/foamToTecplot360/tecio/tecsrc/CMakeLists.txt b/applications/utilities/postProcessing/dataConversion/foamToTecplot360/tecio/tecsrc/CMakeLists.txt new file mode 100644 index 000000000..0efb25cc8 --- /dev/null +++ b/applications/utilities/postProcessing/dataConversion/foamToTecplot360/tecio/tecsrc/CMakeLists.txt @@ -0,0 +1,58 @@ +# -------------------------------------------------------------------------- +# ======== | +# \ / F ield | foam-extend: Open Source CFD +# \ / O peration | Version: 4.1 +# \ / A nd | Web: http://www.foam-extend.org +# \/ M anipulation | For copyright notice see file Copyright +# -------------------------------------------------------------------------- +# License +# This file is part of foam-extend. +# +# foam-extend 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 3 of the License, or {at your +# option} any later version. +# +# foam-extend 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 foam-extend. If not, see . +# +# Description +# CMakeLists.txt file for libraries and applications +# +# Author +# Henrik Rusche, Wikki GmbH, 2017. All rights reserved +# +# +# -------------------------------------------------------------------------- + +list(APPEND sources + alloc.cpp + arrlist.cpp + auxdata.cpp + dataio4.cpp + dataio.cpp + dataset0.cpp + dataset.cpp + datautil.cpp + filestream.cpp + geom2.cpp + q_msg.cpp + q_unicode.cpp + set.cpp + strlist.cpp + strutil.cpp + tassert.cpp + tecxxx.cpp + TranslatedString.cpp +) + +add_foam_library(tecio SHARED ${sources}) + +# This is a prototype! Replace second argument with a list of the highest +# dependencies only. Inherited dependencies will be treated automatically. +#target_link_libraries(tecio finiteVolume) diff --git a/applications/utilities/postProcessing/dataConversion/foamToVTK/CMakeLists.txt b/applications/utilities/postProcessing/dataConversion/foamToVTK/CMakeLists.txt new file mode 100644 index 000000000..bb894dc61 --- /dev/null +++ b/applications/utilities/postProcessing/dataConversion/foamToVTK/CMakeLists.txt @@ -0,0 +1,57 @@ +# -------------------------------------------------------------------------- +# ======== | +# \ / F ield | foam-extend: Open Source CFD +# \ / O peration | Version: 4.1 +# \ / A nd | Web: http://www.foam-extend.org +# \/ M anipulation | For copyright notice see file Copyright +# -------------------------------------------------------------------------- +# License +# This file is part of foam-extend. +# +# foam-extend 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 3 of the License, or {at your +# option} any later version. +# +# foam-extend 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 foam-extend. If not, see . +# +# Description +# CMakeLists.txt file for libraries and applications +# +# Author +# Henrik Rusche, Wikki GmbH, 2017. All rights reserved +# +# +# -------------------------------------------------------------------------- + +list(APPEND sources + foamToVTK.C + internalWriter.C + lagrangianWriter.C + patchWriter.C + faMeshWriter.C + writeFuns.C + writePatchGeom.C + writeFaceSet.C + writePointSet.C + writeSurfFields.C + vtkMesh.C + vtkTopo.C +) + +# Set minimal environment for external compilation +if(NOT FOAM_FOUND) + cmake_minimum_required(VERSION 2.8) + find_package(FOAM REQUIRED) +endif() + +add_foam_executable(foamToVTK + DEPENDS finiteVolume finiteArea + SOURCES ${sources} +) diff --git a/applications/utilities/postProcessing/dataConversion/smapToFoam/CMakeLists.txt b/applications/utilities/postProcessing/dataConversion/smapToFoam/CMakeLists.txt new file mode 100644 index 000000000..890c2172c --- /dev/null +++ b/applications/utilities/postProcessing/dataConversion/smapToFoam/CMakeLists.txt @@ -0,0 +1,46 @@ +# -------------------------------------------------------------------------- +# ======== | +# \ / F ield | foam-extend: Open Source CFD +# \ / O peration | Version: 4.1 +# \ / A nd | Web: http://www.foam-extend.org +# \/ M anipulation | For copyright notice see file Copyright +# -------------------------------------------------------------------------- +# License +# This file is part of foam-extend. +# +# foam-extend 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 3 of the License, or {at your +# option} any later version. +# +# foam-extend 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 foam-extend. If not, see . +# +# Description +# CMakeLists.txt file for libraries and applications +# +# Author +# Henrik Rusche, Wikki GmbH, 2017. All rights reserved +# +# +# -------------------------------------------------------------------------- + +list(APPEND sources + smapToFoam.C +) + +# Set minimal environment for external compilation +if(NOT FOAM_FOUND) + cmake_minimum_required(VERSION 2.8) + find_package(FOAM REQUIRED) +endif() + +add_foam_executable(smapToFoam + DEPENDS finiteVolume + SOURCES ${sources} +) diff --git a/applications/utilities/postProcessing/foamCalc/CMakeLists.txt b/applications/utilities/postProcessing/foamCalc/CMakeLists.txt new file mode 100644 index 000000000..d2fcdc9ae --- /dev/null +++ b/applications/utilities/postProcessing/foamCalc/CMakeLists.txt @@ -0,0 +1,46 @@ +# -------------------------------------------------------------------------- +# ======== | +# \ / F ield | foam-extend: Open Source CFD +# \ / O peration | Version: 4.1 +# \ / A nd | Web: http://www.foam-extend.org +# \/ M anipulation | For copyright notice see file Copyright +# -------------------------------------------------------------------------- +# License +# This file is part of foam-extend. +# +# foam-extend 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 3 of the License, or {at your +# option} any later version. +# +# foam-extend 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 foam-extend. If not, see . +# +# Description +# CMakeLists.txt file for libraries and applications +# +# Author +# Henrik Rusche, Wikki GmbH, 2017. All rights reserved +# +# +# -------------------------------------------------------------------------- + +list(APPEND sources + foamCalc.C +) + +# Set minimal environment for external compilation +if(NOT FOAM_FOUND) + cmake_minimum_required(VERSION 2.8) + find_package(FOAM REQUIRED) +endif() + +add_foam_executable(foamCalc + DEPENDS foamCalcFunctions + SOURCES ${sources} +) diff --git a/applications/utilities/postProcessing/graphics/CMakeLists.txt b/applications/utilities/postProcessing/graphics/CMakeLists.txt new file mode 100644 index 000000000..c4cc4480b --- /dev/null +++ b/applications/utilities/postProcessing/graphics/CMakeLists.txt @@ -0,0 +1,37 @@ +# --------------------------------------------------------------------------# ======== | +# \ / F ield | foam-extend: Open Source CFD +# \ / O peration | Version: 4.1 +# \ / A nd | Web: http://www.foam-extend.org +# \/ M anipulation | For copyright notice see file Copyright +# -------------------------------------------------------------------------- +# License +# This file is part of foam-extend. +# +# foam-extend 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 3 of the License, or {at your +# option} any later version. +# +# foam-extend 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 foam-extend. If not, see . +# +# Description +# CMakeLists.txt file for libraries and applications +# +# Author +# Henrik Rusche, Wikki GmbH, 2017. All rights reserved +# +# +# -------------------------------------------------------------------------- + +add_subdirectory(newEnsightFoamReader) +#add_subdirectory(PV3FoamReader) +#add_subdirectory(PVFoamReader) +#add_subdirectory(PV4FoamReader) +#add_subdirectory(fieldview9Reader) +add_subdirectory(ensightFoamReader) diff --git a/applications/utilities/postProcessing/graphics/PV3FoamReader/CMakeLists.txt b/applications/utilities/postProcessing/graphics/PV3FoamReader/CMakeLists.txt new file mode 100644 index 000000000..56bb3b2d3 --- /dev/null +++ b/applications/utilities/postProcessing/graphics/PV3FoamReader/CMakeLists.txt @@ -0,0 +1,32 @@ +# --------------------------------------------------------------------------# ======== | +# \ / F ield | foam-extend: Open Source CFD +# \ / O peration | Version: 4.1 +# \ / A nd | Web: http://www.foam-extend.org +# \/ M anipulation | For copyright notice see file Copyright +# -------------------------------------------------------------------------- +# License +# This file is part of foam-extend. +# +# foam-extend 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 3 of the License, or {at your +# option} any later version. +# +# foam-extend 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 foam-extend. If not, see . +# +# Description +# CMakeLists.txt file for libraries and applications +# +# Author +# Henrik Rusche, Wikki GmbH, 2017. All rights reserved +# +# +# -------------------------------------------------------------------------- + +add_subdirectory(vtkPV3Foam) \ No newline at end of file diff --git a/applications/utilities/postProcessing/graphics/PV3FoamReader/vtkPV3Foam/CMakeLists.txt b/applications/utilities/postProcessing/graphics/PV3FoamReader/vtkPV3Foam/CMakeLists.txt new file mode 100644 index 000000000..4cd07ea3a --- /dev/null +++ b/applications/utilities/postProcessing/graphics/PV3FoamReader/vtkPV3Foam/CMakeLists.txt @@ -0,0 +1,50 @@ +# -------------------------------------------------------------------------- +# ======== | +# \ / F ield | foam-extend: Open Source CFD +# \ / O peration | Version: 4.1 +# \ / A nd | Web: http://www.foam-extend.org +# \/ M anipulation | For copyright notice see file Copyright +# -------------------------------------------------------------------------- +# License +# This file is part of foam-extend. +# +# foam-extend 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 3 of the License, or {at your +# option} any later version. +# +# foam-extend 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 foam-extend. If not, see . +# +# Description +# CMakeLists.txt file for libraries and applications +# +# Author +# Henrik Rusche, Wikki GmbH, 2017. All rights reserved +# +# +# -------------------------------------------------------------------------- + +list(APPEND sources + vtkPV3Foam.C + vtkPV3FoamFields.C + vtkPV3FoamMesh.C + vtkPV3FoamMeshLagrangian.C + vtkPV3FoamMeshPatch.C + vtkPV3FoamMeshSet.C + vtkPV3FoamMeshVolume.C + vtkPV3FoamMeshZone.C + vtkPV3FoamUpdateInfo.C + vtkPV3FoamUtilities.C +) + +add_foam_library(vtkPV3Foam SHARED ${sources}) + +# This is a prototype! Replace second argument with a list of the highest +# dependencies only. Inherited dependencies will be treated automatically. +target_link_libraries(vtkPV3Foam PUBLIC foam) diff --git a/applications/utilities/postProcessing/graphics/PV4FoamReader/CMakeLists.txt b/applications/utilities/postProcessing/graphics/PV4FoamReader/CMakeLists.txt new file mode 100644 index 000000000..91ea5dac0 --- /dev/null +++ b/applications/utilities/postProcessing/graphics/PV4FoamReader/CMakeLists.txt @@ -0,0 +1,32 @@ +# --------------------------------------------------------------------------# ======== | +# \ / F ield | foam-extend: Open Source CFD +# \ / O peration | Version: 4.1 +# \ / A nd | Web: http://www.foam-extend.org +# \/ M anipulation | For copyright notice see file Copyright +# -------------------------------------------------------------------------- +# License +# This file is part of foam-extend. +# +# foam-extend 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 3 of the License, or {at your +# option} any later version. +# +# foam-extend 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 foam-extend. If not, see . +# +# Description +# CMakeLists.txt file for libraries and applications +# +# Author +# Henrik Rusche, Wikki GmbH, 2017. All rights reserved +# +# +# -------------------------------------------------------------------------- + +add_subdirectory(vtkPV4Foam) \ No newline at end of file diff --git a/applications/utilities/postProcessing/graphics/PV4FoamReader/vtkPV4Foam/CMakeLists.txt b/applications/utilities/postProcessing/graphics/PV4FoamReader/vtkPV4Foam/CMakeLists.txt new file mode 100644 index 000000000..aa91849d0 --- /dev/null +++ b/applications/utilities/postProcessing/graphics/PV4FoamReader/vtkPV4Foam/CMakeLists.txt @@ -0,0 +1,50 @@ +# -------------------------------------------------------------------------- +# ======== | +# \ / F ield | foam-extend: Open Source CFD +# \ / O peration | Version: 4.1 +# \ / A nd | Web: http://www.foam-extend.org +# \/ M anipulation | For copyright notice see file Copyright +# -------------------------------------------------------------------------- +# License +# This file is part of foam-extend. +# +# foam-extend 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 3 of the License, or {at your +# option} any later version. +# +# foam-extend 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 foam-extend. If not, see . +# +# Description +# CMakeLists.txt file for libraries and applications +# +# Author +# Henrik Rusche, Wikki GmbH, 2017. All rights reserved +# +# +# -------------------------------------------------------------------------- + +list(APPEND sources + vtkPV4Foam.C + vtkPV4FoamFields.C + vtkPV4FoamMesh.C + vtkPV4FoamMeshLagrangian.C + vtkPV4FoamMeshPatch.C + vtkPV4FoamMeshSet.C + vtkPV4FoamMeshVolume.C + vtkPV4FoamMeshZone.C + vtkPV4FoamUpdateInfo.C + vtkPV4FoamUtilities.C +) + +add_foam_library(vtkPV4Foam SHARED ${sources}) + +# This is a prototype! Replace second argument with a list of the highest +# dependencies only. Inherited dependencies will be treated automatically. +#target_link_libraries(vtkPV4Foam finiteVolume) diff --git a/applications/utilities/postProcessing/graphics/PVFoamReader/CMakeLists.txt b/applications/utilities/postProcessing/graphics/PVFoamReader/CMakeLists.txt new file mode 100644 index 000000000..d6b1289ae --- /dev/null +++ b/applications/utilities/postProcessing/graphics/PVFoamReader/CMakeLists.txt @@ -0,0 +1,32 @@ +# --------------------------------------------------------------------------# ======== | +# \ / F ield | foam-extend: Open Source CFD +# \ / O peration | Version: 4.1 +# \ / A nd | Web: http://www.foam-extend.org +# \/ M anipulation | For copyright notice see file Copyright +# -------------------------------------------------------------------------- +# License +# This file is part of foam-extend. +# +# foam-extend 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 3 of the License, or {at your +# option} any later version. +# +# foam-extend 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 foam-extend. If not, see . +# +# Description +# CMakeLists.txt file for libraries and applications +# +# Author +# Henrik Rusche, Wikki GmbH, 2017. All rights reserved +# +# +# -------------------------------------------------------------------------- + +add_subdirectory(vtkFoam) \ No newline at end of file diff --git a/applications/utilities/postProcessing/graphics/PVFoamReader/vtkFoam/CMakeLists.txt b/applications/utilities/postProcessing/graphics/PVFoamReader/vtkFoam/CMakeLists.txt new file mode 100644 index 000000000..8639bf1a5 --- /dev/null +++ b/applications/utilities/postProcessing/graphics/PVFoamReader/vtkFoam/CMakeLists.txt @@ -0,0 +1,43 @@ +# -------------------------------------------------------------------------- +# ======== | +# \ / F ield | foam-extend: Open Source CFD +# \ / O peration | Version: 4.1 +# \ / A nd | Web: http://www.foam-extend.org +# \/ M anipulation | For copyright notice see file Copyright +# -------------------------------------------------------------------------- +# License +# This file is part of foam-extend. +# +# foam-extend 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 3 of the License, or {at your +# option} any later version. +# +# foam-extend 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 foam-extend. If not, see . +# +# Description +# CMakeLists.txt file for libraries and applications +# +# Author +# Henrik Rusche, Wikki GmbH, 2017. All rights reserved +# +# +# -------------------------------------------------------------------------- + +list(APPEND sources + vtkFoam.C + vtkFoamAddInternalMesh.C + vtkFoamAddPatch.C +) + +add_foam_library(vtkFoam SHARED ${sources}) + +# This is a prototype! Replace second argument with a list of the highest +# dependencies only. Inherited dependencies will be treated automatically. +#target_link_libraries(vtkFoam finiteVolume) diff --git a/applications/utilities/postProcessing/graphics/PVReaders/PVFoamReader/CMakeLists.txt b/applications/utilities/postProcessing/graphics/PVReaders/PVFoamReader/CMakeLists.txt index ba53194f5..be60053bd 100644 --- a/applications/utilities/postProcessing/graphics/PVReaders/PVFoamReader/CMakeLists.txt +++ b/applications/utilities/postProcessing/graphics/PVReaders/PVFoamReader/CMakeLists.txt @@ -1,5 +1,4 @@ -# create a plugin that adds a reader to the ParaView GUI -# it is added in the file dialog when doing opens/saves. +# create a plugin that adds a reader to the ParaView GUI# it is added in the file dialog when doing opens/saves. # The qrc file is processed by Qt's resource compiler (rcc) # the qrc file must have a resource prefix of "/ParaViewResources" diff --git a/applications/utilities/postProcessing/graphics/ensightFoamReader/CMakeLists.txt b/applications/utilities/postProcessing/graphics/ensightFoamReader/CMakeLists.txt new file mode 100644 index 000000000..6096b9340 --- /dev/null +++ b/applications/utilities/postProcessing/graphics/ensightFoamReader/CMakeLists.txt @@ -0,0 +1,41 @@ +# -------------------------------------------------------------------------- +# ======== | +# \ / F ield | foam-extend: Open Source CFD +# \ / O peration | Version: 4.1 +# \ / A nd | Web: http://www.foam-extend.org +# \/ M anipulation | For copyright notice see file Copyright +# -------------------------------------------------------------------------- +# License +# This file is part of foam-extend. +# +# foam-extend 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 3 of the License, or {at your +# option} any later version. +# +# foam-extend 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 foam-extend. If not, see . +# +# Description +# CMakeLists.txt file for libraries and applications +# +# Author +# Henrik Rusche, Wikki GmbH, 2017. All rights reserved +# +# +# -------------------------------------------------------------------------- + +list(APPEND sources + libuserd.C +) + +add_foam_library(userd-foam SHARED ${sources}) + +# This is a prototype! Replace second argument with a list of the highest +# dependencies only. Inherited dependencies will be treated automatically. +target_link_libraries(userd-foam finiteVolume lagrangianBasic) diff --git a/applications/utilities/postProcessing/graphics/fieldview9Reader/CMakeLists.txt b/applications/utilities/postProcessing/graphics/fieldview9Reader/CMakeLists.txt new file mode 100644 index 000000000..5becc8820 --- /dev/null +++ b/applications/utilities/postProcessing/graphics/fieldview9Reader/CMakeLists.txt @@ -0,0 +1,48 @@ +# -------------------------------------------------------------------------- +# ======== | +# \ / F ield | foam-extend: Open Source CFD +# \ / O peration | Version: 4.1 +# \ / A nd | Web: http://www.foam-extend.org +# \/ M anipulation | For copyright notice see file Copyright +# -------------------------------------------------------------------------- +# License +# This file is part of foam-extend. +# +# foam-extend 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 3 of the License, or {at your +# option} any later version. +# +# foam-extend 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 foam-extend. If not, see . +# +# Description +# CMakeLists.txt file for libraries and applications +# +# Author +# Henrik Rusche, Wikki GmbH, 2017. All rights reserved +# +# +# -------------------------------------------------------------------------- + +list(APPEND sources + errno.c + readerDatabase.C + fieldview9Reader.C +) + +# Set minimal environment for external compilation +if(NOT FOAM_FOUND) + cmake_minimum_required(VERSION 2.8) + find_package(FOAM REQUIRED) +endif() + +add_foam_executable(fvbinFoam +# DEPENDS finiteVolume + SOURCES ${sources} +) diff --git a/applications/utilities/postProcessing/graphics/newEnsightFoamReader/CMakeLists.txt b/applications/utilities/postProcessing/graphics/newEnsightFoamReader/CMakeLists.txt new file mode 100644 index 000000000..512bf3a77 --- /dev/null +++ b/applications/utilities/postProcessing/graphics/newEnsightFoamReader/CMakeLists.txt @@ -0,0 +1,41 @@ +# -------------------------------------------------------------------------- +# ======== | +# \ / F ield | foam-extend: Open Source CFD +# \ / O peration | Version: 4.1 +# \ / A nd | Web: http://www.foam-extend.org +# \/ M anipulation | For copyright notice see file Copyright +# -------------------------------------------------------------------------- +# License +# This file is part of foam-extend. +# +# foam-extend 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 3 of the License, or {at your +# option} any later version. +# +# foam-extend 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 foam-extend. If not, see . +# +# Description +# CMakeLists.txt file for libraries and applications +# +# Author +# Henrik Rusche, Wikki GmbH, 2017. All rights reserved +# +# +# -------------------------------------------------------------------------- + +list(APPEND sources + libuserd.C +) + +add_foam_library(userd-newFoam SHARED ${sources}) + +# This is a prototype! Replace second argument with a list of the highest +# dependencies only. Inherited dependencies will be treated automatically. +target_link_libraries(userd-newFoam PUBLIC finiteVolume finiteArea lagrangianBasic) diff --git a/applications/utilities/postProcessing/lagrangian/CMakeLists.txt b/applications/utilities/postProcessing/lagrangian/CMakeLists.txt new file mode 100644 index 000000000..c96a77557 --- /dev/null +++ b/applications/utilities/postProcessing/lagrangian/CMakeLists.txt @@ -0,0 +1,32 @@ +# --------------------------------------------------------------------------# ======== | +# \ / F ield | foam-extend: Open Source CFD +# \ / O peration | Version: 4.1 +# \ / A nd | Web: http://www.foam-extend.org +# \/ M anipulation | For copyright notice see file Copyright +# -------------------------------------------------------------------------- +# License +# This file is part of foam-extend. +# +# foam-extend 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 3 of the License, or {at your +# option} any later version. +# +# foam-extend 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 foam-extend. If not, see . +# +# Description +# CMakeLists.txt file for libraries and applications +# +# Author +# Henrik Rusche, Wikki GmbH, 2017. All rights reserved +# +# +# -------------------------------------------------------------------------- + +add_subdirectory(particleTracks) \ No newline at end of file diff --git a/applications/utilities/postProcessing/lagrangian/particleTracks/CMakeLists.txt b/applications/utilities/postProcessing/lagrangian/particleTracks/CMakeLists.txt new file mode 100644 index 000000000..58676b4d2 --- /dev/null +++ b/applications/utilities/postProcessing/lagrangian/particleTracks/CMakeLists.txt @@ -0,0 +1,46 @@ +# -------------------------------------------------------------------------- +# ======== | +# \ / F ield | foam-extend: Open Source CFD +# \ / O peration | Version: 4.1 +# \ / A nd | Web: http://www.foam-extend.org +# \/ M anipulation | For copyright notice see file Copyright +# -------------------------------------------------------------------------- +# License +# This file is part of foam-extend. +# +# foam-extend 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 3 of the License, or {at your +# option} any later version. +# +# foam-extend 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 foam-extend. If not, see . +# +# Description +# CMakeLists.txt file for libraries and applications +# +# Author +# Henrik Rusche, Wikki GmbH, 2017. All rights reserved +# +# +# -------------------------------------------------------------------------- + +list(APPEND sources + particleTracks.C +) + +# Set minimal environment for external compilation +if(NOT FOAM_FOUND) + cmake_minimum_required(VERSION 2.8) + find_package(FOAM REQUIRED) +endif() + +add_foam_executable(particleTracks + DEPENDS finiteVolume lagrangianBasic + SOURCES ${sources} +) diff --git a/applications/utilities/postProcessing/miscellaneous/CMakeLists.txt b/applications/utilities/postProcessing/miscellaneous/CMakeLists.txt new file mode 100644 index 000000000..3262ebc53 --- /dev/null +++ b/applications/utilities/postProcessing/miscellaneous/CMakeLists.txt @@ -0,0 +1,40 @@ +# --------------------------------------------------------------------------# ======== | +# \ / F ield | foam-extend: Open Source CFD +# \ / O peration | Version: 4.1 +# \ / A nd | Web: http://www.foam-extend.org +# \/ M anipulation | For copyright notice see file Copyright +# -------------------------------------------------------------------------- +# License +# This file is part of foam-extend. +# +# foam-extend 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 3 of the License, or {at your +# option} any later version. +# +# foam-extend 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 foam-extend. If not, see . +# +# Description +# CMakeLists.txt file for libraries and applications +# +# Author +# Henrik Rusche, Wikki GmbH, 2017. All rights reserved +# +# +# -------------------------------------------------------------------------- + +add_subdirectory(postChannel) +add_subdirectory(engineCompRatio) +add_subdirectory(dsmcFieldsCalc) +add_subdirectory(writeCellCentres) +add_subdirectory(wdot) +add_subdirectory(execFlowFunctionObjects) +add_subdirectory(ptot) +add_subdirectory(pdfPlot) +add_subdirectory(calcLevelSet) \ No newline at end of file diff --git a/applications/utilities/postProcessing/miscellaneous/calcLevelSet/CMakeLists.txt b/applications/utilities/postProcessing/miscellaneous/calcLevelSet/CMakeLists.txt new file mode 100644 index 000000000..7e8ff2511 --- /dev/null +++ b/applications/utilities/postProcessing/miscellaneous/calcLevelSet/CMakeLists.txt @@ -0,0 +1,46 @@ +# -------------------------------------------------------------------------- +# ======== | +# \ / F ield | foam-extend: Open Source CFD +# \ / O peration | Version: 4.1 +# \ / A nd | Web: http://www.foam-extend.org +# \/ M anipulation | For copyright notice see file Copyright +# -------------------------------------------------------------------------- +# License +# This file is part of foam-extend. +# +# foam-extend 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 3 of the License, or {at your +# option} any later version. +# +# foam-extend 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 foam-extend. If not, see . +# +# Description +# CMakeLists.txt file for libraries and applications +# +# Author +# Henrik Rusche, Wikki GmbH, 2017. All rights reserved +# +# +# -------------------------------------------------------------------------- + +list(APPEND sources + calcLevelSet.C +) + +# Set minimal environment for external compilation +if(NOT FOAM_FOUND) + cmake_minimum_required(VERSION 2.8) + find_package(FOAM REQUIRED) +endif() + +add_foam_executable(calcLevelSet + DEPENDS finiteVolume + SOURCES ${sources} +) diff --git a/applications/utilities/postProcessing/miscellaneous/dsmcFieldsCalc/CMakeLists.txt b/applications/utilities/postProcessing/miscellaneous/dsmcFieldsCalc/CMakeLists.txt new file mode 100644 index 000000000..504d076e0 --- /dev/null +++ b/applications/utilities/postProcessing/miscellaneous/dsmcFieldsCalc/CMakeLists.txt @@ -0,0 +1,46 @@ +# -------------------------------------------------------------------------- +# ======== | +# \ / F ield | foam-extend: Open Source CFD +# \ / O peration | Version: 4.1 +# \ / A nd | Web: http://www.foam-extend.org +# \/ M anipulation | For copyright notice see file Copyright +# -------------------------------------------------------------------------- +# License +# This file is part of foam-extend. +# +# foam-extend 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 3 of the License, or {at your +# option} any later version. +# +# foam-extend 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 foam-extend. If not, see . +# +# Description +# CMakeLists.txt file for libraries and applications +# +# Author +# Henrik Rusche, Wikki GmbH, 2017. All rights reserved +# +# +# -------------------------------------------------------------------------- + +list(APPEND sources + dsmcFieldsCalc.C +) + +# Set minimal environment for external compilation +if(NOT FOAM_FOUND) + cmake_minimum_required(VERSION 2.8) + find_package(FOAM REQUIRED) +endif() + +add_foam_executable(dsmcFieldsCalc + DEPENDS postCalc utilityFunctionObjects dsmc + SOURCES ${sources} +) diff --git a/applications/utilities/postProcessing/miscellaneous/engineCompRatio/CMakeLists.txt b/applications/utilities/postProcessing/miscellaneous/engineCompRatio/CMakeLists.txt new file mode 100644 index 000000000..9c0ccd653 --- /dev/null +++ b/applications/utilities/postProcessing/miscellaneous/engineCompRatio/CMakeLists.txt @@ -0,0 +1,46 @@ +# -------------------------------------------------------------------------- +# ======== | +# \ / F ield | foam-extend: Open Source CFD +# \ / O peration | Version: 4.1 +# \ / A nd | Web: http://www.foam-extend.org +# \/ M anipulation | For copyright notice see file Copyright +# -------------------------------------------------------------------------- +# License +# This file is part of foam-extend. +# +# foam-extend 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 3 of the License, or {at your +# option} any later version. +# +# foam-extend 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 foam-extend. If not, see . +# +# Description +# CMakeLists.txt file for libraries and applications +# +# Author +# Henrik Rusche, Wikki GmbH, 2017. All rights reserved +# +# +# -------------------------------------------------------------------------- + +list(APPEND sources + engineCompRatio.C +) + +# Set minimal environment for external compilation +if(NOT FOAM_FOUND) + cmake_minimum_required(VERSION 2.8) + find_package(FOAM REQUIRED) +endif() + +add_foam_executable(engineCompRatio + DEPENDS engine + SOURCES ${sources} +) diff --git a/applications/utilities/postProcessing/miscellaneous/execFlowFunctionObjects/CMakeLists.txt b/applications/utilities/postProcessing/miscellaneous/execFlowFunctionObjects/CMakeLists.txt new file mode 100644 index 000000000..491e3dd95 --- /dev/null +++ b/applications/utilities/postProcessing/miscellaneous/execFlowFunctionObjects/CMakeLists.txt @@ -0,0 +1,46 @@ +# -------------------------------------------------------------------------- +# ======== | +# \ / F ield | foam-extend: Open Source CFD +# \ / O peration | Version: 4.1 +# \ / A nd | Web: http://www.foam-extend.org +# \/ M anipulation | For copyright notice see file Copyright +# -------------------------------------------------------------------------- +# License +# This file is part of foam-extend. +# +# foam-extend 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 3 of the License, or {at your +# option} any later version. +# +# foam-extend 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 foam-extend. If not, see . +# +# Description +# CMakeLists.txt file for libraries and applications +# +# Author +# Henrik Rusche, Wikki GmbH, 2017. All rights reserved +# +# +# -------------------------------------------------------------------------- + +list(APPEND sources + execFlowFunctionObjects.C +) + +# Set minimal environment for external compilation +if(NOT FOAM_FOUND) + cmake_minimum_required(VERSION 2.8) + find_package(FOAM REQUIRED) +endif() + +add_foam_executable(execFlowFunctionObjects + DEPENDS postCalc incompressibleRASModels incompressibleLESModels compressibleRASModels compressibleLESModels + SOURCES ${sources} +) diff --git a/applications/utilities/postProcessing/miscellaneous/pdfPlot/CMakeLists.txt b/applications/utilities/postProcessing/miscellaneous/pdfPlot/CMakeLists.txt new file mode 100644 index 000000000..dfb46b661 --- /dev/null +++ b/applications/utilities/postProcessing/miscellaneous/pdfPlot/CMakeLists.txt @@ -0,0 +1,46 @@ +# -------------------------------------------------------------------------- +# ======== | +# \ / F ield | foam-extend: Open Source CFD +# \ / O peration | Version: 4.1 +# \ / A nd | Web: http://www.foam-extend.org +# \/ M anipulation | For copyright notice see file Copyright +# -------------------------------------------------------------------------- +# License +# This file is part of foam-extend. +# +# foam-extend 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 3 of the License, or {at your +# option} any later version. +# +# foam-extend 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 foam-extend. If not, see . +# +# Description +# CMakeLists.txt file for libraries and applications +# +# Author +# Henrik Rusche, Wikki GmbH, 2017. All rights reserved +# +# +# -------------------------------------------------------------------------- + +list(APPEND sources + pdfPlot.C +) + +# Set minimal environment for external compilation +if(NOT FOAM_FOUND) + cmake_minimum_required(VERSION 2.8) + find_package(FOAM REQUIRED) +endif() + +add_foam_executable(pdfPlot + DEPENDS finiteVolume pdf + SOURCES ${sources} +) diff --git a/applications/utilities/postProcessing/miscellaneous/postChannel/CMakeLists.txt b/applications/utilities/postProcessing/miscellaneous/postChannel/CMakeLists.txt new file mode 100644 index 000000000..850ba6342 --- /dev/null +++ b/applications/utilities/postProcessing/miscellaneous/postChannel/CMakeLists.txt @@ -0,0 +1,47 @@ +# -------------------------------------------------------------------------- +# ======== | +# \ / F ield | foam-extend: Open Source CFD +# \ / O peration | Version: 4.1 +# \ / A nd | Web: http://www.foam-extend.org +# \/ M anipulation | For copyright notice see file Copyright +# -------------------------------------------------------------------------- +# License +# This file is part of foam-extend. +# +# foam-extend 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 3 of the License, or {at your +# option} any later version. +# +# foam-extend 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 foam-extend. If not, see . +# +# Description +# CMakeLists.txt file for libraries and applications +# +# Author +# Henrik Rusche, Wikki GmbH, 2017. All rights reserved +# +# +# -------------------------------------------------------------------------- + +list(APPEND sources + postChannel.C + channelIndex.C +) + +# Set minimal environment for external compilation +if(NOT FOAM_FOUND) + cmake_minimum_required(VERSION 2.8) + find_package(FOAM REQUIRED) +endif() + +add_foam_executable(postChannel + DEPENDS sampling + SOURCES ${sources} +) diff --git a/applications/utilities/postProcessing/miscellaneous/ptot/CMakeLists.txt b/applications/utilities/postProcessing/miscellaneous/ptot/CMakeLists.txt new file mode 100644 index 000000000..28f8033ff --- /dev/null +++ b/applications/utilities/postProcessing/miscellaneous/ptot/CMakeLists.txt @@ -0,0 +1,46 @@ +# -------------------------------------------------------------------------- +# ======== | +# \ / F ield | foam-extend: Open Source CFD +# \ / O peration | Version: 4.1 +# \ / A nd | Web: http://www.foam-extend.org +# \/ M anipulation | For copyright notice see file Copyright +# -------------------------------------------------------------------------- +# License +# This file is part of foam-extend. +# +# foam-extend 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 3 of the License, or {at your +# option} any later version. +# +# foam-extend 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 foam-extend. If not, see . +# +# Description +# CMakeLists.txt file for libraries and applications +# +# Author +# Henrik Rusche, Wikki GmbH, 2017. All rights reserved +# +# +# -------------------------------------------------------------------------- + +list(APPEND sources + ptot.C +) + +# Set minimal environment for external compilation +if(NOT FOAM_FOUND) + cmake_minimum_required(VERSION 2.8) + find_package(FOAM REQUIRED) +endif() + +add_foam_executable(ptot + DEPENDS finiteVolume + SOURCES ${sources} +) diff --git a/applications/utilities/postProcessing/miscellaneous/wdot/CMakeLists.txt b/applications/utilities/postProcessing/miscellaneous/wdot/CMakeLists.txt new file mode 100644 index 000000000..9dc8e59c4 --- /dev/null +++ b/applications/utilities/postProcessing/miscellaneous/wdot/CMakeLists.txt @@ -0,0 +1,46 @@ +# -------------------------------------------------------------------------- +# ======== | +# \ / F ield | foam-extend: Open Source CFD +# \ / O peration | Version: 4.1 +# \ / A nd | Web: http://www.foam-extend.org +# \/ M anipulation | For copyright notice see file Copyright +# -------------------------------------------------------------------------- +# License +# This file is part of foam-extend. +# +# foam-extend 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 3 of the License, or {at your +# option} any later version. +# +# foam-extend 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 foam-extend. If not, see . +# +# Description +# CMakeLists.txt file for libraries and applications +# +# Author +# Henrik Rusche, Wikki GmbH, 2017. All rights reserved +# +# +# -------------------------------------------------------------------------- + +list(APPEND sources + wdot.C +) + +# Set minimal environment for external compilation +if(NOT FOAM_FOUND) + cmake_minimum_required(VERSION 2.8) + find_package(FOAM REQUIRED) +endif() + +add_foam_executable(wdot + DEPENDS finiteVolume + SOURCES ${sources} +) diff --git a/applications/utilities/postProcessing/miscellaneous/writeCellCentres/CMakeLists.txt b/applications/utilities/postProcessing/miscellaneous/writeCellCentres/CMakeLists.txt new file mode 100644 index 000000000..b672010b8 --- /dev/null +++ b/applications/utilities/postProcessing/miscellaneous/writeCellCentres/CMakeLists.txt @@ -0,0 +1,46 @@ +# -------------------------------------------------------------------------- +# ======== | +# \ / F ield | foam-extend: Open Source CFD +# \ / O peration | Version: 4.1 +# \ / A nd | Web: http://www.foam-extend.org +# \/ M anipulation | For copyright notice see file Copyright +# -------------------------------------------------------------------------- +# License +# This file is part of foam-extend. +# +# foam-extend 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 3 of the License, or {at your +# option} any later version. +# +# foam-extend 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 foam-extend. If not, see . +# +# Description +# CMakeLists.txt file for libraries and applications +# +# Author +# Henrik Rusche, Wikki GmbH, 2017. All rights reserved +# +# +# -------------------------------------------------------------------------- + +list(APPEND sources + writeCellCentres.C +) + +# Set minimal environment for external compilation +if(NOT FOAM_FOUND) + cmake_minimum_required(VERSION 2.8) + find_package(FOAM REQUIRED) +endif() + +add_foam_executable(writeCellCentres + DEPENDS finiteVolume + SOURCES ${sources} +) diff --git a/applications/utilities/postProcessing/multiSolver/CMakeLists.txt b/applications/utilities/postProcessing/multiSolver/CMakeLists.txt new file mode 100644 index 000000000..2eee6d38e --- /dev/null +++ b/applications/utilities/postProcessing/multiSolver/CMakeLists.txt @@ -0,0 +1,46 @@ +# -------------------------------------------------------------------------- +# ======== | +# \ / F ield | foam-extend: Open Source CFD +# \ / O peration | Version: 4.1 +# \ / A nd | Web: http://www.foam-extend.org +# \/ M anipulation | For copyright notice see file Copyright +# -------------------------------------------------------------------------- +# License +# This file is part of foam-extend. +# +# foam-extend 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 3 of the License, or {at your +# option} any later version. +# +# foam-extend 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 foam-extend. If not, see . +# +# Description +# CMakeLists.txt file for libraries and applications +# +# Author +# Henrik Rusche, Wikki GmbH, 2017. All rights reserved +# +# +# -------------------------------------------------------------------------- + +list(APPEND sources + multiSolver.C +) + +# Set minimal environment for external compilation +if(NOT FOAM_FOUND) + cmake_minimum_required(VERSION 2.8) + find_package(FOAM REQUIRED) +endif() + +add_foam_executable(multiSolver + DEPENDS finiteVolume multiSolverLib + SOURCES ${sources} +) diff --git a/applications/utilities/postProcessing/patch/CMakeLists.txt b/applications/utilities/postProcessing/patch/CMakeLists.txt new file mode 100644 index 000000000..b3cd69218 --- /dev/null +++ b/applications/utilities/postProcessing/patch/CMakeLists.txt @@ -0,0 +1,33 @@ +# --------------------------------------------------------------------------# ======== | +# \ / F ield | foam-extend: Open Source CFD +# \ / O peration | Version: 4.1 +# \ / A nd | Web: http://www.foam-extend.org +# \/ M anipulation | For copyright notice see file Copyright +# -------------------------------------------------------------------------- +# License +# This file is part of foam-extend. +# +# foam-extend 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 3 of the License, or {at your +# option} any later version. +# +# foam-extend 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 foam-extend. If not, see . +# +# Description +# CMakeLists.txt file for libraries and applications +# +# Author +# Henrik Rusche, Wikki GmbH, 2017. All rights reserved +# +# +# -------------------------------------------------------------------------- + +add_subdirectory(patchAverage) +add_subdirectory(patchIntegrate) \ No newline at end of file diff --git a/applications/utilities/postProcessing/patch/patchAverage/CMakeLists.txt b/applications/utilities/postProcessing/patch/patchAverage/CMakeLists.txt new file mode 100644 index 000000000..bc83b9bce --- /dev/null +++ b/applications/utilities/postProcessing/patch/patchAverage/CMakeLists.txt @@ -0,0 +1,46 @@ +# -------------------------------------------------------------------------- +# ======== | +# \ / F ield | foam-extend: Open Source CFD +# \ / O peration | Version: 4.1 +# \ / A nd | Web: http://www.foam-extend.org +# \/ M anipulation | For copyright notice see file Copyright +# -------------------------------------------------------------------------- +# License +# This file is part of foam-extend. +# +# foam-extend 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 3 of the License, or {at your +# option} any later version. +# +# foam-extend 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 foam-extend. If not, see . +# +# Description +# CMakeLists.txt file for libraries and applications +# +# Author +# Henrik Rusche, Wikki GmbH, 2017. All rights reserved +# +# +# -------------------------------------------------------------------------- + +list(APPEND sources + patchAverage.C +) + +# Set minimal environment for external compilation +if(NOT FOAM_FOUND) + cmake_minimum_required(VERSION 2.8) + find_package(FOAM REQUIRED) +endif() + +add_foam_executable(patchAverage + DEPENDS finiteVolume + SOURCES ${sources} +) diff --git a/applications/utilities/postProcessing/patch/patchIntegrate/CMakeLists.txt b/applications/utilities/postProcessing/patch/patchIntegrate/CMakeLists.txt new file mode 100644 index 000000000..9c9928f54 --- /dev/null +++ b/applications/utilities/postProcessing/patch/patchIntegrate/CMakeLists.txt @@ -0,0 +1,46 @@ +# -------------------------------------------------------------------------- +# ======== | +# \ / F ield | foam-extend: Open Source CFD +# \ / O peration | Version: 4.1 +# \ / A nd | Web: http://www.foam-extend.org +# \/ M anipulation | For copyright notice see file Copyright +# -------------------------------------------------------------------------- +# License +# This file is part of foam-extend. +# +# foam-extend 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 3 of the License, or {at your +# option} any later version. +# +# foam-extend 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 foam-extend. If not, see . +# +# Description +# CMakeLists.txt file for libraries and applications +# +# Author +# Henrik Rusche, Wikki GmbH, 2017. All rights reserved +# +# +# -------------------------------------------------------------------------- + +list(APPEND sources + patchIntegrate.C +) + +# Set minimal environment for external compilation +if(NOT FOAM_FOUND) + cmake_minimum_required(VERSION 2.8) + find_package(FOAM REQUIRED) +endif() + +add_foam_executable(patchIntegrate + DEPENDS finiteVolume + SOURCES ${sources} +) diff --git a/applications/utilities/postProcessing/sampling/CMakeLists.txt b/applications/utilities/postProcessing/sampling/CMakeLists.txt new file mode 100644 index 000000000..c4e6df7f4 --- /dev/null +++ b/applications/utilities/postProcessing/sampling/CMakeLists.txt @@ -0,0 +1,33 @@ +# --------------------------------------------------------------------------# ======== | +# \ / F ield | foam-extend: Open Source CFD +# \ / O peration | Version: 4.1 +# \ / A nd | Web: http://www.foam-extend.org +# \/ M anipulation | For copyright notice see file Copyright +# -------------------------------------------------------------------------- +# License +# This file is part of foam-extend. +# +# foam-extend 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 3 of the License, or {at your +# option} any later version. +# +# foam-extend 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 foam-extend. If not, see . +# +# Description +# CMakeLists.txt file for libraries and applications +# +# Author +# Henrik Rusche, Wikki GmbH, 2017. All rights reserved +# +# +# -------------------------------------------------------------------------- + +add_subdirectory(sample) +add_subdirectory(probeLocations) \ No newline at end of file diff --git a/applications/utilities/postProcessing/sampling/probeLocations/CMakeLists.txt b/applications/utilities/postProcessing/sampling/probeLocations/CMakeLists.txt new file mode 100644 index 000000000..f2158ce6e --- /dev/null +++ b/applications/utilities/postProcessing/sampling/probeLocations/CMakeLists.txt @@ -0,0 +1,46 @@ +# -------------------------------------------------------------------------- +# ======== | +# \ / F ield | foam-extend: Open Source CFD +# \ / O peration | Version: 4.1 +# \ / A nd | Web: http://www.foam-extend.org +# \/ M anipulation | For copyright notice see file Copyright +# -------------------------------------------------------------------------- +# License +# This file is part of foam-extend. +# +# foam-extend 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 3 of the License, or {at your +# option} any later version. +# +# foam-extend 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 foam-extend. If not, see . +# +# Description +# CMakeLists.txt file for libraries and applications +# +# Author +# Henrik Rusche, Wikki GmbH, 2017. All rights reserved +# +# +# -------------------------------------------------------------------------- + +list(APPEND sources + probeLocations.C +) + +# Set minimal environment for external compilation +if(NOT FOAM_FOUND) + cmake_minimum_required(VERSION 2.8) + find_package(FOAM REQUIRED) +endif() + +add_foam_executable(probeLocations + DEPENDS sampling + SOURCES ${sources} +) diff --git a/applications/utilities/postProcessing/sampling/sample/CMakeLists.txt b/applications/utilities/postProcessing/sampling/sample/CMakeLists.txt new file mode 100644 index 000000000..eaac1d4db --- /dev/null +++ b/applications/utilities/postProcessing/sampling/sample/CMakeLists.txt @@ -0,0 +1,46 @@ +# -------------------------------------------------------------------------- +# ======== | +# \ / F ield | foam-extend: Open Source CFD +# \ / O peration | Version: 4.1 +# \ / A nd | Web: http://www.foam-extend.org +# \/ M anipulation | For copyright notice see file Copyright +# -------------------------------------------------------------------------- +# License +# This file is part of foam-extend. +# +# foam-extend 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 3 of the License, or {at your +# option} any later version. +# +# foam-extend 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 foam-extend. If not, see . +# +# Description +# CMakeLists.txt file for libraries and applications +# +# Author +# Henrik Rusche, Wikki GmbH, 2017. All rights reserved +# +# +# -------------------------------------------------------------------------- + +list(APPEND sources + sample.C +) + +# Set minimal environment for external compilation +if(NOT FOAM_FOUND) + cmake_minimum_required(VERSION 2.8) + find_package(FOAM REQUIRED) +endif() + +add_foam_executable(sample + DEPENDS sampling + SOURCES ${sources} +) diff --git a/applications/utilities/postProcessing/scalarField/CMakeLists.txt b/applications/utilities/postProcessing/scalarField/CMakeLists.txt new file mode 100644 index 000000000..87639e9e0 --- /dev/null +++ b/applications/utilities/postProcessing/scalarField/CMakeLists.txt @@ -0,0 +1,32 @@ +# --------------------------------------------------------------------------# ======== | +# \ / F ield | foam-extend: Open Source CFD +# \ / O peration | Version: 4.1 +# \ / A nd | Web: http://www.foam-extend.org +# \/ M anipulation | For copyright notice see file Copyright +# -------------------------------------------------------------------------- +# License +# This file is part of foam-extend. +# +# foam-extend 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 3 of the License, or {at your +# option} any later version. +# +# foam-extend 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 foam-extend. If not, see . +# +# Description +# CMakeLists.txt file for libraries and applications +# +# Author +# Henrik Rusche, Wikki GmbH, 2017. All rights reserved +# +# +# -------------------------------------------------------------------------- + +add_subdirectory(pPrime2) \ No newline at end of file diff --git a/applications/utilities/postProcessing/scalarField/pPrime2/CMakeLists.txt b/applications/utilities/postProcessing/scalarField/pPrime2/CMakeLists.txt new file mode 100644 index 000000000..189b734e6 --- /dev/null +++ b/applications/utilities/postProcessing/scalarField/pPrime2/CMakeLists.txt @@ -0,0 +1,46 @@ +# -------------------------------------------------------------------------- +# ======== | +# \ / F ield | foam-extend: Open Source CFD +# \ / O peration | Version: 4.1 +# \ / A nd | Web: http://www.foam-extend.org +# \/ M anipulation | For copyright notice see file Copyright +# -------------------------------------------------------------------------- +# License +# This file is part of foam-extend. +# +# foam-extend 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 3 of the License, or {at your +# option} any later version. +# +# foam-extend 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 foam-extend. If not, see . +# +# Description +# CMakeLists.txt file for libraries and applications +# +# Author +# Henrik Rusche, Wikki GmbH, 2017. All rights reserved +# +# +# -------------------------------------------------------------------------- + +list(APPEND sources + pPrime2.C +) + +# Set minimal environment for external compilation +if(NOT FOAM_FOUND) + cmake_minimum_required(VERSION 2.8) + find_package(FOAM REQUIRED) +endif() + +add_foam_executable(pPrime2 + DEPENDS finiteVolume + SOURCES ${sources} +) diff --git a/applications/utilities/postProcessing/stressField/CMakeLists.txt b/applications/utilities/postProcessing/stressField/CMakeLists.txt new file mode 100644 index 000000000..e0f7dd271 --- /dev/null +++ b/applications/utilities/postProcessing/stressField/CMakeLists.txt @@ -0,0 +1,35 @@ +# --------------------------------------------------------------------------# ======== | +# \ / F ield | foam-extend: Open Source CFD +# \ / O peration | Version: 4.1 +# \ / A nd | Web: http://www.foam-extend.org +# \/ M anipulation | For copyright notice see file Copyright +# -------------------------------------------------------------------------- +# License +# This file is part of foam-extend. +# +# foam-extend 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 3 of the License, or {at your +# option} any later version. +# +# foam-extend 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 foam-extend. If not, see . +# +# Description +# CMakeLists.txt file for libraries and applications +# +# Author +# Henrik Rusche, Wikki GmbH, 2017. All rights reserved +# +# +# -------------------------------------------------------------------------- + +add_subdirectory(stressComponents) +add_subdirectory(solidStress) +add_subdirectory(interFoamPressure) +add_subdirectory(calcPTot) \ No newline at end of file diff --git a/applications/utilities/postProcessing/stressField/calcPTot/CMakeLists.txt b/applications/utilities/postProcessing/stressField/calcPTot/CMakeLists.txt new file mode 100644 index 000000000..7081e2bf3 --- /dev/null +++ b/applications/utilities/postProcessing/stressField/calcPTot/CMakeLists.txt @@ -0,0 +1,46 @@ +# -------------------------------------------------------------------------- +# ======== | +# \ / F ield | foam-extend: Open Source CFD +# \ / O peration | Version: 4.1 +# \ / A nd | Web: http://www.foam-extend.org +# \/ M anipulation | For copyright notice see file Copyright +# -------------------------------------------------------------------------- +# License +# This file is part of foam-extend. +# +# foam-extend 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 3 of the License, or {at your +# option} any later version. +# +# foam-extend 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 foam-extend. If not, see . +# +# Description +# CMakeLists.txt file for libraries and applications +# +# Author +# Henrik Rusche, Wikki GmbH, 2017. All rights reserved +# +# +# -------------------------------------------------------------------------- + +list(APPEND sources + calcPTot.C +) + +# Set minimal environment for external compilation +if(NOT FOAM_FOUND) + cmake_minimum_required(VERSION 2.8) + find_package(FOAM REQUIRED) +endif() + +add_foam_executable(calcPTot + DEPENDS interfaceProperties incompressibleTransportModels + SOURCES ${sources} +) diff --git a/applications/utilities/postProcessing/stressField/interFoamPressure/CMakeLists.txt b/applications/utilities/postProcessing/stressField/interFoamPressure/CMakeLists.txt new file mode 100644 index 000000000..b9d23f3bb --- /dev/null +++ b/applications/utilities/postProcessing/stressField/interFoamPressure/CMakeLists.txt @@ -0,0 +1,46 @@ +# -------------------------------------------------------------------------- +# ======== | +# \ / F ield | foam-extend: Open Source CFD +# \ / O peration | Version: 4.1 +# \ / A nd | Web: http://www.foam-extend.org +# \/ M anipulation | For copyright notice see file Copyright +# -------------------------------------------------------------------------- +# License +# This file is part of foam-extend. +# +# foam-extend 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 3 of the License, or {at your +# option} any later version. +# +# foam-extend 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 foam-extend. If not, see . +# +# Description +# CMakeLists.txt file for libraries and applications +# +# Author +# Henrik Rusche, Wikki GmbH, 2017. All rights reserved +# +# +# -------------------------------------------------------------------------- + +list(APPEND sources + interFoamPressure.C +) + +# Set minimal environment for external compilation +if(NOT FOAM_FOUND) + cmake_minimum_required(VERSION 2.8) + find_package(FOAM REQUIRED) +endif() + +add_foam_executable(interFoamPressure + DEPENDS interfaceProperties incompressibleTransportModels + SOURCES ${sources} +) diff --git a/applications/utilities/postProcessing/stressField/solidStress/CMakeLists.txt b/applications/utilities/postProcessing/stressField/solidStress/CMakeLists.txt new file mode 100644 index 000000000..be2fb10dd --- /dev/null +++ b/applications/utilities/postProcessing/stressField/solidStress/CMakeLists.txt @@ -0,0 +1,46 @@ +# -------------------------------------------------------------------------- +# ======== | +# \ / F ield | foam-extend: Open Source CFD +# \ / O peration | Version: 4.1 +# \ / A nd | Web: http://www.foam-extend.org +# \/ M anipulation | For copyright notice see file Copyright +# -------------------------------------------------------------------------- +# License +# This file is part of foam-extend. +# +# foam-extend 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 3 of the License, or {at your +# option} any later version. +# +# foam-extend 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 foam-extend. If not, see . +# +# Description +# CMakeLists.txt file for libraries and applications +# +# Author +# Henrik Rusche, Wikki GmbH, 2017. All rights reserved +# +# +# -------------------------------------------------------------------------- + +list(APPEND sources + solidStress.C +) + +# Set minimal environment for external compilation +if(NOT FOAM_FOUND) + cmake_minimum_required(VERSION 2.8) + find_package(FOAM REQUIRED) +endif() + +add_foam_executable(solidStress + DEPENDS finiteVolume + SOURCES ${sources} +) diff --git a/applications/utilities/postProcessing/stressField/stressComponents/CMakeLists.txt b/applications/utilities/postProcessing/stressField/stressComponents/CMakeLists.txt new file mode 100644 index 000000000..fcc467ac9 --- /dev/null +++ b/applications/utilities/postProcessing/stressField/stressComponents/CMakeLists.txt @@ -0,0 +1,46 @@ +# -------------------------------------------------------------------------- +# ======== | +# \ / F ield | foam-extend: Open Source CFD +# \ / O peration | Version: 4.1 +# \ / A nd | Web: http://www.foam-extend.org +# \/ M anipulation | For copyright notice see file Copyright +# -------------------------------------------------------------------------- +# License +# This file is part of foam-extend. +# +# foam-extend 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 3 of the License, or {at your +# option} any later version. +# +# foam-extend 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 foam-extend. If not, see . +# +# Description +# CMakeLists.txt file for libraries and applications +# +# Author +# Henrik Rusche, Wikki GmbH, 2017. All rights reserved +# +# +# -------------------------------------------------------------------------- + +list(APPEND sources + stressComponents.C +) + +# Set minimal environment for external compilation +if(NOT FOAM_FOUND) + cmake_minimum_required(VERSION 2.8) + find_package(FOAM REQUIRED) +endif() + +add_foam_executable(stressComponents + DEPENDS incompressibleRASModels incompressibleTransportModels + SOURCES ${sources} +) diff --git a/applications/utilities/postProcessing/turbulence/CMakeLists.txt b/applications/utilities/postProcessing/turbulence/CMakeLists.txt new file mode 100644 index 000000000..8fc2e09d3 --- /dev/null +++ b/applications/utilities/postProcessing/turbulence/CMakeLists.txt @@ -0,0 +1,33 @@ +# --------------------------------------------------------------------------# ======== | +# \ / F ield | foam-extend: Open Source CFD +# \ / O peration | Version: 4.1 +# \ / A nd | Web: http://www.foam-extend.org +# \/ M anipulation | For copyright notice see file Copyright +# -------------------------------------------------------------------------- +# License +# This file is part of foam-extend. +# +# foam-extend 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 3 of the License, or {at your +# option} any later version. +# +# foam-extend 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 foam-extend. If not, see . +# +# Description +# CMakeLists.txt file for libraries and applications +# +# Author +# Henrik Rusche, Wikki GmbH, 2017. All rights reserved +# +# +# -------------------------------------------------------------------------- + +add_subdirectory(createTurbulenceFields) +add_subdirectory(R) \ No newline at end of file diff --git a/applications/utilities/postProcessing/turbulence/R/CMakeLists.txt b/applications/utilities/postProcessing/turbulence/R/CMakeLists.txt new file mode 100644 index 000000000..45f041004 --- /dev/null +++ b/applications/utilities/postProcessing/turbulence/R/CMakeLists.txt @@ -0,0 +1,46 @@ +# -------------------------------------------------------------------------- +# ======== | +# \ / F ield | foam-extend: Open Source CFD +# \ / O peration | Version: 4.1 +# \ / A nd | Web: http://www.foam-extend.org +# \/ M anipulation | For copyright notice see file Copyright +# -------------------------------------------------------------------------- +# License +# This file is part of foam-extend. +# +# foam-extend 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 3 of the License, or {at your +# option} any later version. +# +# foam-extend 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 foam-extend. If not, see . +# +# Description +# CMakeLists.txt file for libraries and applications +# +# Author +# Henrik Rusche, Wikki GmbH, 2017. All rights reserved +# +# +# -------------------------------------------------------------------------- + +list(APPEND sources + R.C +) + +# Set minimal environment for external compilation +if(NOT FOAM_FOUND) + cmake_minimum_required(VERSION 2.8) + find_package(FOAM REQUIRED) +endif() + +add_foam_executable(R + DEPENDS incompressibleRASModels + SOURCES ${sources} +) diff --git a/applications/utilities/postProcessing/turbulence/createTurbulenceFields/CMakeLists.txt b/applications/utilities/postProcessing/turbulence/createTurbulenceFields/CMakeLists.txt new file mode 100644 index 000000000..8e67cbc59 --- /dev/null +++ b/applications/utilities/postProcessing/turbulence/createTurbulenceFields/CMakeLists.txt @@ -0,0 +1,46 @@ +# -------------------------------------------------------------------------- +# ======== | +# \ / F ield | foam-extend: Open Source CFD +# \ / O peration | Version: 4.1 +# \ / A nd | Web: http://www.foam-extend.org +# \/ M anipulation | For copyright notice see file Copyright +# -------------------------------------------------------------------------- +# License +# This file is part of foam-extend. +# +# foam-extend 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 3 of the License, or {at your +# option} any later version. +# +# foam-extend 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 foam-extend. If not, see . +# +# Description +# CMakeLists.txt file for libraries and applications +# +# Author +# Henrik Rusche, Wikki GmbH, 2017. All rights reserved +# +# +# -------------------------------------------------------------------------- + +list(APPEND sources + createTurbulenceFields.C +) + +# Set minimal environment for external compilation +if(NOT FOAM_FOUND) + cmake_minimum_required(VERSION 2.8) + find_package(FOAM REQUIRED) +endif() + +add_foam_executable(createTurbulenceFields + DEPENDS incompressibleRASModels + SOURCES ${sources} +) diff --git a/applications/utilities/postProcessing/velocityField/CMakeLists.txt b/applications/utilities/postProcessing/velocityField/CMakeLists.txt new file mode 100644 index 000000000..b8dcb043c --- /dev/null +++ b/applications/utilities/postProcessing/velocityField/CMakeLists.txt @@ -0,0 +1,41 @@ +# --------------------------------------------------------------------------# ======== | +# \ / F ield | foam-extend: Open Source CFD +# \ / O peration | Version: 4.1 +# \ / A nd | Web: http://www.foam-extend.org +# \/ M anipulation | For copyright notice see file Copyright +# -------------------------------------------------------------------------- +# License +# This file is part of foam-extend. +# +# foam-extend 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 3 of the License, or {at your +# option} any later version. +# +# foam-extend 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 foam-extend. If not, see . +# +# Description +# CMakeLists.txt file for libraries and applications +# +# Author +# Henrik Rusche, Wikki GmbH, 2017. All rights reserved +# +# +# -------------------------------------------------------------------------- + +add_subdirectory(Q) +add_subdirectory(vorticity) +add_subdirectory(streamFunction) +add_subdirectory(uprime) +add_subdirectory(Pe) +add_subdirectory(flowType) +add_subdirectory(Co) +add_subdirectory(enstrophy) +add_subdirectory(Lambda2) +add_subdirectory(Mach) \ No newline at end of file diff --git a/applications/utilities/postProcessing/velocityField/Co/CMakeLists.txt b/applications/utilities/postProcessing/velocityField/Co/CMakeLists.txt new file mode 100644 index 000000000..25e4032da --- /dev/null +++ b/applications/utilities/postProcessing/velocityField/Co/CMakeLists.txt @@ -0,0 +1,46 @@ +# -------------------------------------------------------------------------- +# ======== | +# \ / F ield | foam-extend: Open Source CFD +# \ / O peration | Version: 4.1 +# \ / A nd | Web: http://www.foam-extend.org +# \/ M anipulation | For copyright notice see file Copyright +# -------------------------------------------------------------------------- +# License +# This file is part of foam-extend. +# +# foam-extend 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 3 of the License, or {at your +# option} any later version. +# +# foam-extend 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 foam-extend. If not, see . +# +# Description +# CMakeLists.txt file for libraries and applications +# +# Author +# Henrik Rusche, Wikki GmbH, 2017. All rights reserved +# +# +# -------------------------------------------------------------------------- + +list(APPEND sources + Co.C +) + +# Set minimal environment for external compilation +if(NOT FOAM_FOUND) + cmake_minimum_required(VERSION 2.8) + find_package(FOAM REQUIRED) +endif() + +add_foam_executable(Co + DEPENDS postCalc + SOURCES ${sources} +) diff --git a/applications/utilities/postProcessing/velocityField/Lambda2/CMakeLists.txt b/applications/utilities/postProcessing/velocityField/Lambda2/CMakeLists.txt new file mode 100644 index 000000000..0111a65b0 --- /dev/null +++ b/applications/utilities/postProcessing/velocityField/Lambda2/CMakeLists.txt @@ -0,0 +1,46 @@ +# -------------------------------------------------------------------------- +# ======== | +# \ / F ield | foam-extend: Open Source CFD +# \ / O peration | Version: 4.1 +# \ / A nd | Web: http://www.foam-extend.org +# \/ M anipulation | For copyright notice see file Copyright +# -------------------------------------------------------------------------- +# License +# This file is part of foam-extend. +# +# foam-extend 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 3 of the License, or {at your +# option} any later version. +# +# foam-extend 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 foam-extend. If not, see . +# +# Description +# CMakeLists.txt file for libraries and applications +# +# Author +# Henrik Rusche, Wikki GmbH, 2017. All rights reserved +# +# +# -------------------------------------------------------------------------- + +list(APPEND sources + Lambda2.C +) + +# Set minimal environment for external compilation +if(NOT FOAM_FOUND) + cmake_minimum_required(VERSION 2.8) + find_package(FOAM REQUIRED) +endif() + +add_foam_executable(Lambda2 + DEPENDS postCalc + SOURCES ${sources} +) diff --git a/applications/utilities/postProcessing/velocityField/Mach/CMakeLists.txt b/applications/utilities/postProcessing/velocityField/Mach/CMakeLists.txt new file mode 100644 index 000000000..6dcf7d009 --- /dev/null +++ b/applications/utilities/postProcessing/velocityField/Mach/CMakeLists.txt @@ -0,0 +1,46 @@ +# -------------------------------------------------------------------------- +# ======== | +# \ / F ield | foam-extend: Open Source CFD +# \ / O peration | Version: 4.1 +# \ / A nd | Web: http://www.foam-extend.org +# \/ M anipulation | For copyright notice see file Copyright +# -------------------------------------------------------------------------- +# License +# This file is part of foam-extend. +# +# foam-extend 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 3 of the License, or {at your +# option} any later version. +# +# foam-extend 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 foam-extend. If not, see . +# +# Description +# CMakeLists.txt file for libraries and applications +# +# Author +# Henrik Rusche, Wikki GmbH, 2017. All rights reserved +# +# +# -------------------------------------------------------------------------- + +list(APPEND sources + Mach.C +) + +# Set minimal environment for external compilation +if(NOT FOAM_FOUND) + cmake_minimum_required(VERSION 2.8) + find_package(FOAM REQUIRED) +endif() + +add_foam_executable(Mach + DEPENDS postCalc reactionThermophysicalModels + SOURCES ${sources} +) diff --git a/applications/utilities/postProcessing/velocityField/Pe/CMakeLists.txt b/applications/utilities/postProcessing/velocityField/Pe/CMakeLists.txt new file mode 100644 index 000000000..d7fb4190f --- /dev/null +++ b/applications/utilities/postProcessing/velocityField/Pe/CMakeLists.txt @@ -0,0 +1,46 @@ +# -------------------------------------------------------------------------- +# ======== | +# \ / F ield | foam-extend: Open Source CFD +# \ / O peration | Version: 4.1 +# \ / A nd | Web: http://www.foam-extend.org +# \/ M anipulation | For copyright notice see file Copyright +# -------------------------------------------------------------------------- +# License +# This file is part of foam-extend. +# +# foam-extend 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 3 of the License, or {at your +# option} any later version. +# +# foam-extend 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 foam-extend. If not, see . +# +# Description +# CMakeLists.txt file for libraries and applications +# +# Author +# Henrik Rusche, Wikki GmbH, 2017. All rights reserved +# +# +# -------------------------------------------------------------------------- + +list(APPEND sources + Pe.C +) + +# Set minimal environment for external compilation +if(NOT FOAM_FOUND) + cmake_minimum_required(VERSION 2.8) + find_package(FOAM REQUIRED) +endif() + +add_foam_executable(Pe + DEPENDS postCalc incompressibleRASModels incompressibleLESModels compressibleRASModels compressibleLESModels + SOURCES ${sources} +) diff --git a/applications/utilities/postProcessing/velocityField/Q/CMakeLists.txt b/applications/utilities/postProcessing/velocityField/Q/CMakeLists.txt new file mode 100644 index 000000000..d646ba4d1 --- /dev/null +++ b/applications/utilities/postProcessing/velocityField/Q/CMakeLists.txt @@ -0,0 +1,46 @@ +# -------------------------------------------------------------------------- +# ======== | +# \ / F ield | foam-extend: Open Source CFD +# \ / O peration | Version: 4.1 +# \ / A nd | Web: http://www.foam-extend.org +# \/ M anipulation | For copyright notice see file Copyright +# -------------------------------------------------------------------------- +# License +# This file is part of foam-extend. +# +# foam-extend 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 3 of the License, or {at your +# option} any later version. +# +# foam-extend 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 foam-extend. If not, see . +# +# Description +# CMakeLists.txt file for libraries and applications +# +# Author +# Henrik Rusche, Wikki GmbH, 2017. All rights reserved +# +# +# -------------------------------------------------------------------------- + +list(APPEND sources + Q.C +) + +# Set minimal environment for external compilation +if(NOT FOAM_FOUND) + cmake_minimum_required(VERSION 2.8) + find_package(FOAM REQUIRED) +endif() + +add_foam_executable(Q + DEPENDS postCalc + SOURCES ${sources} +) diff --git a/applications/utilities/postProcessing/velocityField/enstrophy/CMakeLists.txt b/applications/utilities/postProcessing/velocityField/enstrophy/CMakeLists.txt new file mode 100644 index 000000000..2c20b166e --- /dev/null +++ b/applications/utilities/postProcessing/velocityField/enstrophy/CMakeLists.txt @@ -0,0 +1,46 @@ +# -------------------------------------------------------------------------- +# ======== | +# \ / F ield | foam-extend: Open Source CFD +# \ / O peration | Version: 4.1 +# \ / A nd | Web: http://www.foam-extend.org +# \/ M anipulation | For copyright notice see file Copyright +# -------------------------------------------------------------------------- +# License +# This file is part of foam-extend. +# +# foam-extend 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 3 of the License, or {at your +# option} any later version. +# +# foam-extend 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 foam-extend. If not, see . +# +# Description +# CMakeLists.txt file for libraries and applications +# +# Author +# Henrik Rusche, Wikki GmbH, 2017. All rights reserved +# +# +# -------------------------------------------------------------------------- + +list(APPEND sources + enstrophy.C +) + +# Set minimal environment for external compilation +if(NOT FOAM_FOUND) + cmake_minimum_required(VERSION 2.8) + find_package(FOAM REQUIRED) +endif() + +add_foam_executable(enstrophy + DEPENDS postCalc + SOURCES ${sources} +) diff --git a/applications/utilities/postProcessing/velocityField/flowType/CMakeLists.txt b/applications/utilities/postProcessing/velocityField/flowType/CMakeLists.txt new file mode 100644 index 000000000..acdf74f66 --- /dev/null +++ b/applications/utilities/postProcessing/velocityField/flowType/CMakeLists.txt @@ -0,0 +1,46 @@ +# -------------------------------------------------------------------------- +# ======== | +# \ / F ield | foam-extend: Open Source CFD +# \ / O peration | Version: 4.1 +# \ / A nd | Web: http://www.foam-extend.org +# \/ M anipulation | For copyright notice see file Copyright +# -------------------------------------------------------------------------- +# License +# This file is part of foam-extend. +# +# foam-extend 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 3 of the License, or {at your +# option} any later version. +# +# foam-extend 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 foam-extend. If not, see . +# +# Description +# CMakeLists.txt file for libraries and applications +# +# Author +# Henrik Rusche, Wikki GmbH, 2017. All rights reserved +# +# +# -------------------------------------------------------------------------- + +list(APPEND sources + flowType.C +) + +# Set minimal environment for external compilation +if(NOT FOAM_FOUND) + cmake_minimum_required(VERSION 2.8) + find_package(FOAM REQUIRED) +endif() + +add_foam_executable(flowType + DEPENDS postCalc + SOURCES ${sources} +) diff --git a/applications/utilities/postProcessing/velocityField/streamFunction/CMakeLists.txt b/applications/utilities/postProcessing/velocityField/streamFunction/CMakeLists.txt new file mode 100644 index 000000000..edad653b4 --- /dev/null +++ b/applications/utilities/postProcessing/velocityField/streamFunction/CMakeLists.txt @@ -0,0 +1,46 @@ +# -------------------------------------------------------------------------- +# ======== | +# \ / F ield | foam-extend: Open Source CFD +# \ / O peration | Version: 4.1 +# \ / A nd | Web: http://www.foam-extend.org +# \/ M anipulation | For copyright notice see file Copyright +# -------------------------------------------------------------------------- +# License +# This file is part of foam-extend. +# +# foam-extend 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 3 of the License, or {at your +# option} any later version. +# +# foam-extend 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 foam-extend. If not, see . +# +# Description +# CMakeLists.txt file for libraries and applications +# +# Author +# Henrik Rusche, Wikki GmbH, 2017. All rights reserved +# +# +# -------------------------------------------------------------------------- + +list(APPEND sources + streamFunction.C +) + +# Set minimal environment for external compilation +if(NOT FOAM_FOUND) + cmake_minimum_required(VERSION 2.8) + find_package(FOAM REQUIRED) +endif() + +add_foam_executable(streamFunction + DEPENDS postCalc + SOURCES ${sources} +) diff --git a/applications/utilities/postProcessing/velocityField/uprime/CMakeLists.txt b/applications/utilities/postProcessing/velocityField/uprime/CMakeLists.txt new file mode 100644 index 000000000..112e079ef --- /dev/null +++ b/applications/utilities/postProcessing/velocityField/uprime/CMakeLists.txt @@ -0,0 +1,46 @@ +# -------------------------------------------------------------------------- +# ======== | +# \ / F ield | foam-extend: Open Source CFD +# \ / O peration | Version: 4.1 +# \ / A nd | Web: http://www.foam-extend.org +# \/ M anipulation | For copyright notice see file Copyright +# -------------------------------------------------------------------------- +# License +# This file is part of foam-extend. +# +# foam-extend 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 3 of the License, or {at your +# option} any later version. +# +# foam-extend 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 foam-extend. If not, see . +# +# Description +# CMakeLists.txt file for libraries and applications +# +# Author +# Henrik Rusche, Wikki GmbH, 2017. All rights reserved +# +# +# -------------------------------------------------------------------------- + +list(APPEND sources + uprime.C +) + +# Set minimal environment for external compilation +if(NOT FOAM_FOUND) + cmake_minimum_required(VERSION 2.8) + find_package(FOAM REQUIRED) +endif() + +add_foam_executable(uprime + DEPENDS postCalc + SOURCES ${sources} +) diff --git a/applications/utilities/postProcessing/velocityField/vorticity/CMakeLists.txt b/applications/utilities/postProcessing/velocityField/vorticity/CMakeLists.txt new file mode 100644 index 000000000..9ec2fcea1 --- /dev/null +++ b/applications/utilities/postProcessing/velocityField/vorticity/CMakeLists.txt @@ -0,0 +1,46 @@ +# -------------------------------------------------------------------------- +# ======== | +# \ / F ield | foam-extend: Open Source CFD +# \ / O peration | Version: 4.1 +# \ / A nd | Web: http://www.foam-extend.org +# \/ M anipulation | For copyright notice see file Copyright +# -------------------------------------------------------------------------- +# License +# This file is part of foam-extend. +# +# foam-extend 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 3 of the License, or {at your +# option} any later version. +# +# foam-extend 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 foam-extend. If not, see . +# +# Description +# CMakeLists.txt file for libraries and applications +# +# Author +# Henrik Rusche, Wikki GmbH, 2017. All rights reserved +# +# +# -------------------------------------------------------------------------- + +list(APPEND sources + vorticity.C +) + +# Set minimal environment for external compilation +if(NOT FOAM_FOUND) + cmake_minimum_required(VERSION 2.8) + find_package(FOAM REQUIRED) +endif() + +add_foam_executable(vorticity + DEPENDS postCalc + SOURCES ${sources} +) diff --git a/applications/utilities/postProcessing/viscoelastic/CMakeLists.txt b/applications/utilities/postProcessing/viscoelastic/CMakeLists.txt new file mode 100644 index 000000000..ee923fb66 --- /dev/null +++ b/applications/utilities/postProcessing/viscoelastic/CMakeLists.txt @@ -0,0 +1,34 @@ +# --------------------------------------------------------------------------# ======== | +# \ / F ield | foam-extend: Open Source CFD +# \ / O peration | Version: 4.1 +# \ / A nd | Web: http://www.foam-extend.org +# \/ M anipulation | For copyright notice see file Copyright +# -------------------------------------------------------------------------- +# License +# This file is part of foam-extend. +# +# foam-extend 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 3 of the License, or {at your +# option} any later version. +# +# foam-extend 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 foam-extend. If not, see . +# +# Description +# CMakeLists.txt file for libraries and applications +# +# Author +# Henrik Rusche, Wikki GmbH, 2017. All rights reserved +# +# +# -------------------------------------------------------------------------- + +add_subdirectory(stressSymmComponents) +add_subdirectory(stressDifferences) +add_subdirectory(PSD) \ No newline at end of file diff --git a/applications/utilities/postProcessing/viscoelastic/PSD/CMakeLists.txt b/applications/utilities/postProcessing/viscoelastic/PSD/CMakeLists.txt new file mode 100644 index 000000000..6da419ae5 --- /dev/null +++ b/applications/utilities/postProcessing/viscoelastic/PSD/CMakeLists.txt @@ -0,0 +1,46 @@ +# -------------------------------------------------------------------------- +# ======== | +# \ / F ield | foam-extend: Open Source CFD +# \ / O peration | Version: 4.1 +# \ / A nd | Web: http://www.foam-extend.org +# \/ M anipulation | For copyright notice see file Copyright +# -------------------------------------------------------------------------- +# License +# This file is part of foam-extend. +# +# foam-extend 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 3 of the License, or {at your +# option} any later version. +# +# foam-extend 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 foam-extend. If not, see . +# +# Description +# CMakeLists.txt file for libraries and applications +# +# Author +# Henrik Rusche, Wikki GmbH, 2017. All rights reserved +# +# +# -------------------------------------------------------------------------- + +list(APPEND sources + PSD.C +) + +# Set minimal environment for external compilation +if(NOT FOAM_FOUND) + cmake_minimum_required(VERSION 2.8) + find_package(FOAM REQUIRED) +endif() + +add_foam_executable(PSD + DEPENDS finiteVolume + SOURCES ${sources} +) diff --git a/applications/utilities/postProcessing/viscoelastic/stressDifferences/CMakeLists.txt b/applications/utilities/postProcessing/viscoelastic/stressDifferences/CMakeLists.txt new file mode 100644 index 000000000..b5ae8d4ae --- /dev/null +++ b/applications/utilities/postProcessing/viscoelastic/stressDifferences/CMakeLists.txt @@ -0,0 +1,46 @@ +# -------------------------------------------------------------------------- +# ======== | +# \ / F ield | foam-extend: Open Source CFD +# \ / O peration | Version: 4.1 +# \ / A nd | Web: http://www.foam-extend.org +# \/ M anipulation | For copyright notice see file Copyright +# -------------------------------------------------------------------------- +# License +# This file is part of foam-extend. +# +# foam-extend 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 3 of the License, or {at your +# option} any later version. +# +# foam-extend 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 foam-extend. If not, see . +# +# Description +# CMakeLists.txt file for libraries and applications +# +# Author +# Henrik Rusche, Wikki GmbH, 2017. All rights reserved +# +# +# -------------------------------------------------------------------------- + +list(APPEND sources + stressDifferences.C +) + +# Set minimal environment for external compilation +if(NOT FOAM_FOUND) + cmake_minimum_required(VERSION 2.8) + find_package(FOAM REQUIRED) +endif() + +add_foam_executable(stressDifferences + DEPENDS finiteVolume + SOURCES ${sources} +) diff --git a/applications/utilities/postProcessing/viscoelastic/stressSymmComponents/CMakeLists.txt b/applications/utilities/postProcessing/viscoelastic/stressSymmComponents/CMakeLists.txt new file mode 100644 index 000000000..bec312fa1 --- /dev/null +++ b/applications/utilities/postProcessing/viscoelastic/stressSymmComponents/CMakeLists.txt @@ -0,0 +1,46 @@ +# -------------------------------------------------------------------------- +# ======== | +# \ / F ield | foam-extend: Open Source CFD +# \ / O peration | Version: 4.1 +# \ / A nd | Web: http://www.foam-extend.org +# \/ M anipulation | For copyright notice see file Copyright +# -------------------------------------------------------------------------- +# License +# This file is part of foam-extend. +# +# foam-extend 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 3 of the License, or {at your +# option} any later version. +# +# foam-extend 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 foam-extend. If not, see . +# +# Description +# CMakeLists.txt file for libraries and applications +# +# Author +# Henrik Rusche, Wikki GmbH, 2017. All rights reserved +# +# +# -------------------------------------------------------------------------- + +list(APPEND sources + stressSymmComponents.C +) + +# Set minimal environment for external compilation +if(NOT FOAM_FOUND) + cmake_minimum_required(VERSION 2.8) + find_package(FOAM REQUIRED) +endif() + +add_foam_executable(stressSymmComponents + DEPENDS finiteVolume + SOURCES ${sources} +) diff --git a/applications/utilities/postProcessing/wall/CMakeLists.txt b/applications/utilities/postProcessing/wall/CMakeLists.txt new file mode 100644 index 000000000..86ba595f4 --- /dev/null +++ b/applications/utilities/postProcessing/wall/CMakeLists.txt @@ -0,0 +1,36 @@ +# --------------------------------------------------------------------------# ======== | +# \ / F ield | foam-extend: Open Source CFD +# \ / O peration | Version: 4.1 +# \ / A nd | Web: http://www.foam-extend.org +# \/ M anipulation | For copyright notice see file Copyright +# -------------------------------------------------------------------------- +# License +# This file is part of foam-extend. +# +# foam-extend 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 3 of the License, or {at your +# option} any later version. +# +# foam-extend 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 foam-extend. If not, see . +# +# Description +# CMakeLists.txt file for libraries and applications +# +# Author +# Henrik Rusche, Wikki GmbH, 2017. All rights reserved +# +# +# -------------------------------------------------------------------------- + +add_subdirectory(wallGradU) +add_subdirectory(wallShearStress) +add_subdirectory(yPlusRAS) +add_subdirectory(wallHeatFlux) +add_subdirectory(yPlusLES) \ No newline at end of file diff --git a/applications/utilities/postProcessing/wall/wallGradU/CMakeLists.txt b/applications/utilities/postProcessing/wall/wallGradU/CMakeLists.txt new file mode 100644 index 000000000..2848cc807 --- /dev/null +++ b/applications/utilities/postProcessing/wall/wallGradU/CMakeLists.txt @@ -0,0 +1,46 @@ +# -------------------------------------------------------------------------- +# ======== | +# \ / F ield | foam-extend: Open Source CFD +# \ / O peration | Version: 4.1 +# \ / A nd | Web: http://www.foam-extend.org +# \/ M anipulation | For copyright notice see file Copyright +# -------------------------------------------------------------------------- +# License +# This file is part of foam-extend. +# +# foam-extend 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 3 of the License, or {at your +# option} any later version. +# +# foam-extend 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 foam-extend. If not, see . +# +# Description +# CMakeLists.txt file for libraries and applications +# +# Author +# Henrik Rusche, Wikki GmbH, 2017. All rights reserved +# +# +# -------------------------------------------------------------------------- + +list(APPEND sources + wallGradU.C +) + +# Set minimal environment for external compilation +if(NOT FOAM_FOUND) + cmake_minimum_required(VERSION 2.8) + find_package(FOAM REQUIRED) +endif() + +add_foam_executable(wallGradU + DEPENDS finiteVolume + SOURCES ${sources} +) diff --git a/applications/utilities/postProcessing/wall/wallHeatFlux/CMakeLists.txt b/applications/utilities/postProcessing/wall/wallHeatFlux/CMakeLists.txt new file mode 100644 index 000000000..a06b9cae4 --- /dev/null +++ b/applications/utilities/postProcessing/wall/wallHeatFlux/CMakeLists.txt @@ -0,0 +1,46 @@ +# -------------------------------------------------------------------------- +# ======== | +# \ / F ield | foam-extend: Open Source CFD +# \ / O peration | Version: 4.1 +# \ / A nd | Web: http://www.foam-extend.org +# \/ M anipulation | For copyright notice see file Copyright +# -------------------------------------------------------------------------- +# License +# This file is part of foam-extend. +# +# foam-extend 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 3 of the License, or {at your +# option} any later version. +# +# foam-extend 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 foam-extend. If not, see . +# +# Description +# CMakeLists.txt file for libraries and applications +# +# Author +# Henrik Rusche, Wikki GmbH, 2017. All rights reserved +# +# +# -------------------------------------------------------------------------- + +list(APPEND sources + wallHeatFlux.C +) + +# Set minimal environment for external compilation +if(NOT FOAM_FOUND) + cmake_minimum_required(VERSION 2.8) + find_package(FOAM REQUIRED) +endif() + +add_foam_executable(wallHeatFlux + DEPENDS reactionThermophysicalModels compressibleRASModels + SOURCES ${sources} +) diff --git a/applications/utilities/postProcessing/wall/wallShearStress/CMakeLists.txt b/applications/utilities/postProcessing/wall/wallShearStress/CMakeLists.txt new file mode 100644 index 000000000..a36a8a949 --- /dev/null +++ b/applications/utilities/postProcessing/wall/wallShearStress/CMakeLists.txt @@ -0,0 +1,46 @@ +# -------------------------------------------------------------------------- +# ======== | +# \ / F ield | foam-extend: Open Source CFD +# \ / O peration | Version: 4.1 +# \ / A nd | Web: http://www.foam-extend.org +# \/ M anipulation | For copyright notice see file Copyright +# -------------------------------------------------------------------------- +# License +# This file is part of foam-extend. +# +# foam-extend 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 3 of the License, or {at your +# option} any later version. +# +# foam-extend 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 foam-extend. If not, see . +# +# Description +# CMakeLists.txt file for libraries and applications +# +# Author +# Henrik Rusche, Wikki GmbH, 2017. All rights reserved +# +# +# -------------------------------------------------------------------------- + +list(APPEND sources + wallShearStress.C +) + +# Set minimal environment for external compilation +if(NOT FOAM_FOUND) + cmake_minimum_required(VERSION 2.8) + find_package(FOAM REQUIRED) +endif() + +add_foam_executable(wallShearStress + DEPENDS incompressibleRASModels compressibleRASModels + SOURCES ${sources} +) diff --git a/applications/utilities/postProcessing/wall/yPlusLES/CMakeLists.txt b/applications/utilities/postProcessing/wall/yPlusLES/CMakeLists.txt new file mode 100644 index 000000000..6713d64af --- /dev/null +++ b/applications/utilities/postProcessing/wall/yPlusLES/CMakeLists.txt @@ -0,0 +1,46 @@ +# -------------------------------------------------------------------------- +# ======== | +# \ / F ield | foam-extend: Open Source CFD +# \ / O peration | Version: 4.1 +# \ / A nd | Web: http://www.foam-extend.org +# \/ M anipulation | For copyright notice see file Copyright +# -------------------------------------------------------------------------- +# License +# This file is part of foam-extend. +# +# foam-extend 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 3 of the License, or {at your +# option} any later version. +# +# foam-extend 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 foam-extend. If not, see . +# +# Description +# CMakeLists.txt file for libraries and applications +# +# Author +# Henrik Rusche, Wikki GmbH, 2017. All rights reserved +# +# +# -------------------------------------------------------------------------- + +list(APPEND sources + yPlusLES.C +) + +# Set minimal environment for external compilation +if(NOT FOAM_FOUND) + cmake_minimum_required(VERSION 2.8) + find_package(FOAM REQUIRED) +endif() + +add_foam_executable(yPlusLES + DEPENDS incompressibleLESModels + SOURCES ${sources} +) diff --git a/applications/utilities/postProcessing/wall/yPlusRAS/CMakeLists.txt b/applications/utilities/postProcessing/wall/yPlusRAS/CMakeLists.txt new file mode 100644 index 000000000..9eb636d1f --- /dev/null +++ b/applications/utilities/postProcessing/wall/yPlusRAS/CMakeLists.txt @@ -0,0 +1,46 @@ +# -------------------------------------------------------------------------- +# ======== | +# \ / F ield | foam-extend: Open Source CFD +# \ / O peration | Version: 4.1 +# \ / A nd | Web: http://www.foam-extend.org +# \/ M anipulation | For copyright notice see file Copyright +# -------------------------------------------------------------------------- +# License +# This file is part of foam-extend. +# +# foam-extend 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 3 of the License, or {at your +# option} any later version. +# +# foam-extend 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 foam-extend. If not, see . +# +# Description +# CMakeLists.txt file for libraries and applications +# +# Author +# Henrik Rusche, Wikki GmbH, 2017. All rights reserved +# +# +# -------------------------------------------------------------------------- + +list(APPEND sources + yPlusRAS.C +) + +# Set minimal environment for external compilation +if(NOT FOAM_FOUND) + cmake_minimum_required(VERSION 2.8) + find_package(FOAM REQUIRED) +endif() + +add_foam_executable(yPlusRAS + DEPENDS incompressibleRASModels compressibleRASModels + SOURCES ${sources} +) diff --git a/applications/utilities/preProcessing/CMakeLists.txt b/applications/utilities/preProcessing/CMakeLists.txt new file mode 100644 index 000000000..d03757efd --- /dev/null +++ b/applications/utilities/preProcessing/CMakeLists.txt @@ -0,0 +1,42 @@ +# --------------------------------------------------------------------------# ======== | +# \ / F ield | foam-extend: Open Source CFD +# \ / O peration | Version: 4.1 +# \ / A nd | Web: http://www.foam-extend.org +# \/ M anipulation | For copyright notice see file Copyright +# -------------------------------------------------------------------------- +# License +# This file is part of foam-extend. +# +# foam-extend 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 3 of the License, or {at your +# option} any later version. +# +# foam-extend 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 foam-extend. If not, see . +# +# Description +# CMakeLists.txt file for libraries and applications +# +# Author +# Henrik Rusche, Wikki GmbH, 2017. All rights reserved +# +# +# -------------------------------------------------------------------------- + +add_subdirectory(engineSwirl) +add_subdirectory(dsmcInitialise) +add_subdirectory(fluentDataToFoam) +add_subdirectory(changeDictionary) +add_subdirectory(setFields) +add_subdirectory(mapFields) +add_subdirectory(applyBoundaryLayer) +add_subdirectory(mdInitialise) +add_subdirectory(boxTurb) +add_subdirectory(applyWallFunctionBoundaryConditions) +add_subdirectory(convertPhi) \ No newline at end of file diff --git a/applications/utilities/preProcessing/applyBoundaryLayer/CMakeLists.txt b/applications/utilities/preProcessing/applyBoundaryLayer/CMakeLists.txt new file mode 100644 index 000000000..7961fcc92 --- /dev/null +++ b/applications/utilities/preProcessing/applyBoundaryLayer/CMakeLists.txt @@ -0,0 +1,46 @@ +# -------------------------------------------------------------------------- +# ======== | +# \ / F ield | foam-extend: Open Source CFD +# \ / O peration | Version: 4.1 +# \ / A nd | Web: http://www.foam-extend.org +# \/ M anipulation | For copyright notice see file Copyright +# -------------------------------------------------------------------------- +# License +# This file is part of foam-extend. +# +# foam-extend 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 3 of the License, or {at your +# option} any later version. +# +# foam-extend 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 foam-extend. If not, see . +# +# Description +# CMakeLists.txt file for libraries and applications +# +# Author +# Henrik Rusche, Wikki GmbH, 2017. All rights reserved +# +# +# -------------------------------------------------------------------------- + +list(APPEND sources + applyBoundaryLayer.C +) + +# Set minimal environment for external compilation +if(NOT FOAM_FOUND) + cmake_minimum_required(VERSION 2.8) + find_package(FOAM REQUIRED) +endif() + +add_foam_executable(applyBoundaryLayer + DEPENDS finiteVolume + SOURCES ${sources} +) diff --git a/applications/utilities/preProcessing/applyWallFunctionBoundaryConditions/CMakeLists.txt b/applications/utilities/preProcessing/applyWallFunctionBoundaryConditions/CMakeLists.txt new file mode 100644 index 000000000..6155b75f9 --- /dev/null +++ b/applications/utilities/preProcessing/applyWallFunctionBoundaryConditions/CMakeLists.txt @@ -0,0 +1,46 @@ +# -------------------------------------------------------------------------- +# ======== | +# \ / F ield | foam-extend: Open Source CFD +# \ / O peration | Version: 4.1 +# \ / A nd | Web: http://www.foam-extend.org +# \/ M anipulation | For copyright notice see file Copyright +# -------------------------------------------------------------------------- +# License +# This file is part of foam-extend. +# +# foam-extend 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 3 of the License, or {at your +# option} any later version. +# +# foam-extend 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 foam-extend. If not, see . +# +# Description +# CMakeLists.txt file for libraries and applications +# +# Author +# Henrik Rusche, Wikki GmbH, 2017. All rights reserved +# +# +# -------------------------------------------------------------------------- + +list(APPEND sources + applyWallFunctionBoundaryConditions.C +) + +# Set minimal environment for external compilation +if(NOT FOAM_FOUND) + cmake_minimum_required(VERSION 2.8) + find_package(FOAM REQUIRED) +endif() + +add_foam_executable(applyWallFunctionBoundaryConditions + DEPENDS incompressibleRASModels compressibleRASModels + SOURCES ${sources} +) diff --git a/applications/utilities/preProcessing/boxTurb/CMakeLists.txt b/applications/utilities/preProcessing/boxTurb/CMakeLists.txt new file mode 100644 index 000000000..dcdc26055 --- /dev/null +++ b/applications/utilities/preProcessing/boxTurb/CMakeLists.txt @@ -0,0 +1,46 @@ +# -------------------------------------------------------------------------- +# ======== | +# \ / F ield | foam-extend: Open Source CFD +# \ / O peration | Version: 4.1 +# \ / A nd | Web: http://www.foam-extend.org +# \/ M anipulation | For copyright notice see file Copyright +# -------------------------------------------------------------------------- +# License +# This file is part of foam-extend. +# +# foam-extend 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 3 of the License, or {at your +# option} any later version. +# +# foam-extend 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 foam-extend. If not, see . +# +# Description +# CMakeLists.txt file for libraries and applications +# +# Author +# Henrik Rusche, Wikki GmbH, 2017. All rights reserved +# +# +# -------------------------------------------------------------------------- + +list(APPEND sources + boxTurb.C +) + +# Set minimal environment for external compilation +if(NOT FOAM_FOUND) + cmake_minimum_required(VERSION 2.8) + find_package(FOAM REQUIRED) +endif() + +add_foam_executable(boxTurb + DEPENDS finiteVolume randomProcesses + SOURCES ${sources} +) diff --git a/applications/utilities/preProcessing/changeDictionary/CMakeLists.txt b/applications/utilities/preProcessing/changeDictionary/CMakeLists.txt new file mode 100644 index 000000000..947ce8630 --- /dev/null +++ b/applications/utilities/preProcessing/changeDictionary/CMakeLists.txt @@ -0,0 +1,46 @@ +# -------------------------------------------------------------------------- +# ======== | +# \ / F ield | foam-extend: Open Source CFD +# \ / O peration | Version: 4.1 +# \ / A nd | Web: http://www.foam-extend.org +# \/ M anipulation | For copyright notice see file Copyright +# -------------------------------------------------------------------------- +# License +# This file is part of foam-extend. +# +# foam-extend 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 3 of the License, or {at your +# option} any later version. +# +# foam-extend 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 foam-extend. If not, see . +# +# Description +# CMakeLists.txt file for libraries and applications +# +# Author +# Henrik Rusche, Wikki GmbH, 2017. All rights reserved +# +# +# -------------------------------------------------------------------------- + +list(APPEND sources + changeDictionary.C +) + +# Set minimal environment for external compilation +if(NOT FOAM_FOUND) + cmake_minimum_required(VERSION 2.8) + find_package(FOAM REQUIRED) +endif() + +add_foam_executable(changeDictionary + DEPENDS finiteVolume + SOURCES ${sources} +) diff --git a/applications/utilities/preProcessing/convertPhi/CMakeLists.txt b/applications/utilities/preProcessing/convertPhi/CMakeLists.txt new file mode 100644 index 000000000..7d5c97161 --- /dev/null +++ b/applications/utilities/preProcessing/convertPhi/CMakeLists.txt @@ -0,0 +1,46 @@ +# -------------------------------------------------------------------------- +# ======== | +# \ / F ield | foam-extend: Open Source CFD +# \ / O peration | Version: 4.1 +# \ / A nd | Web: http://www.foam-extend.org +# \/ M anipulation | For copyright notice see file Copyright +# -------------------------------------------------------------------------- +# License +# This file is part of foam-extend. +# +# foam-extend 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 3 of the License, or {at your +# option} any later version. +# +# foam-extend 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 foam-extend. If not, see . +# +# Description +# CMakeLists.txt file for libraries and applications +# +# Author +# Henrik Rusche, Wikki GmbH, 2017. All rights reserved +# +# +# -------------------------------------------------------------------------- + +list(APPEND sources + convertPhi.C +) + +# Set minimal environment for external compilation +if(NOT FOAM_FOUND) + cmake_minimum_required(VERSION 2.8) + find_package(FOAM REQUIRED) +endif() + +add_foam_executable(convertPhi + DEPENDS finiteVolume + SOURCES ${sources} +) diff --git a/applications/utilities/preProcessing/dsmcInitialise/CMakeLists.txt b/applications/utilities/preProcessing/dsmcInitialise/CMakeLists.txt new file mode 100644 index 000000000..0b8e13d9e --- /dev/null +++ b/applications/utilities/preProcessing/dsmcInitialise/CMakeLists.txt @@ -0,0 +1,46 @@ +# -------------------------------------------------------------------------- +# ======== | +# \ / F ield | foam-extend: Open Source CFD +# \ / O peration | Version: 4.1 +# \ / A nd | Web: http://www.foam-extend.org +# \/ M anipulation | For copyright notice see file Copyright +# -------------------------------------------------------------------------- +# License +# This file is part of foam-extend. +# +# foam-extend 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 3 of the License, or {at your +# option} any later version. +# +# foam-extend 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 foam-extend. If not, see . +# +# Description +# CMakeLists.txt file for libraries and applications +# +# Author +# Henrik Rusche, Wikki GmbH, 2017. All rights reserved +# +# +# -------------------------------------------------------------------------- + +list(APPEND sources + dsmcInitialise.C +) + +# Set minimal environment for external compilation +if(NOT FOAM_FOUND) + cmake_minimum_required(VERSION 2.8) + find_package(FOAM REQUIRED) +endif() + +add_foam_executable(dsmcInitialise + DEPENDS dsmc + SOURCES ${sources} +) diff --git a/applications/utilities/preProcessing/engineSwirl/CMakeLists.txt b/applications/utilities/preProcessing/engineSwirl/CMakeLists.txt new file mode 100644 index 000000000..b5c4009d6 --- /dev/null +++ b/applications/utilities/preProcessing/engineSwirl/CMakeLists.txt @@ -0,0 +1,46 @@ +# -------------------------------------------------------------------------- +# ======== | +# \ / F ield | foam-extend: Open Source CFD +# \ / O peration | Version: 4.1 +# \ / A nd | Web: http://www.foam-extend.org +# \/ M anipulation | For copyright notice see file Copyright +# -------------------------------------------------------------------------- +# License +# This file is part of foam-extend. +# +# foam-extend 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 3 of the License, or {at your +# option} any later version. +# +# foam-extend 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 foam-extend. If not, see . +# +# Description +# CMakeLists.txt file for libraries and applications +# +# Author +# Henrik Rusche, Wikki GmbH, 2017. All rights reserved +# +# +# -------------------------------------------------------------------------- + +list(APPEND sources + engineSwirl.C +) + +# Set minimal environment for external compilation +if(NOT FOAM_FOUND) + cmake_minimum_required(VERSION 2.8) + find_package(FOAM REQUIRED) +endif() + +add_foam_executable(engineSwirl + DEPENDS finiteVolume + SOURCES ${sources} +) diff --git a/applications/utilities/preProcessing/fluentDataToFoam/CMakeLists.txt b/applications/utilities/preProcessing/fluentDataToFoam/CMakeLists.txt new file mode 100644 index 000000000..aa4e73e5b --- /dev/null +++ b/applications/utilities/preProcessing/fluentDataToFoam/CMakeLists.txt @@ -0,0 +1,49 @@ +# -------------------------------------------------------------------------- +# ======== | +# \ / F ield | foam-extend: Open Source CFD +# \ / O peration | Version: 4.1 +# \ / A nd | Web: http://www.foam-extend.org +# \/ M anipulation | For copyright notice see file Copyright +# -------------------------------------------------------------------------- +# License +# This file is part of foam-extend. +# +# foam-extend 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 3 of the License, or {at your +# option} any later version. +# +# foam-extend 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 foam-extend. If not, see . +# +# Description +# CMakeLists.txt file for libraries and applications +# +# Author +# Henrik Rusche, Wikki GmbH, 2017. All rights reserved +# +# +# -------------------------------------------------------------------------- + +list(APPEND sources + fluentDataConverter.C +) +FLEX_TARGET(fluentDataToFoam fluentDataToFoam.L + ${CMAKE_CURRENT_BINARY_DIR}/fluentDataToFoam.C COMPILE_FLAGS "-+") +list(APPEND sources ${FLEX_fluentDataToFoam_OUTPUTS}) + +# Set minimal environment for external compilation +if(NOT FOAM_FOUND) + cmake_minimum_required(VERSION 2.8) + find_package(FOAM REQUIRED) +endif() + +add_foam_executable(fluentDataToFoam + DEPENDS finiteVolume + SOURCES ${sources} +) diff --git a/applications/utilities/preProcessing/mapFields/CMakeLists.txt b/applications/utilities/preProcessing/mapFields/CMakeLists.txt new file mode 100644 index 000000000..7212b8bf2 --- /dev/null +++ b/applications/utilities/preProcessing/mapFields/CMakeLists.txt @@ -0,0 +1,47 @@ +# -------------------------------------------------------------------------- +# ======== | +# \ / F ield | foam-extend: Open Source CFD +# \ / O peration | Version: 4.1 +# \ / A nd | Web: http://www.foam-extend.org +# \/ M anipulation | For copyright notice see file Copyright +# -------------------------------------------------------------------------- +# License +# This file is part of foam-extend. +# +# foam-extend 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 3 of the License, or {at your +# option} any later version. +# +# foam-extend 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 foam-extend. If not, see . +# +# Description +# CMakeLists.txt file for libraries and applications +# +# Author +# Henrik Rusche, Wikki GmbH, 2017. All rights reserved +# +# +# -------------------------------------------------------------------------- + +list(APPEND sources + mapLagrangian.C + mapFields.C +) + +# Set minimal environment for external compilation +if(NOT FOAM_FOUND) + cmake_minimum_required(VERSION 2.8) + find_package(FOAM REQUIRED) +endif() + +add_foam_executable(mapFields + DEPENDS sampling + SOURCES ${sources} +) diff --git a/applications/utilities/preProcessing/mdInitialise/CMakeLists.txt b/applications/utilities/preProcessing/mdInitialise/CMakeLists.txt new file mode 100644 index 000000000..97ec255d4 --- /dev/null +++ b/applications/utilities/preProcessing/mdInitialise/CMakeLists.txt @@ -0,0 +1,46 @@ +# -------------------------------------------------------------------------- +# ======== | +# \ / F ield | foam-extend: Open Source CFD +# \ / O peration | Version: 4.1 +# \ / A nd | Web: http://www.foam-extend.org +# \/ M anipulation | For copyright notice see file Copyright +# -------------------------------------------------------------------------- +# License +# This file is part of foam-extend. +# +# foam-extend 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 3 of the License, or {at your +# option} any later version. +# +# foam-extend 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 foam-extend. If not, see . +# +# Description +# CMakeLists.txt file for libraries and applications +# +# Author +# Henrik Rusche, Wikki GmbH, 2017. All rights reserved +# +# +# -------------------------------------------------------------------------- + +list(APPEND sources + mdInitialise.C +) + +# Set minimal environment for external compilation +if(NOT FOAM_FOUND) + cmake_minimum_required(VERSION 2.8) + find_package(FOAM REQUIRED) +endif() + +add_foam_executable(mdInitialise + DEPENDS molecule molecularMeasurements + SOURCES ${sources} +) diff --git a/applications/utilities/preProcessing/setFields/CMakeLists.txt b/applications/utilities/preProcessing/setFields/CMakeLists.txt new file mode 100644 index 000000000..bd8113bce --- /dev/null +++ b/applications/utilities/preProcessing/setFields/CMakeLists.txt @@ -0,0 +1,46 @@ +# -------------------------------------------------------------------------- +# ======== | +# \ / F ield | foam-extend: Open Source CFD +# \ / O peration | Version: 4.1 +# \ / A nd | Web: http://www.foam-extend.org +# \/ M anipulation | For copyright notice see file Copyright +# -------------------------------------------------------------------------- +# License +# This file is part of foam-extend. +# +# foam-extend 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 3 of the License, or {at your +# option} any later version. +# +# foam-extend 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 foam-extend. If not, see . +# +# Description +# CMakeLists.txt file for libraries and applications +# +# Author +# Henrik Rusche, Wikki GmbH, 2017. All rights reserved +# +# +# -------------------------------------------------------------------------- + +list(APPEND sources + setFields.C +) + +# Set minimal environment for external compilation +if(NOT FOAM_FOUND) + cmake_minimum_required(VERSION 2.8) + find_package(FOAM REQUIRED) +endif() + +add_foam_executable(setFields + DEPENDS finiteVolume + SOURCES ${sources} +) diff --git a/applications/utilities/solidMechanics/CMakeLists.txt b/applications/utilities/solidMechanics/CMakeLists.txt new file mode 100644 index 000000000..b7704cd5a --- /dev/null +++ b/applications/utilities/solidMechanics/CMakeLists.txt @@ -0,0 +1,32 @@ +# --------------------------------------------------------------------------# ======== | +# \ / F ield | foam-extend: Open Source CFD +# \ / O peration | Version: 4.1 +# \ / A nd | Web: http://www.foam-extend.org +# \/ M anipulation | For copyright notice see file Copyright +# -------------------------------------------------------------------------- +# License +# This file is part of foam-extend. +# +# foam-extend 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 3 of the License, or {at your +# option} any later version. +# +# foam-extend 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 foam-extend. If not, see . +# +# Description +# CMakeLists.txt file for libraries and applications +# +# Author +# Henrik Rusche, Wikki GmbH, 2017. All rights reserved +# +# +# -------------------------------------------------------------------------- + +add_subdirectory(setMatFromCellZones) \ No newline at end of file diff --git a/applications/utilities/solidMechanics/setMatFromCellZones/CMakeLists.txt b/applications/utilities/solidMechanics/setMatFromCellZones/CMakeLists.txt new file mode 100644 index 000000000..70325a2d5 --- /dev/null +++ b/applications/utilities/solidMechanics/setMatFromCellZones/CMakeLists.txt @@ -0,0 +1,46 @@ +# -------------------------------------------------------------------------- +# ======== | +# \ / F ield | foam-extend: Open Source CFD +# \ / O peration | Version: 4.1 +# \ / A nd | Web: http://www.foam-extend.org +# \/ M anipulation | For copyright notice see file Copyright +# -------------------------------------------------------------------------- +# License +# This file is part of foam-extend. +# +# foam-extend 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 3 of the License, or {at your +# option} any later version. +# +# foam-extend 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 foam-extend. If not, see . +# +# Description +# CMakeLists.txt file for libraries and applications +# +# Author +# Henrik Rusche, Wikki GmbH, 2017. All rights reserved +# +# +# -------------------------------------------------------------------------- + +list(APPEND sources + setMatFromCellZones.C +) + +# Set minimal environment for external compilation +if(NOT FOAM_FOUND) + cmake_minimum_required(VERSION 2.8) + find_package(FOAM REQUIRED) +endif() + +add_foam_executable(setMatFromCellZones + DEPENDS finiteVolume + SOURCES ${sources} +) diff --git a/applications/utilities/surface/CMakeLists.txt b/applications/utilities/surface/CMakeLists.txt new file mode 100644 index 000000000..64bb9ae7d --- /dev/null +++ b/applications/utilities/surface/CMakeLists.txt @@ -0,0 +1,55 @@ +# --------------------------------------------------------------------------# ========= | +# \ / F ield | foam-extend: Open Source CFD +# \ / O peration | Version: 4.1 +# \ / A nd | Web: http://www.foam-extend.org +# \/ M anipulation | For copyright notice see file Copyright +# -------------------------------------------------------------------------- +# License +# This file is part of foam-extend. +# +# foam-extend 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 3 of the License, or {at your +# option} any later version. +# +# foam-extend 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 foam-extend. If not, see . +# +# Description +# CMakeLists.txt file for libraries and applications +# +# Author +# Henrik Rusche, Wikki GmbH, 2017. All rights reserved +# +# +# -------------------------------------------------------------------------- + +add_subdirectory(surfaceMeshImport) +add_subdirectory(surfaceMeshConvertTesting) +add_subdirectory(surfaceSplitNonManifolds) +add_subdirectory(surfaceSubset) +add_subdirectory(surfaceTransformPoints) +add_subdirectory(surfaceRedistributePar) +add_subdirectory(surfaceToPatch) +add_subdirectory(surfaceMeshExport) +add_subdirectory(surfaceSmooth) +add_subdirectory(surfaceFeatureExtract) +add_subdirectory(surfaceOrient) +add_subdirectory(surfaceClean) +add_subdirectory(surfaceFind) +add_subdirectory(surfacePointMerge) +add_subdirectory(surfaceAutoPatch) +add_subdirectory(surfaceAdd) +add_subdirectory(surfaceCheck) +add_subdirectory(surfaceSplitByPatch) +add_subdirectory(surfaceCoarsen) +add_subdirectory(surfaceFeatureConvert) +add_subdirectory(surfaceMeshConvert) +add_subdirectory(surfaceConvert) +add_subdirectory(surfaceRefineRedGreen) +add_subdirectory(surfaceMeshTriangulate) diff --git a/applications/utilities/surface/surfaceAdd/CMakeLists.txt b/applications/utilities/surface/surfaceAdd/CMakeLists.txt new file mode 100644 index 000000000..76e705b1b --- /dev/null +++ b/applications/utilities/surface/surfaceAdd/CMakeLists.txt @@ -0,0 +1,46 @@ +# -------------------------------------------------------------------------- +# ======== | +# \ / F ield | foam-extend: Open Source CFD +# \ / O peration | Version: 4.1 +# \ / A nd | Web: http://www.foam-extend.org +# \/ M anipulation | For copyright notice see file Copyright +# -------------------------------------------------------------------------- +# License +# This file is part of foam-extend. +# +# foam-extend 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 3 of the License, or {at your +# option} any later version. +# +# foam-extend 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 foam-extend. If not, see . +# +# Description +# CMakeLists.txt file for libraries and applications +# +# Author +# Henrik Rusche, Wikki GmbH, 2017. All rights reserved +# +# +# -------------------------------------------------------------------------- + +list(APPEND sources + surfaceAdd.C +) + +# Set minimal environment for external compilation +if(NOT FOAM_FOUND) + cmake_minimum_required(VERSION 2.8) + find_package(FOAM REQUIRED) +endif() + +add_foam_executable(surfaceAdd + DEPENDS meshTools + SOURCES ${sources} +) diff --git a/applications/utilities/surface/surfaceAutoPatch/CMakeLists.txt b/applications/utilities/surface/surfaceAutoPatch/CMakeLists.txt new file mode 100644 index 000000000..d4f377f4e --- /dev/null +++ b/applications/utilities/surface/surfaceAutoPatch/CMakeLists.txt @@ -0,0 +1,46 @@ +# -------------------------------------------------------------------------- +# ======== | +# \ / F ield | foam-extend: Open Source CFD +# \ / O peration | Version: 4.1 +# \ / A nd | Web: http://www.foam-extend.org +# \/ M anipulation | For copyright notice see file Copyright +# -------------------------------------------------------------------------- +# License +# This file is part of foam-extend. +# +# foam-extend 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 3 of the License, or {at your +# option} any later version. +# +# foam-extend 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 foam-extend. If not, see . +# +# Description +# CMakeLists.txt file for libraries and applications +# +# Author +# Henrik Rusche, Wikki GmbH, 2017. All rights reserved +# +# +# -------------------------------------------------------------------------- + +list(APPEND sources + surfaceAutoPatch.C +) + +# Set minimal environment for external compilation +if(NOT FOAM_FOUND) + cmake_minimum_required(VERSION 2.8) + find_package(FOAM REQUIRED) +endif() + +add_foam_executable(surfaceAutoPatch + DEPENDS meshTools + SOURCES ${sources} +) diff --git a/applications/utilities/surface/surfaceCheck/CMakeLists.txt b/applications/utilities/surface/surfaceCheck/CMakeLists.txt new file mode 100644 index 000000000..b2603067c --- /dev/null +++ b/applications/utilities/surface/surfaceCheck/CMakeLists.txt @@ -0,0 +1,46 @@ +# -------------------------------------------------------------------------- +# ======== | +# \ / F ield | foam-extend: Open Source CFD +# \ / O peration | Version: 4.1 +# \ / A nd | Web: http://www.foam-extend.org +# \/ M anipulation | For copyright notice see file Copyright +# -------------------------------------------------------------------------- +# License +# This file is part of foam-extend. +# +# foam-extend 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 3 of the License, or {at your +# option} any later version. +# +# foam-extend 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 foam-extend. If not, see . +# +# Description +# CMakeLists.txt file for libraries and applications +# +# Author +# Henrik Rusche, Wikki GmbH, 2017. All rights reserved +# +# +# -------------------------------------------------------------------------- + +list(APPEND sources + surfaceCheck.C +) + +# Set minimal environment for external compilation +if(NOT FOAM_FOUND) + cmake_minimum_required(VERSION 2.8) + find_package(FOAM REQUIRED) +endif() + +add_foam_executable(surfaceCheck + DEPENDS meshTools + SOURCES ${sources} +) diff --git a/applications/utilities/surface/surfaceClean/CMakeLists.txt b/applications/utilities/surface/surfaceClean/CMakeLists.txt new file mode 100644 index 000000000..a173a5686 --- /dev/null +++ b/applications/utilities/surface/surfaceClean/CMakeLists.txt @@ -0,0 +1,48 @@ +# -------------------------------------------------------------------------- +# ======== | +# \ / F ield | foam-extend: Open Source CFD +# \ / O peration | Version: 4.1 +# \ / A nd | Web: http://www.foam-extend.org +# \/ M anipulation | For copyright notice see file Copyright +# -------------------------------------------------------------------------- +# License +# This file is part of foam-extend. +# +# foam-extend 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 3 of the License, or {at your +# option} any later version. +# +# foam-extend 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 foam-extend. If not, see . +# +# Description +# CMakeLists.txt file for libraries and applications +# +# Author +# Henrik Rusche, Wikki GmbH, 2017. All rights reserved +# +# +# -------------------------------------------------------------------------- + +list(APPEND sources + collapseBase.C + collapseEdge.C + surfaceClean.C +) + +# Set minimal environment for external compilation +if(NOT FOAM_FOUND) + cmake_minimum_required(VERSION 2.8) + find_package(FOAM REQUIRED) +endif() + +add_foam_executable(surfaceClean + DEPENDS meshTools + SOURCES ${sources} +) diff --git a/applications/utilities/surface/surfaceCoarsen/CMakeLists.txt b/applications/utilities/surface/surfaceCoarsen/CMakeLists.txt new file mode 100644 index 000000000..5472722a2 --- /dev/null +++ b/applications/utilities/surface/surfaceCoarsen/CMakeLists.txt @@ -0,0 +1,54 @@ +# -------------------------------------------------------------------------- +# ======== | +# \ / F ield | foam-extend: Open Source CFD +# \ / O peration | Version: 4.1 +# \ / A nd | Web: http://www.foam-extend.org +# \/ M anipulation | For copyright notice see file Copyright +# -------------------------------------------------------------------------- +# License +# This file is part of foam-extend. +# +# foam-extend 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 3 of the License, or {at your +# option} any later version. +# +# foam-extend 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 foam-extend. If not, see . +# +# Description +# CMakeLists.txt file for libraries and applications +# +# Author +# Henrik Rusche, Wikki GmbH, 2017. All rights reserved +# +# +# -------------------------------------------------------------------------- + +list(APPEND sources + bunnylod/progmesh.C + bunnylod/vector.C + surfaceCoarsen.C +) + +# Set minimal environment for external compilation +if(NOT FOAM_FOUND) + cmake_minimum_required(VERSION 2.8) + find_package(FOAM REQUIRED) +endif() + +add_foam_executable(surfaceCoarsen + DEPENDS meshTools + SOURCES ${sources} +) + +target_include_directories(surfaceCoarsen PUBLIC + $ + $ +) + diff --git a/applications/utilities/surface/surfaceConvert/CMakeLists.txt b/applications/utilities/surface/surfaceConvert/CMakeLists.txt new file mode 100644 index 000000000..ecc42e28c --- /dev/null +++ b/applications/utilities/surface/surfaceConvert/CMakeLists.txt @@ -0,0 +1,46 @@ +# -------------------------------------------------------------------------- +# ======== | +# \ / F ield | foam-extend: Open Source CFD +# \ / O peration | Version: 4.1 +# \ / A nd | Web: http://www.foam-extend.org +# \/ M anipulation | For copyright notice see file Copyright +# -------------------------------------------------------------------------- +# License +# This file is part of foam-extend. +# +# foam-extend 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 3 of the License, or {at your +# option} any later version. +# +# foam-extend 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 foam-extend. If not, see . +# +# Description +# CMakeLists.txt file for libraries and applications +# +# Author +# Henrik Rusche, Wikki GmbH, 2017. All rights reserved +# +# +# -------------------------------------------------------------------------- + +list(APPEND sources + surfaceConvert.C +) + +# Set minimal environment for external compilation +if(NOT FOAM_FOUND) + cmake_minimum_required(VERSION 2.8) + find_package(FOAM REQUIRED) +endif() + +add_foam_executable(surfaceConvert + DEPENDS meshTools + SOURCES ${sources} +) diff --git a/applications/utilities/surface/surfaceFeatureConvert/CMakeLists.txt b/applications/utilities/surface/surfaceFeatureConvert/CMakeLists.txt new file mode 100644 index 000000000..3e73db52e --- /dev/null +++ b/applications/utilities/surface/surfaceFeatureConvert/CMakeLists.txt @@ -0,0 +1,46 @@ +# -------------------------------------------------------------------------- +# ======== | +# \ / F ield | foam-extend: Open Source CFD +# \ / O peration | Version: 4.1 +# \ / A nd | Web: http://www.foam-extend.org +# \/ M anipulation | For copyright notice see file Copyright +# -------------------------------------------------------------------------- +# License +# This file is part of foam-extend. +# +# foam-extend 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 3 of the License, or {at your +# option} any later version. +# +# foam-extend 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 foam-extend. If not, see . +# +# Description +# CMakeLists.txt file for libraries and applications +# +# Author +# Henrik Rusche, Wikki GmbH, 2017. All rights reserved +# +# +# -------------------------------------------------------------------------- + +list(APPEND sources + surfaceFeatureConvert.C +) + +# Set minimal environment for external compilation +if(NOT FOAM_FOUND) + cmake_minimum_required(VERSION 2.8) + find_package(FOAM REQUIRED) +endif() + +add_foam_executable(surfaceFeatureConvert + DEPENDS meshTools edgeMesh + SOURCES ${sources} +) diff --git a/applications/utilities/surface/surfaceFeatureExtract/CMakeLists.txt b/applications/utilities/surface/surfaceFeatureExtract/CMakeLists.txt new file mode 100644 index 000000000..07fef5522 --- /dev/null +++ b/applications/utilities/surface/surfaceFeatureExtract/CMakeLists.txt @@ -0,0 +1,46 @@ +# -------------------------------------------------------------------------- +# ======== | +# \ / F ield | foam-extend: Open Source CFD +# \ / O peration | Version: 4.1 +# \ / A nd | Web: http://www.foam-extend.org +# \/ M anipulation | For copyright notice see file Copyright +# -------------------------------------------------------------------------- +# License +# This file is part of foam-extend. +# +# foam-extend 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 3 of the License, or {at your +# option} any later version. +# +# foam-extend 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 foam-extend. If not, see . +# +# Description +# CMakeLists.txt file for libraries and applications +# +# Author +# Henrik Rusche, Wikki GmbH, 2017. All rights reserved +# +# +# -------------------------------------------------------------------------- + +list(APPEND sources + surfaceFeatureExtract.C +) + +# Set minimal environment for external compilation +if(NOT FOAM_FOUND) + cmake_minimum_required(VERSION 2.8) + find_package(FOAM REQUIRED) +endif() + +add_foam_executable(surfaceFeatureExtract + DEPENDS meshTools + SOURCES ${sources} +) diff --git a/applications/utilities/surface/surfaceFind/CMakeLists.txt b/applications/utilities/surface/surfaceFind/CMakeLists.txt new file mode 100644 index 000000000..f081891eb --- /dev/null +++ b/applications/utilities/surface/surfaceFind/CMakeLists.txt @@ -0,0 +1,46 @@ +# -------------------------------------------------------------------------- +# ======== | +# \ / F ield | foam-extend: Open Source CFD +# \ / O peration | Version: 4.1 +# \ / A nd | Web: http://www.foam-extend.org +# \/ M anipulation | For copyright notice see file Copyright +# -------------------------------------------------------------------------- +# License +# This file is part of foam-extend. +# +# foam-extend 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 3 of the License, or {at your +# option} any later version. +# +# foam-extend 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 foam-extend. If not, see . +# +# Description +# CMakeLists.txt file for libraries and applications +# +# Author +# Henrik Rusche, Wikki GmbH, 2017. All rights reserved +# +# +# -------------------------------------------------------------------------- + +list(APPEND sources + surfaceFind.C +) + +# Set minimal environment for external compilation +if(NOT FOAM_FOUND) + cmake_minimum_required(VERSION 2.8) + find_package(FOAM REQUIRED) +endif() + +add_foam_executable(surfaceFind + DEPENDS meshTools + SOURCES ${sources} +) diff --git a/applications/utilities/surface/surfaceMeshConvert/CMakeLists.txt b/applications/utilities/surface/surfaceMeshConvert/CMakeLists.txt new file mode 100644 index 000000000..6e6084fa7 --- /dev/null +++ b/applications/utilities/surface/surfaceMeshConvert/CMakeLists.txt @@ -0,0 +1,46 @@ +# -------------------------------------------------------------------------- +# ======== | +# \ / F ield | foam-extend: Open Source CFD +# \ / O peration | Version: 4.1 +# \ / A nd | Web: http://www.foam-extend.org +# \/ M anipulation | For copyright notice see file Copyright +# -------------------------------------------------------------------------- +# License +# This file is part of foam-extend. +# +# foam-extend 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 3 of the License, or {at your +# option} any later version. +# +# foam-extend 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 foam-extend. If not, see . +# +# Description +# CMakeLists.txt file for libraries and applications +# +# Author +# Henrik Rusche, Wikki GmbH, 2017. All rights reserved +# +# +# -------------------------------------------------------------------------- + +list(APPEND sources + surfaceMeshConvert.C +) + +# Set minimal environment for external compilation +if(NOT FOAM_FOUND) + cmake_minimum_required(VERSION 2.8) + find_package(FOAM REQUIRED) +endif() + +add_foam_executable(surfaceMeshConvert + DEPENDS meshTools surfMesh + SOURCES ${sources} +) diff --git a/applications/utilities/surface/surfaceMeshConvertTesting/CMakeLists.txt b/applications/utilities/surface/surfaceMeshConvertTesting/CMakeLists.txt new file mode 100644 index 000000000..c115030b3 --- /dev/null +++ b/applications/utilities/surface/surfaceMeshConvertTesting/CMakeLists.txt @@ -0,0 +1,46 @@ +# -------------------------------------------------------------------------- +# ======== | +# \ / F ield | foam-extend: Open Source CFD +# \ / O peration | Version: 4.1 +# \ / A nd | Web: http://www.foam-extend.org +# \/ M anipulation | For copyright notice see file Copyright +# -------------------------------------------------------------------------- +# License +# This file is part of foam-extend. +# +# foam-extend 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 3 of the License, or {at your +# option} any later version. +# +# foam-extend 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 foam-extend. If not, see . +# +# Description +# CMakeLists.txt file for libraries and applications +# +# Author +# Henrik Rusche, Wikki GmbH, 2017. All rights reserved +# +# +# -------------------------------------------------------------------------- + +list(APPEND sources + surfaceMeshConvertTesting.C +) + +# Set minimal environment for external compilation +if(NOT FOAM_FOUND) + cmake_minimum_required(VERSION 2.8) + find_package(FOAM REQUIRED) +endif() + +add_foam_executable(surfaceMeshConvertTesting + DEPENDS surfMesh meshTools + SOURCES ${sources} +) diff --git a/applications/utilities/surface/surfaceMeshExport/CMakeLists.txt b/applications/utilities/surface/surfaceMeshExport/CMakeLists.txt new file mode 100644 index 000000000..ee893b140 --- /dev/null +++ b/applications/utilities/surface/surfaceMeshExport/CMakeLists.txt @@ -0,0 +1,46 @@ +# -------------------------------------------------------------------------- +# ======== | +# \ / F ield | foam-extend: Open Source CFD +# \ / O peration | Version: 4.1 +# \ / A nd | Web: http://www.foam-extend.org +# \/ M anipulation | For copyright notice see file Copyright +# -------------------------------------------------------------------------- +# License +# This file is part of foam-extend. +# +# foam-extend 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 3 of the License, or {at your +# option} any later version. +# +# foam-extend 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 foam-extend. If not, see . +# +# Description +# CMakeLists.txt file for libraries and applications +# +# Author +# Henrik Rusche, Wikki GmbH, 2017. All rights reserved +# +# +# -------------------------------------------------------------------------- + +list(APPEND sources + surfaceMeshExport.C +) + +# Set minimal environment for external compilation +if(NOT FOAM_FOUND) + cmake_minimum_required(VERSION 2.8) + find_package(FOAM REQUIRED) +endif() + +add_foam_executable(surfaceMeshExport + DEPENDS surfMesh meshTools + SOURCES ${sources} +) diff --git a/applications/utilities/surface/surfaceMeshImport/CMakeLists.txt b/applications/utilities/surface/surfaceMeshImport/CMakeLists.txt new file mode 100644 index 000000000..8d82cd6e0 --- /dev/null +++ b/applications/utilities/surface/surfaceMeshImport/CMakeLists.txt @@ -0,0 +1,46 @@ +# -------------------------------------------------------------------------- +# ======== | +# \ / F ield | foam-extend: Open Source CFD +# \ / O peration | Version: 4.1 +# \ / A nd | Web: http://www.foam-extend.org +# \/ M anipulation | For copyright notice see file Copyright +# -------------------------------------------------------------------------- +# License +# This file is part of foam-extend. +# +# foam-extend 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 3 of the License, or {at your +# option} any later version. +# +# foam-extend 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 foam-extend. If not, see . +# +# Description +# CMakeLists.txt file for libraries and applications +# +# Author +# Henrik Rusche, Wikki GmbH, 2017. All rights reserved +# +# +# -------------------------------------------------------------------------- + +list(APPEND sources + surfaceMeshImport.C +) + +# Set minimal environment for external compilation +if(NOT FOAM_FOUND) + cmake_minimum_required(VERSION 2.8) + find_package(FOAM REQUIRED) +endif() + +add_foam_executable(surfaceMeshImport + DEPENDS surfMesh meshTools + SOURCES ${sources} +) diff --git a/applications/utilities/surface/surfaceMeshTriangulate/CMakeLists.txt b/applications/utilities/surface/surfaceMeshTriangulate/CMakeLists.txt new file mode 100644 index 000000000..0aa938ead --- /dev/null +++ b/applications/utilities/surface/surfaceMeshTriangulate/CMakeLists.txt @@ -0,0 +1,46 @@ +# -------------------------------------------------------------------------- +# ======== | +# \ / F ield | foam-extend: Open Source CFD +# \ / O peration | Version: 4.1 +# \ / A nd | Web: http://www.foam-extend.org +# \/ M anipulation | For copyright notice see file Copyright +# -------------------------------------------------------------------------- +# License +# This file is part of foam-extend. +# +# foam-extend 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 3 of the License, or {at your +# option} any later version. +# +# foam-extend 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 foam-extend. If not, see . +# +# Description +# CMakeLists.txt file for libraries and applications +# +# Author +# Henrik Rusche, Wikki GmbH, 2017. All rights reserved +# +# +# -------------------------------------------------------------------------- + +list(APPEND sources + surfaceMeshTriangulate.C +) + +# Set minimal environment for external compilation +if(NOT FOAM_FOUND) + cmake_minimum_required(VERSION 2.8) + find_package(FOAM REQUIRED) +endif() + +add_foam_executable(surfaceMeshTriangulate + DEPENDS meshTools + SOURCES ${sources} +) diff --git a/applications/utilities/surface/surfaceOrient/CMakeLists.txt b/applications/utilities/surface/surfaceOrient/CMakeLists.txt new file mode 100644 index 000000000..c52b48857 --- /dev/null +++ b/applications/utilities/surface/surfaceOrient/CMakeLists.txt @@ -0,0 +1,46 @@ +# -------------------------------------------------------------------------- +# ======== | +# \ / F ield | foam-extend: Open Source CFD +# \ / O peration | Version: 4.1 +# \ / A nd | Web: http://www.foam-extend.org +# \/ M anipulation | For copyright notice see file Copyright +# -------------------------------------------------------------------------- +# License +# This file is part of foam-extend. +# +# foam-extend 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 3 of the License, or {at your +# option} any later version. +# +# foam-extend 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 foam-extend. If not, see . +# +# Description +# CMakeLists.txt file for libraries and applications +# +# Author +# Henrik Rusche, Wikki GmbH, 2017. All rights reserved +# +# +# -------------------------------------------------------------------------- + +list(APPEND sources + surfaceOrient.C +) + +# Set minimal environment for external compilation +if(NOT FOAM_FOUND) + cmake_minimum_required(VERSION 2.8) + find_package(FOAM REQUIRED) +endif() + +add_foam_executable(surfaceOrient + DEPENDS finiteVolume meshTools + SOURCES ${sources} +) diff --git a/applications/utilities/surface/surfacePointMerge/CMakeLists.txt b/applications/utilities/surface/surfacePointMerge/CMakeLists.txt new file mode 100644 index 000000000..72252a817 --- /dev/null +++ b/applications/utilities/surface/surfacePointMerge/CMakeLists.txt @@ -0,0 +1,46 @@ +# -------------------------------------------------------------------------- +# ======== | +# \ / F ield | foam-extend: Open Source CFD +# \ / O peration | Version: 4.1 +# \ / A nd | Web: http://www.foam-extend.org +# \/ M anipulation | For copyright notice see file Copyright +# -------------------------------------------------------------------------- +# License +# This file is part of foam-extend. +# +# foam-extend 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 3 of the License, or {at your +# option} any later version. +# +# foam-extend 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 foam-extend. If not, see . +# +# Description +# CMakeLists.txt file for libraries and applications +# +# Author +# Henrik Rusche, Wikki GmbH, 2017. All rights reserved +# +# +# -------------------------------------------------------------------------- + +list(APPEND sources + surfacePointMerge.C +) + +# Set minimal environment for external compilation +if(NOT FOAM_FOUND) + cmake_minimum_required(VERSION 2.8) + find_package(FOAM REQUIRED) +endif() + +add_foam_executable(surfacePointMerge + DEPENDS meshTools + SOURCES ${sources} +) diff --git a/applications/utilities/surface/surfaceRedistributePar/CMakeLists.txt b/applications/utilities/surface/surfaceRedistributePar/CMakeLists.txt new file mode 100644 index 000000000..cb77a81b5 --- /dev/null +++ b/applications/utilities/surface/surfaceRedistributePar/CMakeLists.txt @@ -0,0 +1,46 @@ +# -------------------------------------------------------------------------- +# ======== | +# \ / F ield | foam-extend: Open Source CFD +# \ / O peration | Version: 4.1 +# \ / A nd | Web: http://www.foam-extend.org +# \/ M anipulation | For copyright notice see file Copyright +# -------------------------------------------------------------------------- +# License +# This file is part of foam-extend. +# +# foam-extend 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 3 of the License, or {at your +# option} any later version. +# +# foam-extend 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 foam-extend. If not, see . +# +# Description +# CMakeLists.txt file for libraries and applications +# +# Author +# Henrik Rusche, Wikki GmbH, 2017. All rights reserved +# +# +# -------------------------------------------------------------------------- + +list(APPEND sources + surfaceRedistributePar.C +) + +# Set minimal environment for external compilation +if(NOT FOAM_FOUND) + cmake_minimum_required(VERSION 2.8) + find_package(FOAM REQUIRED) +endif() + +add_foam_executable(surfaceRedistributePar + DEPENDS meshTools + SOURCES ${sources} +) diff --git a/applications/utilities/surface/surfaceRefineRedGreen/CMakeLists.txt b/applications/utilities/surface/surfaceRefineRedGreen/CMakeLists.txt new file mode 100644 index 000000000..6173262c6 --- /dev/null +++ b/applications/utilities/surface/surfaceRefineRedGreen/CMakeLists.txt @@ -0,0 +1,46 @@ +# -------------------------------------------------------------------------- +# ======== | +# \ / F ield | foam-extend: Open Source CFD +# \ / O peration | Version: 4.1 +# \ / A nd | Web: http://www.foam-extend.org +# \/ M anipulation | For copyright notice see file Copyright +# -------------------------------------------------------------------------- +# License +# This file is part of foam-extend. +# +# foam-extend 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 3 of the License, or {at your +# option} any later version. +# +# foam-extend 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 foam-extend. If not, see . +# +# Description +# CMakeLists.txt file for libraries and applications +# +# Author +# Henrik Rusche, Wikki GmbH, 2017. All rights reserved +# +# +# -------------------------------------------------------------------------- + +list(APPEND sources + surfaceRefineRedGreen.C +) + +# Set minimal environment for external compilation +if(NOT FOAM_FOUND) + cmake_minimum_required(VERSION 2.8) + find_package(FOAM REQUIRED) +endif() + +add_foam_executable(surfaceRefineRedGreen + DEPENDS meshTools + SOURCES ${sources} +) diff --git a/applications/utilities/surface/surfaceSmooth/CMakeLists.txt b/applications/utilities/surface/surfaceSmooth/CMakeLists.txt new file mode 100644 index 000000000..997c13483 --- /dev/null +++ b/applications/utilities/surface/surfaceSmooth/CMakeLists.txt @@ -0,0 +1,46 @@ +# -------------------------------------------------------------------------- +# ======== | +# \ / F ield | foam-extend: Open Source CFD +# \ / O peration | Version: 4.1 +# \ / A nd | Web: http://www.foam-extend.org +# \/ M anipulation | For copyright notice see file Copyright +# -------------------------------------------------------------------------- +# License +# This file is part of foam-extend. +# +# foam-extend 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 3 of the License, or {at your +# option} any later version. +# +# foam-extend 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 foam-extend. If not, see . +# +# Description +# CMakeLists.txt file for libraries and applications +# +# Author +# Henrik Rusche, Wikki GmbH, 2017. All rights reserved +# +# +# -------------------------------------------------------------------------- + +list(APPEND sources + surfaceSmooth.C +) + +# Set minimal environment for external compilation +if(NOT FOAM_FOUND) + cmake_minimum_required(VERSION 2.8) + find_package(FOAM REQUIRED) +endif() + +add_foam_executable(surfaceSmooth + DEPENDS meshTools + SOURCES ${sources} +) diff --git a/applications/utilities/surface/surfaceSplitByPatch/CMakeLists.txt b/applications/utilities/surface/surfaceSplitByPatch/CMakeLists.txt new file mode 100644 index 000000000..bbac1928c --- /dev/null +++ b/applications/utilities/surface/surfaceSplitByPatch/CMakeLists.txt @@ -0,0 +1,46 @@ +# -------------------------------------------------------------------------- +# ======== | +# \ / F ield | foam-extend: Open Source CFD +# \ / O peration | Version: 4.1 +# \ / A nd | Web: http://www.foam-extend.org +# \/ M anipulation | For copyright notice see file Copyright +# -------------------------------------------------------------------------- +# License +# This file is part of foam-extend. +# +# foam-extend 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 3 of the License, or {at your +# option} any later version. +# +# foam-extend 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 foam-extend. If not, see . +# +# Description +# CMakeLists.txt file for libraries and applications +# +# Author +# Henrik Rusche, Wikki GmbH, 2017. All rights reserved +# +# +# -------------------------------------------------------------------------- + +list(APPEND sources + surfaceSplitByPatch.C +) + +# Set minimal environment for external compilation +if(NOT FOAM_FOUND) + cmake_minimum_required(VERSION 2.8) + find_package(FOAM REQUIRED) +endif() + +add_foam_executable(surfaceSplitByPatch + DEPENDS meshTools + SOURCES ${sources} +) diff --git a/applications/utilities/surface/surfaceSplitNonManifolds/CMakeLists.txt b/applications/utilities/surface/surfaceSplitNonManifolds/CMakeLists.txt new file mode 100644 index 000000000..77bda5b79 --- /dev/null +++ b/applications/utilities/surface/surfaceSplitNonManifolds/CMakeLists.txt @@ -0,0 +1,46 @@ +# -------------------------------------------------------------------------- +# ======== | +# \ / F ield | foam-extend: Open Source CFD +# \ / O peration | Version: 4.1 +# \ / A nd | Web: http://www.foam-extend.org +# \/ M anipulation | For copyright notice see file Copyright +# -------------------------------------------------------------------------- +# License +# This file is part of foam-extend. +# +# foam-extend 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 3 of the License, or {at your +# option} any later version. +# +# foam-extend 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 foam-extend. If not, see . +# +# Description +# CMakeLists.txt file for libraries and applications +# +# Author +# Henrik Rusche, Wikki GmbH, 2017. All rights reserved +# +# +# -------------------------------------------------------------------------- + +list(APPEND sources + surfaceSplitNonManifolds.C +) + +# Set minimal environment for external compilation +if(NOT FOAM_FOUND) + cmake_minimum_required(VERSION 2.8) + find_package(FOAM REQUIRED) +endif() + +add_foam_executable(surfaceSplitNonManifolds + DEPENDS meshTools + SOURCES ${sources} +) diff --git a/applications/utilities/surface/surfaceSubset/CMakeLists.txt b/applications/utilities/surface/surfaceSubset/CMakeLists.txt new file mode 100644 index 000000000..5e3cbc942 --- /dev/null +++ b/applications/utilities/surface/surfaceSubset/CMakeLists.txt @@ -0,0 +1,46 @@ +# -------------------------------------------------------------------------- +# ========= | +# \ / F ield | foam-extend: Open Source CFD +# \ / O peration | Version: 4.1 +# \ / A nd | Web: http://www.foam-extend.org +# \/ M anipulation | For copyright notice see file Copyright +# -------------------------------------------------------------------------- +# License +# This file is part of foam-extend. +# +# foam-extend 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 3 of the License, or {at your +# option} any later version. +# +# foam-extend 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 foam-extend. If not, see . +# +# Description +# CMakeLists.txt file for libraries and applications +# +# Author +# Henrik Rusche, Wikki GmbH, 2017. All rights reserved +# +# +# -------------------------------------------------------------------------- + +list(APPEND sources + surfaceSubset.C +) + +# Set minimal environment for external compilation +if(NOT FOAM_FOUND) + cmake_minimum_required(VERSION 2.8) + find_package(FOAM REQUIRED) +endif() + +add_foam_executable(surfaceSubset + DEPENDS meshTools + SOURCES ${sources} +) diff --git a/applications/utilities/surface/surfaceToPatch/CMakeLists.txt b/applications/utilities/surface/surfaceToPatch/CMakeLists.txt new file mode 100644 index 000000000..ade30c434 --- /dev/null +++ b/applications/utilities/surface/surfaceToPatch/CMakeLists.txt @@ -0,0 +1,48 @@ +# -------------------------------------------------------------------------- +# ======== | +# \ / F ield | foam-extend: Open Source CFD +# \ / O peration | Version: 4.1 +# \ / A nd | Web: http://www.foam-extend.org +# \/ M anipulation | For copyright notice see file Copyright +# -------------------------------------------------------------------------- +# License +# This file is part of foam-extend. +# +# foam-extend 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 3 of the License, or {at your +# option} any later version. +# +# foam-extend 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 foam-extend. If not, see . +# +# Description +# CMakeLists.txt file for libraries and applications +# +# Author +# Henrik Rusche, Wikki GmbH, 2017. All rights reserved +# +# +# -------------------------------------------------------------------------- + +list(APPEND sources + boundaryMesh.C + surfaceToPatch.C + treeDataPrimitivePatchName.C +) + +# Set minimal environment for external compilation +if(NOT FOAM_FOUND) + cmake_minimum_required(VERSION 2.8) + find_package(FOAM REQUIRED) +endif() + +add_foam_executable(surfaceToPatch + DEPENDS meshTools dynamicMesh + SOURCES ${sources} +) diff --git a/applications/utilities/surface/surfaceTransformPoints/CMakeLists.txt b/applications/utilities/surface/surfaceTransformPoints/CMakeLists.txt new file mode 100644 index 000000000..2fea45374 --- /dev/null +++ b/applications/utilities/surface/surfaceTransformPoints/CMakeLists.txt @@ -0,0 +1,46 @@ +# -------------------------------------------------------------------------- +# ======== | +# \ / F ield | foam-extend: Open Source CFD +# \ / O peration | Version: 4.1 +# \ / A nd | Web: http://www.foam-extend.org +# \/ M anipulation | For copyright notice see file Copyright +# -------------------------------------------------------------------------- +# License +# This file is part of foam-extend. +# +# foam-extend 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 3 of the License, or {at your +# option} any later version. +# +# foam-extend 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 foam-extend. If not, see . +# +# Description +# CMakeLists.txt file for libraries and applications +# +# Author +# Henrik Rusche, Wikki GmbH, 2017. All rights reserved +# +# +# -------------------------------------------------------------------------- + +list(APPEND sources + surfaceTransformPoints.C +) + +# Set minimal environment for external compilation +if(NOT FOAM_FOUND) + cmake_minimum_required(VERSION 2.8) + find_package(FOAM REQUIRED) +endif() + +add_foam_executable(surfaceTransformPoints + DEPENDS meshTools + SOURCES ${sources} +) diff --git a/applications/utilities/thermophysical/CMakeLists.txt b/applications/utilities/thermophysical/CMakeLists.txt new file mode 100644 index 000000000..ff80c7554 --- /dev/null +++ b/applications/utilities/thermophysical/CMakeLists.txt @@ -0,0 +1,37 @@ +# --------------------------------------------------------------------------# ======== | +# \ / F ield | foam-extend: Open Source CFD +# \ / O peration | Version: 4.1 +# \ / A nd | Web: http://www.foam-extend.org +# \/ M anipulation | For copyright notice see file Copyright +# -------------------------------------------------------------------------- +# License +# This file is part of foam-extend. +# +# foam-extend 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 3 of the License, or {at your +# option} any later version. +# +# foam-extend 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 foam-extend. If not, see . +# +# Description +# CMakeLists.txt file for libraries and applications +# +# Author +# Henrik Rusche, Wikki GmbH, 2017. All rights reserved +# +# +# -------------------------------------------------------------------------- + +add_subdirectory(equilibriumFlameT) +add_subdirectory(IFCLookUpTableGen) +add_subdirectory(adiabaticFlameT) +add_subdirectory(chemkinToFoam) +add_subdirectory(mixtureAdiabaticFlameT) +add_subdirectory(equilibriumCO) \ No newline at end of file diff --git a/applications/utilities/thermophysical/IFCLookUpTableGen/CMakeLists.txt b/applications/utilities/thermophysical/IFCLookUpTableGen/CMakeLists.txt new file mode 100644 index 000000000..56238b4f9 --- /dev/null +++ b/applications/utilities/thermophysical/IFCLookUpTableGen/CMakeLists.txt @@ -0,0 +1,46 @@ +# -------------------------------------------------------------------------- +# ======== | +# \ / F ield | foam-extend: Open Source CFD +# \ / O peration | Version: 4.1 +# \ / A nd | Web: http://www.foam-extend.org +# \/ M anipulation | For copyright notice see file Copyright +# -------------------------------------------------------------------------- +# License +# This file is part of foam-extend. +# +# foam-extend 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 3 of the License, or {at your +# option} any later version. +# +# foam-extend 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 foam-extend. If not, see . +# +# Description +# CMakeLists.txt file for libraries and applications +# +# Author +# Henrik Rusche, Wikki GmbH, 2017. All rights reserved +# +# +# -------------------------------------------------------------------------- + +list(APPEND sources + IFCLookUpTableGen.C +) + +# Set minimal environment for external compilation +if(NOT FOAM_FOUND) + cmake_minimum_required(VERSION 2.8) + find_package(FOAM REQUIRED) +endif() + +add_foam_executable(IFCLookUpTableGen + DEPENDS specie radiation + SOURCES ${sources} +) diff --git a/applications/utilities/thermophysical/adiabaticFlameT/CMakeLists.txt b/applications/utilities/thermophysical/adiabaticFlameT/CMakeLists.txt new file mode 100644 index 000000000..2af0e4a8c --- /dev/null +++ b/applications/utilities/thermophysical/adiabaticFlameT/CMakeLists.txt @@ -0,0 +1,46 @@ +# -------------------------------------------------------------------------- +# ======== | +# \ / F ield | foam-extend: Open Source CFD +# \ / O peration | Version: 4.1 +# \ / A nd | Web: http://www.foam-extend.org +# \/ M anipulation | For copyright notice see file Copyright +# -------------------------------------------------------------------------- +# License +# This file is part of foam-extend. +# +# foam-extend 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 3 of the License, or {at your +# option} any later version. +# +# foam-extend 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 foam-extend. If not, see . +# +# Description +# CMakeLists.txt file for libraries and applications +# +# Author +# Henrik Rusche, Wikki GmbH, 2017. All rights reserved +# +# +# -------------------------------------------------------------------------- + +list(APPEND sources + adiabaticFlameT.C +) + +# Set minimal environment for external compilation +if(NOT FOAM_FOUND) + cmake_minimum_required(VERSION 2.8) + find_package(FOAM REQUIRED) +endif() + +add_foam_executable(adiabaticFlameT + DEPENDS specie + SOURCES ${sources} +) diff --git a/applications/utilities/thermophysical/chemkinToFoam/CMakeLists.txt b/applications/utilities/thermophysical/chemkinToFoam/CMakeLists.txt new file mode 100644 index 000000000..1ebaaa13b --- /dev/null +++ b/applications/utilities/thermophysical/chemkinToFoam/CMakeLists.txt @@ -0,0 +1,46 @@ +# -------------------------------------------------------------------------- +# ======== | +# \ / F ield | foam-extend: Open Source CFD +# \ / O peration | Version: 4.1 +# \ / A nd | Web: http://www.foam-extend.org +# \/ M anipulation | For copyright notice see file Copyright +# -------------------------------------------------------------------------- +# License +# This file is part of foam-extend. +# +# foam-extend 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 3 of the License, or {at your +# option} any later version. +# +# foam-extend 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 foam-extend. If not, see . +# +# Description +# CMakeLists.txt file for libraries and applications +# +# Author +# Henrik Rusche, Wikki GmbH, 2017. All rights reserved +# +# +# -------------------------------------------------------------------------- + +list(APPEND sources + chemkinToFoam.C +) + +# Set minimal environment for external compilation +if(NOT FOAM_FOUND) + cmake_minimum_required(VERSION 2.8) + find_package(FOAM REQUIRED) +endif() + +add_foam_executable(chemkinToFoam + DEPENDS reactionThermophysicalModels + SOURCES ${sources} +) diff --git a/applications/utilities/thermophysical/equilibriumCO/CMakeLists.txt b/applications/utilities/thermophysical/equilibriumCO/CMakeLists.txt new file mode 100644 index 000000000..07e28259a --- /dev/null +++ b/applications/utilities/thermophysical/equilibriumCO/CMakeLists.txt @@ -0,0 +1,46 @@ +# -------------------------------------------------------------------------- +# ======== | +# \ / F ield | foam-extend: Open Source CFD +# \ / O peration | Version: 4.1 +# \ / A nd | Web: http://www.foam-extend.org +# \/ M anipulation | For copyright notice see file Copyright +# -------------------------------------------------------------------------- +# License +# This file is part of foam-extend. +# +# foam-extend 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 3 of the License, or {at your +# option} any later version. +# +# foam-extend 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 foam-extend. If not, see . +# +# Description +# CMakeLists.txt file for libraries and applications +# +# Author +# Henrik Rusche, Wikki GmbH, 2017. All rights reserved +# +# +# -------------------------------------------------------------------------- + +list(APPEND sources + equilibriumCO.C +) + +# Set minimal environment for external compilation +if(NOT FOAM_FOUND) + cmake_minimum_required(VERSION 2.8) + find_package(FOAM REQUIRED) +endif() + +add_foam_executable(equiriumCO + DEPENDS specie + SOURCES ${sources} +) diff --git a/applications/utilities/thermophysical/equilibriumFlameT/CMakeLists.txt b/applications/utilities/thermophysical/equilibriumFlameT/CMakeLists.txt new file mode 100644 index 000000000..972b4ef58 --- /dev/null +++ b/applications/utilities/thermophysical/equilibriumFlameT/CMakeLists.txt @@ -0,0 +1,46 @@ +# -------------------------------------------------------------------------- +# ======== | +# \ / F ield | foam-extend: Open Source CFD +# \ / O peration | Version: 4.1 +# \ / A nd | Web: http://www.foam-extend.org +# \/ M anipulation | For copyright notice see file Copyright +# -------------------------------------------------------------------------- +# License +# This file is part of foam-extend. +# +# foam-extend 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 3 of the License, or {at your +# option} any later version. +# +# foam-extend 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 foam-extend. If not, see . +# +# Description +# CMakeLists.txt file for libraries and applications +# +# Author +# Henrik Rusche, Wikki GmbH, 2017. All rights reserved +# +# +# -------------------------------------------------------------------------- + +list(APPEND sources + equilibriumFlameT.C +) + +# Set minimal environment for external compilation +if(NOT FOAM_FOUND) + cmake_minimum_required(VERSION 2.8) + find_package(FOAM REQUIRED) +endif() + +add_foam_executable(equiriumFlameT + DEPENDS specie + SOURCES ${sources} +) diff --git a/applications/utilities/thermophysical/mixtureAdiabaticFlameT/CMakeLists.txt b/applications/utilities/thermophysical/mixtureAdiabaticFlameT/CMakeLists.txt new file mode 100644 index 000000000..77e2f720c --- /dev/null +++ b/applications/utilities/thermophysical/mixtureAdiabaticFlameT/CMakeLists.txt @@ -0,0 +1,46 @@ +# -------------------------------------------------------------------------- +# ======== | +# \ / F ield | foam-extend: Open Source CFD +# \ / O peration | Version: 4.1 +# \ / A nd | Web: http://www.foam-extend.org +# \/ M anipulation | For copyright notice see file Copyright +# -------------------------------------------------------------------------- +# License +# This file is part of foam-extend. +# +# foam-extend 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 3 of the License, or {at your +# option} any later version. +# +# foam-extend 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 foam-extend. If not, see . +# +# Description +# CMakeLists.txt file for libraries and applications +# +# Author +# Henrik Rusche, Wikki GmbH, 2017. All rights reserved +# +# +# -------------------------------------------------------------------------- + +list(APPEND sources + mixtureAdiabaticFlameT.C +) + +# Set minimal environment for external compilation +if(NOT FOAM_FOUND) + cmake_minimum_required(VERSION 2.8) + find_package(FOAM REQUIRED) +endif() + +add_foam_executable(mixtureAdiabaticFlameT + DEPENDS specie + SOURCES ${sources} +) diff --git a/cmake/FOAMConfig.cmake b/cmake/FOAMConfig.cmake new file mode 100644 index 000000000..9e30e731e --- /dev/null +++ b/cmake/FOAMConfig.cmake @@ -0,0 +1,56 @@ + +####### Expanded from @PACKAGE_INIT@ by configure_package_config_file() ####### +####### Any changes to this file will be overwritten by the next CMake run #### +####### The input file was FOAMConfig.cmake.in ######## + +get_filename_component(PACKAGE_PREFIX_DIR "${CMAKE_CURRENT_LIST_DIR}/../../../" ABSOLUTE) + +macro(set_and_check _var _file) + set(${_var} "${_file}") + if(NOT EXISTS "${_file}") + message(FATAL_ERROR "File or directory ${_file} referenced by variable ${_var} does not exist !") + endif() +endmacro() + +macro(check_required_components _NAME) + foreach(comp ${${_NAME}_FIND_COMPONENTS}) + if(NOT ${_NAME}_${comp}_FOUND) + if(${_NAME}_FIND_REQUIRED_${comp}) + set(${_NAME}_FOUND FALSE) + endif() + endif() + endforeach() +endmacro() + +#################################################################################### + +include("${CMAKE_CURRENT_LIST_DIR}/FOAMConfigVersion.cmake") +include("${CMAKE_CURRENT_LIST_DIR}/FOAMMacros.cmake") +include("${CMAKE_CURRENT_LIST_DIR}/FOAMTargets.cmake") + +message(STATUS "Importing FOAM ${FOAM_VERSION} from ${CMAKE_CURRENT_LIST_DIR}") + +include(CMakeFindDependencyMacro) + +find_dependency(MPI) +add_library(mpi SHARED IMPORTED) +set_property(TARGET mpi PROPERTY INTERFACE_INCLUDE_DIRECTORIES ${MPI_C_INCLUDE_PATH}) +set_property(TARGET mpi PROPERTY IMPORTED_LOCATION ${MPI_LIBRARY}) + +find_dependency(ZLIB) + +#set_and_check(FOAM_INCLUDE_DIR "") +#set_and_check(FOAM_LIBRARY foam) + +# Once we split into components +#set(_supported_components Plot Table) + +#foreach(_comp ${FOAM_FIND_COMPONENTS}) +# if (NOT ";${_supported_components};" MATCHES _comp) +# set(FOAM_FOUND False) +# set(FOAM_NOTFOUND_MESSAGE "Unsupported component: ${_comp}") +# endif() +# include("${CMAKE_CURRENT_LIST_DIR}/FOAM${_comp}Targets.cmake") +#endforeach() + +check_required_components(FOAM) diff --git a/cmake/FOAMConfig.cmake.in b/cmake/FOAMConfig.cmake.in new file mode 100644 index 000000000..4819314a1 --- /dev/null +++ b/cmake/FOAMConfig.cmake.in @@ -0,0 +1,32 @@ +@PACKAGE_INIT@ + +include("${CMAKE_CURRENT_LIST_DIR}/FOAMConfigVersion.cmake") +include("${CMAKE_CURRENT_LIST_DIR}/FOAMMacros.cmake") +include("${CMAKE_CURRENT_LIST_DIR}/FOAMTargets.cmake") + +message(STATUS "Importing FOAM ${FOAM_VERSION} from ${CMAKE_CURRENT_LIST_DIR}") + +include(CMakeFindDependencyMacro) + +find_dependency(MPI) +add_library(mpi SHARED IMPORTED) +set_property(TARGET mpi PROPERTY INTERFACE_INCLUDE_DIRECTORIES ${MPI_C_INCLUDE_PATH}) +set_property(TARGET mpi PROPERTY IMPORTED_LOCATION ${MPI_LIBRARY}) + +find_dependency(ZLIB) + +#set_and_check(FOAM_INCLUDE_DIR "@PACKAGE_INCLUDE_INSTALL_DIR@") +#set_and_check(FOAM_LIBRARY foam) + +# Once we split into components +#set(_supported_components Plot Table) + +#foreach(_comp ${FOAM_FIND_COMPONENTS}) +# if (NOT ";${_supported_components};" MATCHES _comp) +# set(FOAM_FOUND False) +# set(FOAM_NOTFOUND_MESSAGE "Unsupported component: ${_comp}") +# endif() +# include("${CMAKE_CURRENT_LIST_DIR}/FOAM${_comp}Targets.cmake") +#endforeach() + +check_required_components(FOAM) diff --git a/cmake/FOAMConfigVersion.cmake b/cmake/FOAMConfigVersion.cmake new file mode 100644 index 000000000..c03c15f1d --- /dev/null +++ b/cmake/FOAMConfigVersion.cmake @@ -0,0 +1,31 @@ +# This is a basic version file for the Config-mode of find_package(). +# It is used by write_basic_package_version_file() as input file for configure_file() +# to create a version-file which can be installed along a config.cmake file. +# +# The created file sets PACKAGE_VERSION_EXACT if the current version string and +# the requested version string are exactly the same and it sets +# PACKAGE_VERSION_COMPATIBLE if the current version is >= requested version. +# The variable CVF_VERSION must be set before calling configure_file(). + +set(PACKAGE_VERSION "4.0") + +if(PACKAGE_VERSION VERSION_LESS PACKAGE_FIND_VERSION) + set(PACKAGE_VERSION_COMPATIBLE FALSE) +else() + set(PACKAGE_VERSION_COMPATIBLE TRUE) + if(PACKAGE_FIND_VERSION STREQUAL PACKAGE_VERSION) + set(PACKAGE_VERSION_EXACT TRUE) + endif() +endif() + +# if the installed or the using project don't have CMAKE_SIZEOF_VOID_P set, ignore it: +if("${CMAKE_SIZEOF_VOID_P}" STREQUAL "" OR "8" STREQUAL "") + return() +endif() + +# check that the installed version has the same 32/64bit-ness as the one which is currently searching: +if(NOT CMAKE_SIZEOF_VOID_P STREQUAL "8") + math(EXPR installedBits "8 * 8") + set(PACKAGE_VERSION "${PACKAGE_VERSION} (${installedBits}bit)") + set(PACKAGE_VERSION_UNSUITABLE TRUE) +endif() diff --git a/cmake/FOAMMacros.cmake b/cmake/FOAMMacros.cmake new file mode 100644 index 000000000..d9d7d08e6 --- /dev/null +++ b/cmake/FOAMMacros.cmake @@ -0,0 +1,67 @@ +add_custom_target(ImportMessage + ${CMAKE_COMMAND} -E cmake_echo_color --red --bold + "Using FOAM ${FOAM_VERSION} in ${CMAKE_CURRENT_LIST_DIR}" +) + +function(add_foam_library lib) + # Create target for lnInclude and use it + include_directories(lnInclude) + add_custom_command( + OUTPUT lnInclude/uptodate + DEPENDS CMakeLists.txt + COMMAND rm -rf lnInclude + COMMAND wmakeLnInclude . + COMMAND touch lnInclude/uptodate + ) + add_custom_target(${lib}_lnInclude DEPENDS lnInclude/uptodate) + + # Add the library to the targets and set include paths + add_library(${lib} ${ARGN}) + add_dependencies(${lib} ${lib}_lnInclude) + target_include_directories(${lib} PUBLIC + $ + $ + ) + + # Install library and headers to install location + install(TARGETS ${lib} DESTINATION lib EXPORT FOAMTargets) + file(GLOB _files FOLLOW_SYMLINKS "${CMAKE_CURRENT_SOURCE_DIR}/lnInclude/*") + set (_resolvedFiles "") + foreach (_file ${_files}) + get_filename_component(_resolvedFile "${_file}" REALPATH) + list (APPEND _resolvedFiles "${_resolvedFile}") + endforeach() + install(FILES ${_resolvedFiles} DESTINATION include/${lib}) + + # Export target to include them from externals builds to build location + export(TARGETS ${lib} APPEND FILE ${CMAKE_BINARY_DIR}/cmake/FOAMTargets.cmake) + + #generate_export_header(${lib}) + set_property(TARGET ${lib} PROPERTY VERSION ${FOAM_VERSION}) + set_property(TARGET ${lib} PROPERTY SOVERSION 3) + set_property(TARGET ${lib} PROPERTY INTERFACE_FOAM_MAJOR_VERSION 4) + set_property(TARGET ${lib} APPEND PROPERTY + COMPATIBLE_INTERFACE_STRING FOAM_MAJOR_VERSION + ) + + if(NOT DEFINED HAVE_FOAM) + add_dependencies(${lib} ImportMessage) + endif() +endfunction() + +function(add_foam_executable exe) + set(options "") + set(oneValueArgs "") + set(multiValueArgs DEPENDS SOURCES) + cmake_parse_arguments(AFE "${options}" "${oneValueArgs}" "${multiValueArgs}" ${ARGN} ) + + add_executable(${exe} ${AFE_SOURCES}) + target_link_libraries(${exe} ${AFE_DEPENDS}) + install (TARGETS ${exe} DESTINATION bin) + + if(NOT DEFINED HAVE_FOAM) + add_dependencies(${exe} ImportMessage) + endif() +endfunction() + + diff --git a/cmake/FOAMTargets.cmake b/cmake/FOAMTargets.cmake new file mode 100644 index 000000000..0b241e548 --- /dev/null +++ b/cmake/FOAMTargets.cmake @@ -0,0 +1,1406 @@ +## Generated by CMake 3.5.1 + +if("${CMAKE_MAJOR_VERSION}.${CMAKE_MINOR_VERSION}" LESS 2.5) + message(FATAL_ERROR "CMake >= 2.6.0 required") +endif() +cmake_policy(PUSH) +cmake_policy(VERSION 2.6) +#---------------------------------------------------------------- +# Generated CMake target import file. +#---------------------------------------------------------------- + +# Commands may need to know the format version. +set(CMAKE_IMPORT_FILE_VERSION 1) + +# Protect against multiple inclusion, which would fail when already imported targets are added once more. +set(_targetsDefined) +set(_targetsNotDefined) +set(_expectedTargets) +foreach(_expectedTarget foam immersedBoundaryForceFunctionObject immersedBoundary immersedBoundaryTurbulence immersedBoundaryDynamicFvMesh molecule potential molecularMeasurements coalCombustion dsmc lagrangianIntermediate solidParticle lagrangianBasic dieselSpray edgeMesh coupledLduMatrix compressibleLESModels compressibleTurbulenceModel compressibleRASModels incompressibleLESModels incompressibleTurbulenceModel incompressibleRASModels LESfilters LESdeltas tetFiniteElement finiteArea errorEstimation randomProcesses decompositionMethods conversion surfMesh incompressibleTransportModels interfaceProperties viscoelasticTransportModels multiSolverLib OSspecific equationReader POD solidModels ODE engine lduSolvers blockMeshLib cfMesh extrudeModel autoMesh IOFunctionObjects systemCall utilityFunctionObjects fieldFunctionObjects forces checkFunctionObjects postCalc foamCalcFunctions finiteVolume sampling meshTools topoChangerFvMesh dynamicMesh dynamicTopoFvMesh dynamicFvMesh solidBodyMotion RBFMotionSolver fvMotionSolver tetMotionSolver laminarFlameSpeedModels liquidMixture radiation barotropicCompressibilityModel specie solids thermophysicalFunctions liquids basicThermophysicalModels pdf reactionThermophysicalModels solidMixture chemistryModel userd-newFoam userd-foam) + list(APPEND _expectedTargets ${_expectedTarget}) + if(NOT TARGET ${_expectedTarget}) + list(APPEND _targetsNotDefined ${_expectedTarget}) + endif() + if(TARGET ${_expectedTarget}) + list(APPEND _targetsDefined ${_expectedTarget}) + endif() +endforeach() +if("${_targetsDefined}" STREQUAL "${_expectedTargets}") + set(CMAKE_IMPORT_FILE_VERSION) + cmake_policy(POP) + return() +endif() +if(NOT "${_targetsDefined}" STREQUAL "") + message(FATAL_ERROR "Some (but not all) targets in this export set were already defined.\nTargets Defined: ${_targetsDefined}\nTargets not yet defined: ${_targetsNotDefined}\n") +endif() +unset(_targetsDefined) +unset(_targetsNotDefined) +unset(_expectedTargets) + + +# Create imported target foam +add_library(foam SHARED IMPORTED) + +set_target_properties(foam PROPERTIES + COMPATIBLE_INTERFACE_STRING "FOAM_MAJOR_VERSION" + INTERFACE_FOAM_MAJOR_VERSION "4" + INTERFACE_INCLUDE_DIRECTORIES "/home/henrus/OpenFOAM/foam-extend-4.0_2/src/foam/lnInclude" +) + +# Create imported target immersedBoundaryForceFunctionObject +add_library(immersedBoundaryForceFunctionObject SHARED IMPORTED) + +set_target_properties(immersedBoundaryForceFunctionObject PROPERTIES + COMPATIBLE_INTERFACE_STRING "FOAM_MAJOR_VERSION" + INTERFACE_FOAM_MAJOR_VERSION "4" + INTERFACE_INCLUDE_DIRECTORIES "/home/henrus/OpenFOAM/foam-extend-4.0_2/src/immersedBoundary/immersedBoundaryForce/lnInclude" +) + +# Create imported target immersedBoundary +add_library(immersedBoundary SHARED IMPORTED) + +set_target_properties(immersedBoundary PROPERTIES + COMPATIBLE_INTERFACE_STRING "FOAM_MAJOR_VERSION" + INTERFACE_FOAM_MAJOR_VERSION "4" + INTERFACE_INCLUDE_DIRECTORIES "/home/henrus/OpenFOAM/foam-extend-4.0_2/src/immersedBoundary/immersedBoundary/lnInclude" +) + +# Create imported target immersedBoundaryTurbulence +add_library(immersedBoundaryTurbulence SHARED IMPORTED) + +set_target_properties(immersedBoundaryTurbulence PROPERTIES + COMPATIBLE_INTERFACE_STRING "FOAM_MAJOR_VERSION" + INTERFACE_FOAM_MAJOR_VERSION "4" + INTERFACE_INCLUDE_DIRECTORIES "/home/henrus/OpenFOAM/foam-extend-4.0_2/src/immersedBoundary/immersedBoundaryTurbulence/lnInclude" +) + +# Create imported target immersedBoundaryDynamicFvMesh +add_library(immersedBoundaryDynamicFvMesh SHARED IMPORTED) + +set_target_properties(immersedBoundaryDynamicFvMesh PROPERTIES + COMPATIBLE_INTERFACE_STRING "FOAM_MAJOR_VERSION" + INTERFACE_FOAM_MAJOR_VERSION "4" + INTERFACE_INCLUDE_DIRECTORIES "/home/henrus/OpenFOAM/foam-extend-4.0_2/src/immersedBoundary/immersedBoundaryDynamicMesh/lnInclude" +) + +# Create imported target molecule +add_library(molecule SHARED IMPORTED) + +set_target_properties(molecule PROPERTIES + COMPATIBLE_INTERFACE_STRING "FOAM_MAJOR_VERSION" + INTERFACE_FOAM_MAJOR_VERSION "4" + INTERFACE_INCLUDE_DIRECTORIES "/home/henrus/OpenFOAM/foam-extend-4.0_2/src/lagrangian/molecularDynamics/molecule/lnInclude" +) + +# Create imported target potential +add_library(potential SHARED IMPORTED) + +set_target_properties(potential PROPERTIES + COMPATIBLE_INTERFACE_STRING "FOAM_MAJOR_VERSION" + INTERFACE_FOAM_MAJOR_VERSION "4" + INTERFACE_INCLUDE_DIRECTORIES "/home/henrus/OpenFOAM/foam-extend-4.0_2/src/lagrangian/molecularDynamics/potential/lnInclude" +) + +# Create imported target molecularMeasurements +add_library(molecularMeasurements SHARED IMPORTED) + +set_target_properties(molecularMeasurements PROPERTIES + COMPATIBLE_INTERFACE_STRING "FOAM_MAJOR_VERSION" + INTERFACE_FOAM_MAJOR_VERSION "4" + INTERFACE_INCLUDE_DIRECTORIES "/home/henrus/OpenFOAM/foam-extend-4.0_2/src/lagrangian/molecularDynamics/molecularMeasurements/lnInclude" +) + +# Create imported target coalCombustion +add_library(coalCombustion SHARED IMPORTED) + +set_target_properties(coalCombustion PROPERTIES + COMPATIBLE_INTERFACE_STRING "FOAM_MAJOR_VERSION" + INTERFACE_FOAM_MAJOR_VERSION "4" + INTERFACE_INCLUDE_DIRECTORIES "/home/henrus/OpenFOAM/foam-extend-4.0_2/src/lagrangian/coalCombustion/lnInclude" +) + +# Create imported target dsmc +add_library(dsmc SHARED IMPORTED) + +set_target_properties(dsmc PROPERTIES + COMPATIBLE_INTERFACE_STRING "FOAM_MAJOR_VERSION" + INTERFACE_FOAM_MAJOR_VERSION "4" + INTERFACE_INCLUDE_DIRECTORIES "/home/henrus/OpenFOAM/foam-extend-4.0_2/src/lagrangian/dsmc/lnInclude" +) + +# Create imported target lagrangianIntermediate +add_library(lagrangianIntermediate SHARED IMPORTED) + +set_target_properties(lagrangianIntermediate PROPERTIES + COMPATIBLE_INTERFACE_STRING "FOAM_MAJOR_VERSION" + INTERFACE_FOAM_MAJOR_VERSION "4" + INTERFACE_INCLUDE_DIRECTORIES "/home/henrus/OpenFOAM/foam-extend-4.0_2/src/lagrangian/intermediate/lnInclude" +) + +# Create imported target solidParticle +add_library(solidParticle SHARED IMPORTED) + +set_target_properties(solidParticle PROPERTIES + COMPATIBLE_INTERFACE_STRING "FOAM_MAJOR_VERSION" + INTERFACE_FOAM_MAJOR_VERSION "4" + INTERFACE_INCLUDE_DIRECTORIES "/home/henrus/OpenFOAM/foam-extend-4.0_2/src/lagrangian/solidParticle/lnInclude" +) + +# Create imported target lagrangianBasic +add_library(lagrangianBasic SHARED IMPORTED) + +set_target_properties(lagrangianBasic PROPERTIES + COMPATIBLE_INTERFACE_STRING "FOAM_MAJOR_VERSION" + INTERFACE_FOAM_MAJOR_VERSION "4" + INTERFACE_INCLUDE_DIRECTORIES "/home/henrus/OpenFOAM/foam-extend-4.0_2/src/lagrangian/basic/lnInclude" +) + +# Create imported target dieselSpray +add_library(dieselSpray SHARED IMPORTED) + +set_target_properties(dieselSpray PROPERTIES + COMPATIBLE_INTERFACE_STRING "FOAM_MAJOR_VERSION" + INTERFACE_FOAM_MAJOR_VERSION "4" + INTERFACE_INCLUDE_DIRECTORIES "/home/henrus/OpenFOAM/foam-extend-4.0_2/src/lagrangian/dieselSpray/lnInclude" +) + +# Create imported target edgeMesh +add_library(edgeMesh SHARED IMPORTED) + +set_target_properties(edgeMesh PROPERTIES + COMPATIBLE_INTERFACE_STRING "FOAM_MAJOR_VERSION" + INTERFACE_FOAM_MAJOR_VERSION "4" + INTERFACE_INCLUDE_DIRECTORIES "/home/henrus/OpenFOAM/foam-extend-4.0_2/src/edgeMesh/lnInclude" +) + +# Create imported target coupledLduMatrix +add_library(coupledLduMatrix SHARED IMPORTED) + +set_target_properties(coupledLduMatrix PROPERTIES + COMPATIBLE_INTERFACE_STRING "FOAM_MAJOR_VERSION" + INTERFACE_FOAM_MAJOR_VERSION "4" + INTERFACE_INCLUDE_DIRECTORIES "/home/henrus/OpenFOAM/foam-extend-4.0_2/src/coupledMatrix/lnInclude" +) + +# Create imported target compressibleLESModels +add_library(compressibleLESModels SHARED IMPORTED) + +set_target_properties(compressibleLESModels PROPERTIES + COMPATIBLE_INTERFACE_STRING "FOAM_MAJOR_VERSION" + INTERFACE_FOAM_MAJOR_VERSION "4" + INTERFACE_INCLUDE_DIRECTORIES "/home/henrus/OpenFOAM/foam-extend-4.0_2/src/turbulenceModels/compressible/LES/lnInclude" +) + +# Create imported target compressibleTurbulenceModel +add_library(compressibleTurbulenceModel SHARED IMPORTED) + +set_target_properties(compressibleTurbulenceModel PROPERTIES + COMPATIBLE_INTERFACE_STRING "FOAM_MAJOR_VERSION" + INTERFACE_FOAM_MAJOR_VERSION "4" + INTERFACE_INCLUDE_DIRECTORIES "/home/henrus/OpenFOAM/foam-extend-4.0_2/src/turbulenceModels/compressible/turbulenceModel/lnInclude;/home/henrus/OpenFOAM/foam-extend-4.0_2/src/turbulenceModels/compressible/turbulenceModel/../.." +) + +# Create imported target compressibleRASModels +add_library(compressibleRASModels SHARED IMPORTED) + +set_target_properties(compressibleRASModels PROPERTIES + COMPATIBLE_INTERFACE_STRING "FOAM_MAJOR_VERSION" + INTERFACE_FOAM_MAJOR_VERSION "4" + INTERFACE_INCLUDE_DIRECTORIES "/home/henrus/OpenFOAM/foam-extend-4.0_2/src/turbulenceModels/compressible/RAS/lnInclude;/home/henrus/OpenFOAM/foam-extend-4.0_2/src/turbulenceModels/compressible/RAS/derivedFvPatchFields/wallFunctions/mutWallFunctions" +) + +# Create imported target incompressibleLESModels +add_library(incompressibleLESModels SHARED IMPORTED) + +set_target_properties(incompressibleLESModels PROPERTIES + COMPATIBLE_INTERFACE_STRING "FOAM_MAJOR_VERSION" + INTERFACE_FOAM_MAJOR_VERSION "4" + INTERFACE_INCLUDE_DIRECTORIES "/home/henrus/OpenFOAM/foam-extend-4.0_2/src/turbulenceModels/incompressible/LES/lnInclude" +) + +# Create imported target incompressibleTurbulenceModel +add_library(incompressibleTurbulenceModel SHARED IMPORTED) + +set_target_properties(incompressibleTurbulenceModel PROPERTIES + COMPATIBLE_INTERFACE_STRING "FOAM_MAJOR_VERSION" + INTERFACE_FOAM_MAJOR_VERSION "4" + INTERFACE_INCLUDE_DIRECTORIES "/home/henrus/OpenFOAM/foam-extend-4.0_2/src/turbulenceModels/incompressible/turbulenceModel/lnInclude;/home/henrus/OpenFOAM/foam-extend-4.0_2/src/turbulenceModels/incompressible/turbulenceModel/../.." +) + +# Create imported target incompressibleRASModels +add_library(incompressibleRASModels SHARED IMPORTED) + +set_target_properties(incompressibleRASModels PROPERTIES + COMPATIBLE_INTERFACE_STRING "FOAM_MAJOR_VERSION" + INTERFACE_FOAM_MAJOR_VERSION "4" + INTERFACE_INCLUDE_DIRECTORIES "/home/henrus/OpenFOAM/foam-extend-4.0_2/src/turbulenceModels/incompressible/RAS/lnInclude;/home/henrus/OpenFOAM/foam-extend-4.0_2/src/turbulenceModels/incompressible/RAS/derivedFvPatchFields/wallFunctions/nutWallFunctions" +) + +# Create imported target LESfilters +add_library(LESfilters SHARED IMPORTED) + +set_target_properties(LESfilters PROPERTIES + COMPATIBLE_INTERFACE_STRING "FOAM_MAJOR_VERSION" + INTERFACE_FOAM_MAJOR_VERSION "4" + INTERFACE_INCLUDE_DIRECTORIES "/home/henrus/OpenFOAM/foam-extend-4.0_2/src/turbulenceModels/LES/LESfilters/lnInclude" +) + +# Create imported target LESdeltas +add_library(LESdeltas SHARED IMPORTED) + +set_target_properties(LESdeltas PROPERTIES + COMPATIBLE_INTERFACE_STRING "FOAM_MAJOR_VERSION" + INTERFACE_FOAM_MAJOR_VERSION "4" + INTERFACE_INCLUDE_DIRECTORIES "/home/henrus/OpenFOAM/foam-extend-4.0_2/src/turbulenceModels/LES/LESdeltas/lnInclude" +) + +# Create imported target tetFiniteElement +add_library(tetFiniteElement SHARED IMPORTED) + +set_target_properties(tetFiniteElement PROPERTIES + COMPATIBLE_INTERFACE_STRING "FOAM_MAJOR_VERSION" + INTERFACE_FOAM_MAJOR_VERSION "4" + INTERFACE_INCLUDE_DIRECTORIES "/home/henrus/OpenFOAM/foam-extend-4.0_2/src/tetFiniteElement/lnInclude" +) + +# Create imported target finiteArea +add_library(finiteArea SHARED IMPORTED) + +set_target_properties(finiteArea PROPERTIES + COMPATIBLE_INTERFACE_STRING "FOAM_MAJOR_VERSION" + INTERFACE_FOAM_MAJOR_VERSION "4" + INTERFACE_INCLUDE_DIRECTORIES "/home/henrus/OpenFOAM/foam-extend-4.0_2/src/finiteArea/lnInclude" +) + +# Create imported target errorEstimation +add_library(errorEstimation SHARED IMPORTED) + +set_target_properties(errorEstimation PROPERTIES + COMPATIBLE_INTERFACE_STRING "FOAM_MAJOR_VERSION" + INTERFACE_FOAM_MAJOR_VERSION "4" + INTERFACE_INCLUDE_DIRECTORIES "/home/henrus/OpenFOAM/foam-extend-4.0_2/src/errorEstimation/lnInclude" +) + +# Create imported target randomProcesses +add_library(randomProcesses SHARED IMPORTED) + +set_target_properties(randomProcesses PROPERTIES + COMPATIBLE_INTERFACE_STRING "FOAM_MAJOR_VERSION" + INTERFACE_FOAM_MAJOR_VERSION "4" + INTERFACE_INCLUDE_DIRECTORIES "/home/henrus/OpenFOAM/foam-extend-4.0_2/src/randomProcesses/lnInclude" +) + +# Create imported target decompositionMethods +add_library(decompositionMethods SHARED IMPORTED) + +set_target_properties(decompositionMethods PROPERTIES + COMPATIBLE_INTERFACE_STRING "FOAM_MAJOR_VERSION" + INTERFACE_FOAM_MAJOR_VERSION "4" + INTERFACE_INCLUDE_DIRECTORIES "/home/henrus/OpenFOAM/foam-extend-4.0_2/src/decompositionMethods/decompositionMethods/lnInclude" +) + +# Create imported target conversion +add_library(conversion SHARED IMPORTED) + +set_target_properties(conversion PROPERTIES + COMPATIBLE_INTERFACE_STRING "FOAM_MAJOR_VERSION" + INTERFACE_FOAM_MAJOR_VERSION "4" + INTERFACE_INCLUDE_DIRECTORIES "/home/henrus/OpenFOAM/foam-extend-4.0_2/src/conversion/lnInclude" +) + +# Create imported target surfMesh +add_library(surfMesh SHARED IMPORTED) + +set_target_properties(surfMesh PROPERTIES + COMPATIBLE_INTERFACE_STRING "FOAM_MAJOR_VERSION" + INTERFACE_FOAM_MAJOR_VERSION "4" + INTERFACE_INCLUDE_DIRECTORIES "/home/henrus/OpenFOAM/foam-extend-4.0_2/src/surfMesh/lnInclude" +) + +# Create imported target incompressibleTransportModels +add_library(incompressibleTransportModels SHARED IMPORTED) + +set_target_properties(incompressibleTransportModels PROPERTIES + COMPATIBLE_INTERFACE_STRING "FOAM_MAJOR_VERSION" + INTERFACE_FOAM_MAJOR_VERSION "4" + INTERFACE_INCLUDE_DIRECTORIES "/home/henrus/OpenFOAM/foam-extend-4.0_2/src/transportModels/incompressible/lnInclude;/home/henrus/OpenFOAM/foam-extend-4.0_2/src/transportModels/incompressible/.." +) + +# Create imported target interfaceProperties +add_library(interfaceProperties SHARED IMPORTED) + +set_target_properties(interfaceProperties PROPERTIES + COMPATIBLE_INTERFACE_STRING "FOAM_MAJOR_VERSION" + INTERFACE_FOAM_MAJOR_VERSION "4" + INTERFACE_INCLUDE_DIRECTORIES "/home/henrus/OpenFOAM/foam-extend-4.0_2/src/transportModels/interfaceProperties/lnInclude" +) + +# Create imported target viscoelasticTransportModels +add_library(viscoelasticTransportModels SHARED IMPORTED) + +set_target_properties(viscoelasticTransportModels PROPERTIES + COMPATIBLE_INTERFACE_STRING "FOAM_MAJOR_VERSION" + INTERFACE_FOAM_MAJOR_VERSION "4" + INTERFACE_INCLUDE_DIRECTORIES "/home/henrus/OpenFOAM/foam-extend-4.0_2/src/transportModels/viscoelastic/lnInclude" +) + +# Create imported target multiSolverLib +add_library(multiSolverLib SHARED IMPORTED) + +set_target_properties(multiSolverLib PROPERTIES + COMPATIBLE_INTERFACE_STRING "FOAM_MAJOR_VERSION" + INTERFACE_FOAM_MAJOR_VERSION "4" + INTERFACE_INCLUDE_DIRECTORIES "/home/henrus/OpenFOAM/foam-extend-4.0_2/src/multiSolver/lnInclude" +) + +# Create imported target OSspecific +add_library(OSspecific SHARED IMPORTED) + +set_target_properties(OSspecific PROPERTIES + COMPATIBLE_INTERFACE_STRING "FOAM_MAJOR_VERSION" + INTERFACE_COMPILE_DEFINITIONS "WM_SP;NoRepository" + INTERFACE_FOAM_MAJOR_VERSION "4" + INTERFACE_INCLUDE_DIRECTORIES "/home/henrus/OpenFOAM/foam-extend-4.0_2/src/OSspecific/POSIX/lnInclude" +) + +# Create imported target equationReader +add_library(equationReader SHARED IMPORTED) + +set_target_properties(equationReader PROPERTIES + COMPATIBLE_INTERFACE_STRING "FOAM_MAJOR_VERSION" + INTERFACE_FOAM_MAJOR_VERSION "4" + INTERFACE_INCLUDE_DIRECTORIES "/home/henrus/OpenFOAM/foam-extend-4.0_2/src/equationReader/lnInclude" +) + +# Create imported target POD +add_library(POD SHARED IMPORTED) + +set_target_properties(POD PROPERTIES + COMPATIBLE_INTERFACE_STRING "FOAM_MAJOR_VERSION" + INTERFACE_FOAM_MAJOR_VERSION "4" + INTERFACE_INCLUDE_DIRECTORIES "/home/henrus/OpenFOAM/foam-extend-4.0_2/src/POD/lnInclude" +) + +# Create imported target solidModels +add_library(solidModels SHARED IMPORTED) + +set_target_properties(solidModels PROPERTIES + COMPATIBLE_INTERFACE_STRING "FOAM_MAJOR_VERSION" + INTERFACE_FOAM_MAJOR_VERSION "4" + INTERFACE_INCLUDE_DIRECTORIES "/home/henrus/OpenFOAM/foam-extend-4.0_2/src/solidModels/lnInclude" +) + +# Create imported target ODE +add_library(ODE SHARED IMPORTED) + +set_target_properties(ODE PROPERTIES + COMPATIBLE_INTERFACE_STRING "FOAM_MAJOR_VERSION" + INTERFACE_FOAM_MAJOR_VERSION "4" + INTERFACE_INCLUDE_DIRECTORIES "/home/henrus/OpenFOAM/foam-extend-4.0_2/src/ODE/lnInclude" +) + +# Create imported target engine +add_library(engine SHARED IMPORTED) + +set_target_properties(engine PROPERTIES + COMPATIBLE_INTERFACE_STRING "FOAM_MAJOR_VERSION" + INTERFACE_FOAM_MAJOR_VERSION "4" + INTERFACE_INCLUDE_DIRECTORIES "/home/henrus/OpenFOAM/foam-extend-4.0_2/src/engine/lnInclude" +) + +# Create imported target lduSolvers +add_library(lduSolvers SHARED IMPORTED) + +set_target_properties(lduSolvers PROPERTIES + COMPATIBLE_INTERFACE_STRING "FOAM_MAJOR_VERSION" + INTERFACE_FOAM_MAJOR_VERSION "4" + INTERFACE_INCLUDE_DIRECTORIES "/home/henrus/OpenFOAM/foam-extend-4.0_2/src/lduSolvers/lnInclude" +) + +# Create imported target blockMeshLib +add_library(blockMeshLib SHARED IMPORTED) + +set_target_properties(blockMeshLib PROPERTIES + COMPATIBLE_INTERFACE_STRING "FOAM_MAJOR_VERSION" + INTERFACE_FOAM_MAJOR_VERSION "4" + INTERFACE_INCLUDE_DIRECTORIES "/home/henrus/OpenFOAM/foam-extend-4.0_2/src/mesh/blockMesh/lnInclude" +) + +# Create imported target cfMesh +add_library(cfMesh SHARED IMPORTED) + +set_target_properties(cfMesh PROPERTIES + COMPATIBLE_INTERFACE_STRING "FOAM_MAJOR_VERSION" + INTERFACE_FOAM_MAJOR_VERSION "4" + INTERFACE_INCLUDE_DIRECTORIES "/home/henrus/OpenFOAM/foam-extend-4.0_2/src/mesh/cfMesh/lnInclude" +) + +# Create imported target extrudeModel +add_library(extrudeModel SHARED IMPORTED) + +set_target_properties(extrudeModel PROPERTIES + COMPATIBLE_INTERFACE_STRING "FOAM_MAJOR_VERSION" + INTERFACE_FOAM_MAJOR_VERSION "4" + INTERFACE_INCLUDE_DIRECTORIES "/home/henrus/OpenFOAM/foam-extend-4.0_2/src/mesh/extrudeModel/lnInclude" +) + +# Create imported target autoMesh +add_library(autoMesh SHARED IMPORTED) + +set_target_properties(autoMesh PROPERTIES + COMPATIBLE_INTERFACE_STRING "FOAM_MAJOR_VERSION" + INTERFACE_FOAM_MAJOR_VERSION "4" + INTERFACE_INCLUDE_DIRECTORIES "/home/henrus/OpenFOAM/foam-extend-4.0_2/src/mesh/autoMesh/lnInclude" +) + +# Create imported target IOFunctionObjects +add_library(IOFunctionObjects SHARED IMPORTED) + +set_target_properties(IOFunctionObjects PROPERTIES + COMPATIBLE_INTERFACE_STRING "FOAM_MAJOR_VERSION" + INTERFACE_FOAM_MAJOR_VERSION "4" + INTERFACE_INCLUDE_DIRECTORIES "/home/henrus/OpenFOAM/foam-extend-4.0_2/src/postProcessing/functionObjects/IO/lnInclude" +) + +# Create imported target systemCall +add_library(systemCall SHARED IMPORTED) + +set_target_properties(systemCall PROPERTIES + COMPATIBLE_INTERFACE_STRING "FOAM_MAJOR_VERSION" + INTERFACE_FOAM_MAJOR_VERSION "4" + INTERFACE_INCLUDE_DIRECTORIES "/home/henrus/OpenFOAM/foam-extend-4.0_2/src/postProcessing/functionObjects/systemCall/lnInclude" +) + +# Create imported target utilityFunctionObjects +add_library(utilityFunctionObjects SHARED IMPORTED) + +set_target_properties(utilityFunctionObjects PROPERTIES + COMPATIBLE_INTERFACE_STRING "FOAM_MAJOR_VERSION" + INTERFACE_FOAM_MAJOR_VERSION "4" + INTERFACE_INCLUDE_DIRECTORIES "/home/henrus/OpenFOAM/foam-extend-4.0_2/src/postProcessing/functionObjects/utilities/lnInclude" +) + +# Create imported target fieldFunctionObjects +add_library(fieldFunctionObjects SHARED IMPORTED) + +set_target_properties(fieldFunctionObjects PROPERTIES + COMPATIBLE_INTERFACE_STRING "FOAM_MAJOR_VERSION" + INTERFACE_FOAM_MAJOR_VERSION "4" + INTERFACE_INCLUDE_DIRECTORIES "/home/henrus/OpenFOAM/foam-extend-4.0_2/src/postProcessing/functionObjects/field/lnInclude" +) + +# Create imported target forces +add_library(forces SHARED IMPORTED) + +set_target_properties(forces PROPERTIES + COMPATIBLE_INTERFACE_STRING "FOAM_MAJOR_VERSION" + INTERFACE_FOAM_MAJOR_VERSION "4" + INTERFACE_INCLUDE_DIRECTORIES "/home/henrus/OpenFOAM/foam-extend-4.0_2/src/postProcessing/functionObjects/forces/lnInclude" +) + +# Create imported target checkFunctionObjects +add_library(checkFunctionObjects SHARED IMPORTED) + +set_target_properties(checkFunctionObjects PROPERTIES + COMPATIBLE_INTERFACE_STRING "FOAM_MAJOR_VERSION" + INTERFACE_FOAM_MAJOR_VERSION "4" + INTERFACE_INCLUDE_DIRECTORIES "/home/henrus/OpenFOAM/foam-extend-4.0_2/src/postProcessing/functionObjects/check/lnInclude" +) + +# Create imported target postCalc +add_library(postCalc SHARED IMPORTED) + +set_target_properties(postCalc PROPERTIES + COMPATIBLE_INTERFACE_STRING "FOAM_MAJOR_VERSION" + INTERFACE_FOAM_MAJOR_VERSION "4" + INTERFACE_INCLUDE_DIRECTORIES "/home/henrus/OpenFOAM/foam-extend-4.0_2/src/postProcessing/postCalc/lnInclude" +) + +# Create imported target foamCalcFunctions +add_library(foamCalcFunctions SHARED IMPORTED) + +set_target_properties(foamCalcFunctions PROPERTIES + COMPATIBLE_INTERFACE_STRING "FOAM_MAJOR_VERSION" + INTERFACE_FOAM_MAJOR_VERSION "4" + INTERFACE_INCLUDE_DIRECTORIES "/home/henrus/OpenFOAM/foam-extend-4.0_2/src/postProcessing/foamCalcFunctions/lnInclude" +) + +# Create imported target finiteVolume +add_library(finiteVolume SHARED IMPORTED) + +set_target_properties(finiteVolume PROPERTIES + COMPATIBLE_INTERFACE_STRING "FOAM_MAJOR_VERSION" + INTERFACE_FOAM_MAJOR_VERSION "4" + INTERFACE_INCLUDE_DIRECTORIES "/home/henrus/OpenFOAM/foam-extend-4.0_2/src/finiteVolume/lnInclude" +) + +# Create imported target sampling +add_library(sampling SHARED IMPORTED) + +set_target_properties(sampling PROPERTIES + COMPATIBLE_INTERFACE_STRING "FOAM_MAJOR_VERSION" + INTERFACE_FOAM_MAJOR_VERSION "4" + INTERFACE_INCLUDE_DIRECTORIES "/home/henrus/OpenFOAM/foam-extend-4.0_2/src/sampling/lnInclude" +) + +# Create imported target meshTools +add_library(meshTools SHARED IMPORTED) + +set_target_properties(meshTools PROPERTIES + COMPATIBLE_INTERFACE_STRING "FOAM_MAJOR_VERSION" + INTERFACE_FOAM_MAJOR_VERSION "4" + INTERFACE_INCLUDE_DIRECTORIES "/home/henrus/OpenFOAM/foam-extend-4.0_2/src/meshTools/lnInclude" +) + +# Create imported target topoChangerFvMesh +add_library(topoChangerFvMesh SHARED IMPORTED) + +set_target_properties(topoChangerFvMesh PROPERTIES + COMPATIBLE_INTERFACE_STRING "FOAM_MAJOR_VERSION" + INTERFACE_FOAM_MAJOR_VERSION "4" + INTERFACE_INCLUDE_DIRECTORIES "/home/henrus/OpenFOAM/foam-extend-4.0_2/src/dynamicMesh/topoChangerFvMesh/lnInclude" +) + +# Create imported target dynamicMesh +add_library(dynamicMesh SHARED IMPORTED) + +set_target_properties(dynamicMesh PROPERTIES + COMPATIBLE_INTERFACE_STRING "FOAM_MAJOR_VERSION" + INTERFACE_FOAM_MAJOR_VERSION "4" + INTERFACE_INCLUDE_DIRECTORIES "/home/henrus/OpenFOAM/foam-extend-4.0_2/src/dynamicMesh/dynamicMesh/lnInclude" +) + +# Create imported target dynamicTopoFvMesh +add_library(dynamicTopoFvMesh SHARED IMPORTED) + +set_target_properties(dynamicTopoFvMesh PROPERTIES + COMPATIBLE_INTERFACE_STRING "FOAM_MAJOR_VERSION" + INTERFACE_FOAM_MAJOR_VERSION "4" + INTERFACE_INCLUDE_DIRECTORIES "/home/henrus/OpenFOAM/foam-extend-4.0_2/src/dynamicMesh/dynamicTopoFvMesh/lnInclude" +) + +# Create imported target dynamicFvMesh +add_library(dynamicFvMesh SHARED IMPORTED) + +set_target_properties(dynamicFvMesh PROPERTIES + COMPATIBLE_INTERFACE_STRING "FOAM_MAJOR_VERSION" + INTERFACE_FOAM_MAJOR_VERSION "4" + INTERFACE_INCLUDE_DIRECTORIES "/home/henrus/OpenFOAM/foam-extend-4.0_2/src/dynamicMesh/dynamicFvMesh/lnInclude" +) + +# Create imported target solidBodyMotion +add_library(solidBodyMotion SHARED IMPORTED) + +set_target_properties(solidBodyMotion PROPERTIES + COMPATIBLE_INTERFACE_STRING "FOAM_MAJOR_VERSION" + INTERFACE_FOAM_MAJOR_VERSION "4" + INTERFACE_INCLUDE_DIRECTORIES "/home/henrus/OpenFOAM/foam-extend-4.0_2/src/dynamicMesh/meshMotion/solidBodyMotion/lnInclude" +) + +# Create imported target RBFMotionSolver +add_library(RBFMotionSolver SHARED IMPORTED) + +set_target_properties(RBFMotionSolver PROPERTIES + COMPATIBLE_INTERFACE_STRING "FOAM_MAJOR_VERSION" + INTERFACE_FOAM_MAJOR_VERSION "4" + INTERFACE_INCLUDE_DIRECTORIES "/home/henrus/OpenFOAM/foam-extend-4.0_2/src/dynamicMesh/meshMotion/RBFMotionSolver/lnInclude" +) + +# Create imported target fvMotionSolver +add_library(fvMotionSolver SHARED IMPORTED) + +set_target_properties(fvMotionSolver PROPERTIES + COMPATIBLE_INTERFACE_STRING "FOAM_MAJOR_VERSION" + INTERFACE_FOAM_MAJOR_VERSION "4" + INTERFACE_INCLUDE_DIRECTORIES "/home/henrus/OpenFOAM/foam-extend-4.0_2/src/dynamicMesh/meshMotion/fvMotionSolver/lnInclude" +) + +# Create imported target tetMotionSolver +add_library(tetMotionSolver SHARED IMPORTED) + +set_target_properties(tetMotionSolver PROPERTIES + COMPATIBLE_INTERFACE_STRING "FOAM_MAJOR_VERSION" + INTERFACE_FOAM_MAJOR_VERSION "4" + INTERFACE_INCLUDE_DIRECTORIES "/home/henrus/OpenFOAM/foam-extend-4.0_2/src/dynamicMesh/meshMotion/tetMotionSolver/lnInclude" +) + +# Create imported target laminarFlameSpeedModels +add_library(laminarFlameSpeedModels SHARED IMPORTED) + +set_target_properties(laminarFlameSpeedModels PROPERTIES + COMPATIBLE_INTERFACE_STRING "FOAM_MAJOR_VERSION" + INTERFACE_FOAM_MAJOR_VERSION "4" + INTERFACE_INCLUDE_DIRECTORIES "/home/henrus/OpenFOAM/foam-extend-4.0_2/src/thermophysicalModels/laminarFlameSpeed/lnInclude" +) + +# Create imported target liquidMixture +add_library(liquidMixture SHARED IMPORTED) + +set_target_properties(liquidMixture PROPERTIES + COMPATIBLE_INTERFACE_STRING "FOAM_MAJOR_VERSION" + INTERFACE_FOAM_MAJOR_VERSION "4" + INTERFACE_INCLUDE_DIRECTORIES "/home/henrus/OpenFOAM/foam-extend-4.0_2/src/thermophysicalModels/liquidMixture/lnInclude" +) + +# Create imported target radiation +add_library(radiation SHARED IMPORTED) + +set_target_properties(radiation PROPERTIES + COMPATIBLE_INTERFACE_STRING "FOAM_MAJOR_VERSION" + INTERFACE_FOAM_MAJOR_VERSION "4" + INTERFACE_INCLUDE_DIRECTORIES "/home/henrus/OpenFOAM/foam-extend-4.0_2/src/thermophysicalModels/radiation/lnInclude" +) + +# Create imported target barotropicCompressibilityModel +add_library(barotropicCompressibilityModel SHARED IMPORTED) + +set_target_properties(barotropicCompressibilityModel PROPERTIES + COMPATIBLE_INTERFACE_STRING "FOAM_MAJOR_VERSION" + INTERFACE_FOAM_MAJOR_VERSION "4" + INTERFACE_INCLUDE_DIRECTORIES "/home/henrus/OpenFOAM/foam-extend-4.0_2/src/thermophysicalModels/barotropicCompressibilityModel/lnInclude" +) + +# Create imported target specie +add_library(specie SHARED IMPORTED) + +set_target_properties(specie PROPERTIES + COMPATIBLE_INTERFACE_STRING "FOAM_MAJOR_VERSION" + INTERFACE_FOAM_MAJOR_VERSION "4" + INTERFACE_INCLUDE_DIRECTORIES "/home/henrus/OpenFOAM/foam-extend-4.0_2/src/thermophysicalModels/specie/lnInclude" +) + +# Create imported target solids +add_library(solids SHARED IMPORTED) + +set_target_properties(solids PROPERTIES + COMPATIBLE_INTERFACE_STRING "FOAM_MAJOR_VERSION" + INTERFACE_FOAM_MAJOR_VERSION "4" + INTERFACE_INCLUDE_DIRECTORIES "/home/henrus/OpenFOAM/foam-extend-4.0_2/src/thermophysicalModels/solids/lnInclude" +) + +# Create imported target thermophysicalFunctions +add_library(thermophysicalFunctions SHARED IMPORTED) + +set_target_properties(thermophysicalFunctions PROPERTIES + COMPATIBLE_INTERFACE_STRING "FOAM_MAJOR_VERSION" + INTERFACE_FOAM_MAJOR_VERSION "4" + INTERFACE_INCLUDE_DIRECTORIES "/home/henrus/OpenFOAM/foam-extend-4.0_2/src/thermophysicalModels/thermophysicalFunctions/lnInclude" +) + +# Create imported target liquids +add_library(liquids SHARED IMPORTED) + +set_target_properties(liquids PROPERTIES + COMPATIBLE_INTERFACE_STRING "FOAM_MAJOR_VERSION" + INTERFACE_FOAM_MAJOR_VERSION "4" + INTERFACE_INCLUDE_DIRECTORIES "/home/henrus/OpenFOAM/foam-extend-4.0_2/src/thermophysicalModels/liquids/lnInclude" +) + +# Create imported target basicThermophysicalModels +add_library(basicThermophysicalModels SHARED IMPORTED) + +set_target_properties(basicThermophysicalModels PROPERTIES + COMPATIBLE_INTERFACE_STRING "FOAM_MAJOR_VERSION" + INTERFACE_FOAM_MAJOR_VERSION "4" + INTERFACE_INCLUDE_DIRECTORIES "/home/henrus/OpenFOAM/foam-extend-4.0_2/src/thermophysicalModels/basic/lnInclude" +) + +# Create imported target pdf +add_library(pdf SHARED IMPORTED) + +set_target_properties(pdf PROPERTIES + COMPATIBLE_INTERFACE_STRING "FOAM_MAJOR_VERSION" + INTERFACE_FOAM_MAJOR_VERSION "4" + INTERFACE_INCLUDE_DIRECTORIES "/home/henrus/OpenFOAM/foam-extend-4.0_2/src/thermophysicalModels/pdfs/lnInclude" +) + +# Create imported target reactionThermophysicalModels +add_library(reactionThermophysicalModels SHARED IMPORTED) + +set_target_properties(reactionThermophysicalModels PROPERTIES + COMPATIBLE_INTERFACE_STRING "FOAM_MAJOR_VERSION" + INTERFACE_FOAM_MAJOR_VERSION "4" + INTERFACE_INCLUDE_DIRECTORIES "/home/henrus/OpenFOAM/foam-extend-4.0_2/src/thermophysicalModels/reactionThermo/lnInclude" +) + +# Create imported target solidMixture +add_library(solidMixture SHARED IMPORTED) + +set_target_properties(solidMixture PROPERTIES + COMPATIBLE_INTERFACE_STRING "FOAM_MAJOR_VERSION" + INTERFACE_FOAM_MAJOR_VERSION "4" + INTERFACE_INCLUDE_DIRECTORIES "/home/henrus/OpenFOAM/foam-extend-4.0_2/src/thermophysicalModels/solidMixture/lnInclude" +) + +# Create imported target chemistryModel +add_library(chemistryModel SHARED IMPORTED) + +set_target_properties(chemistryModel PROPERTIES + COMPATIBLE_INTERFACE_STRING "FOAM_MAJOR_VERSION" + INTERFACE_FOAM_MAJOR_VERSION "4" + INTERFACE_INCLUDE_DIRECTORIES "/home/henrus/OpenFOAM/foam-extend-4.0_2/src/thermophysicalModels/chemistryModel/lnInclude" +) + +# Create imported target userd-newFoam +add_library(userd-newFoam SHARED IMPORTED) + +set_target_properties(userd-newFoam PROPERTIES + COMPATIBLE_INTERFACE_STRING "FOAM_MAJOR_VERSION" + INTERFACE_FOAM_MAJOR_VERSION "4" + INTERFACE_INCLUDE_DIRECTORIES "/home/henrus/OpenFOAM/foam-extend-4.0_2/applications/utilities/postProcessing/graphics/newEnsightFoamReader/lnInclude" +) + +# Create imported target userd-foam +add_library(userd-foam SHARED IMPORTED) + +set_target_properties(userd-foam PROPERTIES + COMPATIBLE_INTERFACE_STRING "FOAM_MAJOR_VERSION" + INTERFACE_FOAM_MAJOR_VERSION "4" + INTERFACE_INCLUDE_DIRECTORIES "/home/henrus/OpenFOAM/foam-extend-4.0_2/applications/utilities/postProcessing/graphics/ensightFoamReader/lnInclude" +) + +# Import target "foam" for configuration "" +set_property(TARGET foam APPEND PROPERTY IMPORTED_CONFIGURATIONS NOCONFIG) +set_target_properties(foam PROPERTIES + IMPORTED_LINK_INTERFACE_LIBRARIES_NOCONFIG "OSspecific;mpi;ZLIB::ZLIB" + IMPORTED_LOCATION_NOCONFIG "/home/henrus/OpenFOAM/foam-extend-4.0_2/lib/libfoam.so.4.0" + IMPORTED_SONAME_NOCONFIG "libfoam.so.3" + ) + +# Import target "immersedBoundaryForceFunctionObject" for configuration "" +set_property(TARGET immersedBoundaryForceFunctionObject APPEND PROPERTY IMPORTED_CONFIGURATIONS NOCONFIG) +set_target_properties(immersedBoundaryForceFunctionObject PROPERTIES + IMPORTED_LINK_INTERFACE_LIBRARIES_NOCONFIG "immersedBoundaryTurbulence;forces" + IMPORTED_LOCATION_NOCONFIG "/home/henrus/OpenFOAM/foam-extend-4.0_2/lib/libimmersedBoundaryForceFunctionObject.so.4.0" + IMPORTED_SONAME_NOCONFIG "libimmersedBoundaryForceFunctionObject.so.3" + ) + +# Import target "immersedBoundary" for configuration "" +set_property(TARGET immersedBoundary APPEND PROPERTY IMPORTED_CONFIGURATIONS NOCONFIG) +set_target_properties(immersedBoundary PROPERTIES + IMPORTED_LINK_INTERFACE_LIBRARIES_NOCONFIG "finiteVolume;sampling;surfMesh;dynamicMesh" + IMPORTED_LOCATION_NOCONFIG "/home/henrus/OpenFOAM/foam-extend-4.0_2/lib/libimmersedBoundary.so.4.0" + IMPORTED_SONAME_NOCONFIG "libimmersedBoundary.so.3" + ) + +# Import target "immersedBoundaryTurbulence" for configuration "" +set_property(TARGET immersedBoundaryTurbulence APPEND PROPERTY IMPORTED_CONFIGURATIONS NOCONFIG) +set_target_properties(immersedBoundaryTurbulence PROPERTIES + IMPORTED_LINK_INTERFACE_LIBRARIES_NOCONFIG "immersedBoundary;incompressibleRASModels;incompressibleLESModels" + IMPORTED_LOCATION_NOCONFIG "/home/henrus/OpenFOAM/foam-extend-4.0_2/lib/libimmersedBoundaryTurbulence.so.4.0" + IMPORTED_SONAME_NOCONFIG "libimmersedBoundaryTurbulence.so.3" + ) + +# Import target "immersedBoundaryDynamicFvMesh" for configuration "" +set_property(TARGET immersedBoundaryDynamicFvMesh APPEND PROPERTY IMPORTED_CONFIGURATIONS NOCONFIG) +set_target_properties(immersedBoundaryDynamicFvMesh PROPERTIES + IMPORTED_LINK_INTERFACE_LIBRARIES_NOCONFIG "immersedBoundary;dynamicFvMesh;solidBodyMotion" + IMPORTED_LOCATION_NOCONFIG "/home/henrus/OpenFOAM/foam-extend-4.0_2/lib/libimmersedBoundaryDynamicFvMesh.so.4.0" + IMPORTED_SONAME_NOCONFIG "libimmersedBoundaryDynamicFvMesh.so.3" + ) + +# Import target "molecule" for configuration "" +set_property(TARGET molecule APPEND PROPERTY IMPORTED_CONFIGURATIONS NOCONFIG) +set_target_properties(molecule PROPERTIES + IMPORTED_LINK_INTERFACE_LIBRARIES_NOCONFIG "potential" + IMPORTED_LOCATION_NOCONFIG "/home/henrus/OpenFOAM/foam-extend-4.0_2/lib/libmolecule.so.4.0" + IMPORTED_SONAME_NOCONFIG "libmolecule.so.3" + ) + +# Import target "potential" for configuration "" +set_property(TARGET potential APPEND PROPERTY IMPORTED_CONFIGURATIONS NOCONFIG) +set_target_properties(potential PROPERTIES + IMPORTED_LINK_INTERFACE_LIBRARIES_NOCONFIG "finiteVolume" + IMPORTED_LOCATION_NOCONFIG "/home/henrus/OpenFOAM/foam-extend-4.0_2/lib/libpotential.so.4.0" + IMPORTED_SONAME_NOCONFIG "libpotential.so.3" + ) + +# Import target "molecularMeasurements" for configuration "" +set_property(TARGET molecularMeasurements APPEND PROPERTY IMPORTED_CONFIGURATIONS NOCONFIG) +set_target_properties(molecularMeasurements PROPERTIES + IMPORTED_LINK_INTERFACE_LIBRARIES_NOCONFIG "foam" + IMPORTED_LOCATION_NOCONFIG "/home/henrus/OpenFOAM/foam-extend-4.0_2/lib/libmolecularMeasurements.so.4.0" + IMPORTED_SONAME_NOCONFIG "libmolecularMeasurements.so.3" + ) + +# Import target "coalCombustion" for configuration "" +set_property(TARGET coalCombustion APPEND PROPERTY IMPORTED_CONFIGURATIONS NOCONFIG) +set_target_properties(coalCombustion PROPERTIES + IMPORTED_LINK_INTERFACE_LIBRARIES_NOCONFIG "lagrangianBasic;lagrangianIntermediate;basicThermophysicalModels" + IMPORTED_LOCATION_NOCONFIG "/home/henrus/OpenFOAM/foam-extend-4.0_2/lib/libcoalCombustion.so.4.0" + IMPORTED_SONAME_NOCONFIG "libcoalCombustion.so.3" + ) + +# Import target "dsmc" for configuration "" +set_property(TARGET dsmc APPEND PROPERTY IMPORTED_CONFIGURATIONS NOCONFIG) +set_target_properties(dsmc PROPERTIES + IMPORTED_LINK_INTERFACE_LIBRARIES_NOCONFIG "finiteVolume;lagrangianBasic" + IMPORTED_LOCATION_NOCONFIG "/home/henrus/OpenFOAM/foam-extend-4.0_2/lib/libdsmc.so.4.0" + IMPORTED_SONAME_NOCONFIG "libdsmc.so.3" + ) + +# Import target "lagrangianIntermediate" for configuration "" +set_property(TARGET lagrangianIntermediate APPEND PROPERTY IMPORTED_CONFIGURATIONS NOCONFIG) +set_target_properties(lagrangianIntermediate PROPERTIES + IMPORTED_LINK_INTERFACE_LIBRARIES_NOCONFIG "reactionThermophysicalModels;radiation;compressibleRASModels;compressibleLESModels;pdf;liquidMixture;solidMixture" + IMPORTED_LOCATION_NOCONFIG "/home/henrus/OpenFOAM/foam-extend-4.0_2/lib/liblagrangianIntermediate.so.4.0" + IMPORTED_SONAME_NOCONFIG "liblagrangianIntermediate.so.3" + ) + +# Import target "solidParticle" for configuration "" +set_property(TARGET solidParticle APPEND PROPERTY IMPORTED_CONFIGURATIONS NOCONFIG) +set_target_properties(solidParticle PROPERTIES + IMPORTED_LINK_INTERFACE_LIBRARIES_NOCONFIG "finiteVolume;lagrangianBasic" + IMPORTED_LOCATION_NOCONFIG "/home/henrus/OpenFOAM/foam-extend-4.0_2/lib/libsolidParticle.so.4.0" + IMPORTED_SONAME_NOCONFIG "libsolidParticle.so.3" + ) + +# Import target "lagrangianBasic" for configuration "" +set_property(TARGET lagrangianBasic APPEND PROPERTY IMPORTED_CONFIGURATIONS NOCONFIG) +set_target_properties(lagrangianBasic PROPERTIES + IMPORTED_LINK_INTERFACE_LIBRARIES_NOCONFIG "decompositionMethods;foam" + IMPORTED_LOCATION_NOCONFIG "/home/henrus/OpenFOAM/foam-extend-4.0_2/lib/liblagrangianBasic.so.4.0" + IMPORTED_SONAME_NOCONFIG "liblagrangianBasic.so.3" + ) + +# Import target "dieselSpray" for configuration "" +set_property(TARGET dieselSpray APPEND PROPERTY IMPORTED_CONFIGURATIONS NOCONFIG) +set_target_properties(dieselSpray PROPERTIES + IMPORTED_LINK_INTERFACE_LIBRARIES_NOCONFIG "lagrangianBasic;lagrangianIntermediate;basicThermophysicalModels" + IMPORTED_LOCATION_NOCONFIG "/home/henrus/OpenFOAM/foam-extend-4.0_2/lib/libdieselSpray.so.4.0" + IMPORTED_SONAME_NOCONFIG "libdieselSpray.so.3" + ) + +# Import target "edgeMesh" for configuration "" +set_property(TARGET edgeMesh APPEND PROPERTY IMPORTED_CONFIGURATIONS NOCONFIG) +set_target_properties(edgeMesh PROPERTIES + IMPORTED_LINK_INTERFACE_LIBRARIES_NOCONFIG "foam" + IMPORTED_LOCATION_NOCONFIG "/home/henrus/OpenFOAM/foam-extend-4.0_2/lib/libedgeMesh.so.4.0" + IMPORTED_SONAME_NOCONFIG "libedgeMesh.so.3" + ) + +# Import target "coupledLduMatrix" for configuration "" +set_property(TARGET coupledLduMatrix APPEND PROPERTY IMPORTED_CONFIGURATIONS NOCONFIG) +set_target_properties(coupledLduMatrix PROPERTIES + IMPORTED_LINK_INTERFACE_LIBRARIES_NOCONFIG "finiteVolume" + IMPORTED_LOCATION_NOCONFIG "/home/henrus/OpenFOAM/foam-extend-4.0_2/lib/libcoupledLduMatrix.so.4.0" + IMPORTED_SONAME_NOCONFIG "libcoupledLduMatrix.so.3" + ) + +# Import target "compressibleLESModels" for configuration "" +set_property(TARGET compressibleLESModels APPEND PROPERTY IMPORTED_CONFIGURATIONS NOCONFIG) +set_target_properties(compressibleLESModels PROPERTIES + IMPORTED_LINK_INTERFACE_LIBRARIES_NOCONFIG "compressibleTurbulenceModel;LESdeltas;LESfilters" + IMPORTED_LOCATION_NOCONFIG "/home/henrus/OpenFOAM/foam-extend-4.0_2/lib/libcompressibleLESModels.so.4.0" + IMPORTED_SONAME_NOCONFIG "libcompressibleLESModels.so.3" + ) + +# Import target "compressibleTurbulenceModel" for configuration "" +set_property(TARGET compressibleTurbulenceModel APPEND PROPERTY IMPORTED_CONFIGURATIONS NOCONFIG) +set_target_properties(compressibleTurbulenceModel PROPERTIES + IMPORTED_LINK_INTERFACE_LIBRARIES_NOCONFIG "basicThermophysicalModels" + IMPORTED_LOCATION_NOCONFIG "/home/henrus/OpenFOAM/foam-extend-4.0_2/lib/libcompressibleTurbulenceModel.so.4.0" + IMPORTED_SONAME_NOCONFIG "libcompressibleTurbulenceModel.so.3" + ) + +# Import target "compressibleRASModels" for configuration "" +set_property(TARGET compressibleRASModels APPEND PROPERTY IMPORTED_CONFIGURATIONS NOCONFIG) +set_target_properties(compressibleRASModels PROPERTIES + IMPORTED_LINK_INTERFACE_LIBRARIES_NOCONFIG "compressibleTurbulenceModel" + IMPORTED_LOCATION_NOCONFIG "/home/henrus/OpenFOAM/foam-extend-4.0_2/lib/libcompressibleRASModels.so.4.0" + IMPORTED_SONAME_NOCONFIG "libcompressibleRASModels.so.3" + ) + +# Import target "incompressibleLESModels" for configuration "" +set_property(TARGET incompressibleLESModels APPEND PROPERTY IMPORTED_CONFIGURATIONS NOCONFIG) +set_target_properties(incompressibleLESModels PROPERTIES + IMPORTED_LINK_INTERFACE_LIBRARIES_NOCONFIG "incompressibleTurbulenceModel;LESdeltas;LESfilters" + IMPORTED_LOCATION_NOCONFIG "/home/henrus/OpenFOAM/foam-extend-4.0_2/lib/libincompressibleLESModels.so.4.0" + IMPORTED_SONAME_NOCONFIG "libincompressibleLESModels.so.3" + ) + +# Import target "incompressibleTurbulenceModel" for configuration "" +set_property(TARGET incompressibleTurbulenceModel APPEND PROPERTY IMPORTED_CONFIGURATIONS NOCONFIG) +set_target_properties(incompressibleTurbulenceModel PROPERTIES + IMPORTED_LINK_INTERFACE_LIBRARIES_NOCONFIG "incompressibleTransportModels" + IMPORTED_LOCATION_NOCONFIG "/home/henrus/OpenFOAM/foam-extend-4.0_2/lib/libincompressibleTurbulenceModel.so.4.0" + IMPORTED_SONAME_NOCONFIG "libincompressibleTurbulenceModel.so.3" + ) + +# Import target "incompressibleRASModels" for configuration "" +set_property(TARGET incompressibleRASModels APPEND PROPERTY IMPORTED_CONFIGURATIONS NOCONFIG) +set_target_properties(incompressibleRASModels PROPERTIES + IMPORTED_LINK_INTERFACE_LIBRARIES_NOCONFIG "incompressibleTurbulenceModel" + IMPORTED_LOCATION_NOCONFIG "/home/henrus/OpenFOAM/foam-extend-4.0_2/lib/libincompressibleRASModels.so.4.0" + IMPORTED_SONAME_NOCONFIG "libincompressibleRASModels.so.3" + ) + +# Import target "LESfilters" for configuration "" +set_property(TARGET LESfilters APPEND PROPERTY IMPORTED_CONFIGURATIONS NOCONFIG) +set_target_properties(LESfilters PROPERTIES + IMPORTED_LINK_INTERFACE_LIBRARIES_NOCONFIG "finiteVolume" + IMPORTED_LOCATION_NOCONFIG "/home/henrus/OpenFOAM/foam-extend-4.0_2/lib/libLESfilters.so.4.0" + IMPORTED_SONAME_NOCONFIG "libLESfilters.so.3" + ) + +# Import target "LESdeltas" for configuration "" +set_property(TARGET LESdeltas APPEND PROPERTY IMPORTED_CONFIGURATIONS NOCONFIG) +set_target_properties(LESdeltas PROPERTIES + IMPORTED_LINK_INTERFACE_LIBRARIES_NOCONFIG "finiteVolume" + IMPORTED_LOCATION_NOCONFIG "/home/henrus/OpenFOAM/foam-extend-4.0_2/lib/libLESdeltas.so.4.0" + IMPORTED_SONAME_NOCONFIG "libLESdeltas.so.3" + ) + +# Import target "tetFiniteElement" for configuration "" +set_property(TARGET tetFiniteElement APPEND PROPERTY IMPORTED_CONFIGURATIONS NOCONFIG) +set_target_properties(tetFiniteElement PROPERTIES + IMPORTED_LINK_INTERFACE_LIBRARIES_NOCONFIG "meshTools" + IMPORTED_LOCATION_NOCONFIG "/home/henrus/OpenFOAM/foam-extend-4.0_2/lib/libtetFiniteElement.so.4.0" + IMPORTED_SONAME_NOCONFIG "libtetFiniteElement.so.3" + ) + +# Import target "finiteArea" for configuration "" +set_property(TARGET finiteArea APPEND PROPERTY IMPORTED_CONFIGURATIONS NOCONFIG) +set_target_properties(finiteArea PROPERTIES + IMPORTED_LINK_INTERFACE_LIBRARIES_NOCONFIG "foam" + IMPORTED_LOCATION_NOCONFIG "/home/henrus/OpenFOAM/foam-extend-4.0_2/lib/libfiniteArea.so.4.0" + IMPORTED_SONAME_NOCONFIG "libfiniteArea.so.3" + ) + +# Import target "errorEstimation" for configuration "" +set_property(TARGET errorEstimation APPEND PROPERTY IMPORTED_CONFIGURATIONS NOCONFIG) +set_target_properties(errorEstimation PROPERTIES + IMPORTED_LINK_INTERFACE_LIBRARIES_NOCONFIG "finiteVolume" + IMPORTED_LOCATION_NOCONFIG "/home/henrus/OpenFOAM/foam-extend-4.0_2/lib/liberrorEstimation.so.4.0" + IMPORTED_SONAME_NOCONFIG "liberrorEstimation.so.3" + ) + +# Import target "randomProcesses" for configuration "" +set_property(TARGET randomProcesses APPEND PROPERTY IMPORTED_CONFIGURATIONS NOCONFIG) +set_target_properties(randomProcesses PROPERTIES + IMPORTED_LINK_INTERFACE_LIBRARIES_NOCONFIG "finiteVolume" + IMPORTED_LOCATION_NOCONFIG "/home/henrus/OpenFOAM/foam-extend-4.0_2/lib/librandomProcesses.so.4.0" + IMPORTED_SONAME_NOCONFIG "librandomProcesses.so.3" + ) + +# Import target "decompositionMethods" for configuration "" +set_property(TARGET decompositionMethods APPEND PROPERTY IMPORTED_CONFIGURATIONS NOCONFIG) +set_target_properties(decompositionMethods PROPERTIES + IMPORTED_LINK_INTERFACE_LIBRARIES_NOCONFIG "foam" + IMPORTED_LOCATION_NOCONFIG "/home/henrus/OpenFOAM/foam-extend-4.0_2/lib/libdecompositionMethods.so.4.0" + IMPORTED_SONAME_NOCONFIG "libdecompositionMethods.so.3" + ) + +# Import target "conversion" for configuration "" +set_property(TARGET conversion APPEND PROPERTY IMPORTED_CONFIGURATIONS NOCONFIG) +set_target_properties(conversion PROPERTIES + IMPORTED_LINK_INTERFACE_LIBRARIES_NOCONFIG "finiteVolume" + IMPORTED_LOCATION_NOCONFIG "/home/henrus/OpenFOAM/foam-extend-4.0_2/lib/libconversion.so.4.0" + IMPORTED_SONAME_NOCONFIG "libconversion.so.3" + ) + +# Import target "surfMesh" for configuration "" +set_property(TARGET surfMesh APPEND PROPERTY IMPORTED_CONFIGURATIONS NOCONFIG) +set_target_properties(surfMesh PROPERTIES + IMPORTED_LINK_INTERFACE_LIBRARIES_NOCONFIG "foam" + IMPORTED_LOCATION_NOCONFIG "/home/henrus/OpenFOAM/foam-extend-4.0_2/lib/libsurfMesh.so.4.0" + IMPORTED_SONAME_NOCONFIG "libsurfMesh.so.3" + ) + +# Import target "incompressibleTransportModels" for configuration "" +set_property(TARGET incompressibleTransportModels APPEND PROPERTY IMPORTED_CONFIGURATIONS NOCONFIG) +set_target_properties(incompressibleTransportModels PROPERTIES + IMPORTED_LINK_INTERFACE_LIBRARIES_NOCONFIG "finiteVolume" + IMPORTED_LOCATION_NOCONFIG "/home/henrus/OpenFOAM/foam-extend-4.0_2/lib/libincompressibleTransportModels.so.4.0" + IMPORTED_SONAME_NOCONFIG "libincompressibleTransportModels.so.3" + ) + +# Import target "interfaceProperties" for configuration "" +set_property(TARGET interfaceProperties APPEND PROPERTY IMPORTED_CONFIGURATIONS NOCONFIG) +set_target_properties(interfaceProperties PROPERTIES + IMPORTED_LINK_INTERFACE_LIBRARIES_NOCONFIG "finiteVolume" + IMPORTED_LOCATION_NOCONFIG "/home/henrus/OpenFOAM/foam-extend-4.0_2/lib/libinterfaceProperties.so.4.0" + IMPORTED_SONAME_NOCONFIG "libinterfaceProperties.so.3" + ) + +# Import target "viscoelasticTransportModels" for configuration "" +set_property(TARGET viscoelasticTransportModels APPEND PROPERTY IMPORTED_CONFIGURATIONS NOCONFIG) +set_target_properties(viscoelasticTransportModels PROPERTIES + IMPORTED_LINK_INTERFACE_LIBRARIES_NOCONFIG "finiteVolume" + IMPORTED_LOCATION_NOCONFIG "/home/henrus/OpenFOAM/foam-extend-4.0_2/lib/libviscoelasticTransportModels.so.4.0" + IMPORTED_SONAME_NOCONFIG "libviscoelasticTransportModels.so.3" + ) + +# Import target "multiSolverLib" for configuration "" +set_property(TARGET multiSolverLib APPEND PROPERTY IMPORTED_CONFIGURATIONS NOCONFIG) +set_target_properties(multiSolverLib PROPERTIES + IMPORTED_LINK_INTERFACE_LIBRARIES_NOCONFIG "foam" + IMPORTED_LOCATION_NOCONFIG "/home/henrus/OpenFOAM/foam-extend-4.0_2/lib/libmultiSolverLib.so.4.0" + IMPORTED_SONAME_NOCONFIG "libmultiSolverLib.so.3" + ) + +# Import target "OSspecific" for configuration "" +set_property(TARGET OSspecific APPEND PROPERTY IMPORTED_CONFIGURATIONS NOCONFIG) +set_target_properties(OSspecific PROPERTIES + IMPORTED_LOCATION_NOCONFIG "/home/henrus/OpenFOAM/foam-extend-4.0_2/lib/libOSspecific.so.4.0" + IMPORTED_SONAME_NOCONFIG "libOSspecific.so.3" + ) + +# Import target "equationReader" for configuration "" +set_property(TARGET equationReader APPEND PROPERTY IMPORTED_CONFIGURATIONS NOCONFIG) +set_target_properties(equationReader PROPERTIES + IMPORTED_LINK_INTERFACE_LIBRARIES_NOCONFIG "foam" + IMPORTED_LOCATION_NOCONFIG "/home/henrus/OpenFOAM/foam-extend-4.0_2/lib/libequationReader.so.4.0" + IMPORTED_SONAME_NOCONFIG "libequationReader.so.3" + ) + +# Import target "POD" for configuration "" +set_property(TARGET POD APPEND PROPERTY IMPORTED_CONFIGURATIONS NOCONFIG) +set_target_properties(POD PROPERTIES + IMPORTED_LINK_INTERFACE_LIBRARIES_NOCONFIG "finiteVolume;ODE" + IMPORTED_LOCATION_NOCONFIG "/home/henrus/OpenFOAM/foam-extend-4.0_2/lib/libPOD.so.4.0" + IMPORTED_SONAME_NOCONFIG "libPOD.so.3" + ) + +# Import target "solidModels" for configuration "" +set_property(TARGET solidModels APPEND PROPERTY IMPORTED_CONFIGURATIONS NOCONFIG) +set_target_properties(solidModels PROPERTIES + IMPORTED_LINK_INTERFACE_LIBRARIES_NOCONFIG "topoChangerFvMesh;finiteArea" + IMPORTED_LOCATION_NOCONFIG "/home/henrus/OpenFOAM/foam-extend-4.0_2/lib/libsolidModels.so.4.0" + IMPORTED_SONAME_NOCONFIG "libsolidModels.so.3" + ) + +# Import target "ODE" for configuration "" +set_property(TARGET ODE APPEND PROPERTY IMPORTED_CONFIGURATIONS NOCONFIG) +set_target_properties(ODE PROPERTIES + IMPORTED_LINK_INTERFACE_LIBRARIES_NOCONFIG "meshTools" + IMPORTED_LOCATION_NOCONFIG "/home/henrus/OpenFOAM/foam-extend-4.0_2/lib/libODE.so.4.0" + IMPORTED_SONAME_NOCONFIG "libODE.so.3" + ) + +# Import target "engine" for configuration "" +set_property(TARGET engine APPEND PROPERTY IMPORTED_CONFIGURATIONS NOCONFIG) +set_target_properties(engine PROPERTIES + IMPORTED_LINK_INTERFACE_LIBRARIES_NOCONFIG "dynamicFvMesh;fvMotionSolver" + IMPORTED_LOCATION_NOCONFIG "/home/henrus/OpenFOAM/foam-extend-4.0_2/lib/libengine.so.4.0" + IMPORTED_SONAME_NOCONFIG "libengine.so.3" + ) + +# Import target "lduSolvers" for configuration "" +set_property(TARGET lduSolvers APPEND PROPERTY IMPORTED_CONFIGURATIONS NOCONFIG) +set_target_properties(lduSolvers PROPERTIES + IMPORTED_LINK_INTERFACE_LIBRARIES_NOCONFIG "foam" + IMPORTED_LOCATION_NOCONFIG "/home/henrus/OpenFOAM/foam-extend-4.0_2/lib/liblduSolvers.so.4.0" + IMPORTED_SONAME_NOCONFIG "liblduSolvers.so.3" + ) + +# Import target "blockMeshLib" for configuration "" +set_property(TARGET blockMeshLib APPEND PROPERTY IMPORTED_CONFIGURATIONS NOCONFIG) +set_target_properties(blockMeshLib PROPERTIES + IMPORTED_LINK_INTERFACE_LIBRARIES_NOCONFIG "ODE;dynamicMesh;finiteVolume;meshTools" + IMPORTED_LOCATION_NOCONFIG "/home/henrus/OpenFOAM/foam-extend-4.0_2/lib/libblockMeshLib.so.4.0" + IMPORTED_SONAME_NOCONFIG "libblockMeshLib.so.3" + ) + +# Import target "cfMesh" for configuration "" +set_property(TARGET cfMesh APPEND PROPERTY IMPORTED_CONFIGURATIONS NOCONFIG) +set_target_properties(cfMesh PROPERTIES + IMPORTED_LINK_INTERFACE_LIBRARIES_NOCONFIG "meshTools;edgeMesh" + IMPORTED_LOCATION_NOCONFIG "/home/henrus/OpenFOAM/foam-extend-4.0_2/lib/libcfMesh.so.4.0" + IMPORTED_SONAME_NOCONFIG "libcfMesh.so.3" + ) + +# Import target "extrudeModel" for configuration "" +set_property(TARGET extrudeModel APPEND PROPERTY IMPORTED_CONFIGURATIONS NOCONFIG) +set_target_properties(extrudeModel PROPERTIES + IMPORTED_LINK_INTERFACE_LIBRARIES_NOCONFIG "dynamicMesh" + IMPORTED_LOCATION_NOCONFIG "/home/henrus/OpenFOAM/foam-extend-4.0_2/lib/libextrudeModel.so.4.0" + IMPORTED_SONAME_NOCONFIG "libextrudeModel.so.3" + ) + +# Import target "autoMesh" for configuration "" +set_property(TARGET autoMesh APPEND PROPERTY IMPORTED_CONFIGURATIONS NOCONFIG) +set_target_properties(autoMesh PROPERTIES + IMPORTED_LINK_INTERFACE_LIBRARIES_NOCONFIG "dynamicFvMesh;edgeMesh" + IMPORTED_LOCATION_NOCONFIG "/home/henrus/OpenFOAM/foam-extend-4.0_2/lib/libautoMesh.so.4.0" + IMPORTED_SONAME_NOCONFIG "libautoMesh.so.3" + ) + +# Import target "IOFunctionObjects" for configuration "" +set_property(TARGET IOFunctionObjects APPEND PROPERTY IMPORTED_CONFIGURATIONS NOCONFIG) +set_target_properties(IOFunctionObjects PROPERTIES + IMPORTED_LINK_INTERFACE_LIBRARIES_NOCONFIG "foam" + IMPORTED_LOCATION_NOCONFIG "/home/henrus/OpenFOAM/foam-extend-4.0_2/lib/libIOFunctionObjects.so.4.0" + IMPORTED_SONAME_NOCONFIG "libIOFunctionObjects.so.3" + ) + +# Import target "systemCall" for configuration "" +set_property(TARGET systemCall APPEND PROPERTY IMPORTED_CONFIGURATIONS NOCONFIG) +set_target_properties(systemCall PROPERTIES + IMPORTED_LINK_INTERFACE_LIBRARIES_NOCONFIG "foam" + IMPORTED_LOCATION_NOCONFIG "/home/henrus/OpenFOAM/foam-extend-4.0_2/lib/libsystemCall.so.4.0" + IMPORTED_SONAME_NOCONFIG "libsystemCall.so.3" + ) + +# Import target "utilityFunctionObjects" for configuration "" +set_property(TARGET utilityFunctionObjects APPEND PROPERTY IMPORTED_CONFIGURATIONS NOCONFIG) +set_target_properties(utilityFunctionObjects PROPERTIES + IMPORTED_LINK_INTERFACE_LIBRARIES_NOCONFIG "basicThermophysicalModels;sampling;dsmc" + IMPORTED_LOCATION_NOCONFIG "/home/henrus/OpenFOAM/foam-extend-4.0_2/lib/libutilityFunctionObjects.so.4.0" + IMPORTED_SONAME_NOCONFIG "libutilityFunctionObjects.so.3" + ) + +# Import target "fieldFunctionObjects" for configuration "" +set_property(TARGET fieldFunctionObjects APPEND PROPERTY IMPORTED_CONFIGURATIONS NOCONFIG) +set_target_properties(fieldFunctionObjects PROPERTIES + IMPORTED_LINK_INTERFACE_LIBRARIES_NOCONFIG "finiteVolume" + IMPORTED_LOCATION_NOCONFIG "/home/henrus/OpenFOAM/foam-extend-4.0_2/lib/libfieldFunctionObjects.so.4.0" + IMPORTED_SONAME_NOCONFIG "libfieldFunctionObjects.so.3" + ) + +# Import target "forces" for configuration "" +set_property(TARGET forces APPEND PROPERTY IMPORTED_CONFIGURATIONS NOCONFIG) +set_target_properties(forces PROPERTIES + IMPORTED_LINK_INTERFACE_LIBRARIES_NOCONFIG "incompressibleRASModels;incompressibleLESModels;compressibleRASModels;compressibleLESModels" + IMPORTED_LOCATION_NOCONFIG "/home/henrus/OpenFOAM/foam-extend-4.0_2/lib/libforces.so.4.0" + IMPORTED_SONAME_NOCONFIG "libforces.so.3" + ) + +# Import target "checkFunctionObjects" for configuration "" +set_property(TARGET checkFunctionObjects APPEND PROPERTY IMPORTED_CONFIGURATIONS NOCONFIG) +set_target_properties(checkFunctionObjects PROPERTIES + IMPORTED_LINK_INTERFACE_LIBRARIES_NOCONFIG "finiteVolume" + IMPORTED_LOCATION_NOCONFIG "/home/henrus/OpenFOAM/foam-extend-4.0_2/lib/libcheckFunctionObjects.so.4.0" + IMPORTED_SONAME_NOCONFIG "libcheckFunctionObjects.so.3" + ) + +# Import target "postCalc" for configuration "" +set_property(TARGET postCalc APPEND PROPERTY IMPORTED_CONFIGURATIONS NOCONFIG) +set_target_properties(postCalc PROPERTIES + IMPORTED_LINK_INTERFACE_LIBRARIES_NOCONFIG "finiteVolume" + IMPORTED_LOCATION_NOCONFIG "/home/henrus/OpenFOAM/foam-extend-4.0_2/lib/libpostCalc.so.4.0" + IMPORTED_SONAME_NOCONFIG "libpostCalc.so.3" + ) + +# Import target "foamCalcFunctions" for configuration "" +set_property(TARGET foamCalcFunctions APPEND PROPERTY IMPORTED_CONFIGURATIONS NOCONFIG) +set_target_properties(foamCalcFunctions PROPERTIES + IMPORTED_LINK_INTERFACE_LIBRARIES_NOCONFIG "finiteVolume" + IMPORTED_LOCATION_NOCONFIG "/home/henrus/OpenFOAM/foam-extend-4.0_2/lib/libfoamCalcFunctions.so.4.0" + IMPORTED_SONAME_NOCONFIG "libfoamCalcFunctions.so.3" + ) + +# Import target "finiteVolume" for configuration "" +set_property(TARGET finiteVolume APPEND PROPERTY IMPORTED_CONFIGURATIONS NOCONFIG) +set_target_properties(finiteVolume PROPERTIES + IMPORTED_LINK_INTERFACE_LIBRARIES_NOCONFIG "meshTools" + IMPORTED_LOCATION_NOCONFIG "/home/henrus/OpenFOAM/foam-extend-4.0_2/lib/libfiniteVolume.so.4.0" + IMPORTED_SONAME_NOCONFIG "libfiniteVolume.so.3" + ) + +# Import target "sampling" for configuration "" +set_property(TARGET sampling APPEND PROPERTY IMPORTED_CONFIGURATIONS NOCONFIG) +set_target_properties(sampling PROPERTIES + IMPORTED_LINK_INTERFACE_LIBRARIES_NOCONFIG "finiteVolume;surfMesh" + IMPORTED_LOCATION_NOCONFIG "/home/henrus/OpenFOAM/foam-extend-4.0_2/lib/libsampling.so.4.0" + IMPORTED_SONAME_NOCONFIG "libsampling.so.3" + ) + +# Import target "meshTools" for configuration "" +set_property(TARGET meshTools APPEND PROPERTY IMPORTED_CONFIGURATIONS NOCONFIG) +set_target_properties(meshTools PROPERTIES + IMPORTED_LINK_INTERFACE_LIBRARIES_NOCONFIG "lagrangianBasic;decompositionMethods" + IMPORTED_LOCATION_NOCONFIG "/home/henrus/OpenFOAM/foam-extend-4.0_2/lib/libmeshTools.so.4.0" + IMPORTED_SONAME_NOCONFIG "libmeshTools.so.3" + ) + +# Import target "topoChangerFvMesh" for configuration "" +set_property(TARGET topoChangerFvMesh APPEND PROPERTY IMPORTED_CONFIGURATIONS NOCONFIG) +set_target_properties(topoChangerFvMesh PROPERTIES + IMPORTED_LINK_INTERFACE_LIBRARIES_NOCONFIG "dynamicFvMesh" + IMPORTED_LOCATION_NOCONFIG "/home/henrus/OpenFOAM/foam-extend-4.0_2/lib/libtopoChangerFvMesh.so.4.0" + IMPORTED_SONAME_NOCONFIG "libtopoChangerFvMesh.so.3" + ) + +# Import target "dynamicMesh" for configuration "" +set_property(TARGET dynamicMesh APPEND PROPERTY IMPORTED_CONFIGURATIONS NOCONFIG) +set_target_properties(dynamicMesh PROPERTIES + IMPORTED_LINK_INTERFACE_LIBRARIES_NOCONFIG "meshTools" + IMPORTED_LOCATION_NOCONFIG "/home/henrus/OpenFOAM/foam-extend-4.0_2/lib/libdynamicMesh.so.4.0" + IMPORTED_SONAME_NOCONFIG "libdynamicMesh.so.3" + ) + +# Import target "dynamicTopoFvMesh" for configuration "" +set_property(TARGET dynamicTopoFvMesh APPEND PROPERTY IMPORTED_CONFIGURATIONS NOCONFIG) +set_target_properties(dynamicTopoFvMesh PROPERTIES + IMPORTED_LINK_INTERFACE_LIBRARIES_NOCONFIG "dynamicFvMesh" + IMPORTED_LOCATION_NOCONFIG "/home/henrus/OpenFOAM/foam-extend-4.0_2/lib/libdynamicTopoFvMesh.so.4.0" + IMPORTED_SONAME_NOCONFIG "libdynamicTopoFvMesh.so.3" + ) + +# Import target "dynamicFvMesh" for configuration "" +set_property(TARGET dynamicFvMesh APPEND PROPERTY IMPORTED_CONFIGURATIONS NOCONFIG) +set_target_properties(dynamicFvMesh PROPERTIES + IMPORTED_LINK_INTERFACE_LIBRARIES_NOCONFIG "dynamicMesh;finiteVolume;RBFMotionSolver;solidBodyMotion;tetMotionSolver" + IMPORTED_LOCATION_NOCONFIG "/home/henrus/OpenFOAM/foam-extend-4.0_2/lib/libdynamicFvMesh.so.4.0" + IMPORTED_SONAME_NOCONFIG "libdynamicFvMesh.so.3" + ) + +# Import target "solidBodyMotion" for configuration "" +set_property(TARGET solidBodyMotion APPEND PROPERTY IMPORTED_CONFIGURATIONS NOCONFIG) +set_target_properties(solidBodyMotion PROPERTIES + IMPORTED_LINK_INTERFACE_LIBRARIES_NOCONFIG "foam" + IMPORTED_LOCATION_NOCONFIG "/home/henrus/OpenFOAM/foam-extend-4.0_2/lib/libsolidBodyMotion.so.4.0" + IMPORTED_SONAME_NOCONFIG "libsolidBodyMotion.so.3" + ) + +# Import target "RBFMotionSolver" for configuration "" +set_property(TARGET RBFMotionSolver APPEND PROPERTY IMPORTED_CONFIGURATIONS NOCONFIG) +set_target_properties(RBFMotionSolver PROPERTIES + IMPORTED_LINK_INTERFACE_LIBRARIES_NOCONFIG "dynamicMesh" + IMPORTED_LOCATION_NOCONFIG "/home/henrus/OpenFOAM/foam-extend-4.0_2/lib/libRBFMotionSolver.so.4.0" + IMPORTED_SONAME_NOCONFIG "libRBFMotionSolver.so.3" + ) + +# Import target "fvMotionSolver" for configuration "" +set_property(TARGET fvMotionSolver APPEND PROPERTY IMPORTED_CONFIGURATIONS NOCONFIG) +set_target_properties(fvMotionSolver PROPERTIES + IMPORTED_LINK_INTERFACE_LIBRARIES_NOCONFIG "finiteVolume;dynamicMesh" + IMPORTED_LOCATION_NOCONFIG "/home/henrus/OpenFOAM/foam-extend-4.0_2/lib/libfvMotionSolver.so.4.0" + IMPORTED_SONAME_NOCONFIG "libfvMotionSolver.so.3" + ) + +# Import target "tetMotionSolver" for configuration "" +set_property(TARGET tetMotionSolver APPEND PROPERTY IMPORTED_CONFIGURATIONS NOCONFIG) +set_target_properties(tetMotionSolver PROPERTIES + IMPORTED_LINK_INTERFACE_LIBRARIES_NOCONFIG "tetFiniteElement;dynamicMesh" + IMPORTED_LOCATION_NOCONFIG "/home/henrus/OpenFOAM/foam-extend-4.0_2/lib/libtetMotionSolver.so.4.0" + IMPORTED_SONAME_NOCONFIG "libtetMotionSolver.so.3" + ) + +# Import target "laminarFlameSpeedModels" for configuration "" +set_property(TARGET laminarFlameSpeedModels APPEND PROPERTY IMPORTED_CONFIGURATIONS NOCONFIG) +set_target_properties(laminarFlameSpeedModels PROPERTIES + IMPORTED_LINK_INTERFACE_LIBRARIES_NOCONFIG "reactionThermophysicalModels" + IMPORTED_LOCATION_NOCONFIG "/home/henrus/OpenFOAM/foam-extend-4.0_2/lib/liblaminarFlameSpeedModels.so.4.0" + IMPORTED_SONAME_NOCONFIG "liblaminarFlameSpeedModels.so.3" + ) + +# Import target "liquidMixture" for configuration "" +set_property(TARGET liquidMixture APPEND PROPERTY IMPORTED_CONFIGURATIONS NOCONFIG) +set_target_properties(liquidMixture PROPERTIES + IMPORTED_LINK_INTERFACE_LIBRARIES_NOCONFIG "liquids;specie" + IMPORTED_LOCATION_NOCONFIG "/home/henrus/OpenFOAM/foam-extend-4.0_2/lib/libliquidMixture.so.4.0" + IMPORTED_SONAME_NOCONFIG "libliquidMixture.so.3" + ) + +# Import target "radiation" for configuration "" +set_property(TARGET radiation APPEND PROPERTY IMPORTED_CONFIGURATIONS NOCONFIG) +set_target_properties(radiation PROPERTIES + IMPORTED_LINK_INTERFACE_LIBRARIES_NOCONFIG "basicThermophysicalModels" + IMPORTED_LOCATION_NOCONFIG "/home/henrus/OpenFOAM/foam-extend-4.0_2/lib/libradiation.so.4.0" + IMPORTED_SONAME_NOCONFIG "libradiation.so.3" + ) + +# Import target "barotropicCompressibilityModel" for configuration "" +set_property(TARGET barotropicCompressibilityModel APPEND PROPERTY IMPORTED_CONFIGURATIONS NOCONFIG) +set_target_properties(barotropicCompressibilityModel PROPERTIES + IMPORTED_LINK_INTERFACE_LIBRARIES_NOCONFIG "finiteVolume" + IMPORTED_LOCATION_NOCONFIG "/home/henrus/OpenFOAM/foam-extend-4.0_2/lib/libbarotropicCompressibilityModel.so.4.0" + IMPORTED_SONAME_NOCONFIG "libbarotropicCompressibilityModel.so.3" + ) + +# Import target "specie" for configuration "" +set_property(TARGET specie APPEND PROPERTY IMPORTED_CONFIGURATIONS NOCONFIG) +set_target_properties(specie PROPERTIES + IMPORTED_LINK_INTERFACE_LIBRARIES_NOCONFIG "foam" + IMPORTED_LOCATION_NOCONFIG "/home/henrus/OpenFOAM/foam-extend-4.0_2/lib/libspecie.so.4.0" + IMPORTED_SONAME_NOCONFIG "libspecie.so.3" + ) + +# Import target "solids" for configuration "" +set_property(TARGET solids APPEND PROPERTY IMPORTED_CONFIGURATIONS NOCONFIG) +set_target_properties(solids PROPERTIES + IMPORTED_LINK_INTERFACE_LIBRARIES_NOCONFIG "foam" + IMPORTED_LOCATION_NOCONFIG "/home/henrus/OpenFOAM/foam-extend-4.0_2/lib/libsolids.so.4.0" + IMPORTED_SONAME_NOCONFIG "libsolids.so.3" + ) + +# Import target "thermophysicalFunctions" for configuration "" +set_property(TARGET thermophysicalFunctions APPEND PROPERTY IMPORTED_CONFIGURATIONS NOCONFIG) +set_target_properties(thermophysicalFunctions PROPERTIES + IMPORTED_LINK_INTERFACE_LIBRARIES_NOCONFIG "foam" + IMPORTED_LOCATION_NOCONFIG "/home/henrus/OpenFOAM/foam-extend-4.0_2/lib/libthermophysicalFunctions.so.4.0" + IMPORTED_SONAME_NOCONFIG "libthermophysicalFunctions.so.3" + ) + +# Import target "liquids" for configuration "" +set_property(TARGET liquids APPEND PROPERTY IMPORTED_CONFIGURATIONS NOCONFIG) +set_target_properties(liquids PROPERTIES + IMPORTED_LINK_INTERFACE_LIBRARIES_NOCONFIG "thermophysicalFunctions" + IMPORTED_LOCATION_NOCONFIG "/home/henrus/OpenFOAM/foam-extend-4.0_2/lib/libliquids.so.4.0" + IMPORTED_SONAME_NOCONFIG "libliquids.so.3" + ) + +# Import target "basicThermophysicalModels" for configuration "" +set_property(TARGET basicThermophysicalModels APPEND PROPERTY IMPORTED_CONFIGURATIONS NOCONFIG) +set_target_properties(basicThermophysicalModels PROPERTIES + IMPORTED_LINK_INTERFACE_LIBRARIES_NOCONFIG "finiteVolume;specie;thermophysicalFunctions" + IMPORTED_LOCATION_NOCONFIG "/home/henrus/OpenFOAM/foam-extend-4.0_2/lib/libbasicThermophysicalModels.so.4.0" + IMPORTED_SONAME_NOCONFIG "libbasicThermophysicalModels.so.3" + ) + +# Import target "pdf" for configuration "" +set_property(TARGET pdf APPEND PROPERTY IMPORTED_CONFIGURATIONS NOCONFIG) +set_target_properties(pdf PROPERTIES + IMPORTED_LINK_INTERFACE_LIBRARIES_NOCONFIG "foam" + IMPORTED_LOCATION_NOCONFIG "/home/henrus/OpenFOAM/foam-extend-4.0_2/lib/libpdf.so.4.0" + IMPORTED_SONAME_NOCONFIG "libpdf.so.3" + ) + +# Import target "reactionThermophysicalModels" for configuration "" +set_property(TARGET reactionThermophysicalModels APPEND PROPERTY IMPORTED_CONFIGURATIONS NOCONFIG) +set_target_properties(reactionThermophysicalModels PROPERTIES + IMPORTED_LINK_INTERFACE_LIBRARIES_NOCONFIG "basicThermophysicalModels" + IMPORTED_LOCATION_NOCONFIG "/home/henrus/OpenFOAM/foam-extend-4.0_2/lib/libreactionThermophysicalModels.so.4.0" + IMPORTED_SONAME_NOCONFIG "libreactionThermophysicalModels.so.3" + ) + +# Import target "solidMixture" for configuration "" +set_property(TARGET solidMixture APPEND PROPERTY IMPORTED_CONFIGURATIONS NOCONFIG) +set_target_properties(solidMixture PROPERTIES + IMPORTED_LINK_INTERFACE_LIBRARIES_NOCONFIG "solids" + IMPORTED_LOCATION_NOCONFIG "/home/henrus/OpenFOAM/foam-extend-4.0_2/lib/libsolidMixture.so.4.0" + IMPORTED_SONAME_NOCONFIG "libsolidMixture.so.3" + ) + +# Import target "chemistryModel" for configuration "" +set_property(TARGET chemistryModel APPEND PROPERTY IMPORTED_CONFIGURATIONS NOCONFIG) +set_target_properties(chemistryModel PROPERTIES + IMPORTED_LINK_INTERFACE_LIBRARIES_NOCONFIG "reactionThermophysicalModels;ODE" + IMPORTED_LOCATION_NOCONFIG "/home/henrus/OpenFOAM/foam-extend-4.0_2/lib/libchemistryModel.so.4.0" + IMPORTED_SONAME_NOCONFIG "libchemistryModel.so.3" + ) + +# Import target "userd-newFoam" for configuration "" +set_property(TARGET userd-newFoam APPEND PROPERTY IMPORTED_CONFIGURATIONS NOCONFIG) +set_target_properties(userd-newFoam PROPERTIES + IMPORTED_LINK_INTERFACE_LIBRARIES_NOCONFIG "finiteVolume;finiteArea;lagrangianBasic" + IMPORTED_LOCATION_NOCONFIG "/home/henrus/OpenFOAM/foam-extend-4.0_2/lib/libuserd-newFoam.so.4.0" + IMPORTED_SONAME_NOCONFIG "libuserd-newFoam.so.3" + ) + +# Import target "userd-foam" for configuration "" +set_property(TARGET userd-foam APPEND PROPERTY IMPORTED_CONFIGURATIONS NOCONFIG) +set_target_properties(userd-foam PROPERTIES + IMPORTED_LINK_INTERFACE_LIBRARIES_NOCONFIG "finiteVolume;lagrangianBasic" + IMPORTED_LOCATION_NOCONFIG "/home/henrus/OpenFOAM/foam-extend-4.0_2/lib/libuserd-foam.so.4.0" + IMPORTED_SONAME_NOCONFIG "libuserd-foam.so.3" + ) + +# This file does not depend on other imported targets which have +# been exported from the same project but in a separate export set. + +# Commands beyond this point should not need to know the version. +set(CMAKE_IMPORT_FILE_VERSION) +cmake_policy(POP) diff --git a/cmake/getGitVersion.cmake b/cmake/getGitVersion.cmake new file mode 100644 index 000000000..ad9d53b05 --- /dev/null +++ b/cmake/getGitVersion.cmake @@ -0,0 +1,43 @@ + +if(NOT GIT_FOUND) + find_package(Git QUIET) +endif() + +if(GIT_FOUND) + # Try to get version from from git + execute_process( + COMMAND ${GIT_EXECUTABLE} describe --tags --dirty=-dirty + OUTPUT_VARIABLE GIT_VERSION + ERROR_VARIABLE dummy + RESULT_VARIABLE res + OUTPUT_STRIP_TRAILING_WHITESPACE + ) + + if(res EQUAL 0) + string(REPLACE "g" "" GIT_VERSION "${GIT_VERSION}") + string(REGEX REPLACE "^v([0-9]+\\.?[0-9]*\\.?([0-9]*)).*" "\\1" FOAM_VERSION "${GIT_VERSION}") + endif() +endif() + +if(NOT GIT_VERSION) + if(EXISTS cmake/storedVersion.cmake) + # Fall-back to stored version + include(cmake/storedVersion.cmake) + else() + # We should not be here. Set some defaults! + set(GIT_VERSION "4.0-unknown") + set(FOAM_VERSION "4.0") + endif() +endif() + +# Save version information so that it can be exported with the project +# and included as a fall-back - see above +configure_file(cmake/storedVersion.cmake.in + cmake/storedVersion.cmake +) + +# Configure global.C +configure_file(src/foam/global/global.C.in + src/foam/global/global.C +) + diff --git a/cmake/storedVersion.cmake b/cmake/storedVersion.cmake new file mode 100644 index 000000000..dab22f1ec --- /dev/null +++ b/cmake/storedVersion.cmake @@ -0,0 +1,2 @@ +set(GIT_VERSION "v4.0-dirty") +set(FOAM_VERSION "4.0") diff --git a/cmake/storedVersion.cmake.in b/cmake/storedVersion.cmake.in new file mode 100644 index 000000000..cdf2a9efe --- /dev/null +++ b/cmake/storedVersion.cmake.in @@ -0,0 +1,2 @@ +set(GIT_VERSION "@GIT_VERSION@") +set(FOAM_VERSION "@FOAM_VERSION@") diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt new file mode 100644 index 000000000..42523e52f --- /dev/null +++ b/src/CMakeLists.txt @@ -0,0 +1,63 @@ +# --------------------------------------------------------------------------# ======== | +# \ / F ield | foam-extend: Open Source CFD +# \ / O peration | Version: 4.1 +# \ / A nd | Web: http://www.foam-extend.org +# \/ M anipulation | For copyright notice see file Copyright +# -------------------------------------------------------------------------- +# License +# This file is part of foam-extend. +# +# foam-extend 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 3 of the License, or {at your +# option} any later version. +# +# foam-extend 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 foam-extend. If not, see . +# +# Description +# CMakeLists.txt file for libraries and applications +# +# Author +# Henrik Rusche, Wikki GmbH, 2017. All rights reserved +# +# +# -------------------------------------------------------------------------- + +add_subdirectory(foam) +add_subdirectory(immersedBoundary) +add_subdirectory(lagrangian) +add_subdirectory(edgeMesh) +add_subdirectory(coupledMatrix) +add_subdirectory(turbulenceModels) +add_subdirectory(tetFiniteElement) +add_subdirectory(finiteArea) +add_subdirectory(errorEstimation) +add_subdirectory(randomProcesses) +add_subdirectory(decompositionMethods) +add_subdirectory(conversion) +add_subdirectory(surfMesh) +add_subdirectory(transportModels) +add_subdirectory(multiSolver) +add_subdirectory(OSspecific) +add_subdirectory(equationReader) +add_subdirectory(POD) +add_subdirectory(solidModels) +add_subdirectory(ODE) +add_subdirectory(engine) +add_subdirectory(lduSolvers) +#add_subdirectory(cudaSolvers) +add_subdirectory(mesh) +add_subdirectory(postProcessing) +add_subdirectory(finiteVolume) +add_subdirectory(sampling) +add_subdirectory(fvAgglomerationMethods) +add_subdirectory(meshTools) +add_subdirectory(dynamicMesh) +add_subdirectory(thermophysicalModels) +#add_subdirectory(dbns) diff --git a/src/ODE/CMakeLists.txt b/src/ODE/CMakeLists.txt new file mode 100644 index 000000000..65c1d981e --- /dev/null +++ b/src/ODE/CMakeLists.txt @@ -0,0 +1,61 @@ +# -------------------------------------------------------------------------- +# ======== | +# \ / F ield | foam-extend: Open Source CFD +# \ / O peration | Version: 4.1 +# \ / A nd | Web: http://www.foam-extend.org +# \/ M anipulation | For copyright notice see file Copyright +# -------------------------------------------------------------------------- +# License +# This file is part of foam-extend. +# +# foam-extend 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 3 of the License, or {at your +# option} any later version. +# +# foam-extend 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 foam-extend. If not, see . +# +# Description +# CMakeLists.txt file for libraries and applications +# +# Author +# Henrik Rusche, Wikki GmbH, 2017. All rights reserved +# +# +# -------------------------------------------------------------------------- + +set(ODESolvers ODESolvers) +list(APPEND sources + ${ODESolvers}/ODESolver/ODESolver.C + ${ODESolvers}/ODESolver/newODESolver.C + ${ODESolvers}/Euler/Euler.C + ${ODESolvers}/RK/RK.C + ${ODESolvers}/KRR4/KRR4.C + ${ODESolvers}/SIBS/SIBS.C + ${ODESolvers}/SIBS/SIMPR.C + ${ODESolvers}/SIBS/polyExtrapolate.C +) + +set(translationODE translationODE) +list(APPEND sources + ${translationODE}/translationODE.C +) + +set(sixDOF sixDOF) +list(APPEND sources + ${sixDOF}/finiteRotation/finiteRotation.C + ${sixDOF}/sixDOFqODE/sixDOFqODE.C + ${sixDOF}/sixDOFbodies/sixDOFbodies.C +) + +add_foam_library(ODE SHARED ${sources}) + +# This is a prototype! Replace second argument with a list of the highest +# dependencies only. Inherited dependencies will be treated automatically. +target_link_libraries(ODE PUBLIC meshTools) diff --git a/src/OSspecific/CMakeLists.txt b/src/OSspecific/CMakeLists.txt new file mode 100644 index 000000000..57740f874 --- /dev/null +++ b/src/OSspecific/CMakeLists.txt @@ -0,0 +1,33 @@ +# --------------------------------------------------------------------------# ======== | +# \ / F ield | foam-extend: Open Source CFD +# \ / O peration | Version: 4.1 +# \ / A nd | Web: http://www.foam-extend.org +# \/ M anipulation | For copyright notice see file Copyright +# -------------------------------------------------------------------------- +# License +# This file is part of foam-extend. +# +# foam-extend 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 3 of the License, or {at your +# option} any later version. +# +# foam-extend 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 foam-extend. If not, see . +# +# Description +# CMakeLists.txt file for libraries and applications +# +# Author +# Henrik Rusche, Wikki GmbH, 2017. All rights reserved +# +# +# -------------------------------------------------------------------------- + +#add_subdirectory(MSWindows) +add_subdirectory(POSIX) diff --git a/src/OSspecific/MSWindows/CMakeLists.txt b/src/OSspecific/MSWindows/CMakeLists.txt new file mode 100644 index 000000000..7da1f8fe8 --- /dev/null +++ b/src/OSspecific/MSWindows/CMakeLists.txt @@ -0,0 +1,52 @@ +# -------------------------------------------------------------------------- +# ======== | +# \ / F ield | foam-extend: Open Source CFD +# \ / O peration | Version: 4.1 +# \ / A nd | Web: http://www.foam-extend.org +# \/ M anipulation | For copyright notice see file Copyright +# -------------------------------------------------------------------------- +# License +# This file is part of foam-extend. +# +# foam-extend 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 3 of the License, or {at your +# option} any later version. +# +# foam-extend 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 foam-extend. If not, see . +# +# Description +# CMakeLists.txt file for libraries and applications +# +# Author +# Henrik Rusche, Wikki GmbH, 2017. All rights reserved +# +# +# -------------------------------------------------------------------------- + +list(APPEND sources + signals/sigFpe.C + signals/sigSegv.C + signals/sigInt.C + signals/sigQuit.C + regExp.C + timer.C + fileStat.C + MSwindows.C + cpuTime/cpuTime.C + clockTime/clockTime.C + multiThreader/multiThreader.C + printStack.C +) + +add_foam_library(OSspecific SHARED ${sources}) + +# This is a prototype! Replace second argument with a list of the highest +# dependencies only. Inherited dependencies will be treated automatically. +#target_link_libraries(OSspecific finiteVolume) diff --git a/src/OSspecific/POSIX/CMakeLists.txt b/src/OSspecific/POSIX/CMakeLists.txt new file mode 100644 index 000000000..6fe7394ae --- /dev/null +++ b/src/OSspecific/POSIX/CMakeLists.txt @@ -0,0 +1,64 @@ +# -------------------------------------------------------------------------- +# ======== | +# \ / F ield | foam-extend: Open Source CFD +# \ / O peration | Version: 4.1 +# \ / A nd | Web: http://www.foam-extend.org +# \/ M anipulation | For copyright notice see file Copyright +# -------------------------------------------------------------------------- +# License +# This file is part of foam-extend. +# +# foam-extend 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 3 of the License, or {at your +# option} any later version. +# +# foam-extend 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 foam-extend. If not, see . +# +# Description +# CMakeLists.txt file for libraries and applications +# +# Author +# Henrik Rusche, Wikki GmbH, 2017. All rights reserved +# +# +# -------------------------------------------------------------------------- + +get_property(inc TARGET foam PROPERTY INCLUDE_DIRECTORIES) +include_directories(${inc}) + +list(APPEND sources + signals/sigFpe.C + signals/sigSegv.C + signals/sigInt.C + signals/sigQuit.C + regExp.C + timer.C + fileStat.C + POSIX.C + cpuTime/cpuTime.C + clockTime/clockTime.C + multiThreader/multiThreader.C +) + +#ifdef SunOS64 +#list(APPEND sources +# dummyPrintStack.C +#) +#else +list(APPEND sources + printStack.C +) +#endif + +add_foam_library(OSspecific SHARED ${sources}) + +# This is a prototype! Replace second argument with a list of the highest +# dependencies only. Inherited dependencies will be treated automatically. +#target_link_libraries(OSspecific finiteVolume) diff --git a/src/POD/CMakeLists.txt b/src/POD/CMakeLists.txt new file mode 100644 index 000000000..3c8570180 --- /dev/null +++ b/src/POD/CMakeLists.txt @@ -0,0 +1,44 @@ +# -------------------------------------------------------------------------- +# ======== | +# \ / F ield | foam-extend: Open Source CFD +# \ / O peration | Version: 4.1 +# \ / A nd | Web: http://www.foam-extend.org +# \/ M anipulation | For copyright notice see file Copyright +# -------------------------------------------------------------------------- +# License +# This file is part of foam-extend. +# +# foam-extend 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 3 of the License, or {at your +# option} any later version. +# +# foam-extend 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 foam-extend. If not, see . +# +# Description +# CMakeLists.txt file for libraries and applications +# +# Author +# Henrik Rusche, Wikki GmbH, 2017. All rights reserved +# +# +# -------------------------------------------------------------------------- + +list(APPEND sources + PODEigenBase/PODEigenBase.C + PODOrthoNormalBase/scalarPODOrthoNormalBase.C + PODODE/PODODE.C + scalarTransportPOD/scalarTransportPOD.C +) + +add_foam_library(POD SHARED ${sources}) + +# This is a prototype! Replace second argument with a list of the highest +# dependencies only. Inherited dependencies will be treated automatically. +target_link_libraries(POD PUBLIC finiteVolume ODE) diff --git a/src/conversion/CMakeLists.txt b/src/conversion/CMakeLists.txt new file mode 100644 index 000000000..0113a52c8 --- /dev/null +++ b/src/conversion/CMakeLists.txt @@ -0,0 +1,59 @@ +# -------------------------------------------------------------------------- +# ======== | +# \ / F ield | foam-extend: Open Source CFD +# \ / O peration | Version: 4.1 +# \ / A nd | Web: http://www.foam-extend.org +# \/ M anipulation | For copyright notice see file Copyright +# -------------------------------------------------------------------------- +# License +# This file is part of foam-extend. +# +# foam-extend 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 3 of the License, or {at your +# option} any later version. +# +# foam-extend 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 foam-extend. If not, see . +# +# Description +# CMakeLists.txt file for libraries and applications +# +# Author +# Henrik Rusche, Wikki GmbH, 2017. All rights reserved +# +# +# -------------------------------------------------------------------------- + +list(APPEND sources + ensight/file/ensightFile.C + ensight/file/ensightGeoFile.C + ensight/part/ensightPart.C + ensight/part/ensightPartIO.C + ensight/part/ensightPartCells.C + ensight/part/ensightPartFaces.C + ensight/part/ensightParts.C + meshTables/boundaryRegion.C + meshTables/cellTable.C + meshReader/meshReader.C + meshReader/meshReaderAux.C + meshReader/calcPointCells.C + meshReader/createPolyCells.C + meshReader/createPolyBoundary.C + meshReader/starcd/STARCDMeshReader.C + meshWriter/meshWriter.C + meshWriter/starcd/STARCDMeshWriter.C + meshWriter/elmer/ElmerMeshWriter.C + polyDualMesh/polyDualMesh.C +) + +add_foam_library(conversion SHARED ${sources}) + +# This is a prototype! Replace second argument with a list of the highest +# dependencies only. Inherited dependencies will be treated automatically. +target_link_libraries(conversion PUBLIC finiteVolume) diff --git a/src/coupledMatrix/CMakeLists.txt b/src/coupledMatrix/CMakeLists.txt new file mode 100644 index 000000000..b3bd1fbe5 --- /dev/null +++ b/src/coupledMatrix/CMakeLists.txt @@ -0,0 +1,59 @@ +# -------------------------------------------------------------------------- +# ======== | +# \ / F ield | foam-extend: Open Source CFD +# \ / O peration | Version: 4.1 +# \ / A nd | Web: http://www.foam-extend.org +# \/ M anipulation | For copyright notice see file Copyright +# -------------------------------------------------------------------------- +# License +# This file is part of foam-extend. +# +# foam-extend 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 3 of the License, or {at your +# option} any later version. +# +# foam-extend 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 foam-extend. If not, see . +# +# Description +# CMakeLists.txt file for libraries and applications +# +# Author +# Henrik Rusche, Wikki GmbH, 2017. All rights reserved +# +# +# -------------------------------------------------------------------------- + +list(APPEND sources + coupledLduMatrix/coupledLduMatrix.C + coupledLduPrecon/coupledLduPrecon/coupledLduPrecon.C + coupledLduPrecon/noPrecon/coupledNoPrecon.C + coupledLduPrecon/diagonalPrecon/coupledDiagonalPrecon.C + coupledLduPrecon/GaussSeidelPrecon/coupledGaussSeidelPrecon.C + coupledLduPrecon/CholeskyPrecon/coupledCholeskyPrecon.C + coupledLduSmoother/coupledLduSmoother/coupledLduSmoother.C + coupledLduSmoother/GaussSeidelSmoother/coupledGaussSeidelSmoother.C + coupledLduSmoother/iluSmoother/coupledIluSmoother.C + coupledLduSolver/coupledSolverPerformance/coupledSolverPerformance.C + coupledLduSolver/coupledLduSolver/coupledLduSolver.C + coupledLduSolver/iterativeSolver/coupledIterativeSolver.C + coupledLduSolver/diagonalSolver/coupledDiagonalSolver.C + coupledLduSolver/smoothSolver/coupledSmoothSolver.C + coupledLduSolver/cgSolver/coupledCgSolver.C + coupledLduSolver/bicgSolver/coupledBicgSolver.C + coupledLduSolver/bicgStabSolver/coupledBicgStabSolver.C + coupledFvMatrices/coupledFvMatrices.C + coupledFvMatrices/coupledFvScalarMatrix/coupledFvScalarMatrix.C +) + +add_foam_library(coupledLduMatrix SHARED ${sources}) + +# This is a prototype! Replace second argument with a list of the highest +# dependencies only. Inherited dependencies will be treated automatically. +target_link_libraries(coupledLduMatrix finiteVolume) diff --git a/src/cudaSolvers/CMakeLists.txt b/src/cudaSolvers/CMakeLists.txt new file mode 100644 index 000000000..9ae9b2f39 --- /dev/null +++ b/src/cudaSolvers/CMakeLists.txt @@ -0,0 +1,48 @@ +# -------------------------------------------------------------------------- +# ======== | +# \ / F ield | foam-extend: Open Source CFD +# \ / O peration | Version: 4.1 +# \ / A nd | Web: http://www.foam-extend.org +# \/ M anipulation | For copyright notice see file Copyright +# -------------------------------------------------------------------------- +# License +# This file is part of foam-extend. +# +# foam-extend 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 3 of the License, or {at your +# option} any later version. +# +# foam-extend 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 foam-extend. If not, see . +# +# Description +# CMakeLists.txt file for libraries and applications +# +# Author +# Henrik Rusche, Wikki GmbH, 2017. All rights reserved +# +# +# -------------------------------------------------------------------------- + +list(APPEND sources + cudaSolver/cudaSolver.C + cudaCG/cgDiag.cu + cudaCG/cgAmg.cu + cudaCG/cgAinv.cu + cudaCG/cudaCG.C + cudaBiCGStab/bicgDiag.cu + cudaBiCGStab/bicgAinv.cu + cudaBiCGStab/cudaBiCGStab.C +) + +add_foam_library(cudaSolvers SHARED ${sources}) + +# This is a prototype! Replace second argument with a list of the highest +# dependencies only. Inherited dependencies will be treated automatically. +#target_link_libraries(cudaSolvers finiteVolume) diff --git a/src/dbns/CMakeLists.txt b/src/dbns/CMakeLists.txt new file mode 100644 index 000000000..1beae1630 --- /dev/null +++ b/src/dbns/CMakeLists.txt @@ -0,0 +1,57 @@ +# -------------------------------------------------------------------------- +# ======== | +# \ / F ield | foam-extend: Open Source CFD +# \ / O peration | Version: 4.1 +# \ / A nd | Web: http://www.foam-extend.org +# \/ M anipulation | For copyright notice see file Copyright +# -------------------------------------------------------------------------- +# License +# This file is part of foam-extend. +# +# foam-extend 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 3 of the License, or {at your +# option} any later version. +# +# foam-extend 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 foam-extend. If not, see . +# +# Description +# CMakeLists.txt file for libraries and applications +# +# Author +# Henrik Rusche, Wikki GmbH, 2017. All rights reserved +# +# +# -------------------------------------------------------------------------- + +list(APPEND sources + dbnsFlux/roeFlux/roeFlux.C + dbnsFlux/rusanovFlux/rusanovFlux.C + dbnsFlux/betaFlux/betaFlux.C + dbnsFlux/hllcFlux/hllcFlux.C + dbnsFlux/hllcALEFlux/hllcALEFlux.C + basicNumericFlux/basicNumericFlux.C + basicNumericFlux/newBasicNumericFlux.C + numericFlux/numericFluxes.C + multigrid/mgMeshLevel/mgMeshLevel.C + multigrid/mgMeshLevel/fineMgMeshLevel.C + multigrid/mgMeshLevel/coarseMgMeshLevel.C + multigrid/mgFieldLevel/mgFieldLevel.C + multigrid/mgFieldLevel/fineMgFieldLevel.C + multigrid/mgFieldLevel/coarseMgFieldLevel.C + timeStepping/localTimeStep/localTimeStep.C + timeStepping/backwardDualDdtScheme/backwardDualDdtSchemes.C + timeStepping/EulerLocalDdtScheme/EulerLocalDdtSchemes.C +) + +add_foam_library(dbns SHARED ${sources}) + +# This is a prototype! Replace second argument with a list of the highest +# dependencies only. Inherited dependencies will be treated automatically. +target_link_libraries(dbns PUBLIC finiteVolume meshTools basicThermophysicalModels) diff --git a/src/decompositionMethods/CMakeLists.txt b/src/decompositionMethods/CMakeLists.txt new file mode 100644 index 000000000..7331da3b9 --- /dev/null +++ b/src/decompositionMethods/CMakeLists.txt @@ -0,0 +1,35 @@ +# --------------------------------------------------------------------------# ======== | +# \ / F ield | foam-extend: Open Source CFD +# \ / O peration | Version: 4.1 +# \ / A nd | Web: http://www.foam-extend.org +# \/ M anipulation | For copyright notice see file Copyright +# -------------------------------------------------------------------------- +# License +# This file is part of foam-extend. +# +# foam-extend 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 3 of the License, or {at your +# option} any later version. +# +# foam-extend 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 foam-extend. If not, see . +# +# Description +# CMakeLists.txt file for libraries and applications +# +# Author +# Henrik Rusche, Wikki GmbH, 2017. All rights reserved +# +# +# -------------------------------------------------------------------------- + +#add_subdirectory(parMetisDecomp) +add_subdirectory(decompositionMethods) +#add_subdirectory(scotchDecomp) +#add_subdirectory(metisDecomp) diff --git a/src/decompositionMethods/decompositionMethods/CMakeLists.txt b/src/decompositionMethods/decompositionMethods/CMakeLists.txt new file mode 100644 index 000000000..7e6abb4ae --- /dev/null +++ b/src/decompositionMethods/decompositionMethods/CMakeLists.txt @@ -0,0 +1,46 @@ +# -------------------------------------------------------------------------- +# ======== | +# \ / F ield | foam-extend: Open Source CFD +# \ / O peration | Version: 4.1 +# \ / A nd | Web: http://www.foam-extend.org +# \/ M anipulation | For copyright notice see file Copyright +# -------------------------------------------------------------------------- +# License +# This file is part of foam-extend. +# +# foam-extend 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 3 of the License, or {at your +# option} any later version. +# +# foam-extend 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 foam-extend. If not, see . +# +# Description +# CMakeLists.txt file for libraries and applications +# +# Author +# Henrik Rusche, Wikki GmbH, 2017. All rights reserved +# +# +# -------------------------------------------------------------------------- + +list(APPEND sources + decompositionMethod/decompositionMethod.C + manualDecomp/manualDecomp.C + geomDecomp/geomDecomp.C + simpleGeomDecomp/simpleGeomDecomp.C + hierarchGeomDecomp/hierarchGeomDecomp.C + patchConstrainedDecomp/patchConstrainedDecomp.C +) + +add_foam_library(decompositionMethods SHARED ${sources}) + +# This is a prototype! Replace second argument with a list of the highest +# dependencies only. Inherited dependencies will be treated automatically. +target_link_libraries(decompositionMethods PUBLIC foam) diff --git a/src/decompositionMethods/metisDecomp/CMakeLists.txt b/src/decompositionMethods/metisDecomp/CMakeLists.txt new file mode 100644 index 000000000..e6f16483e --- /dev/null +++ b/src/decompositionMethods/metisDecomp/CMakeLists.txt @@ -0,0 +1,41 @@ +# -------------------------------------------------------------------------- +# ======== | +# \ / F ield | foam-extend: Open Source CFD +# \ / O peration | Version: 4.1 +# \ / A nd | Web: http://www.foam-extend.org +# \/ M anipulation | For copyright notice see file Copyright +# -------------------------------------------------------------------------- +# License +# This file is part of foam-extend. +# +# foam-extend 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 3 of the License, or {at your +# option} any later version. +# +# foam-extend 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 foam-extend. If not, see . +# +# Description +# CMakeLists.txt file for libraries and applications +# +# Author +# Henrik Rusche, Wikki GmbH, 2017. All rights reserved +# +# +# -------------------------------------------------------------------------- + +list(APPEND sources + metisDecomp.C +) + +add_foam_library(metisDecomp SHARED ${sources}) + +# This is a prototype! Replace second argument with a list of the highest +# dependencies only. Inherited dependencies will be treated automatically. +#target_link_libraries(metisDecomp finiteVolume) diff --git a/src/decompositionMethods/parMetisDecomp/CMakeLists.txt b/src/decompositionMethods/parMetisDecomp/CMakeLists.txt new file mode 100644 index 000000000..c06921b99 --- /dev/null +++ b/src/decompositionMethods/parMetisDecomp/CMakeLists.txt @@ -0,0 +1,41 @@ +# -------------------------------------------------------------------------- +# ======== | +# \ / F ield | foam-extend: Open Source CFD +# \ / O peration | Version: 4.1 +# \ / A nd | Web: http://www.foam-extend.org +# \/ M anipulation | For copyright notice see file Copyright +# -------------------------------------------------------------------------- +# License +# This file is part of foam-extend. +# +# foam-extend 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 3 of the License, or {at your +# option} any later version. +# +# foam-extend 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 foam-extend. If not, see . +# +# Description +# CMakeLists.txt file for libraries and applications +# +# Author +# Henrik Rusche, Wikki GmbH, 2017. All rights reserved +# +# +# -------------------------------------------------------------------------- + +list(APPEND sources + parMetisDecomp.C +) + +add_foam_library(parMetisDecomp SHARED ${sources}) + +# This is a prototype! Replace second argument with a list of the highest +# dependencies only. Inherited dependencies will be treated automatically. +#target_link_libraries(parMetisDecomp finiteVolume) diff --git a/src/decompositionMethods/scotchDecomp/CMakeLists.txt b/src/decompositionMethods/scotchDecomp/CMakeLists.txt new file mode 100644 index 000000000..2451d9309 --- /dev/null +++ b/src/decompositionMethods/scotchDecomp/CMakeLists.txt @@ -0,0 +1,42 @@ +# -------------------------------------------------------------------------- +# ======== | +# \ / F ield | foam-extend: Open Source CFD +# \ / O peration | Version: 4.1 +# \ / A nd | Web: http://www.foam-extend.org +# \/ M anipulation | For copyright notice see file Copyright +# -------------------------------------------------------------------------- +# License +# This file is part of foam-extend. +# +# foam-extend 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 3 of the License, or {at your +# option} any later version. +# +# foam-extend 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 foam-extend. If not, see . +# +# Description +# CMakeLists.txt file for libraries and applications +# +# Author +# Henrik Rusche, Wikki GmbH, 2017. All rights reserved +# +# +# -------------------------------------------------------------------------- + +list(APPEND sources + scotchDecomp/scotchDecomp.C + engineScotchDecomp/engineScotchDecomp.C +) + +add_foam_library(scotchDecomp SHARED ${sources}) + +# This is a prototype! Replace second argument with a list of the highest +# dependencies only. Inherited dependencies will be treated automatically. +#target_link_libraries(scotchDecomp finiteVolume) diff --git a/src/dynamicMesh/CMakeLists.txt b/src/dynamicMesh/CMakeLists.txt new file mode 100644 index 000000000..2e8e6c895 --- /dev/null +++ b/src/dynamicMesh/CMakeLists.txt @@ -0,0 +1,36 @@ +# --------------------------------------------------------------------------# ======== | +# \ / F ield | foam-extend: Open Source CFD +# \ / O peration | Version: 4.1 +# \ / A nd | Web: http://www.foam-extend.org +# \/ M anipulation | For copyright notice see file Copyright +# -------------------------------------------------------------------------- +# License +# This file is part of foam-extend. +# +# foam-extend 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 3 of the License, or {at your +# option} any later version. +# +# foam-extend 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 foam-extend. If not, see . +# +# Description +# CMakeLists.txt file for libraries and applications +# +# Author +# Henrik Rusche, Wikki GmbH, 2017. All rights reserved +# +# +# -------------------------------------------------------------------------- + +add_subdirectory(topoChangerFvMesh) +add_subdirectory(dynamicMesh) +add_subdirectory(dynamicTopoFvMesh) +add_subdirectory(dynamicFvMesh) +add_subdirectory(meshMotion) \ No newline at end of file diff --git a/src/dynamicMesh/dynamicFvMesh/CMakeLists.txt b/src/dynamicMesh/dynamicFvMesh/CMakeLists.txt new file mode 100644 index 000000000..83dcab24b --- /dev/null +++ b/src/dynamicMesh/dynamicFvMesh/CMakeLists.txt @@ -0,0 +1,55 @@ +# -------------------------------------------------------------------------- +# ======== | +# \ / F ield | foam-extend: Open Source CFD +# \ / O peration | Version: 4.1 +# \ / A nd | Web: http://www.foam-extend.org +# \/ M anipulation | For copyright notice see file Copyright +# -------------------------------------------------------------------------- +# License +# This file is part of foam-extend. +# +# foam-extend 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 3 of the License, or {at your +# option} any later version. +# +# foam-extend 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 foam-extend. If not, see . +# +# Description +# CMakeLists.txt file for libraries and applications +# +# Author +# Henrik Rusche, Wikki GmbH, 2017. All rights reserved +# +# +# -------------------------------------------------------------------------- + +list(APPEND sources + dynamicFvMesh/dynamicFvMesh.C + dynamicFvMesh/newDynamicFvMesh.C + staticFvMesh/staticFvMesh.C + solidBodyMotionFvMesh/solidBodyMotionFvMesh.C + dynamicBoxFvMesh/dynamicBoxFvMesh.C + movingBoxFvMesh/movingBoxFvMesh.C + dynamicBodyFvMesh/dynamicBodyFvMesh.C + dynamicMotionSolverFvMesh/dynamicMotionSolverFvMesh.C + subsetMotionSolverFvMesh/subsetMotionSolverFvMesh.C + dynamicInkJetFvMesh/dynamicInkJetFvMesh.C + dynamicRefineFvMesh/dynamicRefineFvMesh.C + mixerGgiFvMesh/mixerGgiFvMesh.C + turboFvMesh/turboFvMesh.C + fvMeshAdder/fvMeshAdder.C + fvMeshDistribute/fvMeshDistribute.C +) + +add_foam_library(dynamicFvMesh SHARED ${sources}) + +# This is a prototype! Replace second argument with a list of the highest +# dependencies only. Inherited dependencies will be treated automatically. +target_link_libraries(dynamicFvMesh PUBLIC dynamicMesh finiteVolume RBFMotionSolver solidBodyMotion tetMotionSolver) diff --git a/src/dynamicMesh/dynamicMesh/CMakeLists.txt b/src/dynamicMesh/dynamicMesh/CMakeLists.txt new file mode 100644 index 000000000..1bcd3b1bc --- /dev/null +++ b/src/dynamicMesh/dynamicMesh/CMakeLists.txt @@ -0,0 +1,142 @@ +# -------------------------------------------------------------------------- +# ======== | +# \ / F ield | foam-extend: Open Source CFD +# \ / O peration | Version: 4.1 +# \ / A nd | Web: http://www.foam-extend.org +# \/ M anipulation | For copyright notice see file Copyright +# -------------------------------------------------------------------------- +# License +# This file is part of foam-extend. +# +# foam-extend 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 3 of the License, or {at your +# option} any later version. +# +# foam-extend 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 foam-extend. If not, see . +# +# Description +# CMakeLists.txt file for libraries and applications +# +# Author +# Henrik Rusche, Wikki GmbH, 2017. All rights reserved +# +# +# -------------------------------------------------------------------------- + +set(polyMeshModifiers polyMeshModifiers) + +list(APPEND sources + ${polyMeshModifiers}/polyMeshModifier/polyMeshModifier.C + ${polyMeshModifiers}/polyMeshModifier/newPolyMeshModifier.C +) + +set(attachDetach ${polyMeshModifiers}/attachDetach) +list(APPEND sources + ${attachDetach}/attachDetach.C + ${attachDetach}/attachInterface.C + ${attachDetach}/detachInterface.C + ${attachDetach}/attachDetachPointMatchMap.C +) + +set(layerAdditionRemoval ${polyMeshModifiers}/layerAdditionRemoval) +list(APPEND sources + ${layerAdditionRemoval}/layerAdditionRemoval.C + ${layerAdditionRemoval}/setLayerPairing.C + ${layerAdditionRemoval}/addCellLayer.C + ${layerAdditionRemoval}/removeCellLayer.C + ${polyMeshModifiers}/perfectInterface/perfectInterface.C + ${polyMeshModifiers}/setUpdater/setUpdater.C +) + +set(slidingInterface ${polyMeshModifiers}/slidingInterface) +set(enrichedPatch ${slidingInterface}/enrichedPatch) +list(APPEND sources + ${enrichedPatch}/enrichedPatch.C + ${enrichedPatch}/enrichedPatchPointMap.C + ${enrichedPatch}/enrichedPatchFaces.C + ${enrichedPatch}/enrichedPatchPointPoints.C + ${enrichedPatch}/enrichedPatchCutFaces.C + ${enrichedPatch}/enrichedPatchMasterPoints.C + ${slidingInterface}/slidingInterface.C + ${slidingInterface}/slidingInterfaceProjectPoints.C + ${slidingInterface}/coupleSlidingInterface.C + ${slidingInterface}/slidingInterfaceAttachedAddressing.C + ${slidingInterface}/slidingInterfaceClearCouple.C + ${slidingInterface}/decoupleSlidingInterface.C +) + +set(repatchCoverage ${polyMeshModifiers}/repatchCoverage) +list(APPEND sources + ${repatchCoverage}/repatchCoverage.C + polyTopoChange/polyTopoChange/polyTopoChange.C + polyTopoChange/polyTopoChange/actions/topoAction/topoActions.C + polyTopoChange/polyTopoChanger/polyTopoChanger.C + polyTopoChange/polyTopoChanger/polyTopoChangerChangeMesh.C + motionSmoother/motionSmoother.C + motionSmoother/motionSmootherCheck.C + motionSmoother/polyMeshGeometry/polyMeshGeometry.C + motionSolver/motionSolver.C + refinementData/refinementData.C + refinementData/refinementDistanceData.C + refinementData/refinementHistory.C + directTopoChange/directTopoChange/directTopoChange.C +) + +set(directActions directTopoChange/directTopoChange/directActions) +list(APPEND sources + ${directActions}/addPatchCellLayer.C + ${directActions}/edgeCollapser.C + ${directActions}/faceCollapser.C + ${directActions}/hexRef8.C + ${directActions}/removeCells.C + ${directActions}/removeFaces.C + ${directActions}/removePoints.C + ${directActions}/combineFaces.C + ${directActions}/localPointRegion.C + ${directActions}/duplicatePoints.C +) + +set(meshCut directTopoChange/meshCut) +list(APPEND sources + ${meshCut}/cellLooper/cellLooper.C + ${meshCut}/cellLooper/topoCellLooper.C + ${meshCut}/cellLooper/geomCellLooper.C + ${meshCut}/cellLooper/hexCellLooper.C + ${meshCut}/directions/directions.C + ${meshCut}/directions/directionInfo/directionInfo.C + ${meshCut}/edgeVertex/edgeVertex.C + ${meshCut}/cellCuts/cellCuts.C + ${meshCut}/splitCell/splitCell.C + ${meshCut}/refineCell/refineCell.C + ${meshCut}/wallLayerCells/wallLayerCells.C + ${meshCut}/wallLayerCells/wallNormalInfo/wallNormalInfo.C +) + +set(modifiers ${meshCut}/modifiers) +list(APPEND sources + ${modifiers}/boundaryCutter/boundaryCutter.C + ${modifiers}/meshCutter/meshCutter.C + ${modifiers}/meshCutAndRemove/meshCutAndRemove.C + ${modifiers}/undoableMeshCutter/undoableMeshCutter.C + ${modifiers}/refinementIterator/refinementIterator.C + ${modifiers}/multiDirRefinement/multiDirRefinement.C + directTopoChange/polyMeshAdder/faceCoupleInfo.C + directTopoChange/polyMeshAdder/polyMeshAdder.C + directTopoChange/boundaryMesh/octreeDataFaceList.C + directTopoChange/boundaryMesh/boundaryPatch.C + directTopoChange/boundaryMesh/boundaryMesh.C + directTopoChange/repatchPolyTopoChanger/repatchPolyTopoChanger.C +) + +add_foam_library(dynamicMesh SHARED ${sources}) + +# This is a prototype! Replace second argument with a list of the highest +# dependencies only. Inherited dependencies will be treated automatically. +target_link_libraries(dynamicMesh PUBLIC meshTools) diff --git a/src/dynamicMesh/dynamicTopoFvMesh/CMakeLists.txt b/src/dynamicMesh/dynamicTopoFvMesh/CMakeLists.txt new file mode 100644 index 000000000..cf58f1004 --- /dev/null +++ b/src/dynamicMesh/dynamicTopoFvMesh/CMakeLists.txt @@ -0,0 +1,79 @@ +# -------------------------------------------------------------------------- +# ======== | +# \ / F ield | foam-extend: Open Source CFD +# \ / O peration | Version: 4.1 +# \ / A nd | Web: http://www.foam-extend.org +# \/ M anipulation | For copyright notice see file Copyright +# -------------------------------------------------------------------------- +# License +# This file is part of foam-extend. +# +# foam-extend 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 3 of the License, or {at your +# option} any later version. +# +# foam-extend 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 foam-extend. If not, see . +# +# Description +# CMakeLists.txt file for libraries and applications +# +# Author +# Henrik Rusche, Wikki GmbH, 2017. All rights reserved +# +# +# -------------------------------------------------------------------------- + +list(APPEND sources + eMesh/eMesh.C + eMesh/eMeshDemandDrivenData.C + eMesh/eBoundaryMesh/eBoundaryMesh.C +) + +set(ePatches eMesh/ePatches) +list(APPEND sources + ${ePatches}/ePatch/ePatch.C + ${ePatches}/ePatch/newEPatch.C + dynamicTopoFvMesh.C + dynamicTopoFvMeshCheck.C + dynamicTopoFvMeshReOrder.C + dynamicTopoFvMeshMapping.C + edgeSwap.C + edgeBisect.C + edgeCollapse.C + coupledMesh/coupleMap.C + coupledMesh/dynamicTopoFvMeshCoupled.C + coupledMesh/subMeshProcessorPolyPatch.C + coupledMesh/subMeshProcessorFvPatch.C + convexSetAlgorithm/convexSetAlgorithm.C + convexSetAlgorithm/faceSetAlgorithm.C + convexSetAlgorithm/cellSetAlgorithm.C + fieldMapping/topoMapper.C + fieldMapping/fluxCorrector.C + fieldMapping/topoCellMapper.C + fieldMapping/topoPatchMapper.C + fieldMapping/topoSurfaceMapper.C +) + +set(tetMetrics tetMetrics) +list(APPEND sources + ${tetMetrics}/tetMetric.C + ${tetMetrics}/tetMetrics.C +) + +set(lengthScaleEstimator lengthScaleEstimator) +list(APPEND sources + ${lengthScaleEstimator}/lengthScaleEstimator.C +) + +add_foam_library(dynamicTopoFvMesh SHARED ${sources}) + +# This is a prototype! Replace second argument with a list of the highest +# dependencies only. Inherited dependencies will be treated automatically. +target_link_libraries(dynamicTopoFvMesh PUBLIC dynamicFvMesh) diff --git a/src/dynamicMesh/meshMotion/CMakeLists.txt b/src/dynamicMesh/meshMotion/CMakeLists.txt new file mode 100644 index 000000000..dfcd805b0 --- /dev/null +++ b/src/dynamicMesh/meshMotion/CMakeLists.txt @@ -0,0 +1,36 @@ +# --------------------------------------------------------------------------# ======== | +# \ / F ield | foam-extend: Open Source CFD +# \ / O peration | Version: 4.1 +# \ / A nd | Web: http://www.foam-extend.org +# \/ M anipulation | For copyright notice see file Copyright +# -------------------------------------------------------------------------- +# License +# This file is part of foam-extend. +# +# foam-extend 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 3 of the License, or {at your +# option} any later version. +# +# foam-extend 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 foam-extend. If not, see . +# +# Description +# CMakeLists.txt file for libraries and applications +# +# Author +# Henrik Rusche, Wikki GmbH, 2017. All rights reserved +# +# +# -------------------------------------------------------------------------- + +add_subdirectory(solidBodyMotion) +add_subdirectory(RBFMotionSolver) +add_subdirectory(fvMotionSolver) +#add_subdirectory(mesquiteMotionSolver) +add_subdirectory(tetMotionSolver) diff --git a/src/dynamicMesh/meshMotion/RBFMotionSolver/CMakeLists.txt b/src/dynamicMesh/meshMotion/RBFMotionSolver/CMakeLists.txt new file mode 100644 index 000000000..76725921f --- /dev/null +++ b/src/dynamicMesh/meshMotion/RBFMotionSolver/CMakeLists.txt @@ -0,0 +1,41 @@ +# -------------------------------------------------------------------------- +# ======== | +# \ / F ield | foam-extend: Open Source CFD +# \ / O peration | Version: 4.1 +# \ / A nd | Web: http://www.foam-extend.org +# \/ M anipulation | For copyright notice see file Copyright +# -------------------------------------------------------------------------- +# License +# This file is part of foam-extend. +# +# foam-extend 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 3 of the License, or {at your +# option} any later version. +# +# foam-extend 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 foam-extend. If not, see . +# +# Description +# CMakeLists.txt file for libraries and applications +# +# Author +# Henrik Rusche, Wikki GmbH, 2017. All rights reserved +# +# +# -------------------------------------------------------------------------- + +list(APPEND sources + RBFMotionSolver.C +) + +add_foam_library(RBFMotionSolver SHARED ${sources}) + +# This is a prototype! Replace second argument with a list of the highest +# dependencies only. Inherited dependencies will be treated automatically. +target_link_libraries(RBFMotionSolver PUBLIC dynamicMesh) diff --git a/src/dynamicMesh/meshMotion/fvMotionSolver/CMakeLists.txt b/src/dynamicMesh/meshMotion/fvMotionSolver/CMakeLists.txt new file mode 100644 index 000000000..43c62e3d4 --- /dev/null +++ b/src/dynamicMesh/meshMotion/fvMotionSolver/CMakeLists.txt @@ -0,0 +1,68 @@ +# -------------------------------------------------------------------------- +# ======== | +# \ / F ield | foam-extend: Open Source CFD +# \ / O peration | Version: 4.1 +# \ / A nd | Web: http://www.foam-extend.org +# \/ M anipulation | For copyright notice see file Copyright +# -------------------------------------------------------------------------- +# License +# This file is part of foam-extend. +# +# foam-extend 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 3 of the License, or {at your +# option} any later version. +# +# foam-extend 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 foam-extend. If not, see . +# +# Description +# CMakeLists.txt file for libraries and applications +# +# Author +# Henrik Rusche, Wikki GmbH, 2017. All rights reserved +# +# +# -------------------------------------------------------------------------- + +list(APPEND sources + fvMotionSolvers/fvMotionSolver/fvMotionSolver.C + fvMotionSolvers/velocity/laplacian/velocityLaplacianFvMotionSolver.C + fvMotionSolvers/velocity/refLaplacian/refVelocityLaplacianFvMotionSolver.C + fvMotionSolvers/displacement/displacementFvMotionSolver/displacementFvMotionSolver.C + fvMotionSolvers/displacement/interpolation/displacementInterpolationFvMotionSolver.C + fvMotionSolvers/displacement/laplacian/displacementLaplacianFvMotionSolver.C + fvMotionSolvers/displacement/SBRStress/displacementSBRStressFvMotionSolver.C + fvMotionSolvers/velocity/componentLaplacian/velocityComponentLaplacianFvMotionSolver.C + fvMotionSolvers/displacement/componentLaplacian/displacementComponentLaplacianFvMotionSolver.C + motionDiffusivity/motionDiffusivity/motionDiffusivity.C + motionDiffusivity/uniform/uniformDiffusivity.C + motionDiffusivity/inverseDistance/inverseDistanceDiffusivity.C + motionDiffusivity/inverseFaceDistance/inverseFaceDistanceDiffusivity.C + motionDiffusivity/inversePointDistance/inversePointDistanceDiffusivity.C + motionDiffusivity/inverseVolume/inverseVolumeDiffusivity.C + motionDiffusivity/directional/directionalDiffusivity.C + motionDiffusivity/motionDirectional/motionDirectionalDiffusivity.C + motionDiffusivity/file/fileDiffusivity.C + motionDiffusivity/manipulators/quadratic/quadraticDiffusivity.C + motionDiffusivity/manipulators/exponential/exponentialDiffusivity.C + fvPatchFields/derived/cellMotion/cellMotionFvPatchFields.C + fvPatchFields/derived/surfaceSlipDisplacement/surfaceSlipDisplacementFvPatchFields.C + pointPatchFields/derived/oscillatingVelocity/oscillatingVelocityPointPatchVectorField.C + pointPatchFields/derived/angularOscillatingVelocity/angularOscillatingVelocityPointPatchVectorField.C + pointPatchFields/derived/oscillatingDisplacement/oscillatingDisplacementPointPatchVectorField.C + pointPatchFields/derived/angularOscillatingDisplacement/angularOscillatingDisplacementPointPatchVectorField.C + pointPatchFields/derived/surfaceSlipDisplacement/surfaceSlipDisplacementPointPatchVectorField.C + pointPatchFields/derived/surfaceDisplacement/surfaceDisplacementPointPatchVectorField.C +) + +add_foam_library(fvMotionSolver SHARED ${sources}) + +# This is a prototype! Replace second argument with a list of the highest +# dependencies only. Inherited dependencies will be treated automatically. +target_link_libraries(fvMotionSolver PUBLIC finiteVolume dynamicMesh) diff --git a/src/dynamicMesh/meshMotion/mesquiteMotionSolver/CMakeLists.txt b/src/dynamicMesh/meshMotion/mesquiteMotionSolver/CMakeLists.txt new file mode 100644 index 000000000..a964e9961 --- /dev/null +++ b/src/dynamicMesh/meshMotion/mesquiteMotionSolver/CMakeLists.txt @@ -0,0 +1,41 @@ +# -------------------------------------------------------------------------- +# ======== | +# \ / F ield | foam-extend: Open Source CFD +# \ / O peration | Version: 4.1 +# \ / A nd | Web: http://www.foam-extend.org +# \/ M anipulation | For copyright notice see file Copyright +# -------------------------------------------------------------------------- +# License +# This file is part of foam-extend. +# +# foam-extend 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 3 of the License, or {at your +# option} any later version. +# +# foam-extend 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 foam-extend. If not, see . +# +# Description +# CMakeLists.txt file for libraries and applications +# +# Author +# Henrik Rusche, Wikki GmbH, 2017. All rights reserved +# +# +# -------------------------------------------------------------------------- + +list(APPEND sources + mesquiteMotionSolver.C +) + +add_foam_library(mesquiteMotionSolver SHARED ${sources}) + +# This is a prototype! Replace second argument with a list of the highest +# dependencies only. Inherited dependencies will be treated automatically. +target_link_libraries(mesquiteMotionSolver PUBLIC dynamicMesh) diff --git a/src/dynamicMesh/meshMotion/solidBodyMotion/CMakeLists.txt b/src/dynamicMesh/meshMotion/solidBodyMotion/CMakeLists.txt new file mode 100644 index 000000000..b9a1ce4fb --- /dev/null +++ b/src/dynamicMesh/meshMotion/solidBodyMotion/CMakeLists.txt @@ -0,0 +1,52 @@ +# -------------------------------------------------------------------------- +# ======== | +# \ / F ield | foam-extend: Open Source CFD +# \ / O peration | Version: 4.1 +# \ / A nd | Web: http://www.foam-extend.org +# \/ M anipulation | For copyright notice see file Copyright +# -------------------------------------------------------------------------- +# License +# This file is part of foam-extend. +# +# foam-extend 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 3 of the License, or {at your +# option} any later version. +# +# foam-extend 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 foam-extend. If not, see . +# +# Description +# CMakeLists.txt file for libraries and applications +# +# Author +# Henrik Rusche, Wikki GmbH, 2017. All rights reserved +# +# +# -------------------------------------------------------------------------- + +list(APPEND sources + solidBodyMotionFunction/solidBodyMotionFunction.C + solidBodyMotionFunction/newSolidBodyMotionFunction.C + noMotion/noMotion.C + translation/translation.C + graphMotion/graphMotion.C + linearOscillation/linearOscillation.C + rotatingOscillation/rotatingOscillation.C + harmonicOscillation/harmonicOscillation.C + SDA/SDA.C + SKA/SKA.C + constantVelocity/constantVelocity.C + graphVelocity/graphVelocity.C +) + +add_foam_library(solidBodyMotion SHARED ${sources}) + +# This is a prototype! Replace second argument with a list of the highest +# dependencies only. Inherited dependencies will be treated automatically. +target_link_libraries(solidBodyMotion PUBLIC foam) diff --git a/src/dynamicMesh/meshMotion/tetMotionSolver/CMakeLists.txt b/src/dynamicMesh/meshMotion/tetMotionSolver/CMakeLists.txt new file mode 100644 index 000000000..358a607b3 --- /dev/null +++ b/src/dynamicMesh/meshMotion/tetMotionSolver/CMakeLists.txt @@ -0,0 +1,53 @@ +# -------------------------------------------------------------------------- +# ======== | +# \ / F ield | foam-extend: Open Source CFD +# \ / O peration | Version: 4.1 +# \ / A nd | Web: http://www.foam-extend.org +# \/ M anipulation | For copyright notice see file Copyright +# -------------------------------------------------------------------------- +# License +# This file is part of foam-extend. +# +# foam-extend 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 3 of the License, or {at your +# option} any later version. +# +# foam-extend 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 foam-extend. If not, see . +# +# Description +# CMakeLists.txt file for libraries and applications +# +# Author +# Henrik Rusche, Wikki GmbH, 2017. All rights reserved +# +# +# -------------------------------------------------------------------------- + +list(APPEND sources + tetMotionSolver/tetMotionSolver.C + tetMotionSolver/laplace/laplaceTetMotionSolver.C + tetMotionSolver/pseudoSolid/pseudoSolidTetMotionSolver.C + cellQuality/cellQuality.C + motionDiffs/motionDiff/motionDiff.C + motionDiffs/uniform/uniformDiff.C + motionDiffs/deformationEnergy/deformationEnergyDiff.C + motionDiffs/distortionEnergy/distortionEnergyDiff.C + motionDiffs/linear/linearDiff.C + motionDiffs/quadratic/quadraticDiff.C + motionDiffs/exponential/exponentialDiff.C + motionDiffs/patchEnhanced/patchEnhancedDiff.C + motionDiffs/file/fileDiff.C +) + +add_foam_library(tetMotionSolver SHARED ${sources}) + +# This is a prototype! Replace second argument with a list of the highest +# dependencies only. Inherited dependencies will be treated automatically. +target_link_libraries(tetMotionSolver PUBLIC tetFiniteElement dynamicMesh) diff --git a/src/dynamicMesh/topoChangerFvMesh/CMakeLists.txt b/src/dynamicMesh/topoChangerFvMesh/CMakeLists.txt new file mode 100644 index 000000000..64b343e5e --- /dev/null +++ b/src/dynamicMesh/topoChangerFvMesh/CMakeLists.txt @@ -0,0 +1,50 @@ +# -------------------------------------------------------------------------- +# ======== | +# \ / F ield | foam-extend: Open Source CFD +# \ / O peration | Version: 4.1 +# \ / A nd | Web: http://www.foam-extend.org +# \/ M anipulation | For copyright notice see file Copyright +# -------------------------------------------------------------------------- +# License +# This file is part of foam-extend. +# +# foam-extend 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 3 of the License, or {at your +# option} any later version. +# +# foam-extend 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 foam-extend. If not, see . +# +# Description +# CMakeLists.txt file for libraries and applications +# +# Author +# Henrik Rusche, Wikki GmbH, 2017. All rights reserved +# +# +# -------------------------------------------------------------------------- + +list(APPEND sources + topoChangerFvMesh/topoChangerFvMesh.C + attachDetachFvMesh/attachDetachFvMesh.C + linearValveFvMesh/linearValveFvMesh.C + linearValveLayersFvMesh/linearValveLayersFvMesh.C + movingBodyTopoFvMesh/movingBodyTopoFvMesh.C + multiTopoBodyFvMesh/topoBody.C + multiTopoBodyFvMesh/multiTopoBodyFvMesh.C + mixerFvMesh/mixerFvMesh.C + multiMixerFvMesh/mixerRotor.C + multiMixerFvMesh/multiMixerFvMesh.C +) + +add_foam_library(topoChangerFvMesh SHARED ${sources}) + +# This is a prototype! Replace second argument with a list of the highest +# dependencies only. Inherited dependencies will be treated automatically. +target_link_libraries(topoChangerFvMesh PUBLIC dynamicFvMesh) diff --git a/src/edgeMesh/CMakeLists.txt b/src/edgeMesh/CMakeLists.txt new file mode 100644 index 000000000..f6f362b4d --- /dev/null +++ b/src/edgeMesh/CMakeLists.txt @@ -0,0 +1,43 @@ +# -------------------------------------------------------------------------- +# ======== | +# \ / F ield | foam-extend: Open Source CFD +# \ / O peration | Version: 4.1 +# \ / A nd | Web: http://www.foam-extend.org +# \/ M anipulation | For copyright notice see file Copyright +# -------------------------------------------------------------------------- +# License +# This file is part of foam-extend. +# +# foam-extend 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 3 of the License, or {at your +# option} any later version. +# +# foam-extend 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 foam-extend. If not, see . +# +# Description +# CMakeLists.txt file for libraries and applications +# +# Author +# Henrik Rusche, Wikki GmbH, 2017. All rights reserved +# +# +# -------------------------------------------------------------------------- + +list(APPEND sources + edgeMesh.C + edgeMeshIO.C + featureEdgeMesh.C +) + +add_foam_library(edgeMesh SHARED ${sources}) + +# This is a prototype! Replace second argument with a list of the highest +# dependencies only. Inherited dependencies will be treated automatically. +target_link_libraries(edgeMesh PUBLIC foam) diff --git a/src/engine/CMakeLists.txt b/src/engine/CMakeLists.txt new file mode 100644 index 000000000..a74c343f1 --- /dev/null +++ b/src/engine/CMakeLists.txt @@ -0,0 +1,123 @@ +# -------------------------------------------------------------------------- +# ======== | +# \ / F ield | foam-extend: Open Source CFD +# \ / O peration | Version: 4.1 +# \ / A nd | Web: http://www.foam-extend.org +# \/ M anipulation | For copyright notice see file Copyright +# -------------------------------------------------------------------------- +# License +# This file is part of foam-extend. +# +# foam-extend 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 3 of the License, or {at your +# option} any later version. +# +# foam-extend 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 foam-extend. If not, see . +# +# Description +# CMakeLists.txt file for libraries and applications +# +# Author +# Henrik Rusche, Wikki GmbH, 2017. All rights reserved +# +# +# -------------------------------------------------------------------------- + +list(APPEND sources + engineTime/engineTime.C + ignition/ignition.C + ignition/ignitionIO.C + ignition/ignitionSite.C + ignition/ignitionSiteIO.C + engineValve/engineValve.C + engineVerticalValve/engineVerticalValve.C + thoboisSlidingValve/thoboisSlidingValve.C + dieselEngineValve/dieselEngineValve.C + thoboisValve/thoboisValve.C + accordionValve/accordionValve.C + simpleEnginePiston/simpleEnginePiston.C + enginePiston/enginePiston.C + engineTopoChangerMesh/regionSide/regionSide.C + engineTopoChangerMesh/attachDetachFunctions/attachDetachFunctions.C + engineMesh/engineMesh/engineMesh.C + engineMesh/engineMesh/newEngineMesh.C + engineMesh/staticEngineMesh/staticEngineMesh.C + engineMesh/layeredEngineMesh/layeredEngineMesh.C + engineMesh/fvMotionSolverEngineMesh/fvMotionSolverEngineMesh.C + engineMesh/tetDecompositionEngineMesh/tetDecompositionEngineMesh.C + simpleEngineTopoFvMesh/simpleEngineTopoFvMesh.C + simpleEngineTopoFvMesh/addSimpleEngineTopoFvMeshModifiers.C + engineTopoChangerMesh/engineTopoChangerMesh/engineTopoChangerMesh.C + engineTopoChangerMesh/engineTopoChangerMesh/newEngineTopoChangerMesh.C + engineTopoChangerMesh/accordionEngineMesh/accordionEngineMesh.C + engineTopoChangerMesh/accordionEngineMesh/accordionEngineMeshInitialize.C + engineTopoChangerMesh/accordionEngineMesh/accordionEngineMeshMove.C + engineTopoChangerMesh/accordionEngineMesh/addAccordionEngineMeshZones.C + engineTopoChangerMesh/deformingEngineMesh/deformingEngineMesh.C + engineTopoChangerMesh/deformingEngineMesh/deformingEngineMeshInitialize.C + engineTopoChangerMesh/deformingEngineMesh/deformingEngineMeshMove.C + engineTopoChangerMesh/deformingEngineMesh/addDeformingEngineMeshZones.C + engineTopoChangerMesh/engineValveSliding/addEngineValveSlidingMeshModifiers.C + engineTopoChangerMesh/engineValveSliding/engineValveSliding.C + engineTopoChangerMesh/engineValveSliding/engineValveSlidingInitialize.C + engineTopoChangerMesh/engineValveSliding/engineValveSlidingMove.C + engineTopoChangerMesh/layerAR/layerAR.C + engineTopoChangerMesh/layerAR/addLayerARMeshModifiers.C + engineTopoChangerMesh/layerARGambit/layerARGambit.C + engineTopoChangerMesh/layerARGambit/addLayerARGambitMeshModifiers.C + engineTopoChangerMesh/pistonLayer/pistonLayer.C + engineTopoChangerMesh/pistonLayer/addPistonLayerMeshModifiers.C + engineTopoChangerMesh/pistonDeform/pistonDeform.C + engineTopoChangerMesh/thoboisMesh/addThoboisMeshModifiers.C + engineTopoChangerMesh/thoboisMesh/thoboisMesh.C + engineTopoChangerMesh/thoboisMesh/thoboisMeshInitialize.C + engineTopoChangerMesh/thoboisMesh/thoboisMeshMove.C + engineTopoChangerMesh/twoStrokeEngine/twoStrokeEngine.C + engineTopoChangerMesh/twoStrokeEngine/addTwoStrokeEngineModifiers.C + engineTopoChangerMesh/twoStrokeEngine/twoStrokeEngineCalculate.C + engineTopoChangerMesh/twoStrokeEngine/twoStrokeEngineInitialize.C + engineTopoChangerMesh/twoStrokeEngine/twoStrokeEngineMove.C + engineTopoChangerMesh/twoStrokeEngine/twoStrokeEngineCheckMotionFluxes.C + engineTopoChangerMesh/simpleTwoStroke/simpleTwoStroke.C + engineTopoChangerMesh/simpleTwoStroke/addSimpleTwoStrokeModifiers.C + engineTopoChangerMesh/simpleTwoStroke/simpleTwoStrokeCalculate.C + engineTopoChangerMesh/simpleTwoStroke/simpleTwoStrokeInitialize.C + engineTopoChangerMesh/simpleTwoStroke/simpleTwoStrokeMove.C + engineTopoChangerMesh/verticalValves/verticalValves.C + engineTopoChangerMesh/verticalValves/addVerticalValvesMeshModifiers.C + engineTopoChangerMesh/verticalValves/verticalValvesCalculate.C + engineTopoChangerMesh/verticalValves/verticalValvesInitialize.C + engineTopoChangerMesh/verticalValves/verticalValvesMove.C + engineTopoChangerMesh/thoboisSliding/addThoboisSlidingMeshModifiers.C + engineTopoChangerMesh/thoboisSliding/thoboisSliding.C + engineTopoChangerMesh/thoboisSliding/thoboisSlidingCalculate.C + engineTopoChangerMesh/thoboisSliding/thoboisSlidingInitialize.C + engineTopoChangerMesh/thoboisSliding/thoboisSlidingMove.C + engineTopoChangerMesh/pistonSliding/addPistonSlidingMeshModifiers.C + engineTopoChangerMesh/pistonSliding/pistonSliding.C + engineTopoChangerMesh/pistonSliding/pistonSlidingCalculate.C + engineTopoChangerMesh/pistonSliding/pistonSlidingInitialize.C + engineTopoChangerMesh/pistonSliding/pistonSlidingMove.C + engineTopoChangerMesh/pistonRefine/pistonRefine.C + engineTopoChangerMesh/noEngineMesh/noEngineMesh.C +) + +# derivedFvPatchFields/engineTimeVaryingUniformFixedValue/engineTimeVaryingUniformFixedValueFvPatchField.C +list(APPEND sources + derivedFvPatchFields/engineTimeVaryingUniformFixedValue/engineTimeVaryingUniformFixedValueFvPatchFields.C + derivedFvPatchFields/engineMassFlowRateInletVelocity/engineMassFlowRateInletVelocityFvPatchVectorField.C + derivedFvPatchFields/engineTimeVaryingTotalPressureFvPatchScalarField/engineTimeVaryingTotalPressureFvPatchScalarField.C +) + +add_foam_library(engine SHARED ${sources}) + +# This is a prototype! Replace second argument with a list of the highest +# dependencies only. Inherited dependencies will be treated automatically. +target_link_libraries(engine PUBLIC dynamicFvMesh fvMotionSolver) diff --git a/src/equationReader/CMakeLists.txt b/src/equationReader/CMakeLists.txt new file mode 100644 index 000000000..f8c9b730f --- /dev/null +++ b/src/equationReader/CMakeLists.txt @@ -0,0 +1,49 @@ +# -------------------------------------------------------------------------- +# ======== | +# \ / F ield | foam-extend: Open Source CFD +# \ / O peration | Version: 4.1 +# \ / A nd | Web: http://www.foam-extend.org +# \/ M anipulation | For copyright notice see file Copyright +# -------------------------------------------------------------------------- +# License +# This file is part of foam-extend. +# +# foam-extend 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 3 of the License, or {at your +# option} any later version. +# +# foam-extend 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 foam-extend. If not, see . +# +# Description +# CMakeLists.txt file for libraries and applications +# +# Author +# Henrik Rusche, Wikki GmbH, 2017. All rights reserved +# +# +# -------------------------------------------------------------------------- + +list(APPEND sources + equationSource/equationSources.C + equation/equation.C + equation/equationIO.C + equationOperation/equationOperation.C + equationReader/equationReader.C + equationReader/equationReaders.C + equationReader/equationReaderIO.C + IOEquationReader/IOEquationReader.C + IOEquationReader/IOEquationReaderIO.C +) + +add_foam_library(equationReader SHARED ${sources}) + +# This is a prototype! Replace second argument with a list of the highest +# dependencies only. Inherited dependencies will be treated automatically. +target_link_libraries(equationReader PUBLIC foam) diff --git a/src/errorEstimation/CMakeLists.txt b/src/errorEstimation/CMakeLists.txt new file mode 100644 index 000000000..3c563d596 --- /dev/null +++ b/src/errorEstimation/CMakeLists.txt @@ -0,0 +1,43 @@ +# -------------------------------------------------------------------------- +# ======== | +# \ / F ield | foam-extend: Open Source CFD +# \ / O peration | Version: 4.1 +# \ / A nd | Web: http://www.foam-extend.org +# \/ M anipulation | For copyright notice see file Copyright +# -------------------------------------------------------------------------- +# License +# This file is part of foam-extend. +# +# foam-extend 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 3 of the License, or {at your +# option} any later version. +# +# foam-extend 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 foam-extend. If not, see . +# +# Description +# CMakeLists.txt file for libraries and applications +# +# Author +# Henrik Rusche, Wikki GmbH, 2017. All rights reserved +# +# +# -------------------------------------------------------------------------- + + + +list(APPEND sources errorEstimate/errorEstimate.H) + +add_foam_library(errorEstimation SHARED ${sources}) + +# This is a prototype! Replace second argument with a list of the highest +# dependencies only. Inherited dependencies will be treated automatically. +target_link_libraries(errorEstimation PUBLIC finiteVolume) + +set_target_properties(errorEstimation PROPERTIES LINKER_LANGUAGE CXX) diff --git a/src/finiteArea/CMakeLists.txt b/src/finiteArea/CMakeLists.txt new file mode 100644 index 000000000..78d000a8b --- /dev/null +++ b/src/finiteArea/CMakeLists.txt @@ -0,0 +1,193 @@ +# -------------------------------------------------------------------------- +# ======== | +# \ / F ield | foam-extend: Open Source CFD +# \ / O peration | Version: 4.1 +# \ / A nd | Web: http://www.foam-extend.org +# \/ M anipulation | For copyright notice see file Copyright +# -------------------------------------------------------------------------- +# License +# This file is part of foam-extend. +# +# foam-extend 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 3 of the License, or {at your +# option} any later version. +# +# foam-extend 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 foam-extend. If not, see . +# +# Description +# CMakeLists.txt file for libraries and applications +# +# Author +# Henrik Rusche, Wikki GmbH, 2017. All rights reserved +# +# +# -------------------------------------------------------------------------- + +list(APPEND sources + faMesh/faGlobalMeshData/faGlobalMeshData.C + faMesh/faMesh.C + faMesh/faMeshDemandDrivenData.C + faMesh/faMeshUpdate.C + faMesh/faBoundaryMesh/faBoundaryMesh.C +) + +set(faPatches faMesh/faPatches) +list(APPEND sources + ${faPatches}/faPatch/faPatch.C + ${faPatches}/faPatch/newFaPatch.C + ${faPatches}/basic/coupled/coupledFaPatch.C + ${faPatches}/constraint/empty/emptyFaPatch.C + ${faPatches}/constraint/processor/processorFaPatch.C + ${faPatches}/constraint/wedge/wedgeFaPatch.C + ${faPatches}/constraint/cyclic/cyclicFaPatch.C + ${faPatches}/constraint/symmetry/symmetryFaPatch.C +) + +set(faMeshMapper faMesh/faMeshMapper) +list(APPEND sources + ${faMeshMapper}/faMeshMapper.C + ${faMeshMapper}/faAreaMapper.C + ${faMeshMapper}/faEdgeMapper.C + ${faMeshMapper}/faPatchMapper.C +) + +set(faPatchFields fields/faPatchFields) +list(APPEND sources + ${faPatchFields}/faPatchField/faPatchFields.C +) + +set(basicFaPatchFields ${faPatchFields}/basic) +list(APPEND sources + ${basicFaPatchFields}/basicSymmetry/basicSymmetryFaPatchFields.C + ${basicFaPatchFields}/basicSymmetry/basicSymmetryFaPatchScalarField.C + ${basicFaPatchFields}/calculated/calculatedFaPatchFields.C + ${basicFaPatchFields}/coupled/coupledFaPatchFields.C + ${basicFaPatchFields}/zeroGradient/zeroGradientFaPatchFields.C + ${basicFaPatchFields}/fixedValue/fixedValueFaPatchFields.C + ${basicFaPatchFields}/fixedGradient/fixedGradientFaPatchFields.C + ${basicFaPatchFields}/mixed/mixedFaPatchFields.C + ${basicFaPatchFields}/transform/transformFaPatchFields.C + ${basicFaPatchFields}/transform/transformFaPatchScalarField.C +) + +set(constraintFaPatchFields ${faPatchFields}/constraint) +list(APPEND sources + ${constraintFaPatchFields}/empty/emptyFaPatchFields.C + ${constraintFaPatchFields}/processor/processorFaPatchFields.C + ${constraintFaPatchFields}/processor/processorFaPatchScalarField.C + ${constraintFaPatchFields}/wedge/wedgeFaPatchFields.C + ${constraintFaPatchFields}/wedge/wedgeFaPatchScalarField.C + ${constraintFaPatchFields}/cyclic/cyclicFaPatchFields.C + ${constraintFaPatchFields}/symmetry/symmetryFaPatchFields.C +) + +set(derivedFaPatchFields ${faPatchFields}/derived) +list(APPEND sources + ${derivedFaPatchFields}/fixedValueOutflow/fixedValueOutflowFaPatchFields.C + ${derivedFaPatchFields}/inletOutlet/inletOutletFaPatchFields.C + ${derivedFaPatchFields}/slip/slipFaPatchFields.C +) + +set(faePatchFields fields/faePatchFields) +list(APPEND sources + ${faePatchFields}/faePatchField/faePatchFields.C +) + +set(basicFaePatchFields ${faePatchFields}/basic) +list(APPEND sources + ${basicFaePatchFields}/calculated/calculatedFaePatchFields.C + ${basicFaePatchFields}/coupled/coupledFaePatchFields.C + ${basicFaePatchFields}/fixedValue/fixedValueFaePatchFields.C +) + +set(constraintFaePatchFields ${faePatchFields}/constraint) +list(APPEND sources + ${constraintFaePatchFields}/empty/emptyFaePatchFields.C + ${constraintFaePatchFields}/processor/processorFaePatchFields.C + ${constraintFaePatchFields}/wedge/wedgeFaePatchFields.C + ${constraintFaePatchFields}/cyclic/cyclicFaePatchFields.C + ${constraintFaePatchFields}/symmetry/symmetryFaePatchFields.C + fields/areaFields/areaFields.C + fields/edgeFields/edgeFields.C + faMatrices/faMatrices.C + faMatrices/faScalarMatrix/faScalarMatrix.C +) + +set(edgeInterpolation interpolation/edgeInterpolation) +list(APPEND sources + ${edgeInterpolation}/edgeInterpolation.C + ${edgeInterpolation}/edgeInterpolationScheme/edgeInterpolationSchemes.C +) + +set(schemes ${edgeInterpolation}/schemes) +list(APPEND sources + ${schemes}/linear/linearEdgeInterpolationMake.C + ${schemes}/upwind/upwindEdgeInterpolationMake.C + ${schemes}/linearUpwind/linearUpwindEdgeInterpolationMake.C + ${schemes}/Gamma/GammaEdgeInterpolationMake.C + ${schemes}/blended/blendedEdgeInterpolationMake.C + finiteArea/fa/fa.C + finiteArea/faSchemes/faSchemes.C +) + +set(ddtSchemes finiteArea/ddtSchemes) +list(APPEND sources + ${ddtSchemes}/faDdtScheme/faDdtSchemes.C + ${ddtSchemes}/steadyStateFaDdtScheme/steadyStateFaDdtSchemes.C + ${ddtSchemes}/EulerFaDdtScheme/EulerFaDdtSchemes.C + ${ddtSchemes}/backwardFaDdtScheme/backwardFaDdtSchemes.C + ${ddtSchemes}/boundedBackwardFaDdtScheme/boundedBackwardFaDdtScheme.C +) + +set(divSchemes finiteArea/divSchemes) +list(APPEND sources + ${divSchemes}/faDivScheme/faDivSchemes.C + ${divSchemes}/gaussFaDivScheme/gaussFaDivSchemes.C +) + +set(gradSchemes finiteArea/gradSchemes) +list(APPEND sources + ${gradSchemes}/faGradScheme/faGradSchemes.C + ${gradSchemes}/gaussFaGrad/gaussFaGrads.C + ${gradSchemes}/leastSquaresFaGrad/leastSquaresFaVectors.C + ${gradSchemes}/leastSquaresFaGrad/leastSquaresFaGrads.C +) + +set(limitedGradSchemes ${gradSchemes}/limitedGradSchemes) +list(APPEND sources + ${limitedGradSchemes}/faceLimitedFaGrad/faceLimitedFaGrads.C + ${limitedGradSchemes}/edgeLimitedFaGrad/edgeLimitedFaGrads.C +) + +set(lnGradSchemes finiteArea/lnGradSchemes) +list(APPEND sources + ${lnGradSchemes}/lnGradScheme/lnGradSchemes.C + ${lnGradSchemes}/correctedLnGrad/correctedLnGrads.C + ${lnGradSchemes}/limitedLnGrad/limitedLnGrads.C + ${lnGradSchemes}/fourthLnGrad/fourthLnGrads.C +) + +set(laplacianSchemes finiteArea/laplacianSchemes) +list(APPEND sources + ${laplacianSchemes}/faLaplacianScheme/faLaplacianSchemes.C + ${laplacianSchemes}/gaussFaLaplacianScheme/gaussFaLaplacianSchemes.C +) + +set(convectionSchemes finiteArea/convectionSchemes) +list(APPEND sources + ${convectionSchemes}/faConvectionScheme/faConvectionSchemes.C + ${convectionSchemes}/gaussFaConvectionScheme/gaussFaConvectionSchemes.C +) + +add_foam_library(finiteArea SHARED ${sources}) + +# This is a prototype! Replace second argument with a list of the highest +# dependencies only. Inherited dependencies will be treated automatically. +target_link_libraries(finiteArea PUBLIC foam) diff --git a/src/finiteVolume/CMakeLists.txt b/src/finiteVolume/CMakeLists.txt new file mode 100644 index 000000000..cc12f2f9e --- /dev/null +++ b/src/finiteVolume/CMakeLists.txt @@ -0,0 +1,539 @@ +# -------------------------------------------------------------------------- +# ======== | +# \ / F ield | foam-extend: Open Source CFD +# \ / O peration | Version: 4.1 +# \ / A nd | Web: http://www.foam-extend.org +# \/ M anipulation | For copyright notice see file Copyright +# -------------------------------------------------------------------------- +# License +# This file is part of foam-extend. +# +# foam-extend 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 3 of the License, or {at your +# option} any later version. +# +# foam-extend 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 foam-extend. If not, see . +# +# Description +# CMakeLists.txt file for libraries and applications +# +# Author +# Henrik Rusche, Wikki GmbH, 2017. All rights reserved +# +# +# -------------------------------------------------------------------------- + +list(APPEND sources + fvMesh/fvMeshGeometry.C + fvMesh/fvMesh.C + fvMesh/singleCellFvMesh/singleCellFvMesh.C + fvMesh/fvMeshSubset/fvMeshSubset.C +) + +set(fvBoundaryMesh fvMesh/fvBoundaryMesh) +list(APPEND sources + ${fvBoundaryMesh}/fvBoundaryMesh.C +) + +set(fvPatches fvMesh/fvPatches) +list(APPEND sources + ${fvPatches}/fvPatch/fvPatch.C + ${fvPatches}/fvPatch/newFvPatch.C +) + +set(basicFvPatches ${fvPatches}/basic) +list(APPEND sources + ${basicFvPatches}/coupled/coupledFvPatch.C + ${basicFvPatches}/generic/genericFvPatch.C +) + +set(constraintFvPatches ${fvPatches}/constraint) +list(APPEND sources + ${constraintFvPatches}/empty/emptyFvPatch.C + ${constraintFvPatches}/symmetry/symmetryFvPatch.C + ${constraintFvPatches}/wedge/wedgeFvPatch.C + ${constraintFvPatches}/cyclic/cyclicFvPatch.C + ${constraintFvPatches}/processor/processorFvPatch.C + ${constraintFvPatches}/ggi/ggiFvPatch.C + ${constraintFvPatches}/cyclicGgi/cyclicGgiFvPatch.C + ${constraintFvPatches}/overlapGgi/overlapGgiFvPatch.C + ${constraintFvPatches}/mixingPlane/mixingPlaneFvPatch.C + ${constraintFvPatches}/regionCouple/regionCoupleFvPatch.C +) + +set(derivedFvPatches ${fvPatches}/derived) +list(APPEND sources + ${derivedFvPatches}/wall/wallFvPatch.C + ${derivedFvPatches}/directMapped/directMappedFvPatch.C + ${derivedFvPatches}/cohesive/cohesiveFvPatch.C + ${derivedFvPatches}/directMapped/directMappedWallFvPatch.C +) + +set(wallDist fvMesh/wallDist) +list(APPEND sources + ${wallDist}/wallPointYPlus/wallPointYPlus.C + ${wallDist}/nearWallDistNoSearch.C + ${wallDist}/nearWallDist.C + ${wallDist}/wallDist.C + ${wallDist}/reflectionVectors.C + ${wallDist}/wallDistReflection.C +) + + +set(fvMeshMapper fvMesh/fvMeshMapper) +list(APPEND sources + ${fvMeshMapper}/fvPatchMapper.C + ${fvMeshMapper}/fvSurfaceMapper.C +) + +set(extendedStencil fvMesh/extendedStencil) + +set(cellToCell ${extendedStencil}/cellToCell) +list(APPEND sources + ${cellToCell}/fullStencils/cellToCellStencil.C + ${cellToCell}/fullStencils/CFCCellToCellStencil.C + ${cellToCell}/fullStencils/CPCCellToCellStencil.C + ${cellToCell}/fullStencils/CECCellToCellStencil.C +) + +set(cellToFace ${extendedStencil}/cellToFace) +list(APPEND sources + ${cellToFace}/fullStencils/cellToFaceStencil.C + ${cellToFace}/fullStencils/CFCCellToFaceStencil.C + ${cellToFace}/fullStencils/CECCellToFaceStencil.C + ${cellToFace}/fullStencils/CPCCellToFaceStencil.C + ${cellToFace}/fullStencils/FECCellToFaceStencil.C + ${cellToFace}/extendedCellToFaceStencil.C + ${cellToFace}/extendedCentredCellToFaceStencil.C + ${cellToFace}/extendedUpwindCellToFaceStencil.C + ${cellToFace}/MeshObjects/centredCECCellToFaceStencilObject.C + ${cellToFace}/MeshObjects/centredCFCCellToFaceStencilObject.C + ${cellToFace}/MeshObjects/centredCPCCellToFaceStencilObject.C + ${cellToFace}/MeshObjects/centredFECCellToFaceStencilObject.C + ${cellToFace}/MeshObjects/upwindCECCellToFaceStencilObject.C + ${cellToFace}/MeshObjects/upwindCFCCellToFaceStencilObject.C + ${cellToFace}/MeshObjects/upwindCPCCellToFaceStencilObject.C + ${cellToFace}/MeshObjects/upwindFECCellToFaceStencilObject.C + ${cellToFace}/MeshObjects/pureUpwindCFCCellToFaceStencilObject.C +) + +set(faceToCell ${extendedStencil}/faceToCell) +list(APPEND sources + ${faceToCell}/fullStencils/faceToCellStencil.C + ${faceToCell}/fullStencils/CFCFaceToCellStencil.C + ${faceToCell}/extendedFaceToCellStencil.C + ${faceToCell}/extendedCentredFaceToCellStencil.C + ${faceToCell}/MeshObjects/centredCFCFaceToCellStencilObject.C +) + + +set(fvPatchFields fields/fvPatchFields) +list(APPEND sources + ${fvPatchFields}/fvPatchField/fvPatchFields.C + ${fvPatchFields}/fvPatchField/fvPatchVectorNFields.C +) + +set(basicFvPatchFields ${fvPatchFields}/basic) +list(APPEND sources + ${basicFvPatchFields}/basicSymmetry/basicSymmetryFvPatchFields.C + ${basicFvPatchFields}/basicSymmetry/basicSymmetryFvPatchScalarField.C + ${basicFvPatchFields}/calculated/calculatedFvPatchFields.C + ${basicFvPatchFields}/calculated/calculatedFvPatchVectorNFields.C + ${basicFvPatchFields}/coupled/coupledFvPatchFields.C + ${basicFvPatchFields}/coupled/coupledFvPatchVectorNFields.C + ${basicFvPatchFields}/directionMixed/directionMixedFvPatchFields.C + ${basicFvPatchFields}/fixedGradient/fixedGradientFvPatchFields.C + ${basicFvPatchFields}/fixedGradient/fixedGradientFvPatchVectorNFields.C + ${basicFvPatchFields}/fixedValue/fixedValueFvPatchFields.C + ${basicFvPatchFields}/fixedValue/fixedValueFvPatchVectorNFields.C + ${basicFvPatchFields}/generic/genericFvPatchFields.C + ${basicFvPatchFields}/generic/genericFvPatchVectorNFields.C + ${basicFvPatchFields}/mixed/mixedFvPatchFields.C + ${basicFvPatchFields}/sliced/slicedFvPatchFields.C + ${basicFvPatchFields}/transform/transformFvPatchFields.C + ${basicFvPatchFields}/transform/transformFvPatchScalarField.C + ${basicFvPatchFields}/transform/transformFvPatchVectorNFields.C + ${basicFvPatchFields}/zeroGradient/zeroGradientFvPatchFields.C + ${basicFvPatchFields}/zeroGradient/zeroGradientFvPatchVectorNFields.C +) + +set(constraintFvPatchFields ${fvPatchFields}/constraint) +list(APPEND sources + ${constraintFvPatchFields}/cyclic/cyclicFvPatchFields.C + ${constraintFvPatchFields}/cyclic/cyclicFvPatchVectorNFields.C + ${constraintFvPatchFields}/empty/emptyFvPatchFields.C + ${constraintFvPatchFields}/empty/emptyFvPatchVectorNFields.C + ${constraintFvPatchFields}/jumpCyclic/jumpCyclicFvPatchFields.C + ${constraintFvPatchFields}/processor/processorFvPatchFields.C + ${constraintFvPatchFields}/processor/processorFvPatchScalarField.C + ${constraintFvPatchFields}/processor/processorFvPatchVectorNFields.C + ${constraintFvPatchFields}/symmetry/symmetryFvPatchFields.C + ${constraintFvPatchFields}/wedge/wedgeFvPatchFields.C + ${constraintFvPatchFields}/wedge/wedgeFvPatchScalarField.C + ${constraintFvPatchFields}/wedge/wedgeFvPatchVectorNFields.C + ${constraintFvPatchFields}/ggi/ggiFvPatchFields.C + ${constraintFvPatchFields}/ggi/ggiFvPatchVectorNFields.C + ${constraintFvPatchFields}/jumpGgi/jumpGgiFvPatchFields.C + ${constraintFvPatchFields}/cyclicGgi/cyclicGgiFvPatchFields.C + ${constraintFvPatchFields}/overlapGgi/overlapGgiFvPatchFields.C + ${constraintFvPatchFields}/mixingPlane/mixingPlaneFvPatchFields.C + ${constraintFvPatchFields}/jumpMixingPlane/jumpMixingPlaneFvPatchFields.C + ${constraintFvPatchFields}/regionCoupling/regionCouplingFvPatchFields.C +) + +set(derivedFvPatchFields ${fvPatchFields}/derived) +list(APPEND sources + ${derivedFvPatchFields}/activeBaffleVelocity/activeBaffleVelocityFvPatchVectorField.C + ${derivedFvPatchFields}/advective/advectiveFvPatchFields.C + ${derivedFvPatchFields}/directMappedFixedValue/directMappedFixedValueFvPatchFields.C + ${derivedFvPatchFields}/directMappedVelocityFluxFixedValue/directMappedVelocityFluxFixedValueFvPatchField.C + ${derivedFvPatchFields}/fan/fanFvPatchFields.C + ${derivedFvPatchFields}/buoyantPressure/buoyantPressureFvPatchScalarField.C + ${derivedFvPatchFields}/fixedFluxPressure/fixedFluxPressureFvPatchScalarField.C + ${derivedFvPatchFields}/fixedInternalValueFvPatchField/fixedInternalValueFvPatchFields.C + ${derivedFvPatchFields}/fixedNormalSlip/fixedNormalSlipFvPatchFields.C + ${derivedFvPatchFields}/fixedPressureCompressibleDensity/fixedPressureCompressibleDensityFvPatchScalarField.C + ${derivedFvPatchFields}/fluxCorrectedVelocity/fluxCorrectedVelocityFvPatchVectorField.C + ${derivedFvPatchFields}/flux/fluxFvPatchFields.C + ${derivedFvPatchFields}/freestream/freestreamFvPatchFields.C + ${derivedFvPatchFields}/freestreamPressure/freestreamPressureFvPatchScalarField.C + ${derivedFvPatchFields}/inletOutlet/inletOutletFvPatchFields.C + ${derivedFvPatchFields}/inletOutletTotalTemperature/inletOutletTotalTemperatureFvPatchScalarField.C + ${derivedFvPatchFields}/flowRateInletVelocity/flowRateInletVelocityFvPatchVectorField.C + ${derivedFvPatchFields}/movingWallVelocity/movingWallVelocityFvPatchVectorField.C + ${derivedFvPatchFields}/translatingWallVelocity/translatingWallVelocityFvPatchVectorField.C + ${derivedFvPatchFields}/rotatingWallVelocity/rotatingWallVelocityFvPatchVectorField.C + ${derivedFvPatchFields}/movingRotatingWallVelocity/movingRotatingWallVelocityFvPatchVectorField.C + ${derivedFvPatchFields}/oscillatingFixedValue/oscillatingFixedValueFvPatchFields.C + ${derivedFvPatchFields}/fixedMeanValue/fixedMeanValueFvPatchFields.C + ${derivedFvPatchFields}/outletInlet/outletInletFvPatchFields.C + ${derivedFvPatchFields}/partialSlip/partialSlipFvPatchFields.C + ${derivedFvPatchFields}/pressureDirectedInletOutletVelocity/pressureDirectedInletOutletVelocityFvPatchVectorField.C + ${derivedFvPatchFields}/pressureNormalInletOutletVelocity/pressureNormalInletOutletVelocityFvPatchVectorField.C + ${derivedFvPatchFields}/pressureDirectedInletVelocity/pressureDirectedInletVelocityFvPatchVectorField.C + ${derivedFvPatchFields}/timeVaryingMappedPressureDirectedInletVelocity/timeVaryingMappedPressureDirectedInletVelocityFvPatchVectorField.C + ${derivedFvPatchFields}/pressureInletOutletVelocity/pressureInletOutletVelocityFvPatchVectorField.C + ${derivedFvPatchFields}/pressureInletUniformVelocity/pressureInletUniformVelocityFvPatchVectorField.C + ${derivedFvPatchFields}/pressureInletVelocity/pressureInletVelocityFvPatchVectorField.C + ${derivedFvPatchFields}/rotatingPressureInletOutletVelocity/rotatingPressureInletOutletVelocityFvPatchVectorField.C + ${derivedFvPatchFields}/rotatingTotalPressure/rotatingTotalPressureFvPatchScalarField.C + ${derivedFvPatchFields}/slip/slipFvPatchFields.C + ${derivedFvPatchFields}/supersonicFreestream/supersonicFreestreamFvPatchVectorField.C + ${derivedFvPatchFields}/surfaceNormalFixedValue/surfaceNormalFixedValueFvPatchVectorField.C + ${derivedFvPatchFields}/syringePressure/syringePressureFvPatchScalarField.C + ${derivedFvPatchFields}/parabolicVelocity/parabolicVelocityFvPatchVectorField.C + ${derivedFvPatchFields}/timeVaryingMappedFixedValue/AverageIOFields.C + ${derivedFvPatchFields}/timeVaryingMappedFixedValue/timeVaryingMappedFixedValueFvPatchFields.C + ${derivedFvPatchFields}/timeVaryingFlowRateInletVelocity/timeVaryingFlowRateInletVelocityFvPatchVectorField.C + ${derivedFvPatchFields}/timeVaryingUniformFixedValue/timeVaryingUniformFixedValueFvPatchFields.C + ${derivedFvPatchFields}/timeVaryingUniformInletOutlet/timeVaryingUniformInletOutletFvPatchFields.C + ${derivedFvPatchFields}/totalPressure/totalPressureFvPatchScalarField.C + ${derivedFvPatchFields}/timeVaryingMappedTotalPressure/timeVaryingMappedTotalPressureFvPatchScalarField.C + ${derivedFvPatchFields}/timeVaryingUniformTotalPressure/timeVaryingUniformTotalPressureFvPatchScalarField.C + ${derivedFvPatchFields}/totalTemperature/totalTemperatureFvPatchScalarField.C + ${derivedFvPatchFields}/turbulentInlet/turbulentInletFvPatchFields.C + ${derivedFvPatchFields}/turbulentIntensityKineticEnergyInlet/turbulentIntensityKineticEnergyInletFvPatchScalarField.C + ${derivedFvPatchFields}/uniformFixedValue/uniformFixedValueFvPatchFields.C + ${derivedFvPatchFields}/waveTransmissive/waveTransmissiveFvPatchFields.C + ${derivedFvPatchFields}/uniformDensityHydrostaticPressure/uniformDensityHydrostaticPressureFvPatchScalarField.C + ${derivedFvPatchFields}/pulseFixedValue/pulseFixedValueFvPatchFields.C + ${derivedFvPatchFields}/waveTransmissiveInlet/waveTransmissiveInletFvPatchFields.C +) + +set(fvsPatchFields fields/fvsPatchFields) +list(APPEND sources + ${fvsPatchFields}/fvsPatchField/fvsPatchFields.C +) + +set(basicFvsPatchFields ${fvsPatchFields}/basic) +list(APPEND sources + ${basicFvsPatchFields}/calculated/calculatedFvsPatchFields.C + ${basicFvsPatchFields}/coupled/coupledFvsPatchFields.C + ${basicFvsPatchFields}/fixedValue/fixedValueFvsPatchFields.C + ${basicFvsPatchFields}/sliced/slicedFvsPatchFields.C +) + +set(constraintFvsPatchFields ${fvsPatchFields}/constraint) +list(APPEND sources + ${constraintFvsPatchFields}/cyclic/cyclicFvsPatchFields.C + ${constraintFvsPatchFields}/empty/emptyFvsPatchFields.C + ${constraintFvsPatchFields}/processor/processorFvsPatchFields.C + ${constraintFvsPatchFields}/symmetry/symmetryFvsPatchFields.C + ${constraintFvsPatchFields}/wedge/wedgeFvsPatchFields.C + ${constraintFvsPatchFields}/ggi/ggiFvsPatchFields.C + ${constraintFvsPatchFields}/cyclicGgi/cyclicGgiFvsPatchFields.C + ${constraintFvsPatchFields}/overlapGgi/overlapGgiFvsPatchFields.C + ${constraintFvsPatchFields}/mixingPlane/mixingPlaneFvsPatchFields.C + ${constraintFvsPatchFields}/regionCoupling/regionCouplingFvsPatchFields.C +) + +set(fvsPatchVectorNFields ${fvsPatchFields}/fvsPatchVectorNFields) +list(APPEND sources + ${fvsPatchVectorNFields}/fvsPatchVectorNFields.C + ${fvsPatchVectorNFields}/calculatedFvsPatchVectorNFields.C + ${fvsPatchVectorNFields}/emptyFvsPatchVectorNFields.C + ${fvsPatchVectorNFields}/wedgeFvsPatchVectorNFields.C + ${fvsPatchVectorNFields}/coupledFvsPatchVectorNFields.C + ${fvsPatchVectorNFields}/processorFvsPatchVectorNFields.C + fields/volFields/volFields.C + fields/volFields/volVectorNFields.C + fields/surfaceFields/surfaceFields.C + fields/surfaceFields/surfaceVectorNFields.C + fvMatrices/fvMatrices.C + fvMatrices/fvScalarMatrix/fvScalarMatrix.C + fvMatrices/solvers/MULES/MULES.C + fvMatrices/solvers/GAMGSymSolver/GAMGAgglomerations/faceAreaPairGAMGAgglomeration/faceAreaPairGAMGAgglomeration.C +) + +set(interpolation interpolation/interpolation) +list(APPEND sources + ${interpolation}/interpolation/interpolations.C + ${interpolation}/interpolationCell/makeInterpolationCell.C + ${interpolation}/interpolationCellPoint/cellPointWeight/cellPointWeight.C + ${interpolation}/interpolationCellPoint/makeInterpolationCellPoint.C + ${interpolation}/interpolationCellPointFace/makeInterpolationCellPointFace.C + ${interpolation}/interpolationCellPointWallModified/cellPointWeightWallModified/cellPointWeightWallModified.C + ${interpolation}/interpolationCellPointWallModified/makeInterpolationCellPointWallModified.C +) + +set(volPointInterpolation interpolation/volPointInterpolation) +list(APPEND sources + ${volPointInterpolation}/pointPatchInterpolation/pointPatchInterpolation.C + ${volPointInterpolation}/volPointInterpolation.C + ${volPointInterpolation}/leastSquaresVolPointInterpolation/leastSquaresVolPointInterpolation.C +) + +set(pointVolInterpolation interpolation/pointVolInterpolation) +list(APPEND sources + ${pointVolInterpolation}/pointVolInterpolation.C +) + +set(surfaceInterpolation interpolation/surfaceInterpolation) +list(APPEND sources + ${surfaceInterpolation}/surfaceInterpolation/surfaceInterpolation.C + ${surfaceInterpolation}/surfaceInterpolationScheme/surfaceInterpolationSchemes.C + ${surfaceInterpolation}/VectorNSurfaceInterpolationSchemes/VectorNSurfaceInterpolationSchemes.C +) + +set(schemes ${surfaceInterpolation}/schemes) +list(APPEND sources + ${schemes}/linear/linear.C + ${schemes}/midPoint/midPoint.C + ${schemes}/downwind/downwind.C + ${schemes}/weighted/weighted.C + ${schemes}/cubic/cubic.C + ${schemes}/skewCorrected/skewCorrectionVectors.C + ${schemes}/skewCorrected/skewCorrected.C + ${schemes}/leastSquaresSkewCorrected/leastSquaresSkewCorrected.C + ${schemes}/outletStabilised/outletStabilised.C + ${schemes}/reverseLinear/reverseLinear.C + ${schemes}/clippedLinear/clippedLinear.C + ${schemes}/harmonic/magLongDelta.C + ${schemes}/harmonic/harmonic.C + ${schemes}/fixedBlended/fixedBlended.C + ${schemes}/localBlended/localBlended.C + ${schemes}/localMax/localMax.C + ${schemes}/localMin/localMin.C + ${schemes}/linearFit/linearFit.C + ${schemes}/biLinearFit/biLinearFit.C + ${schemes}/quadraticLinearFit/quadraticLinearFit.C + ${schemes}/quadraticFit/quadraticFit.C + ${schemes}/quadraticLinearUpwindFit/quadraticLinearUpwindFit.C + ${schemes}/quadraticUpwindFit/quadraticUpwindFit.C + ${schemes}/cubicUpwindFit/cubicUpwindFit.C +) +# +# $(schemes)/quadraticLinearPureUpwindFit/quadraticLinearPureUpwindFit.C +list(APPEND sources + ${schemes}/linearPureUpwindFit/linearPureUpwindFit.C +) + +set(limitedSchemes ${surfaceInterpolation}/limitedSchemes) +list(APPEND sources + ${limitedSchemes}/limitedSurfaceInterpolationScheme/limitedSurfaceInterpolationSchemes.C + ${limitedSchemes}/upwind/upwind.C + ${limitedSchemes}/blended/blended.C + ${limitedSchemes}/linearUpwind/linearUpwind.C + ${limitedSchemes}/linearUpwind/linearUpwindV.C + ${limitedSchemes}/reconCentral/reconCentral.C + ${limitedSchemes}/Gamma/Gamma.C + ${limitedSchemes}/SFCD/SFCD.C + ${limitedSchemes}/Minmod/Minmod.C + ${limitedSchemes}/vanLeer/vanLeer.C + ${limitedSchemes}/vanAlbada/vanAlbada.C + ${limitedSchemes}/OSPRE/OSPRE.C + ${limitedSchemes}/limitedLinear/limitedLinear.C + ${limitedSchemes}/limitedCubic/limitedCubic.C + ${limitedSchemes}/SuperBee/SuperBee.C + ${limitedSchemes}/QUICK/QUICK.C + ${limitedSchemes}/MUSCL/MUSCL.C + ${limitedSchemes}/UMIST/UMIST.C + ${limitedSchemes}/Phi/Phi.C + ${limitedSchemes}/filteredLinear/filteredLinear.C + ${limitedSchemes}/filteredLinear2/filteredLinear2.C + ${limitedSchemes}/filteredLinear3/filteredLinear3.C + ${limitedSchemes}/limitWith/limitWith.C +) + +set(multivariateSchemes ${surfaceInterpolation}/multivariateSchemes) +list(APPEND sources + ${multivariateSchemes}/multivariateSurfaceInterpolationScheme/multivariateSurfaceInterpolationSchemes.C + ${multivariateSchemes}/multivariateSelectionScheme/multivariateSelectionSchemes.C + ${multivariateSchemes}/upwind/multivariateUpwind.C + ${multivariateSchemes}/Gamma/multivariateGamma.C + ${multivariateSchemes}/vanLeer/multivariateVanLeer.C + ${multivariateSchemes}/Minmod/multivariateMinmod.C + ${multivariateSchemes}/SuperBee/multivariateSuperBee.C + ${multivariateSchemes}/MUSCL/multivariateMUSCL.C + ${multivariateSchemes}/limitedLinear/multivariateLimitedLinear.C + ${multivariateSchemes}/limitedCubic/multivariateLimitedCubic.C + finiteVolume/fv/fv.C + finiteVolume/fvSchemes/fvSchemes.C +) + +set(ddtSchemes finiteVolume/ddtSchemes) +list(APPEND sources + ${ddtSchemes}/ddtScheme/ddtSchemes.C + ${ddtSchemes}/steadyStateDdtScheme/steadyStateDdtSchemes.C + ${ddtSchemes}/EulerDdtScheme/EulerDdtSchemes.C + ${ddtSchemes}/CoEulerDdtScheme/CoEulerDdtSchemes.C + ${ddtSchemes}/SLTSDdtScheme/SLTSDdtSchemes.C + ${ddtSchemes}/backwardDdtScheme/backwardDdtSchemes.C + ${ddtSchemes}/boundedBackwardDdtScheme/boundedBackwardDdtScheme.C + ${ddtSchemes}/boundedBackwardDdtScheme/boundedBackwardDdtSchemes.C + ${ddtSchemes}/CrankNicolsonDdtScheme/CrankNicolsonDdtSchemes.C + ${ddtSchemes}/steadyInertialDdtScheme/steadyInertialDdtSchemes.C +) + +set(d2dt2Schemes finiteVolume/d2dt2Schemes) +list(APPEND sources + ${d2dt2Schemes}/d2dt2Scheme/d2dt2Schemes.C + ${d2dt2Schemes}/steadyStateD2dt2Scheme/steadyStateD2dt2Schemes.C + ${d2dt2Schemes}/EulerD2dt2Scheme/EulerD2dt2Schemes.C + ${d2dt2Schemes}/backwardD2dt2Scheme/backwardD2dt2Schemes.C +) + +set(divSchemes finiteVolume/divSchemes) +list(APPEND sources + ${divSchemes}/divScheme/divSchemes.C + ${divSchemes}/gaussDivScheme/gaussDivSchemes.C + ${divSchemes}/gaussDivScheme/vectorGaussDivScheme.C +) + +set(gradSchemes finiteVolume/gradSchemes) +list(APPEND sources + ${gradSchemes}/gradScheme/gradSchemes.C + ${gradSchemes}/gaussGrad/scalarGaussGrad.C + ${gradSchemes}/gaussGrad/gaussGrads.C + ${gradSchemes}/beGaussGrad/beGaussGrads.C + ${gradSchemes}/leastSquaresGrad/leastSquaresVectors.C + ${gradSchemes}/leastSquaresGrad/scalarLeastSquaresGrad.C + ${gradSchemes}/leastSquaresGrad/leastSquaresGrads.C + ${gradSchemes}/extendedLeastSquaresGrad/extendedLeastSquaresVectors.C + ${gradSchemes}/extendedLeastSquaresGrad/extendedLeastSquaresGrads.C + ${gradSchemes}/fourthGrad/fourthGrads.C +) + +set(limitedGradSchemes ${gradSchemes}/limitedGradSchemes) +list(APPEND sources + ${limitedGradSchemes}/faceLimitedGrad/faceLimitedGrads.C + ${limitedGradSchemes}/cellLimitedGrad/cellLimitedGrads.C + ${limitedGradSchemes}/faceMDLimitedGrad/faceMDLimitedGrads.C + ${limitedGradSchemes}/cellMDLimitedGrad/cellMDLimitedGrads.C +) + +set(snGradSchemes finiteVolume/snGradSchemes) +list(APPEND sources + ${snGradSchemes}/snGradScheme/snGradSchemes.C + ${snGradSchemes}/correctedSnGrad/correctedSnGrads.C + ${snGradSchemes}/limitedSnGrad/limitedSnGrads.C + ${snGradSchemes}/uncorrectedSnGrad/uncorrectedSnGrads.C + ${snGradSchemes}/orthogonalSnGrad/orthogonalSnGrads.C + ${snGradSchemes}/skewCorrectedSnGrad/skewCorrectedSnGrads.C + ${snGradSchemes}/fourthSnGrad/fourthSnGrads.C +) +# +# $(snGradSchemes)/quadraticFitSnGrad/quadraticFitSnGradData.C +# $(snGradSchemes)/quadraticFitSnGrad/quadraticFitSnGrads.C + +set(convectionSchemes finiteVolume/convectionSchemes) +list(APPEND sources + ${convectionSchemes}/convectionScheme/convectionSchemes.C + ${convectionSchemes}/gaussConvectionScheme/gaussConvectionSchemes.C + ${convectionSchemes}/noConvectionScheme/noConvectionSchemes.C + ${convectionSchemes}/explicitConvectionScheme/explicitConvectionSchemes.C + ${convectionSchemes}/multivariateGaussConvectionScheme/multivariateGaussConvectionSchemes.C +) + +set(adjConvectionSchemes finiteVolume/adjConvectionSchemes) +list(APPEND sources + ${adjConvectionSchemes}/adjConvectionScheme/adjConvectionSchemes.C + ${adjConvectionSchemes}/noAdjConvectionScheme/noAdjConvectionSchemes.C + ${adjConvectionSchemes}/explicitAdjConvectionScheme/explicitAdjConvectionSchemes.C +) + +set(laplacianSchemes finiteVolume/laplacianSchemes) +list(APPEND sources + ${laplacianSchemes}/laplacianScheme/laplacianSchemes.C + ${laplacianSchemes}/gaussLaplacianScheme/gaussLaplacianSchemes.C + ${laplacianSchemes}/noLaplacianScheme/noLaplacianSchemes.C + finiteVolume/fvc/fvcMeshPhi.C +) + +set(general cfdTools/general) +list(APPEND sources + ${general}/findRefCell/findRefCell.C + ${general}/adjustPhi/adjustPhi.C + ${general}/bound/bound.C +) + +set(solutionControl ${general}/solutionControl) +list(APPEND sources + ${solutionControl}/solutionControl/solutionControl.C + ${solutionControl}/simpleControl/simpleControl.C + ${solutionControl}/pimpleControl/pimpleControl.C + ${solutionControl}/pisoControl/pisoControl.C +) + +set(porousMedia ${general}/porousMedia) +list(APPEND sources + ${porousMedia}/porousZone.C + ${porousMedia}/porousZones.C +) + +set(MRF ${general}/MRF) +list(APPEND sources + ${MRF}/MRFZone.C + ${MRF}/MRFZones.C +) + +set(SRF ${general}/SRF) +list(APPEND sources + ${SRF}/SRFModel/SRFModel/SRFModel.C + ${SRF}/SRFModel/SRFModel/newSRFModel.C + ${SRF}/SRFModel/rpm/rpm.C + ${SRF}/derivedFvPatchFields/SRFVelocityFvPatchVectorField/SRFVelocityFvPatchVectorField.C + ${SRF}/derivedFvPatchFields/SRFSurfaceNormalVelocityFvPatchVectorField/SRFSurfaceNormalVelocityFvPatchVectorField.C + ${SRF}/derivedFvPatchFields/SRFTotalTemperature/SRFTotalTemperatureFvPatchScalarField.C + ${SRF}/derivedFvPatchFields/SRFFlowRateInletVelocity/SRFFlowRateInletVelocityFvPatchVectorField.C + ${SRF}/derivedFvPatchFields/SRFTotalPressure/SRFTotalPressureFvPatchScalarField.C +) + +set(fieldSources ${general}/fieldSources) +list(APPEND sources + ${fieldSources}/pressureGradientExplicitSource/pressureGradientExplicitSource.C + ${fieldSources}/timeActivatedExplicitSource/timeActivatedExplicitSource.C +) + +add_foam_library(finiteVolume SHARED ${sources}) + +# This is a prototype! Replace second argument with a list of the highest +# dependencies only. Inherited dependencies will be treated automatically. +target_link_libraries(finiteVolume PUBLIC meshTools) diff --git a/src/foam/CMakeLists.txt b/src/foam/CMakeLists.txt new file mode 100644 index 000000000..fb42e269b --- /dev/null +++ b/src/foam/CMakeLists.txt @@ -0,0 +1,903 @@ +# -------------------------------------------------------------------------- +# ======== | +# \ / F ield | foam-extend: Open Source CFD +# \ / O peration | Version: 4.1 +# \ / A nd | Web: http://www.foam-extend.org +# \/ M anipulation | For copyright notice see file Copyright +# -------------------------------------------------------------------------- +# License +# This file is part of foam-extend. +# +# foam-extend 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 3 of the License, or {at your +# option} any later version. +# +# foam-extend 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 foam-extend. If not, see . +# +# Description +# CMakeLists.txt file for libraries and applications +# +# Author +# Henrik Rusche, Wikki GmbH, 2017. All rights reserved +# +# +# -------------------------------------------------------------------------- + +list(APPEND sources + global/global.C + global/dimensionedConstants/dimensionedConstants.C + global/argList/argList.C + global/clock/clock.C + global/controlSwitches/debugSwitch.C + global/controlSwitches/infoSwitch.C + global/controlSwitches/optimisationSwitch.C + global/controlSwitches/tolerancesSwitch.C + global/controlSwitches/constantsSwitch.C + global/profiling/profilingInfo.C + global/profiling/profilingPool.C + global/profiling/profilingStack.C + global/profiling/profilingTrigger.C +) + +set(bools primitives/bools) +list(APPEND sources + ${bools}/bool/bool.C + ${bools}/bool/boolIO.C + ${bools}/Switch/Switch.C + ${bools}/Switch/SwitchIO.C + primitives/char/charIO.C +) + +set(ints primitives/ints) +list(APPEND sources + ${ints}/int/intIO.C + ${ints}/uint/uintIO.C + ${ints}/long/longIO.C + ${ints}/longLong/longLongIO.C + ${ints}/ulong/ulongIO.C + ${ints}/label/label.C + ${ints}/uLabel/uLabel.C + primitives/Scalar/doubleScalar/doubleScalar.C + primitives/Scalar/longDoubleScalar/longDoubleScalar.C + primitives/Scalar/floatScalar/floatScalar.C + primitives/Scalar/scalar/scalar.C + primitives/DiagTensor/diagTensor/diagTensor.C + primitives/DiagTensor/labelDiagTensor/labelDiagTensor.C + primitives/SphericalTensor/sphericalTensor/sphericalTensor.C + primitives/SphericalTensor/labelSphericalTensor/labelSphericalTensor.C + primitives/SymmTensor/labelSymmTensor/labelSymmTensor.C + primitives/SymmTensor/symmTensor/symmTensor.C + primitives/SymmTensor4thOrder/labelSymmTensor4thOrder/labelSymmTensor4thOrder.C + primitives/SymmTensor4thOrder/symmTensor4thOrder/symmTensor4thOrder.C + primitives/Tensor/labelTensor/labelTensor.C + primitives/Tensor/tensor/tensor.C + primitives/Vector/complexVector/complexVector.C + primitives/Vector/labelVector/labelVector.C + primitives/Vector/vector/vector.C + primitives/Tensor2D/tensor2D/tensor2D.C + primitives/SphericalTensor2D/sphericalTensor2D/sphericalTensor2D.C + primitives/SymmTensor2D/symmTensor2D/symmTensor2D.C + primitives/Vector2D/vector2D/vector2D.C + primitives/complex/complex.C + primitives/quaternion/quaternion.C + primitives/septernion/septernion.C +) + +set(strings primitives/strings) +list(APPEND sources + ${strings}/string/foamString.C + ${strings}/string/foamStringIO.C + ${strings}/word/word.C + ${strings}/word/wordIO.C + ${strings}/fileName/fileName.C + ${strings}/fileName/fileNameIO.C + ${strings}/keyType/keyTypeIO.C + ${strings}/wordRe/wordReIO.C + primitives/hashes/Hasher/Hasher.C +) + +set(sha1 primitives/hashes/SHA1) +list(APPEND sources + ${sha1}/SHA1.C + ${sha1}/SHA1Digest.C + coordinateSystems/coordinateSystem.C + coordinateSystems/coordinateSystems.C + coordinateSystems/parabolicCylindricalCS.C + coordinateSystems/ellipticCylindricalCS.C + coordinateSystems/toroidalCS.C + coordinateSystems/newCoordinateSystem.C + coordinateSystems/cylindricalCS.C + coordinateSystems/sphericalCS.C + coordinateSystems/coordinateRotation/coordinateRotation.C + coordinateSystems/coordinateRotation/EulerCoordinateRotation.C + coordinateSystems/coordinateRotation/STARCDCoordinateRotation.C + coordinateSystems/coordinateRotation/axisCoordinateRotation.C + primitives/random/Random.C + containers/HashTables/HashTable/HashTableCore.C + containers/HashTables/StaticHashTable/StaticHashTableCore.C + containers/Lists/SortableList/ParSortableListName.C + containers/Lists/PackedList/PackedListName.C + containers/Lists/ListOps/ListOps.C + containers/LinkedLists/linkTypes/SLListBase/SLListBase.C + containers/LinkedLists/linkTypes/DLListBase/DLListBase.C +) + +set(primitiveLists primitives/Lists) +list(APPEND sources + ${primitiveLists}/boolList.C + ${primitiveLists}/diagTensorList.C + ${primitiveLists}/labelIOList.C + ${primitiveLists}/scalarList.C + ${primitiveLists}/scalarIOList.C + ${primitiveLists}/vectorList.C + ${primitiveLists}/sphericalTensorList.C + ${primitiveLists}/symmTensorList.C + ${primitiveLists}/symmTensor4thOrderList.C + ${primitiveLists}/tensorList.C + ${primitiveLists}/VectorNLists.C + ${primitiveLists}/wordIOList.C +) + +set(Streams db/IOstreams) +list(APPEND sources + ${Streams}/token/tokenIO.C +) + +set(IOstreams ${Streams}/IOstreams) +list(APPEND sources + ${IOstreams}/IOstream.C + ${IOstreams}/Istream.C + ${IOstreams}/Ostream.C +) + +set(Sstreams ${Streams}/Sstreams) +list(APPEND sources + ${Sstreams}/ISstream.C + ${Sstreams}/OSstream.C + ${Sstreams}/SstreamsPrint.C + ${Sstreams}/readHexLabel.C + ${Sstreams}/prefixOSstream.C +) + +set(gzstream ${Streams}/gzstream) +list(APPEND sources + ${gzstream}/gzstream.C +) + +set(Fstreams ${Streams}/Fstreams) +list(APPEND sources + ${Fstreams}/IFstream.C + ${Fstreams}/OFstream.C +) + +set(Tstreams ${Streams}/Tstreams) +list(APPEND sources + ${Tstreams}/ITstream.C +) + +set(StringStreams ${Streams}/StringStreams) +list(APPEND sources + ${StringStreams}/StringStreamsPrint.C +) + +set(Pstreams ${Streams}/Pstreams) +list(APPEND sources + ${Pstreams}/Pstream.C + ${Pstreams}/PstreamCommsStruct.C + ${Pstreams}/PstreamGlobals.C + ${Pstreams}/IPstream.C + ${Pstreams}/OPstream.C + ${Pstreams}/IPread.C + ${Pstreams}/OPwrite.C + ${Pstreams}/PstreamsPrint.C +) + +set(dictionary db/dictionary) +list(APPEND sources + ${dictionary}/dictionary.C + ${dictionary}/dictionaryIO.C +) + +set(entry ${dictionary}/entry) +list(APPEND sources + ${entry}/entry.C + ${entry}/entryIO.C +) + +set(primitiveEntry ${dictionary}/primitiveEntry) +list(APPEND sources + ${primitiveEntry}/primitiveEntry.C + ${primitiveEntry}/primitiveEntryIO.C +) + +set(dictionaryEntry ${dictionary}/dictionaryEntry) +list(APPEND sources + ${dictionaryEntry}/dictionaryEntry.C + ${dictionaryEntry}/dictionaryEntryIO.C +) + +set(functionEntries ${dictionary}/functionEntries) +list(APPEND sources + ${functionEntries}/functionEntry/functionEntry.C + ${functionEntries}/includeEntry/includeEntry.C + ${functionEntries}/includeIfPresentEntry/includeIfPresentEntry.C + ${functionEntries}/inputModeEntry/inputModeEntry.C + ${functionEntries}/removeEntry/removeEntry.C +) + +set(IOdictionary db/IOobjects/IOdictionary) +list(APPEND sources + ${IOdictionary}/IOdictionary.C + ${IOdictionary}/IOdictionaryIO.C + db/IOobjects/IOMap/IOMapName.C +) + +set(IOobject db/IOobject) +list(APPEND sources + ${IOobject}/IOobject.C + ${IOobject}/IOobjectIO.C + ${IOobject}/IOobjectReadHeader.C + ${IOobject}/IOobjectWriteHeader.C +) + +set(regIOobject db/regIOobject) +list(APPEND sources + ${regIOobject}/regIOobject.C + ${regIOobject}/regIOobjectRead.C + ${regIOobject}/regIOobjectWrite.C + db/IOobjectList/IOobjectList.C + db/objectRegistry/objectRegistry.C + db/postfixedSubRegistry/postfixedSubRegistry.C + db/CallbackRegistry/CallbackRegistryName.C + db/dlLibraryTable/dlLibraryTable.C + db/functionObjects/functionObject/functionObject.C + db/functionObjects/functionObjectList/functionObjectList.C + db/functionObjects/outputFilterOutputControl/outputFilterOutputControl.C +) + +set(Time db/Time) +list(APPEND sources + ${Time}/TimePaths.C + ${Time}/TimeState.C + ${Time}/foamTime.C + ${Time}/foamTimeIO.C + ${Time}/findTimes.C + ${Time}/subCycleTime.C + ${Time}/findInstance.C + ${Time}/timeSelector.C + ${Time}/instant/instant.C + db/scalarRange/scalarRange.C + db/scalarRange/scalarRanges.C + dimensionSet/dimensionSet.C + dimensionSet/dimensionSetIO.C + dimensionSet/dimensionSets.C + dimensionedTypes/dimensionedScalar/dimensionedScalar.C + dimensionedTypes/dimensionedSphericalTensor/dimensionedSphericalTensor.C + dimensionedTypes/dimensionedDiagTensor/dimensionedDiagTensor.C + dimensionedTypes/dimensionedSymmTensor/dimensionedSymmTensor.C + dimensionedTypes/dimensionedSymmTensor4thOrder/dimensionedSymmTensor4thOrder.C + dimensionedTypes/dimensionedTensor/dimensionedTensor.C + dimensionedTypes/dimensionedVectorTensorN/dimensionedVectorTensorN.C + matrices/solution/solution.C + matrices/constraint/scalarConstraint.C +) + +set(scalarMatrices matrices/scalarMatrices) +list(APPEND sources + ${scalarMatrices}/scalarMatrices.C + ${scalarMatrices}/scalarSquareMatrix.C + ${scalarMatrices}/SVD/SVD.C +) + +set(LUscalarMatrix matrices/LUscalarMatrix) +list(APPEND sources + ${LUscalarMatrix}/LUscalarMatrix.C + ${LUscalarMatrix}/procLduMatrix.C + ${LUscalarMatrix}/procLduInterface.C +) + +set(lduMatrix matrices/lduMatrix) +list(APPEND sources + ${lduMatrix}/lduMatrix/lduMatrix.C + ${lduMatrix}/lduMatrix/lduMatrixOperations.C + ${lduMatrix}/lduMatrix/lduMatrixATmul.C + ${lduMatrix}/lduMatrix/lduMatrixUpdateMatrixInterfaces.C + ${lduMatrix}/lduMatrix/lduMatrixSolver.C + ${lduMatrix}/lduMatrix/lduMatrixSmoother.C + ${lduMatrix}/lduMatrix/lduMatrixPreconditioner.C + ${lduMatrix}/lduMatrix/extendedLduMatrix/extendedLduMatrix.C + ${lduMatrix}/solvers/diagonalSolver/diagonalSolver.C + ${lduMatrix}/solvers/smoothSolver/smoothSolver.C + ${lduMatrix}/solvers/PCG/PCG.C + ${lduMatrix}/solvers/PBiCG/PBiCG.C + ${lduMatrix}/solvers/ICCG/ICCG.C + ${lduMatrix}/solvers/BICCG/BICCG.C + ${lduMatrix}/smoothers/GaussSeidel/GaussSeidelSmoother.C + ${lduMatrix}/smoothers/DIC/DICSmoother.C + ${lduMatrix}/smoothers/DICGaussSeidel/DICGaussSeidelSmoother.C + ${lduMatrix}/smoothers/DILU/DILUSmoother.C + ${lduMatrix}/smoothers/DILUGaussSeidel/DILUGaussSeidelSmoother.C + ${lduMatrix}/preconditioners/noPreconditioner/noPreconditioner.C + ${lduMatrix}/preconditioners/diagonalPreconditioner/diagonalPreconditioner.C + ${lduMatrix}/preconditioners/DICPreconditioner/DICPreconditioner.C + ${lduMatrix}/preconditioners/FDICPreconditioner/FDICPreconditioner.C + ${lduMatrix}/preconditioners/DILUPreconditioner/DILUPreconditioner.C + ${lduMatrix}/preconditioners/GAMGPreconditioner/GAMGPreconditioner.C +) + +set(lduAddressing ${lduMatrix}/lduAddressing) +list(APPEND sources + ${lduAddressing}/lduAddressing.C + ${lduAddressing}/extendedLduAddressing/extendedLduAddressing.C +) + +set(lduInterfaces ${lduAddressing}/lduInterfaces) +list(APPEND sources + ${lduInterfaces}/lduInterface/lduInterface.C + ${lduInterfaces}/processorLduInterface/processorLduInterface.C + ${lduInterfaces}/cyclicLduInterface/cyclicLduInterface.C + ${lduInterfaces}/ggiLduInterface/ggiLduInterface.C + ${lduInterfaces}/overlapGGILduInterface/overlapGGILduInterface.C + ${lduInterfaces}/mixingPlaneLduInterface/mixingPlaneLduInterface.C + ${lduInterfaces}/regionCoupleLduInterface/regionCoupleLduInterface.C +) + +set(lduInterfaceFields ${lduAddressing}/lduInterfaceFields) +list(APPEND sources + ${lduInterfaceFields}/lduInterfaceField/lduInterfaceField.C + ${lduInterfaceFields}/processorLduInterfaceField/processorLduInterfaceField.C + ${lduInterfaceFields}/cyclicLduInterfaceField/cyclicLduInterfaceField.C + ${lduInterfaceFields}/ggiLduInterfaceField/ggiLduInterfaceField.C + ${lduInterfaceFields}/mixingPlaneLduInterfaceField/mixingPlaneLduInterfaceField.C + ${lduInterfaceFields}/overlapGGILduInterfaceField/overlapGGILduInterfaceField.C + ${lduInterfaceFields}/regionCoupleLduInterfaceField/regionCoupleLduInterfaceField.C +) + +set(AMG ${lduMatrix}/solvers/AMG) +list(APPEND sources + ${AMG}/GAMGSolver.C + ${AMG}/GAMGSolverAgglomerateMatrix.C + ${AMG}/GAMGSolverScalingFactor.C + ${AMG}/GAMGSolverSolve.C +) + +set(AMGInterfaces ${AMG}/interfaces) +list(APPEND sources + ${AMGInterfaces}/AMGInterface/AMGInterface.C + ${AMGInterfaces}/AMGInterface/newAMGInterface.C + ${AMGInterfaces}/processorAMGInterface/processorAMGInterface.C + ${AMGInterfaces}/cyclicAMGInterface/cyclicAMGInterface.C + ${AMGInterfaces}/ggiAMGInterface/ggiAMGInterface.C + ${AMGInterfaces}/cyclicGGIAMGInterface/cyclicGGIAMGInterface.C + ${AMGInterfaces}/regionCoupleAMGInterface/regionCoupleAMGInterface.C + ${AMGInterfaces}/mixingPlaneAMGInterface/mixingPlaneAMGInterface.C +) + +set(AMGInterfaceFields ${AMG}/interfaceFields) +list(APPEND sources + ${AMGInterfaceFields}/AMGInterfaceField/AMGInterfaceField.C + ${AMGInterfaceFields}/AMGInterfaceField/newAMGInterfaceField.C + ${AMGInterfaceFields}/processorAMGInterfaceField/processorAMGInterfaceField.C + ${AMGInterfaceFields}/cyclicAMGInterfaceField/cyclicAMGInterfaceField.C + ${AMGInterfaceFields}/ggiAMGInterfaceField/ggiAMGInterfaceField.C + ${AMGInterfaceFields}/cyclicGgiAMGInterfaceField/cyclicGgiAMGInterfaceField.C + ${AMGInterfaceFields}/regionCoupleAMGInterfaceField/regionCoupleAMGInterfaceField.C + ${AMGInterfaceFields}/mixingPlaneAMGInterfaceField/mixingPlaneAMGInterfaceField.C +) + +set(AMGAgglomerations ${AMG}/AMGAgglomerations) + +set(GAMGAgglomeration ${AMGAgglomerations}/GAMGAgglomeration) +list(APPEND sources + ${GAMGAgglomeration}/GAMGAgglomeration.C + ${GAMGAgglomeration}/GAMGAgglomerateLduAddressing.C +) + +set(pairGAMGAgglomeration ${AMGAgglomerations}/pairGAMGAgglomeration) +list(APPEND sources + ${pairGAMGAgglomeration}/pairGAMGAgglomeration.C + ${pairGAMGAgglomeration}/pairGAMGAgglomerate.C + ${pairGAMGAgglomeration}/pairGAMGAgglomerationCombineLevels.C +) + +set(algebraicPairGAMGAgglomeration ${AMGAgglomerations}/algebraicPairGAMGAgglomeration) +list(APPEND sources + ${algebraicPairGAMGAgglomeration}/algebraicPairGAMGAgglomeration.C + meshes/lduMesh/lduMesh.C + meshes/MeshObject/meshObjectBase.C +) + +set(primitiveShapes meshes/primitiveShapes) + +list(APPEND sources + ${primitiveShapes}/line/line.C + ${primitiveShapes}/plane/plane.C + ${primitiveShapes}/triangle/triangleFuncs.C + ${primitiveShapes}/triangle/intersection.C +) + +set(meshShapes meshes/meshShapes) +list(APPEND sources + ${meshShapes}/edge/edge.C + ${meshShapes}/edge/edgeIOList.C +) + +set(face ${meshShapes}/face) +list(APPEND sources + ${face}/face.C + ${face}/faceIntersection.C + ${face}/faceContactSphere.C + ${face}/faceAreaInContact.C + ${face}/faceIOList.C +) + +set(cell ${meshShapes}/cell) +list(APPEND sources + ${cell}/cell.C + ${cell}/oppositeCellFace.C + ${cell}/cellIOList.C +) + +set(tetCell ${meshShapes}/tetCell) +list(APPEND sources + ${tetCell}/tetCell.C +) + +set(cellModeller ${meshShapes}/cellModeller) +list(APPEND sources + ${cellModeller}/cellModeller.C +) + +set(cellModel ${meshShapes}/cellModel) +list(APPEND sources + ${cellModel}/cellModel.C + ${cellModel}/cellModelIO.C +) + +set(cellShape ${meshShapes}/cellShape) +list(APPEND sources + ${cellShape}/cellShape.C + ${cellShape}/cellShapeEqual.C + ${cellShape}/cellShapeIO.C + ${cellShape}/cellShapeIOList.C + meshes/patchIdentifier/patchIdentifier.C +) + +set(polyMesh meshes/polyMesh) + +set(polyPatches ${polyMesh}/polyPatches) +list(APPEND sources + ${polyPatches}/polyPatch/polyPatch.C + ${polyPatches}/polyPatch/newPolyPatch.C +) + +set(basicPolyPatches ${polyPatches}/basic) +list(APPEND sources + ${basicPolyPatches}/coupled/coupledPolyPatch.C + ${basicPolyPatches}/generic/genericPolyPatch.C +) + +set(constraintPolyPatches ${polyPatches}/constraint) +list(APPEND sources + ${constraintPolyPatches}/empty/emptyPolyPatch.C + ${constraintPolyPatches}/symmetry/symmetryPolyPatch.C + ${constraintPolyPatches}/wedge/wedgePolyPatch.C + ${constraintPolyPatches}/cyclic/cyclicPolyPatch.C + ${constraintPolyPatches}/processor/processorPolyPatch.C + ${constraintPolyPatches}/ggi/ggiPolyPatch.C + ${constraintPolyPatches}/cyclicGgi/cyclicGgiPolyPatch.C + ${constraintPolyPatches}/overlapGgi/overlapGgiPolyPatch.C + ${constraintPolyPatches}/overlapGgi/overlapGgiPolyPatchGeometry.C + ${constraintPolyPatches}/mixingPlane/mixingPlanePolyPatch.C + ${constraintPolyPatches}/regionCouple/regionCouplePolyPatch.C +) + +set(derivedPolyPatches ${polyPatches}/derived) +list(APPEND sources + ${derivedPolyPatches}/wall/wallPolyPatch.C + ${derivedPolyPatches}/cohesive/cohesivePolyPatch.C +) + +set(polyBoundaryMesh ${polyMesh}/polyBoundaryMesh) +list(APPEND sources + ${polyBoundaryMesh}/polyBoundaryMesh.C + ${polyBoundaryMesh}/polyBoundaryMeshEntries.C + meshes/ProcessorTopology/commSchedule.C +) + +set(globalMeshData ${polyMesh}/globalMeshData) +list(APPEND sources + ${globalMeshData}/globalMeshData.C + ${globalMeshData}/globalPoints.C + ${globalMeshData}/globalIndex.C + ${polyMesh}/syncTools/syncTools.C +) + +set(zones ${polyMesh}/zones) + +set(cellZone ${zones}/cellZone) +list(APPEND sources + ${cellZone}/cellZone.C + ${cellZone}/newCellZone.C +) + +set(faceZone ${zones}/faceZone) +list(APPEND sources + ${faceZone}/faceZone.C + ${faceZone}/newFaceZone.C +) + +set(pointZone ${polyMesh}/zones/pointZone) +list(APPEND sources + ${pointZone}/pointZone.C + ${pointZone}/newPointZone.C + ${polyMesh}/polyMesh.C + ${polyMesh}/polyMeshFromShapeMesh.C + ${polyMesh}/polyMeshIO.C + ${polyMesh}/polyMeshInitMesh.C + ${polyMesh}/polyMeshClear.C + ${polyMesh}/polyMeshUpdate.C +) + +set(primitiveMesh meshes/primitiveMesh) +list(APPEND sources + ${primitiveMesh}/primitiveMesh.C + ${primitiveMesh}/primitiveMeshCellCells.C + ${primitiveMesh}/primitiveMeshCellCentresAndVols.C + ${primitiveMesh}/primitiveMeshCellEdges.C + ${primitiveMesh}/primitiveMeshCells.C + ${primitiveMesh}/primitiveMeshClear.C + ${primitiveMesh}/primitiveMeshEdgeCells.C + ${primitiveMesh}/primitiveMeshEdgeFaces.C + ${primitiveMesh}/primitiveMeshEdges.C + ${primitiveMesh}/primitiveMeshFaceCentresAndAreas.C + ${primitiveMesh}/primitiveMeshFindCell.C + ${primitiveMesh}/primitiveMeshPointCells.C + ${primitiveMesh}/primitiveMeshPointFaces.C + ${primitiveMesh}/primitiveMeshPointEdges.C + ${primitiveMesh}/primitiveMeshPointPoints.C + ${primitiveMesh}/primitiveMeshCellPoints.C + ${primitiveMesh}/primitiveMeshCalcCellShapes.C +) + +set(primitiveMeshCheck ${primitiveMesh}/primitiveMeshCheck) +list(APPEND sources + ${primitiveMeshCheck}/primitiveMeshCheck.C + ${primitiveMeshCheck}/primitiveMeshCheckMotion.C + ${primitiveMeshCheck}/primitiveMeshCheckPointNearness.C + ${primitiveMeshCheck}/primitiveMeshCheckEdgeLength.C +) + +set(primitivePatch ${primitiveMesh}/primitivePatch) +list(APPEND sources + ${primitivePatch}/patchZones.C + ${primitivePatch}/walkPatch.C +) + +set(cellMatcher ${meshShapes}/cellMatcher) +list(APPEND sources + ${cellMatcher}/cellMatcher.C + ${cellMatcher}/hexMatcher.C + ${cellMatcher}/wedgeMatcher.C + ${cellMatcher}/prismMatcher.C + ${cellMatcher}/pyrMatcher.C + ${cellMatcher}/tetWedgeMatcher.C + ${cellMatcher}/tetMatcher.C + ${cellMatcher}/degenerateMatcher.C +) + +set(mapPolyMesh ${polyMesh}/mapPolyMesh) +list(APPEND sources + ${mapPolyMesh}/mapPolyMesh.C + ${mapPolyMesh}/pointMapper/pointMapper.C + ${mapPolyMesh}/faceMapper/faceMapper.C + ${mapPolyMesh}/cellMapper/cellMapper.C + ${mapPolyMesh}/mapDistribute/mapDistribute.C + ${mapPolyMesh}/mapDistribute/mapDistributePolyMesh.C + ${mapPolyMesh}/mapAddedPolyMesh.C +) + +set(PrimitivePatch ${primitiveMesh}/PrimitivePatchTemplate) +list(APPEND sources + ${PrimitivePatch}/PrimitivePatchName.C +) + +set(pointMesh meshes/pointMesh) +list(APPEND sources + ${pointMesh}/pointMesh.C +) + +set(pointMeshMapper ${pointMesh}/pointMeshMapper) +list(APPEND sources + ${pointMeshMapper}/pointPatchMapper.C +) + +set(pointPatches ${pointMesh}/pointPatches) +list(APPEND sources + ${pointPatches}/pointPatch/pointPatch.C + ${pointPatches}/facePointPatch/facePointPatch.C + ${pointPatches}/facePointPatch/newFacePointPatch.C +) + +set(basicPointPatches ${pointPatches}/basic) +list(APPEND sources + ${basicPointPatches}/coupled/coupledPointPatch.C + ${basicPointPatches}/generic/genericPointPatch.C +) + +set(constraintPointPatches ${pointPatches}/constraint) +list(APPEND sources + ${constraintPointPatches}/empty/emptyPointPatch.C + ${constraintPointPatches}/symmetry/symmetryPointPatch.C + ${constraintPointPatches}/wedge/wedgePointPatch.C + ${constraintPointPatches}/cyclic/cyclicPointPatch.C + ${constraintPointPatches}/processor/processorPointPatch.C + ${constraintPointPatches}/ggi/ggiPointPatch.C + ${constraintPointPatches}/cyclicGgi/cyclicGgiPointPatch.C + ${constraintPointPatches}/overlapGgi/overlapGgiPointPatch.C + ${constraintPointPatches}/mixingPlane/mixingPlanePointPatch.C + ${constraintPointPatches}/regionCouple/regionCouplePointPatch.C +) + +set(derivedPointPatches ${pointPatches}/derived) +list(APPEND sources + ${derivedPointPatches}/coupled/coupledFacePointPatch.C + ${derivedPointPatches}/global/globalPointPatch.C + ${derivedPointPatches}/wall/wallPointPatch.C + ${derivedPointPatches}/cohesive/cohesivePointPatch.C +) + +set(pointBoundaryMesh ${pointMesh}/pointBoundaryMesh) +list(APPEND sources + ${pointBoundaryMesh}/pointBoundaryMesh.C + meshes/boundBox/boundBox.C +) + +set(meshTools meshes/meshTools) +list(APPEND sources + ${meshTools}/meshTools.C + ${meshTools}/matchPoints.C + ${meshTools}/mergePoints.C + fields/UniformDimensionedFields/uniformDimensionedFields.C + fields/cloud/cloud.C +) + +set(Fields fields/Fields) +list(APPEND sources + ${Fields}/labelField/labelField.C + ${Fields}/scalarField/scalarField.C + ${Fields}/vectorField/vectorField.C + ${Fields}/sphericalTensorField/sphericalTensorField.C + ${Fields}/diagTensorField/diagTensorField.C + ${Fields}/symmTensorField/symmTensorField.C + ${Fields}/symmTensor4thOrderField/symmTensor4thOrderField.C + ${Fields}/tensorField/tensorField.C + ${Fields}/complexFields/complexFields.C + ${Fields}/VectorNFields/VectorNFields.C + ${Fields}/VectorNFields/SphericalTensorNFields.C + ${Fields}/VectorNFields/DiagTensorNFields.C + ${Fields}/VectorNFields/TensorNFields.C + ${Fields}/VectorNFields/expandContract/ExpandTensorNField.C + ${Fields}/labelField/labelIOField.C + ${Fields}/scalarField/scalarIOField.C + ${Fields}/vectorField/vectorIOField.C + ${Fields}/vector2DField/vector2DIOField.C + ${Fields}/sphericalTensorField/sphericalTensorIOField.C + ${Fields}/diagTensorField/diagTensorIOField.C + ${Fields}/symmTensorField/symmTensorIOField.C + ${Fields}/symmTensor4thOrderField/symmTensor4thOrderIOField.C + ${Fields}/tensorField/tensorIOField.C + ${Fields}/transformField/transformField.C +) + +set(pointPatchFields fields/pointPatchFields) +list(APPEND sources + ${pointPatchFields}/pointPatchField/pointPatchFields.C +) + +set(basicPointPatchFields ${pointPatchFields}/basic) +list(APPEND sources + ${basicPointPatchFields}/calculated/calculatedPointPatchFields.C + ${basicPointPatchFields}/generic/genericPointPatchFields.C + ${basicPointPatchFields}/coupled/coupledPointPatchFields.C + ${basicPointPatchFields}/value/valuePointPatchFields.C + ${basicPointPatchFields}/fixedValue/fixedValuePointPatchFields.C + ${basicPointPatchFields}/zeroGradient/zeroGradientPointPatchFields.C + ${basicPointPatchFields}/mixed/mixedPointPatchFields.C +) + +set(constraintPointPatchFields ${pointPatchFields}/constraint) +list(APPEND sources + ${constraintPointPatchFields}/empty/emptyPointPatchFields.C + ${constraintPointPatchFields}/symmetry/symmetryPointPatchFields.C + ${constraintPointPatchFields}/wedge/wedgePointPatchFields.C + ${constraintPointPatchFields}/cyclic/cyclicPointPatchFields.C + ${constraintPointPatchFields}/processor/processorPointPatchFields.C +) + +set(derivedPointPatchFields ${pointPatchFields}/derived) +list(APPEND sources + ${derivedPointPatchFields}/slip/slipPointPatchFields.C + ${derivedPointPatchFields}/global/globalPointPatchFields.C + ${derivedPointPatchFields}/uniformFixedValue/uniformFixedValuePointPatchFields.C + ${derivedPointPatchFields}/timeVaryingUniformFixedValue/timeVaryingUniformFixedValuePointPatchFields.C + ${derivedPointPatchFields}/oscillatingFixedValue/oscillatingFixedValuePointPatchFields.C + fields/GeometricFields/pointFields/pointFields.C + meshes/bandCompression/bandCompression.C + meshes/preservePatchTypes/preservePatchTypes.C +) + +set(interpolations interpolations) +set(interpolation ${interpolations}/interpolation) +list(APPEND sources + ${interpolations}/splineInterpolateXY/splineInterpolateXY.C + ${interpolations}/patchToPatchInterpolation/PatchToPatchInterpolationName.C + ${interpolations}/GGIInterpolation/GGIInterpolationName.C + ${interpolations}/MixingPlaneInterpolation/MixingPlaneInterpolationName.C + ${interpolations}/RBFInterpolation/RBFInterpolation.C + ${interpolations}/RBFInterpolation/RBFFunctions/RBFFunction/RBFFunction.C + ${interpolations}/RBFInterpolation/RBFFunctions/RBFFunction/newRBFFunction.C + ${interpolations}/RBFInterpolation/RBFFunctions/W2/W2.C + ${interpolations}/RBFInterpolation/RBFFunctions/Gauss/Gauss.C + ${interpolations}/RBFInterpolation/RBFFunctions/TPS/TPS.C + ${interpolations}/RBFInterpolation/RBFFunctions/IMQB/IMQB.C + algorithms/MeshWave/MeshWaveName.C + algorithms/MeshWave/FaceCellWaveName.C + algorithms/polygon/clipping/SutherlandHodgman.C + algorithms/polygon/pointInPolygon/HormannAgathos.C + algorithms/rotation/RodriguesRotation.C +) + +set(octree algorithms/octree/octree) +list(APPEND sources + ${octree}/octreeName.C + ${octree}/octreeDataPoint.C + ${octree}/octreeDataPointTreeLeaf.C + ${octree}/octreeDataEdges.C + ${octree}/octreeDataCell.C + ${octree}/octreeDataFace.C + ${octree}/octreeDataBoundBox.C + ${octree}/treeBoundBox.C + ${octree}/treeNodeName.C + ${octree}/treeLeafName.C + ${octree}/pointIndexHitIOList.C +) + +set(indexedOctree algorithms/octree/indexedOctree) +list(APPEND sources + ${indexedOctree}/indexedOctreeName.C + ${indexedOctree}/treeDataCell.C + ${indexedOctree}/treeDataEdge.C + ${indexedOctree}/treeDataFace.C + ${indexedOctree}/treeDataPoint.C + graph/curve/curve.C + graph/graph.C +) + +set(writers graph/writers) +list(APPEND sources + ${writers}/rawGraph/rawGraph.C + ${writers}/gnuplotGraph/gnuplotGraph.C + ${writers}/xmgrGraph/xmgrGraph.C + ${writers}/jplotGraph/jplotGraph.C + primitives/BlockCoeff/blockCoeffBase.C + primitives/BlockCoeff/scalarBlockCoeff.C + primitives/BlockCoeff/sphericalTensorBlockCoeff.C + primitives/BlockCoeff/symmTensorBlockCoeff.C + primitives/BlockCoeff/symmTensor4thOrderBlockCoeff.C + primitives/BlockCoeff/tensorBlockCoeff.C +) + +set(BlockCoeffNorm primitives/BlockCoeff/BlockCoeffNorm) +list(APPEND sources + ${BlockCoeffNorm}/BlockCoeffNorm/blockCoeffNorms.C + ${BlockCoeffNorm}/BlockCoeffTwoNorm/blockCoeffTwoNorms.C + ${BlockCoeffNorm}/BlockCoeffMaxNorm/blockCoeffMaxNorms.C + ${BlockCoeffNorm}/BlockCoeffComponentNorm/blockCoeffComponentNorms.C + fields/expandContract/expandTensorField.C + fields/CoeffField/scalarCoeffField.C + fields/CoeffField/sphericalTensorCoeffField.C + fields/CoeffField/diagTensorCoeffField.C + fields/CoeffField/symmTensorCoeffField.C + fields/CoeffField/symmTensor4thOrderCoeffField.C + fields/CoeffField/tensorCoeffField.C +) + +set(BlockLduMatrix matrices/blockLduMatrix/BlockLduMatrix) +list(APPEND sources + ${BlockLduMatrix}/blockLduMatrixName.C + ${BlockLduMatrix}/scalarBlockLduMatrix.C + ${BlockLduMatrix}/sphericalTensorBlockLduMatrix.C + ${BlockLduMatrix}/symmTensorBlockLduMatrix.C + ${BlockLduMatrix}/tensorBlockLduMatrix.C + ${BlockLduMatrix}/BlockConstraint/scalarBlockConstraint.C + ${BlockLduMatrix}/extendedBlockLduMatrix/extendedBlockLduMatrices.C + ${BlockLduMatrix}/extendedBlockLduMatrix/sphericalTensorExtendedBlockLduMatrix.C + ${BlockLduMatrix}/extendedBlockLduMatrix/symmTensorExtendedBlockLduMatrix.C + ${BlockLduMatrix}/extendedBlockLduMatrix/tensorExtendedBlockLduMatrix.C + ${BlockLduMatrix}/extendedBlockLduMatrix/extendedBlockVectorNMatrices.C +) + +set(BlockLduInterfaceFields ${BlockLduMatrix}/BlockLduInterfaceFields) +list(APPEND sources + ${BlockLduInterfaceFields}/BlockLduInterfaceField/BlockLduInterfaceFields.C + ${BlockLduInterfaceFields}/BlockLduInterfaceField/blockVectorNLduInterfaceFields.C + ${BlockLduInterfaceFields}/GGIBlockLduInterfaceField/GGIBlockLduInterfaceFields.C + ${BlockLduInterfaceFields}/MixingPlaneBlockLduInterfaceField/MixingPlaneBlockLduInterfaceFields.C + ${BlockLduInterfaceFields}/OverlapGGIBlockLduInterfaceField/OverlapGGIBlockLduInterfaceFields.C + ${BlockLduInterfaceFields}/ProcessorBlockLduInterfaceField/ProcessorBlockLduInterfaceFields.C +) + +set(BlockAMG matrices/blockLduMatrix/BlockAMG) +list(APPEND sources + ${BlockAMG}/blockAMGCycles.C + ${BlockAMG}/blockAMGLevels.C +) + +set(BlockAMGInterfaceFields ${BlockAMG}/BlockAMGInterfaceFields) +list(APPEND sources + ${BlockAMGInterfaceFields}/BlockAMGInterfaceField/blockAMGInterfaceFields.C + ${BlockAMGInterfaceFields}/BlockAMGInterfaceField/blockVectorNAMGInterfaceFields.C + ${BlockAMGInterfaceFields}/ProcessorBlockAMGInterfaceField/ProcessorBlockAMGInterfaceFields.C + ${BlockAMGInterfaceFields}/GGIBlockAMGInterfaceField/GGIBlockAMGInterfaceFields.C +) + +set(BlockMatrixCoarsening ${BlockAMG}/BlockMatrixCoarsening) +list(APPEND sources + ${BlockMatrixCoarsening}/BlockMatrixCoarsening/blockMatrixCoarsenings.C + ${BlockMatrixCoarsening}/BlockMatrixAgglomeration/blockMatrixAgglomerations.C +) + +set(BlockLduPrecons matrices/blockLduMatrix/BlockLduPrecons) +list(APPEND sources + ${BlockLduPrecons}/BlockLduPrecon/blockLduPrecons.C + ${BlockLduPrecons}/BlockNoPrecon/blockNoPrecons.C + ${BlockLduPrecons}/BlockDiagonalPrecon/scalarBlockDiagonalPrecon.C + ${BlockLduPrecons}/BlockDiagonalPrecon/tensorBlockDiagonalPrecon.C + ${BlockLduPrecons}/BlockDiagonalPrecon/blockDiagonalPrecons.C + ${BlockLduPrecons}/BlockGaussSeidelPrecon/scalarBlockGaussSeidelPrecon.C + ${BlockLduPrecons}/BlockGaussSeidelPrecon/tensorBlockGaussSeidelPrecon.C + ${BlockLduPrecons}/BlockGaussSeidelPrecon/blockGaussSeidelPrecons.C + ${BlockLduPrecons}/BlockCholeskyPrecon/scalarBlockCholeskyPrecon.C + ${BlockLduPrecons}/BlockCholeskyPrecon/tensorBlockCholeskyPrecon.C + ${BlockLduPrecons}/BlockCholeskyPrecon/blockCholeskyPrecons.C + ${BlockLduPrecons}/BlockAMGPrecon/blockAMGPrecons.C + ${BlockLduPrecons}/BlockILUCpPrecon/scalarBlockILUCpPrecon.C + ${BlockLduPrecons}/BlockILUCpPrecon/tensorBlockILUCpPrecon.C + ${BlockLduPrecons}/BlockILUCpPrecon/blockILUCpPrecons.C +) + +set(BlockLduSmoothers matrices/blockLduMatrix/BlockLduSmoothers) +list(APPEND sources + ${BlockLduSmoothers}/BlockLduSmoother/blockLduSmoothers.C + ${BlockLduSmoothers}/BlockGaussSeidelSmoother/blockGaussSeidelSmoothers.C + ${BlockLduSmoothers}/BlockILUSmoother/blockILUSmoothers.C + ${BlockLduSmoothers}/BlockILUCpSmoother/blockILUCpSmoothers.C +) + +set(BlockLduSolvers matrices/blockLduMatrix/BlockLduSolvers) +list(APPEND sources + ${BlockLduSolvers}/blockVectorNSolvers.C + ${BlockLduSolvers}/BlockLduSolver/blockLduSolvers.C + ${BlockLduSolvers}/BlockDiagonal/blockDiagonalSolvers.C + ${BlockLduSolvers}/BlockGaussSeidel/blockGaussSeidelSolvers.C + ${BlockLduSolvers}/BlockCG/blockCGSolvers.C + ${BlockLduSolvers}/BlockBiCGStab/blockBiCGStabSolvers.C + ${BlockLduSolvers}/BlockGMRES/blockGMRESSolvers.C + ${BlockLduSolvers}/BlockAMGSolver/blockAMGSolvers.C + ${BlockLduSolvers}/Segregated/segregatedSolvers.C +) + +add_foam_library(foam SHARED ${sources}) + +# This is a prototype! Replace second argument with a list of the highest +# dependencies only. Inherited dependencies will be treated automatically. +target_link_libraries(foam OSspecific mpi ZLIB::ZLIB) +add_dependencies(foam getGitVersion) diff --git a/src/foam/global/global.C.in b/src/foam/global/global.C.in new file mode 100644 index 000000000..3ae15e5bb --- /dev/null +++ b/src/foam/global/global.C.in @@ -0,0 +1,80 @@ +/*-------------------------------*- C++ -*-----------------------------------*\ + ========= | + \\ / F ield | foam-extend: Open Source CFD + \\ / O peration | Version: 3.2 + \\ / A nd | Web: http://www.foam-extend.org + \\/ M anipulation | For copyright notice see file Copyright +------------------------------------------------------------------------------- +License + This file is part of foam-extend. + + foam-extend 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 3 of the License, or (at your + option) any later version. + + foam-extend 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 foam-extend. If not, see . + +Description + Define the globals used in the OpenFOAM library. + It is important that these are constructed in the appropriate order to + avoid the use of unconstructed data in the global namespace. + + This file has the extension .Cver to trigger a Makefile rule that converts + 'VERSION\_STRING' and 'BUILD\_STRING' into the appropriate strings. + +\*---------------------------------------------------------------------------*/ + +// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // + +#include "foamVersion.H" + +const char* const Foam::FOAMversion = "@GIT_VERSION@"; +const char* const Foam::FOAMbuild = "@FOAM_VERSION@"; + + +// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // +// Setup an error handler for the global new operator + +#include "new.C" + +// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // +// Global IO streams + +#include "IOstreams.C" + +// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // + +#include "JobInfo.H" +bool Foam::JobInfo::constructed = false; + +// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // +// Global error definitions (initialised by construction) + +#include "messageStream.C" +#include "error.C" +#include "IOerror.C" +#include "token.C" + +// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // +// Read the debug and info switches + +#include "debug.C" + +// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // +// Read and set cell models + +#include "globalCellModeller.C" + +// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // +// Create the jobInfo file in the $FOAM_JOB_DIR/runningJobs directory + +#include "JobInfo.C" + +// ************************************************************************* // diff --git a/src/fvAgglomerationMethods/CMakeLists.txt b/src/fvAgglomerationMethods/CMakeLists.txt new file mode 100644 index 000000000..157e271d8 --- /dev/null +++ b/src/fvAgglomerationMethods/CMakeLists.txt @@ -0,0 +1,32 @@ +# --------------------------------------------------------------------------# ======== | +# \ / F ield | foam-extend: Open Source CFD +# \ / O peration | Version: 4.1 +# \ / A nd | Web: http://www.foam-extend.org +# \/ M anipulation | For copyright notice see file Copyright +# -------------------------------------------------------------------------- +# License +# This file is part of foam-extend. +# +# foam-extend 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 3 of the License, or {at your +# option} any later version. +# +# foam-extend 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 foam-extend. If not, see . +# +# Description +# CMakeLists.txt file for libraries and applications +# +# Author +# Henrik Rusche, Wikki GmbH, 2017. All rights reserved +# +# +# -------------------------------------------------------------------------- + +#add_subdirectory(MGridGenGamgAgglomeration) diff --git a/src/fvAgglomerationMethods/MGridGenGamgAgglomeration/CMakeLists.txt b/src/fvAgglomerationMethods/MGridGenGamgAgglomeration/CMakeLists.txt new file mode 100644 index 000000000..7c66b3d12 --- /dev/null +++ b/src/fvAgglomerationMethods/MGridGenGamgAgglomeration/CMakeLists.txt @@ -0,0 +1,42 @@ +# -------------------------------------------------------------------------- +# ======== | +# \ / F ield | foam-extend: Open Source CFD +# \ / O peration | Version: 4.1 +# \ / A nd | Web: http://www.foam-extend.org +# \/ M anipulation | For copyright notice see file Copyright +# -------------------------------------------------------------------------- +# License +# This file is part of foam-extend. +# +# foam-extend 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 3 of the License, or {at your +# option} any later version. +# +# foam-extend 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 foam-extend. If not, see . +# +# Description +# CMakeLists.txt file for libraries and applications +# +# Author +# Henrik Rusche, Wikki GmbH, 2017. All rights reserved +# +# +# -------------------------------------------------------------------------- + +list(APPEND sources + MGridGenGAMGAgglomeration.C + MGridGenGAMGAgglomerate.C +) + +add_foam_library(MGridGenGAMGAgglomeration SHARED ${sources}) + +# This is a prototype! Replace second argument with a list of the highest +# dependencies only. Inherited dependencies will be treated automatically. +#target_link_libraries(MGridGenGAMGAgglomeration finiteVolume) diff --git a/src/immersedBoundary/CMakeLists.txt b/src/immersedBoundary/CMakeLists.txt new file mode 100644 index 000000000..b3612a4f7 --- /dev/null +++ b/src/immersedBoundary/CMakeLists.txt @@ -0,0 +1,35 @@ +# --------------------------------------------------------------------------# ======== | +# \ / F ield | foam-extend: Open Source CFD +# \ / O peration | Version: 4.1 +# \ / A nd | Web: http://www.foam-extend.org +# \/ M anipulation | For copyright notice see file Copyright +# -------------------------------------------------------------------------- +# License +# This file is part of foam-extend. +# +# foam-extend 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 3 of the License, or {at your +# option} any later version. +# +# foam-extend 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 foam-extend. If not, see . +# +# Description +# CMakeLists.txt file for libraries and applications +# +# Author +# Henrik Rusche, Wikki GmbH, 2017. All rights reserved +# +# +# -------------------------------------------------------------------------- + +add_subdirectory(immersedBoundaryForce) +add_subdirectory(immersedBoundary) +add_subdirectory(immersedBoundaryTurbulence) +add_subdirectory(immersedBoundaryDynamicMesh) \ No newline at end of file diff --git a/src/immersedBoundary/immersedBoundary/CMakeLists.txt b/src/immersedBoundary/immersedBoundary/CMakeLists.txt new file mode 100644 index 000000000..082e04eed --- /dev/null +++ b/src/immersedBoundary/immersedBoundary/CMakeLists.txt @@ -0,0 +1,51 @@ +# -------------------------------------------------------------------------- +# ======== | +# \ / F ield | foam-extend: Open Source CFD +# \ / O peration | Version: 4.1 +# \ / A nd | Web: http://www.foam-extend.org +# \/ M anipulation | For copyright notice see file Copyright +# -------------------------------------------------------------------------- +# License +# This file is part of foam-extend. +# +# foam-extend 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 3 of the License, or {at your +# option} any later version. +# +# foam-extend 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 foam-extend. If not, see . +# +# Description +# CMakeLists.txt file for libraries and applications +# +# Author +# Henrik Rusche, Wikki GmbH, 2017. All rights reserved +# +# +# -------------------------------------------------------------------------- + +list(APPEND sources + immersedBoundaryPolyPatch/immersedBoundaryPolyPatch.C + immersedBoundaryPointPatch/immersedBoundaryPointPatch.C + immersedBoundaryFvPatch/immersedBoundaryFvPatch.C + immersedBoundaryFvPatch/immersedBoundaryFvPatchLeastSquaresFit.C + immersedBoundaryFvPatch/immersedBoundaryFvPatchSamplingWeights.C + immersedBoundaryFvPatch/immersedBoundaryFvPatchTriAddressing.C + immersedBoundaryFvPatchField/immersedBoundaryFvPatchFields.C + immersedBoundaryFvsPatchField/immersedBoundaryFvsPatchFields.C + immersedBoundaryAdjustPhi/immersedBoundaryAdjustPhi.C + refineImmersedBoundaryMesh/refineImmersedBoundaryMesh.C + ibSwirlFlowRateInletVelocity/ibSwirlFlowRateInletVelocityFvPatchVectorField.C +) + +add_foam_library(immersedBoundary SHARED ${sources}) + +# This is a prototype! Replace second argument with a list of the highest +# dependencies only. Inherited dependencies will be treated automatically. +target_link_libraries(immersedBoundary PUBLIC finiteVolume sampling surfMesh dynamicMesh) diff --git a/src/immersedBoundary/immersedBoundaryDynamicMesh/CMakeLists.txt b/src/immersedBoundary/immersedBoundaryDynamicMesh/CMakeLists.txt new file mode 100644 index 000000000..c397bc7de --- /dev/null +++ b/src/immersedBoundary/immersedBoundaryDynamicMesh/CMakeLists.txt @@ -0,0 +1,42 @@ +# -------------------------------------------------------------------------- +# ======== | +# \ / F ield | foam-extend: Open Source CFD +# \ / O peration | Version: 4.1 +# \ / A nd | Web: http://www.foam-extend.org +# \/ M anipulation | For copyright notice see file Copyright +# -------------------------------------------------------------------------- +# License +# This file is part of foam-extend. +# +# foam-extend 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 3 of the License, or {at your +# option} any later version. +# +# foam-extend 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 foam-extend. If not, see . +# +# Description +# CMakeLists.txt file for libraries and applications +# +# Author +# Henrik Rusche, Wikki GmbH, 2017. All rights reserved +# +# +# -------------------------------------------------------------------------- + +list(APPEND sources + movingImmersedBoundary/movingImmersedBoundary.C + immersedBoundarySolidBodyMotionFvMesh/immersedBoundarySolidBodyMotionFvMesh.C +) + +add_foam_library(immersedBoundaryDynamicFvMesh SHARED ${sources}) + +# This is a prototype! Replace second argument with a list of the highest +# dependencies only. Inherited dependencies will be treated automatically. +target_link_libraries(immersedBoundaryDynamicFvMesh PUBLIC immersedBoundary dynamicFvMesh solidBodyMotion) diff --git a/src/immersedBoundary/immersedBoundaryForce/CMakeLists.txt b/src/immersedBoundary/immersedBoundaryForce/CMakeLists.txt new file mode 100644 index 000000000..a7289993d --- /dev/null +++ b/src/immersedBoundary/immersedBoundaryForce/CMakeLists.txt @@ -0,0 +1,42 @@ +# -------------------------------------------------------------------------- +# ======== | +# \ / F ield | foam-extend: Open Source CFD +# \ / O peration | Version: 4.1 +# \ / A nd | Web: http://www.foam-extend.org +# \/ M anipulation | For copyright notice see file Copyright +# -------------------------------------------------------------------------- +# License +# This file is part of foam-extend. +# +# foam-extend 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 3 of the License, or {at your +# option} any later version. +# +# foam-extend 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 foam-extend. If not, see . +# +# Description +# CMakeLists.txt file for libraries and applications +# +# Author +# Henrik Rusche, Wikki GmbH, 2017. All rights reserved +# +# +# -------------------------------------------------------------------------- + +list(APPEND sources + immersedBoundaryForces.C + immersedBoundaryForcesFunctionObject.C +) + +add_foam_library(immersedBoundaryForceFunctionObject SHARED ${sources}) + +# This is a prototype! Replace second argument with a list of the highest +# dependencies only. Inherited dependencies will be treated automatically. +target_link_libraries(immersedBoundaryForceFunctionObject immersedBoundaryTurbulence forces) diff --git a/src/immersedBoundary/immersedBoundaryTurbulence/CMakeLists.txt b/src/immersedBoundary/immersedBoundaryTurbulence/CMakeLists.txt new file mode 100644 index 000000000..53a41eb68 --- /dev/null +++ b/src/immersedBoundary/immersedBoundaryTurbulence/CMakeLists.txt @@ -0,0 +1,44 @@ +# -------------------------------------------------------------------------- +# ======== | +# \ / F ield | foam-extend: Open Source CFD +# \ / O peration | Version: 4.1 +# \ / A nd | Web: http://www.foam-extend.org +# \/ M anipulation | For copyright notice see file Copyright +# -------------------------------------------------------------------------- +# License +# This file is part of foam-extend. +# +# foam-extend 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 3 of the License, or {at your +# option} any later version. +# +# foam-extend 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 foam-extend. If not, see . +# +# Description +# CMakeLists.txt file for libraries and applications +# +# Author +# Henrik Rusche, Wikki GmbH, 2017. All rights reserved +# +# +# -------------------------------------------------------------------------- + +list(APPEND sources + wallFunctions/immersedBoundaryWallFunctions/immersedBoundaryWallFunctionFvPatchFields.C + wallFunctions/immersedBoundaryEpsilonWallFunctions/immersedBoundaryEpsilonWallFunctionFvPatchScalarField.C + wallFunctions/immersedBoundaryOmegaWallFunctions/immersedBoundaryOmegaWallFunctionFvPatchScalarField.C + wallFunctions/immersedBoundaryVelocityWallFunctions/immersedBoundaryVelocityWallFunctionFvPatchVectorField.C +) + +add_foam_library(immersedBoundaryTurbulence SHARED ${sources}) + +# This is a prototype! Replace second argument with a list of the highest +# dependencies only. Inherited dependencies will be treated automatically. +target_link_libraries(immersedBoundaryTurbulence immersedBoundary incompressibleRASModels incompressibleLESModels) diff --git a/src/lagrangian/CMakeLists.txt b/src/lagrangian/CMakeLists.txt new file mode 100644 index 000000000..1a7315331 --- /dev/null +++ b/src/lagrangian/CMakeLists.txt @@ -0,0 +1,38 @@ +# --------------------------------------------------------------------------# ======== | +# \ / F ield | foam-extend: Open Source CFD +# \ / O peration | Version: 4.1 +# \ / A nd | Web: http://www.foam-extend.org +# \/ M anipulation | For copyright notice see file Copyright +# -------------------------------------------------------------------------- +# License +# This file is part of foam-extend. +# +# foam-extend 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 3 of the License, or {at your +# option} any later version. +# +# foam-extend 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 foam-extend. If not, see . +# +# Description +# CMakeLists.txt file for libraries and applications +# +# Author +# Henrik Rusche, Wikki GmbH, 2017. All rights reserved +# +# +# -------------------------------------------------------------------------- + +add_subdirectory(molecularDynamics) +add_subdirectory(coalCombustion) +add_subdirectory(dsmc) +add_subdirectory(intermediate) +add_subdirectory(solidParticle) +add_subdirectory(basic) +add_subdirectory(dieselSpray) \ No newline at end of file diff --git a/src/lagrangian/basic/CMakeLists.txt b/src/lagrangian/basic/CMakeLists.txt new file mode 100644 index 000000000..ea0cb8778 --- /dev/null +++ b/src/lagrangian/basic/CMakeLists.txt @@ -0,0 +1,47 @@ +# -------------------------------------------------------------------------- +# ======== | +# \ / F ield | foam-extend: Open Source CFD +# \ / O peration | Version: 4.1 +# \ / A nd | Web: http://www.foam-extend.org +# \/ M anipulation | For copyright notice see file Copyright +# -------------------------------------------------------------------------- +# License +# This file is part of foam-extend. +# +# foam-extend 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 3 of the License, or {at your +# option} any later version. +# +# foam-extend 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 foam-extend. If not, see . +# +# Description +# CMakeLists.txt file for libraries and applications +# +# Author +# Henrik Rusche, Wikki GmbH, 2017. All rights reserved +# +# +# -------------------------------------------------------------------------- + +set(Cloud Cloud) +set(particle particle) +set(passiveParticle passiveParticle) +set(indexedParticle indexedParticle) + +list(APPEND sources + ${passiveParticle}/passiveParticleCloud.C + ${indexedParticle}/indexedParticleCloud.C +) + +add_foam_library(lagrangianBasic SHARED ${sources}) + +# This is a prototype! Replace second argument with a list of the highest +# dependencies only. Inherited dependencies will be treated automatically. +target_link_libraries(lagrangianBasic PUBLIC decompositionMethods foam) diff --git a/src/lagrangian/coalCombustion/CMakeLists.txt b/src/lagrangian/coalCombustion/CMakeLists.txt new file mode 100644 index 000000000..f9d94bce8 --- /dev/null +++ b/src/lagrangian/coalCombustion/CMakeLists.txt @@ -0,0 +1,43 @@ +# -------------------------------------------------------------------------- +# ======== | +# \ / F ield | foam-extend: Open Source CFD +# \ / O peration | Version: 4.1 +# \ / A nd | Web: http://www.foam-extend.org +# \/ M anipulation | For copyright notice see file Copyright +# -------------------------------------------------------------------------- +# License +# This file is part of foam-extend. +# +# foam-extend 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 3 of the License, or {at your +# option} any later version. +# +# foam-extend 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 foam-extend. If not, see . +# +# Description +# CMakeLists.txt file for libraries and applications +# +# Author +# Henrik Rusche, Wikki GmbH, 2017. All rights reserved +# +# +# -------------------------------------------------------------------------- + +# Coal parcel and sub-models +list(APPEND sources + CoalParcel/defineCoalParcel.C + CoalParcel/makeCoalParcelSubmodels.C +) + +add_foam_library(coalCombustion SHARED ${sources}) + +# This is a prototype! Replace second argument with a list of the highest +# dependencies only. Inherited dependencies will be treated automatically. +target_link_libraries(coalCombustion PUBLIC lagrangianBasic lagrangianIntermediate basicThermophysicalModels) diff --git a/src/lagrangian/dieselSpray/CMakeLists.txt b/src/lagrangian/dieselSpray/CMakeLists.txt new file mode 100644 index 000000000..efab47550 --- /dev/null +++ b/src/lagrangian/dieselSpray/CMakeLists.txt @@ -0,0 +1,122 @@ +# -------------------------------------------------------------------------- +# ======== | +# \ / F ield | foam-extend: Open Source CFD +# \ / O peration | Version: 4.1 +# \ / A nd | Web: http://www.foam-extend.org +# \/ M anipulation | For copyright notice see file Copyright +# -------------------------------------------------------------------------- +# License +# This file is part of foam-extend. +# +# foam-extend 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 3 of the License, or {at your +# option} any later version. +# +# foam-extend 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 foam-extend. If not, see . +# +# Description +# CMakeLists.txt file for libraries and applications +# +# Author +# Henrik Rusche, Wikki GmbH, 2017. All rights reserved +# +# +# -------------------------------------------------------------------------- + +set(parcel parcel) +set(spray spray) +set(injector injector) + +set(atomizationModels spraySubModels/atomizationModel) +set(breakupModels spraySubModels/breakupModel) +set(dragModels spraySubModels/dragModel) +set(evaporationModels spraySubModels/evaporationModel) +set(heatTransferModels spraySubModels/heatTransferModel) +set(wallModels spraySubModels/wallModel) +set(collisionModels spraySubModels/collisionModel) +set(dispersionModels spraySubModels/dispersionModel) +set(injectorModels spraySubModels/injectorModel) + +list(APPEND sources + ${parcel}/parcel.C + ${parcel}/parcelFunctions.C + ${parcel}/parcelIO.C + ${parcel}/setRelaxationTimes.C + ${spray}/spray.C + ${spray}/sprayOps.C + ${spray}/sprayInject.C + ${spray}/sprayFunctions.C + ${injector}/injector/injector.C + ${injector}/injector/injectorIO.C + ${injector}/injectorType/injectorType.C + ${injector}/unitInjector/unitInjector.C + ${injector}/multiHoleInjector/multiHoleInjector.C + ${injector}/commonRailInjector/commonRailInjector.C + ${injector}/swirlInjector/swirlInjector.C + ${injector}/definedInjector/definedInjector.C + ${atomizationModels}/atomizationModel/atomizationModel.C + ${atomizationModels}/atomizationModel/newAtomizationModel.C + ${atomizationModels}/LISA/LISA.C + ${atomizationModels}/noAtomization/noAtomization.C + ${atomizationModels}/blobsSheetAtomization/blobsSheetAtomization.C + ${breakupModels}/breakupModel/newBreakupModel.C + ${breakupModels}/breakupModel/breakupModel.C + ${breakupModels}/noBreakup/noBreakup.C + ${breakupModels}/reitzDiwakar/reitzDiwakar.C + ${breakupModels}/reitzKHRT/reitzKHRT.C + ${breakupModels}/SHF/SHF.C + ${breakupModels}/TAB/TAB.C + ${breakupModels}/ETAB/ETAB.C + ${dragModels}/dragModel/newDragModel.C + ${dragModels}/dragModel/dragModel.C + ${dragModels}/noDragModel/noDragModel.C + ${dragModels}/standardDragModel/standardDragModel.C + ${evaporationModels}/evaporationModel/newEvaporationModel.C + ${evaporationModels}/evaporationModel/evaporationModel.C + ${evaporationModels}/noEvaporation/noEvaporation.C + ${evaporationModels}/RutlandFlashBoil/RutlandFlashBoil.C + ${evaporationModels}/standardEvaporationModel/standardEvaporationModel.C + ${evaporationModels}/saturateEvaporationModel/saturateEvaporationModel.C + ${heatTransferModels}/heatTransferModel/newHeatTransferModel.C + ${heatTransferModels}/heatTransferModel/heatTransferModel.C + ${heatTransferModels}/noHeatTransfer/noHeatTransfer.C + ${heatTransferModels}/RanzMarshall/RanzMarshall.C + ${injectorModels}/injectorModel/newInjectorModel.C + ${injectorModels}/injectorModel/injectorModel.C + ${injectorModels}/constant/constInjector.C + ${injectorModels}/Chomiak/Chomiak.C + ${injectorModels}/hollowCone/hollowCone.C + ${injectorModels}/pressureSwirl/pressureSwirlInjector.C + ${injectorModels}/definedHollowCone/definedHollowCone.C + ${injectorModels}/definedPressureSwirl/definedPressureSwirl.C + ${injectorModels}/blobsSwirl/blobsSwirlInjector.C + ${wallModels}/wallModel/newWallModel.C + ${wallModels}/wallModel/wallModel.C + ${wallModels}/removeParcel/removeParcel.C + ${wallModels}/reflectParcel/reflectParcel.C + ${collisionModels}/collisionModel/collisionModel.C + ${collisionModels}/collisionModel/newCollisionModel.C + ${collisionModels}/noCollision/noCollision.C + ${collisionModels}/ORourke/ORourkeCollisionModel.C + ${collisionModels}/trajectoryModel/trajectoryModel.C + ${dispersionModels}/dispersionModel/dispersionModel.C + ${dispersionModels}/dispersionModel/newDispersionModel.C + ${dispersionModels}/dispersionRASModel/dispersionRASModel.C + ${dispersionModels}/dispersionLESModel/dispersionLESModel.C + ${dispersionModels}/noDispersion/noDispersion.C + ${dispersionModels}/gradientDispersionRAS/gradientDispersionRAS.C + ${dispersionModels}/stochasticDispersionRAS/stochasticDispersionRAS.C +) + +add_foam_library(dieselSpray SHARED ${sources}) + +# This is a prototype! Replace second argument with a list of the highest +# dependencies only. Inherited dependencies will be treated automatically. +target_link_libraries(dieselSpray PUBLIC lagrangianBasic lagrangianIntermediate basicThermophysicalModels) diff --git a/src/lagrangian/dsmc/CMakeLists.txt b/src/lagrangian/dsmc/CMakeLists.txt new file mode 100644 index 000000000..60f742bee --- /dev/null +++ b/src/lagrangian/dsmc/CMakeLists.txt @@ -0,0 +1,55 @@ +# -------------------------------------------------------------------------- +# ======== | +# \ / F ield | foam-extend: Open Source CFD +# \ / O peration | Version: 4.1 +# \ / A nd | Web: http://www.foam-extend.org +# \/ M anipulation | For copyright notice see file Copyright +# -------------------------------------------------------------------------- +# License +# This file is part of foam-extend. +# +# foam-extend 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 3 of the License, or {at your +# option} any later version. +# +# foam-extend 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 foam-extend. If not, see . +# +# Description +# CMakeLists.txt file for libraries and applications +# +# Author +# Henrik Rusche, Wikki GmbH, 2017. All rights reserved +# +# +# -------------------------------------------------------------------------- + +# Parcels +list(APPEND sources + parcels/derived/dsmcParcel/dsmcParcel.C +) + +# Cloud base classes +list(APPEND sources + clouds/baseClasses/DsmcBaseCloud/DsmcBaseCloud.C +) + +# submodels +list(APPEND sources + parcels/derived/dsmcParcel/defineDsmcParcel.C + parcels/derived/dsmcParcel/makeDsmcParcelBinaryCollisionModels.C + parcels/derived/dsmcParcel/makeDsmcParcelWallInteractionModels.C + parcels/derived/dsmcParcel/makeDsmcParcelInflowBoundaryModels.C +) + +add_foam_library(dsmc SHARED ${sources}) + +# This is a prototype! Replace second argument with a list of the highest +# dependencies only. Inherited dependencies will be treated automatically. +target_link_libraries(dsmc finiteVolume lagrangianBasic) diff --git a/src/lagrangian/intermediate/CMakeLists.txt b/src/lagrangian/intermediate/CMakeLists.txt new file mode 100644 index 000000000..0c6365b37 --- /dev/null +++ b/src/lagrangian/intermediate/CMakeLists.txt @@ -0,0 +1,159 @@ +# -------------------------------------------------------------------------- +# ======== | +# \ / F ield | foam-extend: Open Source CFD +# \ / O peration | Version: 4.1 +# \ / A nd | Web: http://www.foam-extend.org +# \/ M anipulation | For copyright notice see file Copyright +# -------------------------------------------------------------------------- +# License +# This file is part of foam-extend. +# +# foam-extend 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 3 of the License, or {at your +# option} any later version. +# +# foam-extend 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 foam-extend. If not, see . +# +# Description +# CMakeLists.txt file for libraries and applications +# +# Author +# Henrik Rusche, Wikki GmbH, 2017. All rights reserved +# +# +# -------------------------------------------------------------------------- + +set(PARCELS parcels) +set(BASEPARCELS ${PARCELS}/baseClasses) +set(DERIVEDPARCELS ${PARCELS}/derived) + +set(CLOUDS clouds) +set(BASECLOUDS ${CLOUDS}/baseClasses) +set(DERIVEDCLOUDS ${CLOUDS}/derived) + + +# Parcels +list(APPEND sources + ${BASEPARCELS}/reactingParcel/reactingParcel.C +) + + +# Cloud base classes +list(APPEND sources + ${BASECLOUDS}/kinematicCloud/kinematicCloud.C + ${BASECLOUDS}/thermoCloud/thermoCloud.C + ${BASECLOUDS}/reactingCloud/reactingCloud.C + ${BASECLOUDS}/reactingMultiphaseCloud/reactingMultiphaseCloud.C +) + + +# kinematic parcel sub-models +set(KINEMATICPARCEL ${DERIVEDPARCELS}/basicKinematicParcel) +list(APPEND sources + ${KINEMATICPARCEL}/basicKinematicParcel.C + ${KINEMATICPARCEL}/defineBasicKinematicParcel.C + ${KINEMATICPARCEL}/makeBasicKinematicParcelSubmodels.C +) + + +# thermo parcel sub-models +set(THERMOPARCEL ${DERIVEDPARCELS}/basicThermoParcel) +list(APPEND sources + ${THERMOPARCEL}/basicThermoParcel.C + ${THERMOPARCEL}/defineBasicThermoParcel.C + ${THERMOPARCEL}/makeBasicThermoParcelSubmodels.C +) + + +# reacting parcel sub-models +set(REACTINGPARCEL ${DERIVEDPARCELS}/BasicReactingParcel) +list(APPEND sources + ${REACTINGPARCEL}/defineBasicReactingParcel.C + ${REACTINGPARCEL}/makeBasicReactingParcelSubmodels.C +) + + +# reacting multiphase parcel sub-models +set(REACTINGMPPARCEL ${DERIVEDPARCELS}/BasicReactingMultiphaseParcel) +list(APPEND sources + ${REACTINGMPPARCEL}/defineBasicReactingMultiphaseParcel.C + ${REACTINGMPPARCEL}/makeBasicReactingMultiphaseParcelSubmodels.C +) + + +# bolt-on models +set(RADIATION submodels/addOns/radiation) +list(APPEND sources + ${RADIATION}/absorptionEmission/cloudAbsorptionEmission/cloudAbsorptionEmission.C + ${RADIATION}/scatter/cloudScatter/cloudScatter.C + submodels/Kinematic/PatchInteractionModel/LocalInteraction/patchInteractionData.C +) + +set(KINEMATICINJECTION submodels/Kinematic/InjectionModel) +list(APPEND sources + ${KINEMATICINJECTION}/KinematicLookupTableInjection/kinematicParcelInjectionData.C + ${KINEMATICINJECTION}/KinematicLookupTableInjection/kinematicParcelInjectionDataIO.C + ${KINEMATICINJECTION}/KinematicLookupTableInjection/kinematicParcelInjectionDataIOList.C +) + +set(THERMOINJECTION submodels/Thermodynamic/InjectionModel) +list(APPEND sources + ${THERMOINJECTION}/ThermoLookupTableInjection/thermoParcelInjectionData.C + ${THERMOINJECTION}/ThermoLookupTableInjection/thermoParcelInjectionDataIO.C + ${THERMOINJECTION}/ThermoLookupTableInjection/thermoParcelInjectionDataIOList.C +) + +set(REACTINGINJECTION submodels/Reacting/InjectionModel) +list(APPEND sources + ${REACTINGINJECTION}/ReactingLookupTableInjection/reactingParcelInjectionData.C + ${REACTINGINJECTION}/ReactingLookupTableInjection/reactingParcelInjectionDataIO.C + ${REACTINGINJECTION}/ReactingLookupTableInjection/reactingParcelInjectionDataIOList.C +) + +set(REACTINGMPINJECTION submodels/ReactingMultiphase/InjectionModel) +list(APPEND sources + ${REACTINGMPINJECTION}/ReactingMultiphaseLookupTableInjection/reactingMultiphaseParcelInjectionData.C + ${REACTINGMPINJECTION}/ReactingMultiphaseLookupTableInjection/reactingMultiphaseParcelInjectionDataIO.C + ${REACTINGMPINJECTION}/ReactingMultiphaseLookupTableInjection/reactingMultiphaseParcelInjectionDataIOList.C +) + + +# data entries +list(APPEND sources + submodels/IO/DataEntry/makeDataEntries.C + submodels/IO/DataEntry/polynomial/polynomial.C + submodels/IO/DataEntry/polynomial/polynomialIO.C +) + + +# integration schemes +list(APPEND sources + IntegrationScheme/makeIntegrationSchemes.C +) + + +# particle forces +list(APPEND sources + particleForces/particleForces.C +) + + +# phase properties +list(APPEND sources + phaseProperties/phaseProperties/phaseProperties.C + phaseProperties/phaseProperties/phasePropertiesIO.C + phaseProperties/phasePropertiesList/phasePropertiesList.C +) + +add_foam_library(lagrangianIntermediate SHARED ${sources}) + +# This is a prototype! Replace second argument with a list of the highest +# dependencies only. Inherited dependencies will be treated automatically. +target_link_libraries(lagrangianIntermediate PUBLIC reactionThermophysicalModels radiation compressibleRASModels compressibleLESModels pdf liquidMixture solidMixture) diff --git a/src/lagrangian/molecularDynamics/CMakeLists.txt b/src/lagrangian/molecularDynamics/CMakeLists.txt new file mode 100644 index 000000000..d1a205639 --- /dev/null +++ b/src/lagrangian/molecularDynamics/CMakeLists.txt @@ -0,0 +1,34 @@ +# --------------------------------------------------------------------------# ======== | +# \ / F ield | foam-extend: Open Source CFD +# \ / O peration | Version: 4.1 +# \ / A nd | Web: http://www.foam-extend.org +# \/ M anipulation | For copyright notice see file Copyright +# -------------------------------------------------------------------------- +# License +# This file is part of foam-extend. +# +# foam-extend 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 3 of the License, or {at your +# option} any later version. +# +# foam-extend 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 foam-extend. If not, see . +# +# Description +# CMakeLists.txt file for libraries and applications +# +# Author +# Henrik Rusche, Wikki GmbH, 2017. All rights reserved +# +# +# -------------------------------------------------------------------------- + +add_subdirectory(molecule) +add_subdirectory(potential) +add_subdirectory(molecularMeasurements) \ No newline at end of file diff --git a/src/lagrangian/molecularDynamics/molecularMeasurements/CMakeLists.txt b/src/lagrangian/molecularDynamics/molecularMeasurements/CMakeLists.txt new file mode 100644 index 000000000..21a7bd6bf --- /dev/null +++ b/src/lagrangian/molecularDynamics/molecularMeasurements/CMakeLists.txt @@ -0,0 +1,41 @@ +# -------------------------------------------------------------------------- +# ======== | +# \ / F ield | foam-extend: Open Source CFD +# \ / O peration | Version: 4.1 +# \ / A nd | Web: http://www.foam-extend.org +# \/ M anipulation | For copyright notice see file Copyright +# -------------------------------------------------------------------------- +# License +# This file is part of foam-extend. +# +# foam-extend 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 3 of the License, or {at your +# option} any later version. +# +# foam-extend 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 foam-extend. If not, see . +# +# Description +# CMakeLists.txt file for libraries and applications +# +# Author +# Henrik Rusche, Wikki GmbH, 2017. All rights reserved +# +# +# -------------------------------------------------------------------------- + +list(APPEND sources + distribution/distribution.C +) + +add_foam_library(molecularMeasurements SHARED ${sources}) + +# This is a prototype! Replace second argument with a list of the highest +# dependencies only. Inherited dependencies will be treated automatically. +target_link_libraries(molecularMeasurements PUBLIC foam) diff --git a/src/lagrangian/molecularDynamics/molecule/CMakeLists.txt b/src/lagrangian/molecularDynamics/molecule/CMakeLists.txt new file mode 100644 index 000000000..beced323d --- /dev/null +++ b/src/lagrangian/molecularDynamics/molecule/CMakeLists.txt @@ -0,0 +1,71 @@ +# -------------------------------------------------------------------------- +# ======== | +# \ / F ield | foam-extend: Open Source CFD +# \ / O peration | Version: 4.1 +# \ / A nd | Web: http://www.foam-extend.org +# \/ M anipulation | For copyright notice see file Copyright +# -------------------------------------------------------------------------- +# License +# This file is part of foam-extend. +# +# foam-extend 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 3 of the License, or {at your +# option} any later version. +# +# foam-extend 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 foam-extend. If not, see . +# +# Description +# CMakeLists.txt file for libraries and applications +# +# Author +# Henrik Rusche, Wikki GmbH, 2017. All rights reserved +# +# +# -------------------------------------------------------------------------- + +set(interactionLists interactionLists) +set(referredMolecule ${interactionLists}/referredMolecule) +set(referredCellList ${interactionLists}/referredCellList) +set(referredCell ${interactionLists}/referredCell) +set(referralLists ${interactionLists}/referralLists) +set(directInteractionList ${interactionLists}/directInteractionList) + +list(APPEND sources + ${referralLists}/sendingReferralList.C + ${referralLists}/receivingReferralList.C + ${referredCellList}/referredCellList.C + ${referredCell}/referredCell.C + ${referredMolecule}/referredMolecule.C + ${directInteractionList}/directInteractionList.C + ${interactionLists}/interactionLists.C +) + +set(reducedUnits reducedUnits) +list(APPEND sources + ${reducedUnits}/reducedUnits.C + ${reducedUnits}/reducedUnitsIO.C +) + +set(molecule molecule) +list(APPEND sources + ${molecule}/molecule.C + ${molecule}/moleculeIO.C +) + +set(moleculeCloud moleculeCloud) +list(APPEND sources + ${moleculeCloud}/moleculeCloud.C +) + +add_foam_library(molecule SHARED ${sources}) + +# This is a prototype! Replace second argument with a list of the highest +# dependencies only. Inherited dependencies will be treated automatically. +target_link_libraries(molecule PUBLIC potential) diff --git a/src/lagrangian/molecularDynamics/potential/CMakeLists.txt b/src/lagrangian/molecularDynamics/potential/CMakeLists.txt new file mode 100644 index 000000000..2e526b2a5 --- /dev/null +++ b/src/lagrangian/molecularDynamics/potential/CMakeLists.txt @@ -0,0 +1,88 @@ +# -------------------------------------------------------------------------- +# ======== | +# \ / F ield | foam-extend: Open Source CFD +# \ / O peration | Version: 4.1 +# \ / A nd | Web: http://www.foam-extend.org +# \/ M anipulation | For copyright notice see file Copyright +# -------------------------------------------------------------------------- +# License +# This file is part of foam-extend. +# +# foam-extend 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 3 of the License, or {at your +# option} any later version. +# +# foam-extend 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 foam-extend. If not, see . +# +# Description +# CMakeLists.txt file for libraries and applications +# +# Author +# Henrik Rusche, Wikki GmbH, 2017. All rights reserved +# +# +# -------------------------------------------------------------------------- + +set(potential potential) + +list(APPEND sources + ${potential}/potential.C +) + +set(pairPotential pairPotential) + +list(APPEND sources + ${pairPotential}/pairPotentialList/pairPotentialList.C + ${pairPotential}/basic/pairPotential.C + ${pairPotential}/basic/pairPotentialIO.C + ${pairPotential}/basic/newPairPotential.C + ${pairPotential}/derived/lennardJones/lennardJones.C + ${pairPotential}/derived/maitlandSmith/maitlandSmith.C + ${pairPotential}/derived/azizChen/azizChen.C + ${pairPotential}/derived/exponentialRepulsion/exponentialRepulsion.C + ${pairPotential}/derived/coulomb/coulomb.C + ${pairPotential}/derived/dampedCoulomb/dampedCoulomb.C + ${pairPotential}/derived/noInteraction/noInteraction.C +) + +set(energyScalingFunction energyScalingFunction) + +list(APPEND sources + ${energyScalingFunction}/basic/energyScalingFunction.C + ${energyScalingFunction}/basic/newEnergyScalingFunction.C + ${energyScalingFunction}/derived/shifted/shifted.C + ${energyScalingFunction}/derived/shiftedForce/shiftedForce.C + ${energyScalingFunction}/derived/noScaling/noScaling.C + ${energyScalingFunction}/derived/sigmoid/sigmoid.C + ${energyScalingFunction}/derived/doubleSigmoid/doubleSigmoid.C +) + +set(tetherPotential tetherPotential) + +list(APPEND sources + ${tetherPotential}/tetherPotentialList/tetherPotentialList.C + ${tetherPotential}/basic/tetherPotential.C + ${tetherPotential}/basic/newTetherPotential.C + ${tetherPotential}/derived/harmonicSpring/harmonicSpring.C + ${tetherPotential}/derived/restrainedHarmonicSpring/restrainedHarmonicSpring.C + ${tetherPotential}/derived/pitchForkRing/pitchForkRing.C +) + +set(electrostaticPotential electrostaticPotential) + +list(APPEND sources + ${electrostaticPotential}/electrostaticPotential.C +) + +add_foam_library(potential SHARED ${sources}) + +# This is a prototype! Replace second argument with a list of the highest +# dependencies only. Inherited dependencies will be treated automatically. +target_link_libraries(potential PUBLIC finiteVolume) diff --git a/src/lagrangian/solidParticle/CMakeLists.txt b/src/lagrangian/solidParticle/CMakeLists.txt new file mode 100644 index 000000000..0f5452971 --- /dev/null +++ b/src/lagrangian/solidParticle/CMakeLists.txt @@ -0,0 +1,43 @@ +# -------------------------------------------------------------------------- +# ======== | +# \ / F ield | foam-extend: Open Source CFD +# \ / O peration | Version: 4.1 +# \ / A nd | Web: http://www.foam-extend.org +# \/ M anipulation | For copyright notice see file Copyright +# -------------------------------------------------------------------------- +# License +# This file is part of foam-extend. +# +# foam-extend 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 3 of the License, or {at your +# option} any later version. +# +# foam-extend 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 foam-extend. If not, see . +# +# Description +# CMakeLists.txt file for libraries and applications +# +# Author +# Henrik Rusche, Wikki GmbH, 2017. All rights reserved +# +# +# -------------------------------------------------------------------------- + +list(APPEND sources + solidParticle.C + solidParticleIO.C + solidParticleCloud.C +) + +add_foam_library(solidParticle SHARED ${sources}) + +# This is a prototype! Replace second argument with a list of the highest +# dependencies only. Inherited dependencies will be treated automatically. +target_link_libraries(solidParticle PUBLIC finiteVolume lagrangianBasic) diff --git a/src/lduSolvers/CMakeLists.txt b/src/lduSolvers/CMakeLists.txt new file mode 100644 index 000000000..1bcee23de --- /dev/null +++ b/src/lduSolvers/CMakeLists.txt @@ -0,0 +1,84 @@ +# -------------------------------------------------------------------------- +# ======== | +# \ / F ield | foam-extend: Open Source CFD +# \ / O peration | Version: 4.1 +# \ / A nd | Web: http://www.foam-extend.org +# \/ M anipulation | For copyright notice see file Copyright +# -------------------------------------------------------------------------- +# License +# This file is part of foam-extend. +# +# foam-extend 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 3 of the License, or {at your +# option} any later version. +# +# foam-extend 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 foam-extend. If not, see . +# +# Description +# CMakeLists.txt file for libraries and applications +# +# Author +# Henrik Rusche, Wikki GmbH, 2017. All rights reserved +# +# +# -------------------------------------------------------------------------- + +list(APPEND sources + crMatrix/crAddressing.C + crMatrix/crMatrix.C +) + +set(lduPrecon lduPrecon) +list(APPEND sources + ${lduPrecon}/CholeskyPrecon/CholeskyPrecon.C + ${lduPrecon}/ILU0/ILU0.C + ${lduPrecon}/ILUC0/ILUC0.C + ${lduPrecon}/ILUCp/ILUCp.C + ${lduPrecon}/symGaussSeidelPrecon/symGaussSeidelPrecon.C + ${lduPrecon}/amgPrecon/amgPrecon.C +) + +set(lduSmoother lduSmoother) +list(APPEND sources + ${lduSmoother}/symGaussSeidelSmoother/symGaussSeidelSmoother.C + ${lduSmoother}/iluSmoother/iluSmoother.C +) + +set(lduSolver lduSolver) +list(APPEND sources + ${lduSolver}/cgSolver/cgSolver.C + ${lduSolver}/bicgSolver/bicgSolver.C + ${lduSolver}/bicgStabSolver/bicgStabSolver.C + ${lduSolver}/gmresSolver/gmresSolver.C + ${lduSolver}/amgSolver/amgSolver.C + ${lduSolver}/fpeAmgSolver/fpeAmgSolver.C + ${lduSolver}/mpeAmgSolver/mpeAmgSolver.C + ${lduSolver}/rreAmgSolver/rreAmgSolver.C + ${lduSolver}/deflationSolver/deflationSolver.C +) + +set(amg amg) +list(APPEND sources + ${amg}/amgCycle.C + ${amg}/fineAmgLevel.C + ${amg}/coarseAmgLevel.C +) + +set(amgPolicy ${amg}/amgPolicy) +list(APPEND sources + ${amgPolicy}/amgPolicy.C + ${amgPolicy}/pamgPolicy.C +) + +add_foam_library(lduSolvers SHARED ${sources}) + +# This is a prototype! Replace second argument with a list of the highest +# dependencies only. Inherited dependencies will be treated automatically. +target_link_libraries(lduSolvers PUBLIC foam) diff --git a/src/mesh/CMakeLists.txt b/src/mesh/CMakeLists.txt new file mode 100644 index 000000000..63607c2c5 --- /dev/null +++ b/src/mesh/CMakeLists.txt @@ -0,0 +1,35 @@ +# --------------------------------------------------------------------------# ======== | +# \ / F ield | foam-extend: Open Source CFD +# \ / O peration | Version: 4.1 +# \ / A nd | Web: http://www.foam-extend.org +# \/ M anipulation | For copyright notice see file Copyright +# -------------------------------------------------------------------------- +# License +# This file is part of foam-extend. +# +# foam-extend 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 3 of the License, or {at your +# option} any later version. +# +# foam-extend 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 foam-extend. If not, see . +# +# Description +# CMakeLists.txt file for libraries and applications +# +# Author +# Henrik Rusche, Wikki GmbH, 2017. All rights reserved +# +# +# -------------------------------------------------------------------------- + +add_subdirectory(blockMesh) +add_subdirectory(cfMesh) +add_subdirectory(extrudeModel) +add_subdirectory(autoMesh) \ No newline at end of file diff --git a/src/mesh/autoMesh/CMakeLists.txt b/src/mesh/autoMesh/CMakeLists.txt new file mode 100644 index 000000000..cd9653042 --- /dev/null +++ b/src/mesh/autoMesh/CMakeLists.txt @@ -0,0 +1,61 @@ +# -------------------------------------------------------------------------- +# ======== | +# \ / F ield | foam-extend: Open Source CFD +# \ / O peration | Version: 4.1 +# \ / A nd | Web: http://www.foam-extend.org +# \/ M anipulation | For copyright notice see file Copyright +# -------------------------------------------------------------------------- +# License +# This file is part of foam-extend. +# +# foam-extend 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 3 of the License, or {at your +# option} any later version. +# +# foam-extend 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 foam-extend. If not, see . +# +# Description +# CMakeLists.txt file for libraries and applications +# +# Author +# Henrik Rusche, Wikki GmbH, 2017. All rights reserved +# +# +# -------------------------------------------------------------------------- + +set(autoHexMesh autoHexMesh) +set(autoHexMeshDriver ${autoHexMesh}/autoHexMeshDriver) + +list(APPEND sources + ${autoHexMeshDriver}/autoLayerDriver.C + ${autoHexMeshDriver}/autoLayerDriverShrink.C + ${autoHexMeshDriver}/autoSnapDriver.C + ${autoHexMeshDriver}/autoRefineDriver.C + ${autoHexMeshDriver}/autoHexMeshDriver.C + ${autoHexMeshDriver}/layerParameters/layerParameters.C + ${autoHexMeshDriver}/refinementParameters/refinementParameters.C + ${autoHexMeshDriver}/snapParameters/snapParameters.C + ${autoHexMeshDriver}/pointData/pointData.C + ${autoHexMesh}/meshRefinement/meshRefinementBaffles.C + ${autoHexMesh}/meshRefinement/meshRefinement.C + ${autoHexMesh}/meshRefinement/meshRefinementMerge.C + ${autoHexMesh}/meshRefinement/meshRefinementProblemCells.C + ${autoHexMesh}/meshRefinement/meshRefinementRefine.C + ${autoHexMesh}/refinementSurfaces/refinementSurfaces.C + ${autoHexMesh}/shellSurfaces/shellSurfaces.C + ${autoHexMesh}/trackedParticle/trackedParticle.C + ${autoHexMesh}/trackedParticle/trackedParticleCloud.C +) + +add_foam_library(autoMesh SHARED ${sources}) + +# This is a prototype! Replace second argument with a list of the highest +# dependencies only. Inherited dependencies will be treated automatically. +target_link_libraries(autoMesh PUBLIC dynamicFvMesh edgeMesh) diff --git a/src/mesh/blockMesh/CMakeLists.txt b/src/mesh/blockMesh/CMakeLists.txt new file mode 100644 index 000000000..a08320fd5 --- /dev/null +++ b/src/mesh/blockMesh/CMakeLists.txt @@ -0,0 +1,59 @@ +# -------------------------------------------------------------------------- +# ======== | +# \ / F ield | foam-extend: Open Source CFD +# \ / O peration | Version: 4.1 +# \ / A nd | Web: http://www.foam-extend.org +# \/ M anipulation | For copyright notice see file Copyright +# -------------------------------------------------------------------------- +# License +# This file is part of foam-extend. +# +# foam-extend 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 3 of the License, or {at your +# option} any later version. +# +# foam-extend 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 foam-extend. If not, see . +# +# Description +# CMakeLists.txt file for libraries and applications +# +# Author +# Henrik Rusche, Wikki GmbH, 2017. All rights reserved +# +# +# -------------------------------------------------------------------------- + +list(APPEND sources + curvedEdges/BSpline.C + curvedEdges/CatmullRomSpline.C + curvedEdges/polyLine.C + curvedEdges/arcEdge.C + curvedEdges/curvedEdge.C + curvedEdges/lineEdge.C + curvedEdges/polyLineEdge.C + curvedEdges/lineDivide.C + curvedEdges/splineEdge.C + curvedEdges/ellipseEdge.C + blockDescriptor/blockDescriptor.C + blockDescriptor/blockDescriptorEdges.C + block/block.C + block/blockCreate.C + blockMesh/blockMesh.C + blockMesh/blockMeshCreate.C + blockMesh/blockMeshTopology.C + blockMesh/blockMeshCheck.C + blockMesh/blockMeshMerge.C +) + +add_foam_library(blockMeshLib SHARED ${sources}) + +# This is a prototype! Replace second argument with a list of the highest +# dependencies only. Inherited dependencies will be treated automatically. +target_link_libraries(blockMeshLib PUBLIC ODE dynamicMesh finiteVolume meshTools) diff --git a/src/mesh/cfMesh/CMakeLists.txt b/src/mesh/cfMesh/CMakeLists.txt new file mode 100644 index 000000000..48ce556ae --- /dev/null +++ b/src/mesh/cfMesh/CMakeLists.txt @@ -0,0 +1,428 @@ +# -------------------------------------------------------------------------- +# ======== | +# \ / F ield | foam-extend: Open Source CFD +# \ / O peration | Version: 4.1 +# \ / A nd | Web: http://www.foam-extend.org +# \/ M anipulation | For copyright notice see file Copyright +# -------------------------------------------------------------------------- +# License +# This file is part of foam-extend. +# +# foam-extend 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 3 of the License, or {at your +# option} any later version. +# +# foam-extend 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 foam-extend. If not, see . +# +# Description +# CMakeLists.txt file for libraries and applications +# +# Author +# Henrik Rusche, Wikki GmbH, 2017. All rights reserved +# +# +# -------------------------------------------------------------------------- + +set(meshSurfaceEngine utilities/surfaceTools/meshSurfaceEngine) +set(meshSurfacePartitioner utilities/surfaceTools/meshSurfacePartitioner) + +set(bndLayers utilities/boundaryLayers) +set(boundaryLayers ${bndLayers}/boundaryLayers) +set(detectBoundaryLayers ${bndLayers}/detectBoundaryLayers) +set(extrudeLayer ${bndLayers}/extrudeLayer) +set(refineBoundaryLayers ${bndLayers}/refineBoundaryLayers) +set(triangulateNonPlanarBaseFaces ${bndLayers}/triangulateNonPlanarBaseFaces) + +set(checkMeshDict utilities/checkMeshDict) + +set(anisotropicMeshing utilities/anisotropicMeshing) +set(coordinateModification ${anisotropicMeshing}/coordinateModification) +set(edgeMeshGeometryModification ${anisotropicMeshing}/edgeMeshGeometryModification) +set(surfaceMeshGeometryModification ${anisotropicMeshing}/surfaceMeshGeometryModification) +set(polyMeshGenGeometryModification ${anisotropicMeshing}/polyMeshGenGeometryModification) + +set(meshSurfaceCheckInvertedVertices utilities/surfaceTools/meshSurfaceCheckInvertedVertices) +set(meshSurfaceCheckEdgeTypes utilities/surfaceTools/meshSurfaceCheckEdgeTypes) +set(meshSurfaceCutter utilities/surfaceTools/meshSurfaceCutter) +set(meshSurfaceMapper utilities/surfaceTools/meshSurfaceMapper) +set(meshSurfaceMapper2D utilities/surfaceTools/meshSurfaceMapper2D) +set(edgeExtraction utilities/surfaceTools/edgeExtraction) +set(edgeExtractor ${edgeExtraction}/edgeExtractor) +set(meshSurfaceEdgeExtractor utilities/surfaceTools/meshSurfaceEdgeExtractor) +set(meshSurfaceEdgeExtractorNonTopo utilities/surfaceTools/meshSurfaceEdgeExtractorNonTopo) +set(meshSurfaceEdgeExtractor2D utilities/surfaceTools/meshSurfaceEdgeExtractor2D) +set(meshSurfaceEdgeExtractorFUN utilities/surfaceTools/meshSurfaceEdgeExtractorFUN) + +set(createFundamentalSheetsBase utilities/surfaceTools/createFundamentalSheets) +set(createFundamentalSheets ${createFundamentalSheetsBase}/createFundamentalSheets) +set(createFundamentalSheetsFJ ${createFundamentalSheetsBase}/createFundamentalSheetsFJ) +set(createFundamentalSheetsJFS ${createFundamentalSheetsBase}/createFundamentalSheetsJFS) + +set(correctEdgesBetweenPatches utilities/surfaceTools/correctEdgesBetweenPatches) + +set(decomposeCellsNearConcaveEdges utilities/surfaceTools/decomposeCellsNearConcaveEdges) +set(renameBoundaryPatches utilities/surfaceTools/renameBoundaryPatches) + +set(intersectionTools utilities/intersectionTools) +set(findCellsIntersectingSurface ${intersectionTools}/findCellsIntersectingSurface) + +set(meshOptimizer utilities/smoothers/geometry/meshOptimizer) +set(tetMeshOptimisation ${meshOptimizer}/tetMeshOptimisation) +set(boundaryLayerOptimisation ${meshOptimizer}/boundaryLayerOptimisation) + +set(symmetryPlaneOptimisation ${meshOptimizer}/symmetryPlaneOptimisation) +set(simplexSmoother ${tetMeshOptimisation}/advancedSmoothers/simplexSmoother) +set(knuppMetric ${tetMeshOptimisation}/advancedSmoothers/knuppMetric) +set(meshUntangler ${tetMeshOptimisation}/advancedSmoothers/meshUntangler) +set(quadricMetric ${tetMeshOptimisation}/advancedSmoothers/quadricMetric) +set(volumeOptimizer ${tetMeshOptimisation}/advancedSmoothers/volumeOptimizer) + +set(meshSurfaceOptimizer utilities/smoothers/geometry/meshSurfaceOptimizer) +set(surfaceOptimizer ${meshSurfaceOptimizer}/advancedSurfaceSmoothers/surfaceOptimizer) +set(surfaceMorpherCells utilities/surfaceTools/surfaceMorpherCells) + +set(utilitiesOctrees utilities/octrees) +set(meshOctree utilities/octrees/meshOctree) +set(meshOctreeCube utilities/octrees/meshOctree/meshOctreeCube) +set(meshOctreeInsideOutside utilities/octrees/meshOctree/meshOctreeInsideOutside) +set(meshOctreeCreator utilities/octrees/meshOctree/meshOctreeCreator) +set(meshOctreeAddressing utilities/octrees/meshOctree/meshOctreeAddressing) +set(meshOctreeModifier utilities/octrees/meshOctree/meshOctreeModifier) +set(meshOctreeAutoRef utilities/octrees/meshOctree/meshOctreeAutomaticRefinement) +set(patchRefinement utilities/octrees/meshOctree/refinementControls/patchRefinement) +set(objectRefinement utilities/octrees/meshOctree/refinementControls/objectRefinement) + +set(helperFunctions utilities/helperFunctions) +set(createFacesFromChain utilities/helperClasses/createFacesFromChain) +set(sortEdgesIntoChains utilities/helperClasses/sortEdgesIntoChains) +set(trianglePlaneIntersections utilities/helperClasses/trianglePlaneIntersections) + +set(tetCreatorOctree utilities/tetrahedra/tetCreatorOctree) +set(faceDecomposition utilities/faceDecomposition) +set(decomposeCells utilities/decomposeCells) + +set(topology utilities/smoothers/topology) +set(topologicalCleaner ${topology}/topologicalCleaner) +set(checkBoundaryFacesSharingTwoEdges ${topology}/checkBoundaryFacesSharingTwoEdges) +set(checkCellConnectionsOverFaces ${topology}/checkCellConnectionsOverFaces) +set(checkIrregularSurfaceConnections ${topology}/checkIrregularSurfaceConnections) +set(checkNonMappableCellConnections ${topology}/checkNonMappableCellConnections) + +set(triSurfaceTools utilities/triSurfaceTools) + +set(triSurface2DCheck ${triSurfaceTools}/triSurface2DCheck) +set(triSurfaceChecks ${triSurfaceTools}/triSurfaceChecks) +set(triSurfaceCleanupDuplicates ${triSurfaceTools}/triSurfaceCleanupDuplicates) +set(triSurfaceCleanupDuplicateTriangles ${triSurfaceTools}/triSurfaceCleanupDuplicateTriangles) +set(triSurfaceCopyParts ${triSurfaceTools}/triSurfaceCopyParts) +set(triSurfaceCurvatureEstimator ${triSurfaceTools}/triSurfaceCurvatureEstimator) +set(triSurfacePartitioner ${triSurfaceTools}/triSurfacePartitioner) +set(triSurfaceDetectFeatureEdges ${triSurfaceTools}/triSurfaceDetectFeatureEdges) +set(triSurfaceClassifyEdges ${triSurfaceTools}/triSurfaceClassifyEdges) +set(triSurfaceImportSurfaceAsSubset ${triSurfaceTools}/triSurfaceImportSurfaceAsSubset) +set(triSurfacePatchManipulator ${triSurfaceTools}/triSurfacePatchManipulator) +set(triSurfaceRemoveFacets ${triSurfaceTools}/triSurfaceRemoveFacets) +set(triSurfaceExtrude2DEdges ${triSurfaceTools}/triSurfaceExtrude2DEdges) +set(triSurfaceMetaData ${triSurfaceTools}/triSurfaceMetaData) + +set(polyMeshGen utilities/meshes/polyMeshGen) +set(boundaryPatch utilities/meshes/polyMeshGen/boundaryPatch) +set(polyMeshGen2DEngine utilities/meshes/polyMeshGen2DEngine) +set(polyMeshGenModifier utilities/meshes/polyMeshGenModifier) +set(polyMeshGenAddressing utilities/meshes/polyMeshGenAddressing) +set(polyMeshGenChecks utilities/meshes/polyMeshGenChecks) +set(partTetMesh utilities/meshes/partTetMesh) +set(partTriMesh utilities/meshes/partTriMesh) +set(primitiveMesh utilities/meshes/primitiveMesh) +set(triSurf utilities/meshes/triSurf) +set(cell utilities/meshes/primitives/cell) +set(edge utilities/meshes/primitives/edge) +set(face utilities/meshes/primitives/face) + +set(containers utilities/containers) +set(VRWGraph ${containers}/VRWGraph) +set(VRWGraphList ${containers}/VRWGraphList) +set(graphs ${containers}/Graphs) +set(lists ${containers}/Lists) + +set(meshZipper utilities/meshZipper) + +set(writeAsFPMA utilities/dataConversion/foamToFPMA) + +set(polyMeshExtractor pMeshLibrary/polyMeshExtractor) +set(polyMeshGenerator pMeshLibrary/polyMeshGenerator) + +set(cartesianMeshExtractor cartesianMesh/cartesianMeshExtractor) +set(cartesianMeshGenerator cartesianMesh/cartesianMeshGenerator) + +set(cartesian2DMeshGenerator cartesian2DMesh/cartesian2DMeshGenerator) + +set(tetMeshExtractor tetMesh/tetMeshExtractor) +set(tetMeshExtractorOctree tetMesh/tetMeshExtractorOctree) +set(tetMeshGenerator tetMesh/tetMeshGenerator) + +set(voronoiMeshExtractor voronoiMesh/voronoiMeshExtractor) +set(voronoiMeshGenerator voronoiMesh/voronoiMeshGenerator) + +set(workflowControls utilities/workflowControls) + +list(APPEND sources + ${checkMeshDict}/checkMeshDict.C + ${lists}/pointFieldPMG.C + ${lists}/faceListPMG.C + ${VRWGraph}/VRWGraph.C + ${VRWGraph}/VRWGraphSMPModifier.C + ${VRWGraphList}/VRWGraphList.C + ${graphs}/cellIOGraph.C + ${graphs}/faceIOGraph.C + ${polyMeshGen}/polyMeshGen.C + ${polyMeshGen}/polyMeshGenPoints.C + ${polyMeshGen}/polyMeshGenFaces.C + ${polyMeshGen}/polyMeshGenCells.C + ${polyMeshGen2DEngine}/polyMeshGen2DEngine.C + ${coordinateModification}/coordinateModification.C + ${coordinateModification}/newCoordinateModification.C + ${coordinateModification}/planeScaling.C + ${coordinateModification}/boxScaling.C + ${edgeMeshGeometryModification}/edgeMeshGeometryModification.C + ${surfaceMeshGeometryModification}/surfaceMeshGeometryModification.C + ${polyMeshGenGeometryModification}/polyMeshGenGeometryModification.C + ${coordinateModification}/coordinateModifier.C + ${boundaryPatch}/boundaryPatchBase.C + ${boundaryPatch}/boundaryPatch.C + ${boundaryPatch}/processorBoundaryPatch.C + ${polyMeshGenModifier}/polyMeshGenModifierRemoveUnusedVertices.C + ${polyMeshGenModifier}/polyMeshGenModifierRemoveFaces.C + ${polyMeshGenModifier}/polyMeshGenModifierRemoveCells.C + ${polyMeshGenModifier}/polyMeshGenModifierReorderBoundaryFaces.C + ${polyMeshGenModifier}/polyMeshGenModifierAddCells.C + ${polyMeshGenModifier}/polyMeshGenModifierAddProcessorFaces.C + ${polyMeshGenModifier}/polyMeshGenModifierAddBufferCells.C + ${polyMeshGenModifier}/polyMeshGenModifierReplaceBoundary.C + ${polyMeshGenModifier}/polyMeshGenModifierZipUpCells.C + ${polyMeshGenModifier}/polyMeshGenModifierRenumberMesh.C + ${polyMeshGenModifier}/polyMeshGenModifierAddCellByCell.C + ${polyMeshGenAddressing}/polyMeshGenAddressing.C + ${polyMeshGenAddressing}/polyMeshGenAddressingCellCells.C + ${polyMeshGenAddressing}/polyMeshGenAddressingCellEdges.C + ${polyMeshGenAddressing}/polyMeshGenAddressingCellPoints.C + ${polyMeshGenAddressing}/polyMeshGenAddressingCentresAndAreas.C + ${polyMeshGenAddressing}/polyMeshGenAddressingCentresAndVols.C + ${polyMeshGenAddressing}/polyMeshGenAddressingClear.C + ${polyMeshGenAddressing}/polyMeshGenAddressingUpdateGeometry.C + ${polyMeshGenAddressing}/polyMeshGenAddressingEdgeCells.C + ${polyMeshGenAddressing}/polyMeshGenAddressingEdgeFaces.C + ${polyMeshGenAddressing}/polyMeshGenAddressingFaceEdges.C + ${polyMeshGenAddressing}/polyMeshGenAddressingEdges.C + ${polyMeshGenAddressing}/polyMeshGenAddressingPointCells.C + ${polyMeshGenAddressing}/polyMeshGenAddressingPointEdges.C + ${polyMeshGenAddressing}/polyMeshGenAddressingPointFaces.C + ${polyMeshGenAddressing}/polyMeshGenAddressingPointPoints.C + ${polyMeshGenAddressing}/polyMeshGenAddressingParallelAddressing.C + ${polyMeshGenChecks}/polyMeshGenChecks.C + ${polyMeshGenChecks}/polyMeshGenChecksGeometry.C + ${polyMeshGenChecks}/polyMeshGenChecksTopology.C + ${partTetMesh}/partTetMesh.C + ${partTetMesh}/partTetMeshAddressing.C + ${partTetMesh}/partTetMeshParallelAddressing.C + ${partTetMesh}/partTetMeshSimplex.C + ${partTriMesh}/partTriMesh.C + ${partTriMesh}/partTriMeshAddressing.C + ${partTriMesh}/partTriMeshParallelAddressing.C + ${partTriMesh}/partTriMeshSimplex.C + ${triSurf}/triSurf.C + ${triSurf}/triSurfPoints.C + ${triSurf}/triSurfFacets.C + ${triSurf}/triSurfFeatureEdges.C + ${triSurf}/triSurfAddressing.C + ${triSurf}/triSurfModifier.C + ${findCellsIntersectingSurface}/findCellsIntersectingSurface.C + ${tetCreatorOctree}/tetCreatorOctree.C + ${tetCreatorOctree}/tetCreatorOctreePointsAndAddressing.C + ${tetCreatorOctree}/tetCreatorOctreeFromFacesWithCentreNode.C + ${tetCreatorOctree}/tetCreatorOctreeTetsAroundEdges.C + ${tetCreatorOctree}/tetCreatorOctreeTetsAroundSplitEdges.C + ${tetCreatorOctree}/tetCreatorOctreeTetsFromSplitFaces.C + ${faceDecomposition}/faceDecomposition.C + ${faceDecomposition}/decomposeFaces.C + ${helperFunctions}/helperFunctionsStringConversion.C + ${sortEdgesIntoChains}/sortEdgesIntoChains.C + ${surfaceMorpherCells}/surfaceMorpherCells.C + ${surfaceMorpherCells}/surfaceMorpherCellsMorphInternalFaces.C + ${surfaceMorpherCells}/surfaceMorpherCellsCreateBoundaryFaces.C + ${decomposeCells}/decomposeCells.C + ${decomposeCells}/decomposeCellsPyramids.C + ${decomposeCells}/decomposeCellsDecomposition.C + ${topologicalCleaner}/topologicalCleaner.C + ${topologicalCleaner}/topologyCleanerNonConsecutiveBoundaryVertices.C + ${topologicalCleaner}/topologicalCleanerInvalidVertices.C + ${topologicalCleaner}/topologyCleanerNonMappableCells.C + ${checkCellConnectionsOverFaces}/checkCellConnectionsOverFaces.C + ${checkIrregularSurfaceConnections}/checkIrregularSurfaceConnections.C + ${checkIrregularSurfaceConnections}/checkIrregularSurfaceConnectionsFunctions.C + ${checkNonMappableCellConnections}/checkNonMappableCellConnections.C + ${checkBoundaryFacesSharingTwoEdges}/checkBoundaryFacesSharingTwoEdges.C + ${boundaryLayers}/boundaryLayers.C + ${boundaryLayers}/boundaryLayersCreateVertices.C + ${boundaryLayers}/boundaryLayersFacesAndCells.C + ${boundaryLayers}/boundaryLayerCells.C + ${boundaryLayers}/boundaryLayersCheckTopologyOfBndFaces.C + ${boundaryLayers}/boundaryLayersWrapperLayer.C + ${extrudeLayer}/extrudeLayer.C + ${detectBoundaryLayers}/detectBoundaryLayers.C + ${detectBoundaryLayers}/detectBoundaryLayersFunctions.C + ${refineBoundaryLayers}/refineBoundaryLayers.C + ${refineBoundaryLayers}/refineBoundaryLayersFunctions.C + ${refineBoundaryLayers}/refineBoundaryLayersFaces.C + ${refineBoundaryLayers}/refineBoundaryLayersCells.C + ${triangulateNonPlanarBaseFaces}/triangulateNonPlanarBaseFaces.C + ${triangulateNonPlanarBaseFaces}/triangulateNonPlanarBaseFacesFunctions.C + ${meshSurfaceEngine}/meshSurfaceEngine.C + ${meshSurfaceEngine}/meshSurfaceEngineCalculateBoundaryNodesAndFaces.C + ${meshSurfaceEngine}/meshSurfaceEngineParallelAddressing.C + ${meshSurfaceEngine}/meshSurfaceEngineModifier.C + ${meshSurfacePartitioner}/meshSurfacePartitioner.C + ${meshSurfacePartitioner}/meshSurfacePartitionerFunctions.C + ${meshSurfaceCheckInvertedVertices}/meshSurfaceCheckInvertedVertices.C + ${meshSurfaceCheckEdgeTypes}/meshSurfaceCheckEdgeTypes.C + ${meshSurfaceMapper}/meshSurfaceMapper.C + ${meshSurfaceMapper}/meshSurfaceMapperMapVertices.C + ${meshSurfaceMapper}/meshSurfaceMapperCornersAndEdges.C + ${meshSurfaceMapper}/meshSurfaceMapperPremapVertices.C + ${meshSurfaceMapper2D}/meshSurfaceMapper2D.C + ${meshSurfaceMapper2D}/meshSurfaceMapper2DMapVertices.C + ${meshSurfaceMapper2D}/meshSurfaceMapper2DPremapVertices.C + ${edgeExtractor}/edgeExtractor.C + ${edgeExtractor}/edgeExtractorCorners.C + ${meshSurfaceEdgeExtractorNonTopo}/meshSurfaceEdgeExtractorNonTopo.C + ${meshSurfaceEdgeExtractorNonTopo}/meshSurfaceEdgeExtractorNonTopoDistributeFaces.C + ${meshSurfaceEdgeExtractor2D}/meshSurfaceEdgeExtractor2D.C + ${meshSurfaceEdgeExtractor2D}/meshSurfaceEdgeExtractor2DDistributeFaces.C + ${meshSurfaceEdgeExtractorFUN}/meshSurfaceEdgeExtractorFUN.C + ${meshSurfaceEdgeExtractorFUN}/meshSurfaceEdgeExtractorFUNDistributeFaces.C + ${createFundamentalSheets}/createFundamentalSheets.C + ${createFundamentalSheetsFJ}/createFundamentalSheetsFJ.C + ${createFundamentalSheetsJFS}/createFundamentalSheetsJFS.C + ${correctEdgesBetweenPatches}/correctEdgesBetweenPatches.C + ${correctEdgesBetweenPatches}/correctEdgesBetweenPatchesDistributeFaces.C + ${renameBoundaryPatches}/renameBoundaryPatches.C + ${meshOptimizer}/meshOptimizer.C + ${meshOptimizer}/meshOptimizerOptimizePoint.C + ${meshOptimizer}/meshOptimizerOptimizePointParallel.C + ${meshOptimizer}/meshOptimizerOptimizeSurface.C + ${meshOptimizer}/optimizeMeshFV.C + ${tetMeshOptimisation}/tetMeshOptimisation.C + ${tetMeshOptimisation}/tetMeshOptimisationParallel.C + ${symmetryPlaneOptimisation}/symmetryPlaneOptimisation.C + ${boundaryLayerOptimisation}/boundaryLayerOptimisation.C + ${boundaryLayerOptimisation}/boundaryLayerOptimisationFunctions.C + ${boundaryLayerOptimisation}/boundaryLayerOptimisationNormals.C + ${boundaryLayerOptimisation}/boundaryLayerOptimisationThickness.C + ${simplexSmoother}/simplexSmoother.C + ${knuppMetric}/knuppMetric.C + ${meshUntangler}/meshUntangler.C + ${meshUntangler}/meshUntanglerCutRegion.C + ${meshUntangler}/meshUntanglerCutRegionPoints.C + ${meshUntangler}/meshUntanglerCutRegionEdges.C + ${meshUntangler}/meshUntanglerCutRegionFaces.C + ${meshUntangler}/meshUntanglerCutRegionTieBreak.C + ${quadricMetric}/quadricMetric.C + ${volumeOptimizer}/volumeOptimizer.C + ${volumeOptimizer}/volumeOptimizerEvaluateGradients.C + ${meshSurfaceOptimizer}/meshSurfaceOptimizer.C + ${meshSurfaceOptimizer}/meshSurfaceOptimizerCalculateTrianglesAndAddressing.C + ${meshSurfaceOptimizer}/meshSurfaceOptimizerOptimizePoint.C + ${meshSurfaceOptimizer}/meshSurfaceOptimizerOptimizeSurface.C + ${meshSurfaceOptimizer}/meshSurfaceOptimizerOptimizePointParallel.C + ${surfaceOptimizer}/surfaceOptimizer.C + ${meshOctreeCube}/meshOctreeCube.C + ${meshOctreeCube}/meshOctreeCubeIntersections.C + ${meshOctreeCube}/meshOctreeCubeRecursiveFunctions.C + ${meshOctreeCube}/meshOctreeCubeRefine.C + ${meshOctreeCube}/meshOctreeCubeCoordinatesIntersections.C + ${meshOctreeModifier}/meshOctreeModifier.C + ${meshOctreeModifier}/meshOctreeModifierRefineSelectedBoxes.C + ${meshOctreeModifier}/meshOctreeModifierEnsureCorrectRegularity.C + ${meshOctreeModifier}/meshOctreeModifierParallelRefinement.C + ${meshOctreeModifier}/meshOctreeModifierDistributeLeavesToProcessors.C + ${meshOctreeModifier}/meshOctreeModifierLoadDistribution.C + ${meshOctreeModifier}/meshOctreeModifierReduceMemoryConsumption.C + ${meshOctreeModifier}/meshOctreeModifierUpdateCommunicationPattern.C + ${meshOctreeInsideOutside}/meshOctreeInsideOutside.C + ${meshOctreeCreator}/meshOctreeCreator.C + ${meshOctreeCreator}/meshOctreeCreatorAdjustOctreeToSurface.C + ${meshOctreeCreator}/meshOctreeCreatorCreateOctreeBoxes.C + ${meshOctreeCreator}/meshOctreeCreatorFrontalMarking.C + ${meshOctreeCreator}/meshOctreeCreatorLoadDistribution.C + ${meshOctreeAddressing}/meshOctreeAddressing.C + ${meshOctreeAddressing}/meshOctreeAddressingCreation.C + ${meshOctreeAddressing}/meshOctreeAddressingGluedMesh.C + ${meshOctreeAddressing}/meshOctreeAddressingIrregularConnections.C + ${meshOctreeAddressing}/meshOctreeAddressingParallelAddressing.C + ${meshOctreeAutoRef}/meshOctreeAutomaticRefinement.C + ${meshOctreeAutoRef}/meshOctreeAutomaticRefinementRef.C + ${meshOctree}/meshOctree.C + ${meshOctree}/meshOctreeCubePatches.C + ${meshOctree}/meshOctreeNeighbourSearches.C + ${meshOctree}/meshOctreeFindNearestSurfacePoint.C + ${meshOctree}/meshOctreeInsideCalculations.C + ${meshOctree}/meshOctreeParallelCommunication.C + ${patchRefinement}/patchRefinement.C + ${objectRefinement}/objectRefinement.C + ${objectRefinement}/newObjectRefinement.C + ${objectRefinement}/sphereRefinement.C + ${objectRefinement}/lineRefinement.C + ${objectRefinement}/coneRefinement.C + ${objectRefinement}/boxRefinement.C + ${objectRefinement}/hollowConeRefinement.C + ${triSurface2DCheck}/triSurface2DCheck.C + ${triSurfaceChecks}/triSurfaceChecks.C + ${triSurfaceCleanupDuplicates}/triSurfaceCleanupDuplicates.C + ${triSurfaceCleanupDuplicates}/triSurfaceCleanupDuplicatesFunctions.C + ${triSurfaceCleanupDuplicateTriangles}/triSurfaceCleanupDuplicateTriangles.C + ${triSurfaceCleanupDuplicateTriangles}/triSurfaceCleanupDuplicateTrianglesFunctions.C + ${triSurfaceCopyParts}/triSurfaceCopyParts.C + ${triSurfacePartitioner}/triSurfacePartitioner.C + ${triSurfacePartitioner}/triSurfacePartitionerCreateAddressing.C + ${triSurfaceCurvatureEstimator}/triSurfaceCurvatureEstimator.C + ${triSurfaceCurvatureEstimator}/triSurfaceCurvatureEstimatorCalculate.C + ${triSurfaceDetectFeatureEdges}/triSurfaceDetectFeatureEdges.C + ${triSurfaceDetectFeatureEdges}/triSurfaceDetectFeatureEdgesFunctions.C + ${triSurfaceClassifyEdges}/triSurfaceClassifyEdges.C + ${triSurfaceClassifyEdges}/triSurfaceClassifyEdgesFunctions.C + ${triSurfaceImportSurfaceAsSubset}/triSurfaceImportSurfaceAsSubset.C + ${triSurfacePatchManipulator}/triSurfacePatchManipulator.C + ${triSurfacePatchManipulator}/triSurfacePatchManipulatorFunctions.C + ${triSurfaceRemoveFacets}/triSurfaceRemoveFacets.C + ${triSurfaceRemoveFacets}/triSurfaceRemoveFacetsFunctions.C + ${triSurfaceExtrude2DEdges}/triSurfaceExtrude2DEdges.C + ${triSurfaceMetaData}/triSurfaceMetaData.C + ${cartesianMeshExtractor}/cartesianMeshExtractor.C + ${cartesianMeshExtractor}/cartesianMeshExtractorPointsAndAddressing.C + ${cartesianMeshExtractor}/cartesianMeshExtractorPolyMesh.C + ${cartesianMeshExtractor}/cartesianMeshExtractorDecomposeSplitHexes.C + ${cartesianMeshGenerator}/cartesianMeshGenerator.C + ${cartesian2DMeshGenerator}/cartesian2DMeshGenerator.C + ${tetMeshExtractorOctree}/tetMeshExtractorOctree.C + ${tetMeshGenerator}/tetMeshGenerator.C + ${voronoiMeshExtractor}/voronoiMeshExtractor.C + ${voronoiMeshExtractor}/voronoiMeshExtractorAddressing.C + ${voronoiMeshExtractor}/voronoiMeshExtractorCreateMesh.C + ${voronoiMeshGenerator}/voronoiMeshGenerator.C + ${writeAsFPMA}/writeMeshFPMA.C + ${writeAsFPMA}/fpmaMesh.C + ${workflowControls}/workflowControls.C +) + +add_foam_library(cfMesh SHARED ${sources}) + +# This is a prototype! Replace second argument with a list of the highest +# dependencies only. Inherited dependencies will be treated automatically. +target_link_libraries(cfMesh PUBLIC meshTools edgeMesh) diff --git a/src/mesh/extrudeModel/CMakeLists.txt b/src/mesh/extrudeModel/CMakeLists.txt new file mode 100644 index 000000000..a02c10bf9 --- /dev/null +++ b/src/mesh/extrudeModel/CMakeLists.txt @@ -0,0 +1,46 @@ +# -------------------------------------------------------------------------- +# ======== | +# \ / F ield | foam-extend: Open Source CFD +# \ / O peration | Version: 4.1 +# \ / A nd | Web: http://www.foam-extend.org +# \/ M anipulation | For copyright notice see file Copyright +# -------------------------------------------------------------------------- +# License +# This file is part of foam-extend. +# +# foam-extend 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 3 of the License, or {at your +# option} any later version. +# +# foam-extend 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 foam-extend. If not, see . +# +# Description +# CMakeLists.txt file for libraries and applications +# +# Author +# Henrik Rusche, Wikki GmbH, 2017. All rights reserved +# +# +# -------------------------------------------------------------------------- + +list(APPEND sources + extrudeModel/extrudeModel.C + extrudeModel/newExtrudeModel.C + linearNormal/linearNormal.C + linearRadial/linearRadial.C + sigmaRadial/sigmaRadial.C + wedge/wedge.C +) + +add_foam_library(extrudeModel SHARED ${sources}) + +# This is a prototype! Replace second argument with a list of the highest +# dependencies only. Inherited dependencies will be treated automatically. +target_link_libraries(extrudeModel PUBLIC dynamicMesh) diff --git a/src/meshTools/CMakeLists.txt b/src/meshTools/CMakeLists.txt new file mode 100644 index 000000000..ea7f51f3c --- /dev/null +++ b/src/meshTools/CMakeLists.txt @@ -0,0 +1,202 @@ +# -------------------------------------------------------------------------- +# ======== | +# \ / F ield | foam-extend: Open Source CFD +# \ / O peration | Version: 4.1 +# \ / A nd | Web: http://www.foam-extend.org +# \/ M anipulation | For copyright notice see file Copyright +# -------------------------------------------------------------------------- +# License +# This file is part of foam-extend. +# +# foam-extend 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 3 of the License, or {at your +# option} any later version. +# +# foam-extend 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 foam-extend. If not, see . +# +# Description +# CMakeLists.txt file for libraries and applications +# +# Author +# Henrik Rusche, Wikki GmbH, 2017. All rights reserved +# +# +# -------------------------------------------------------------------------- + +list(APPEND sources + cellClassification/cellClassification.C + cellClassification/cellInfo.C + cellQuality/cellQuality.C + cellDist/cellDistFuncs.C + cellDist/patchWave/patchWave.C + cellDist/wallPoint/wallPoint.C + cellFeatures/cellFeatures.C + edgeFaceCirculator/edgeFaceCirculator.C + polyMeshZipUpCells/polyMeshZipUpCells.C + primitiveMeshGeometry/primitiveMeshGeometry.C + meshSearch/meshSearch.C + PointEdgeWave/PointEdgeWaveName.C + PointEdgeWave/pointEdgePoint.C + regionSplit/regionSplit.C +) + +set(searchableSurface searchableSurface) +list(APPEND sources + ${searchableSurface}/distributedTriSurfaceMesh.C + ${searchableSurface}/searchableBox.C + ${searchableSurface}/searchableCylinder.C + ${searchableSurface}/searchablePlane.C + ${searchableSurface}/searchablePlate.C + ${searchableSurface}/searchableSphere.C + ${searchableSurface}/searchableSurface.C + ${searchableSurface}/searchableSurfaceCollection.C + ${searchableSurface}/searchableSurfaces.C + ${searchableSurface}/searchableSurfacesQueries.C + ${searchableSurface}/searchableSurfaceWithGaps.C + ${searchableSurface}/triSurfaceMesh.C +) + +set(topoSets sets/topoSets) +list(APPEND sources + ${topoSets}/cellSet.C + ${topoSets}/topoSet.C + ${topoSets}/faceSet.C + ${topoSets}/pointSet.C + sets/topoSetSource/topoSetSource.C +) + +set(cellSources sets/cellSources) +list(APPEND sources + ${cellSources}/faceToCell/faceToCell.C + ${cellSources}/fieldToCell/fieldToCell.C + ${cellSources}/pointToCell/pointToCell.C + ${cellSources}/shapeToCell/shapeToCell.C + ${cellSources}/boxToCell/boxToCell.C + ${cellSources}/regionToCell/regionToCell.C + ${cellSources}/rotatedBoxToCell/rotatedBoxToCell.C + ${cellSources}/labelToCell/labelToCell.C + ${cellSources}/surfaceToCell/surfaceToCell.C + ${cellSources}/cellToCell/cellToCell.C + ${cellSources}/nearestToCell/nearestToCell.C + ${cellSources}/nbrToCell/nbrToCell.C + ${cellSources}/zoneToCell/zoneToCell.C + ${cellSources}/setToCell/setToCell.C + ${cellSources}/sphereToCell/sphereToCell.C + ${cellSources}/cylinderToCell/cylinderToCell.C + ${cellSources}/faceZoneToCell/faceZoneToCell.C +) + +set(faceSources sets/faceSources) +list(APPEND sources + ${faceSources}/faceToFace/faceToFace.C + ${faceSources}/labelToFace/labelToFace.C + ${faceSources}/cellToFace/cellToFace.C + ${faceSources}/normalToFace/normalToFace.C + ${faceSources}/pointToFace/pointToFace.C + ${faceSources}/patchToFace/patchToFace.C + ${faceSources}/boundaryToFace/boundaryToFace.C + ${faceSources}/zoneToFace/zoneToFace.C + ${faceSources}/setToFace/setToFace.C + ${faceSources}/boxToFace/boxToFace.C + ${faceSources}/rotatedBoxToFace/rotatedBoxToFace.C +) + +set(pointSources sets/pointSources) +list(APPEND sources + ${pointSources}/labelToPoint/labelToPoint.C + ${pointSources}/pointToPoint/pointToPoint.C + ${pointSources}/cellToPoint/cellToPoint.C + ${pointSources}/faceToPoint/faceToPoint.C + ${pointSources}/boxToPoint/boxToPoint.C + ${pointSources}/surfaceToPoint/surfaceToPoint.C + ${pointSources}/zoneToPoint/zoneToPoint.C + ${pointSources}/setToPoint/setToPoint.C + ${pointSources}/nearestToPoint/nearestToPoint.C + surfaceSets/surfaceSets.C +) + +set(triSurfaceInterfaces triSurface/triSurface/interfaces) +list(APPEND sources + triSurface/triSurface/triSurface.C + triSurface/triSurface/triSurfaceAddressing.C + triSurface/triSurface/stitchTriangles.C + triSurface/triSurface/treeDataTriSurface/treeDataTriSurface.C + triSurface/faceTriangulation/faceTriangulation.C + triSurface/meshTriangulation/meshTriangulation.C + triSurface/triSurface/geometricSurfacePatch/geometricSurfacePatch.C + triSurface/triSurface/surfacePatch/surfacePatch.C + triSurface/triSurface/surfacePatch/surfacePatchIOList.C + triSurface/tools/labelledTri/sortLabelledTri.C + triSurface/triSurfaceFields/triSurfaceFields.C + triSurface/triSurfaceFields/triSurfacePointFields/triSurfacePointFields.C + triSurface/orientedSurface/orientedSurface.C + triSurface/surfaceLocation/surfaceLocation.C + ${triSurfaceInterfaces}/STL/writeSTL.C + ${triSurfaceInterfaces}/STL/readSTL.C +) +FLEX_TARGET(readSTLASCII ${triSurfaceInterfaces}/STL/readSTLASCII.L + ${CMAKE_CURRENT_BINARY_DIR}/readSTLASCII.C COMPILE_FLAGS "-+") +list(APPEND sources ${FLEX_readSTLASCII_OUTPUTS}) +list(APPEND sources + ${triSurfaceInterfaces}/STL/readSTLBINARY.C + ${triSurfaceInterfaces}/GTS/writeGTS.C + ${triSurfaceInterfaces}/GTS/readGTS.C + ${triSurfaceInterfaces}/OBJ/readOBJ.C + ${triSurfaceInterfaces}/OBJ/writeOBJ.C + ${triSurfaceInterfaces}/SMESH/writeSMESH.C + ${triSurfaceInterfaces}/OFF/readOFF.C + ${triSurfaceInterfaces}/OFF/writeOFF.C + ${triSurfaceInterfaces}/TRI/writeTRI.C + ${triSurfaceInterfaces}/TRI/readTRI.C + ${triSurfaceInterfaces}/DX/writeDX.C + ${triSurfaceInterfaces}/AC3D/readAC.C + ${triSurfaceInterfaces}/AC3D/writeAC.C + ${triSurfaceInterfaces}/VTK/writeVTK.C + ${triSurfaceInterfaces}/NAS/readNAS.C +) + + +set(booleanOps triSurface/booleanOps) + +set(surfaceIntersection ${booleanOps}/surfaceIntersection) +list(APPEND sources + ${surfaceIntersection}/surfaceIntersection.C + ${surfaceIntersection}/surfaceIntersectionFuncs.C + ${surfaceIntersection}/edgeIntersections.C +) + +set(booleanSurface ${booleanOps}/booleanSurface) +list(APPEND sources + ${booleanSurface}/booleanSurface.C +) + +set(intersectedSurface ${booleanOps}/intersectedSurface) +list(APPEND sources + ${intersectedSurface}/intersectedSurface.C + ${intersectedSurface}/edgeSurface.C + triSurface/triSurfaceSearch/triSurfaceSearch.C + triSurface/octreeData/octreeDataTriSurface.C + triSurface/octreeData/octreeDataTriSurfaceTreeLeaf.C + triSurface/surfaceFeatures/surfaceFeatures.C + triSurface/triSurfaceTools/triSurfaceTools.C + triSurface/triSurfaceTools/geompack/geompack.C + twoDPointCorrector/twoDPointCorrector.C + directMapped/directMappedPolyPatch/directMappedPatchBase.C + directMapped/directMappedPolyPatch/directMappedPolyPatch.C + directMapped/directMappedPolyPatch/directMappedWallPolyPatch.C + directMapped/directMappedPointPatch/directMappedPointPatch.C + directMapped/directMappedPointPatch/directMappedWallPointPatch.C +) + +add_foam_library(meshTools SHARED ${sources}) + +# This is a prototype! Replace second argument with a list of the highest +# dependencies only. Inherited dependencies will be treated automatically. +target_link_libraries(meshTools PUBLIC lagrangianBasic decompositionMethods) diff --git a/src/multiSolver/CMakeLists.txt b/src/multiSolver/CMakeLists.txt new file mode 100644 index 000000000..5c7470f83 --- /dev/null +++ b/src/multiSolver/CMakeLists.txt @@ -0,0 +1,45 @@ +# -------------------------------------------------------------------------- +# ======== | +# \ / F ield | foam-extend: Open Source CFD +# \ / O peration | Version: 4.1 +# \ / A nd | Web: http://www.foam-extend.org +# \/ M anipulation | For copyright notice see file Copyright +# -------------------------------------------------------------------------- +# License +# This file is part of foam-extend. +# +# foam-extend 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 3 of the License, or {at your +# option} any later version. +# +# foam-extend 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 foam-extend. If not, see . +# +# Description +# CMakeLists.txt file for libraries and applications +# +# Author +# Henrik Rusche, Wikki GmbH, 2017. All rights reserved +# +# +# -------------------------------------------------------------------------- + +list(APPEND sources + dummyControlDict/dummyControlDict.C + multiTime/multiTime.C + multiSolver/multiSolver.C + timeCluster/timeCluster.C + timeCluster/timeClusterList.C +) + +add_foam_library(multiSolverLib SHARED ${sources}) + +# This is a prototype! Replace second argument with a list of the highest +# dependencies only. Inherited dependencies will be treated automatically. +target_link_libraries(multiSolverLib PUBLIC foam) diff --git a/src/postProcessing/CMakeLists.txt b/src/postProcessing/CMakeLists.txt new file mode 100644 index 000000000..7b3ee7c3a --- /dev/null +++ b/src/postProcessing/CMakeLists.txt @@ -0,0 +1,34 @@ +# --------------------------------------------------------------------------# ======== | +# \ / F ield | foam-extend: Open Source CFD +# \ / O peration | Version: 4.1 +# \ / A nd | Web: http://www.foam-extend.org +# \/ M anipulation | For copyright notice see file Copyright +# -------------------------------------------------------------------------- +# License +# This file is part of foam-extend. +# +# foam-extend 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 3 of the License, or {at your +# option} any later version. +# +# foam-extend 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 foam-extend. If not, see . +# +# Description +# CMakeLists.txt file for libraries and applications +# +# Author +# Henrik Rusche, Wikki GmbH, 2017. All rights reserved +# +# +# -------------------------------------------------------------------------- + +add_subdirectory(functionObjects) +add_subdirectory(postCalc) +add_subdirectory(foamCalcFunctions) \ No newline at end of file diff --git a/src/postProcessing/foamCalcFunctions/CMakeLists.txt b/src/postProcessing/foamCalcFunctions/CMakeLists.txt new file mode 100644 index 000000000..ef1e097ff --- /dev/null +++ b/src/postProcessing/foamCalcFunctions/CMakeLists.txt @@ -0,0 +1,53 @@ +# -------------------------------------------------------------------------- +# ======== | +# \ / F ield | foam-extend: Open Source CFD +# \ / O peration | Version: 4.1 +# \ / A nd | Web: http://www.foam-extend.org +# \/ M anipulation | For copyright notice see file Copyright +# -------------------------------------------------------------------------- +# License +# This file is part of foam-extend. +# +# foam-extend 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 3 of the License, or {at your +# option} any later version. +# +# foam-extend 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 foam-extend. If not, see . +# +# Description +# CMakeLists.txt file for libraries and applications +# +# Author +# Henrik Rusche, Wikki GmbH, 2017. All rights reserved +# +# +# -------------------------------------------------------------------------- + +list(APPEND sources + calcType/calcType.C + calcType/newCalcType.C + field/domainIntegrate/domainIntegrate.C + field/components/components.C + field/componentsTurbo/componentsTurbo.C + field/mag/mag.C + field/magSqr/magSqr.C + field/magGrad/magGrad.C + field/div/div.C + field/randomise/randomise.C + field/interpolate/interpolate.C + basic/addSubtract/addSubtract.C + basic/scalarMult/scalarMult.C +) + +add_foam_library(foamCalcFunctions SHARED ${sources}) + +# This is a prototype! Replace second argument with a list of the highest +# dependencies only. Inherited dependencies will be treated automatically. +target_link_libraries(foamCalcFunctions PUBLIC finiteVolume) diff --git a/src/postProcessing/functionObjects/CMakeLists.txt b/src/postProcessing/functionObjects/CMakeLists.txt new file mode 100644 index 000000000..a18079c4f --- /dev/null +++ b/src/postProcessing/functionObjects/CMakeLists.txt @@ -0,0 +1,37 @@ +# --------------------------------------------------------------------------# ======== | +# \ / F ield | foam-extend: Open Source CFD +# \ / O peration | Version: 4.1 +# \ / A nd | Web: http://www.foam-extend.org +# \/ M anipulation | For copyright notice see file Copyright +# -------------------------------------------------------------------------- +# License +# This file is part of foam-extend. +# +# foam-extend 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 3 of the License, or {at your +# option} any later version. +# +# foam-extend 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 foam-extend. If not, see . +# +# Description +# CMakeLists.txt file for libraries and applications +# +# Author +# Henrik Rusche, Wikki GmbH, 2017. All rights reserved +# +# +# -------------------------------------------------------------------------- + +add_subdirectory(IO) +add_subdirectory(systemCall) +add_subdirectory(utilities) +add_subdirectory(field) +add_subdirectory(forces) +add_subdirectory(check) \ No newline at end of file diff --git a/src/postProcessing/functionObjects/IO/CMakeLists.txt b/src/postProcessing/functionObjects/IO/CMakeLists.txt new file mode 100644 index 000000000..ad793ace6 --- /dev/null +++ b/src/postProcessing/functionObjects/IO/CMakeLists.txt @@ -0,0 +1,42 @@ +# -------------------------------------------------------------------------- +# ======== | +# \ / F ield | foam-extend: Open Source CFD +# \ / O peration | Version: 4.1 +# \ / A nd | Web: http://www.foam-extend.org +# \/ M anipulation | For copyright notice see file Copyright +# -------------------------------------------------------------------------- +# License +# This file is part of foam-extend. +# +# foam-extend 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 3 of the License, or {at your +# option} any later version. +# +# foam-extend 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 foam-extend. If not, see . +# +# Description +# CMakeLists.txt file for libraries and applications +# +# Author +# Henrik Rusche, Wikki GmbH, 2017. All rights reserved +# +# +# -------------------------------------------------------------------------- + +list(APPEND sources + writeRegisteredObject/writeRegisteredObject.C + writeRegisteredObject/writeRegisteredObjectFunctionObject.C +) + +add_foam_library(IOFunctionObjects SHARED ${sources}) + +# This is a prototype! Replace second argument with a list of the highest +# dependencies only. Inherited dependencies will be treated automatically. +target_link_libraries(IOFunctionObjects PUBLIC foam) diff --git a/src/postProcessing/functionObjects/check/CMakeLists.txt b/src/postProcessing/functionObjects/check/CMakeLists.txt new file mode 100644 index 000000000..f61c13408 --- /dev/null +++ b/src/postProcessing/functionObjects/check/CMakeLists.txt @@ -0,0 +1,43 @@ +# -------------------------------------------------------------------------- +# ======== | +# \ / F ield | foam-extend: Open Source CFD +# \ / O peration | Version: 4.1 +# \ / A nd | Web: http://www.foam-extend.org +# \/ M anipulation | For copyright notice see file Copyright +# -------------------------------------------------------------------------- +# License +# This file is part of foam-extend. +# +# foam-extend 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 3 of the License, or {at your +# option} any later version. +# +# foam-extend 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 foam-extend. If not, see . +# +# Description +# CMakeLists.txt file for libraries and applications +# +# Author +# Henrik Rusche, Wikki GmbH, 2017. All rights reserved +# +# +# -------------------------------------------------------------------------- + +list(APPEND sources + ggiCheck/ggiCheckFunctionObject.C + meshCheck/meshCheckFunctionObject.C + mixingPlaneCheck/mixingPlaneCheckFunctionObject.C +) + +add_foam_library(checkFunctionObjects SHARED ${sources}) + +# This is a prototype! Replace second argument with a list of the highest +# dependencies only. Inherited dependencies will be treated automatically. +target_link_libraries(checkFunctionObjects PUBLIC finiteVolume) diff --git a/src/postProcessing/functionObjects/field/CMakeLists.txt b/src/postProcessing/functionObjects/field/CMakeLists.txt new file mode 100644 index 000000000..591142028 --- /dev/null +++ b/src/postProcessing/functionObjects/field/CMakeLists.txt @@ -0,0 +1,57 @@ +# -------------------------------------------------------------------------- +# ======== | +# \ / F ield | foam-extend: Open Source CFD +# \ / O peration | Version: 4.1 +# \ / A nd | Web: http://www.foam-extend.org +# \/ M anipulation | For copyright notice see file Copyright +# -------------------------------------------------------------------------- +# License +# This file is part of foam-extend. +# +# foam-extend 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 3 of the License, or {at your +# option} any later version. +# +# foam-extend 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 foam-extend. If not, see . +# +# Description +# CMakeLists.txt file for libraries and applications +# +# Author +# Henrik Rusche, Wikki GmbH, 2017. All rights reserved +# +# +# -------------------------------------------------------------------------- + +list(APPEND sources + fieldAverage/fieldAverage/fieldAverage.C + fieldAverage/fieldAverageItem/fieldAverageItem.C + fieldAverage/fieldAverageItem/fieldAverageItemIO.C + fieldAverage/fieldAverageFunctionObject/fieldAverageFunctionObject.C + fieldMinMax/fieldMinMax.C + fieldMinMax/fieldMinMaxFunctionObject.C + minMaxField/minMaxField.C + maxFieldCell/maxFieldCell.C + fieldValues/fieldValue/fieldValue.C + fieldValues/faceSource/faceSource.C + fieldValues/faceSource/faceSourceFunctionObject.C + fieldValues/cellSource/cellSource.C + fieldValues/cellSource/cellSourceFunctionObject.C + readFields/readFields.C + readFields/readFieldsFunctionObject.C + surfaceInterpolateFields/surfaceInterpolateFieldsFunctionObject.C + surfaceInterpolateFields/surfaceInterpolateFields.C +) + +add_foam_library(fieldFunctionObjects SHARED ${sources}) + +# This is a prototype! Replace second argument with a list of the highest +# dependencies only. Inherited dependencies will be treated automatically. +target_link_libraries(fieldFunctionObjects PUBLIC finiteVolume) diff --git a/src/postProcessing/functionObjects/forces/CMakeLists.txt b/src/postProcessing/functionObjects/forces/CMakeLists.txt new file mode 100644 index 000000000..8853a7d5e --- /dev/null +++ b/src/postProcessing/functionObjects/forces/CMakeLists.txt @@ -0,0 +1,78 @@ +# -------------------------------------------------------------------------- +# ======== | +# \ / F ield | foam-extend: Open Source CFD +# \ / O peration | Version: 4.1 +# \ / A nd | Web: http://www.foam-extend.org +# \/ M anipulation | For copyright notice see file Copyright +# -------------------------------------------------------------------------- +# License +# This file is part of foam-extend. +# +# foam-extend 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 3 of the License, or {at your +# option} any later version. +# +# foam-extend 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 foam-extend. If not, see . +# +# Description +# CMakeLists.txt file for libraries and applications +# +# Author +# Henrik Rusche, Wikki GmbH, 2017. All rights reserved +# +# +# -------------------------------------------------------------------------- + +list(APPEND sources + forces/forces.C + forces/forcesFunctionObject.C + forceCoeffs/forceCoeffs.C + forceCoeffs/forceCoeffsFunctionObject.C +) + +set(sDoFRBM pointPatchFields/derived/sixDoFRigidBodyMotion) + +list(APPEND sources + ${sDoFRBM}/sixDoFRigidBodyMotion.C + ${sDoFRBM}/sixDoFRigidBodyMotionIO.C + ${sDoFRBM}/sixDoFRigidBodyMotionState.C + ${sDoFRBM}/sixDoFRigidBodyMotionStateIO.C +) + +set(sDoFRBMR ${sDoFRBM}/sixDoFRigidBodyMotionRestraint) + +list(APPEND sources + ${sDoFRBMR}/sixDoFRigidBodyMotionRestraint/sixDoFRigidBodyMotionRestraint.C + ${sDoFRBMR}/sixDoFRigidBodyMotionRestraint/newSixDoFRigidBodyMotionRestraint.C + ${sDoFRBMR}/linearAxialAngularSpring/linearAxialAngularSpring.C + ${sDoFRBMR}/linearSpring/linearSpring.C + ${sDoFRBMR}/sphericalAngularSpring/sphericalAngularSpring.C + ${sDoFRBMR}/tabulatedAxialAngularSpring/tabulatedAxialAngularSpring.C +) + +set(sDoFRBMC ${sDoFRBM}/sixDoFRigidBodyMotionConstraint) + +list(APPEND sources + ${sDoFRBMC}/sixDoFRigidBodyMotionConstraint/sixDoFRigidBodyMotionConstraint.C + ${sDoFRBMC}/sixDoFRigidBodyMotionConstraint/newSixDoFRigidBodyMotionConstraint.C + ${sDoFRBMC}/fixedAxis/fixedAxis.C + ${sDoFRBMC}/fixedLine/fixedLine.C + ${sDoFRBMC}/fixedOrientation/fixedOrientation.C + ${sDoFRBMC}/fixedPlane/fixedPlane.C + ${sDoFRBMC}/fixedPoint/fixedPoint.C + pointPatchFields/derived/sixDoFRigidBodyDisplacement/sixDoFRigidBodyDisplacementPointPatchVectorField.C + pointPatchFields/derived/uncoupledSixDoFRigidBodyDisplacement/uncoupledSixDoFRigidBodyDisplacementPointPatchVectorField.C +) + +add_foam_library(forces SHARED ${sources}) + +# This is a prototype! Replace second argument with a list of the highest +# dependencies only. Inherited dependencies will be treated automatically. +target_link_libraries(forces PUBLIC incompressibleRASModels incompressibleLESModels compressibleRASModels compressibleLESModels) diff --git a/src/postProcessing/functionObjects/systemCall/CMakeLists.txt b/src/postProcessing/functionObjects/systemCall/CMakeLists.txt new file mode 100644 index 000000000..a97d2cbfb --- /dev/null +++ b/src/postProcessing/functionObjects/systemCall/CMakeLists.txt @@ -0,0 +1,42 @@ +# -------------------------------------------------------------------------- +# ======== | +# \ / F ield | foam-extend: Open Source CFD +# \ / O peration | Version: 4.1 +# \ / A nd | Web: http://www.foam-extend.org +# \/ M anipulation | For copyright notice see file Copyright +# -------------------------------------------------------------------------- +# License +# This file is part of foam-extend. +# +# foam-extend 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 3 of the License, or {at your +# option} any later version. +# +# foam-extend 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 foam-extend. If not, see . +# +# Description +# CMakeLists.txt file for libraries and applications +# +# Author +# Henrik Rusche, Wikki GmbH, 2017. All rights reserved +# +# +# -------------------------------------------------------------------------- + +list(APPEND sources + systemCall.C + systemCallFunctionObject.C +) + +add_foam_library(systemCall SHARED ${sources}) + +# This is a prototype! Replace second argument with a list of the highest +# dependencies only. Inherited dependencies will be treated automatically. +target_link_libraries(systemCall PUBLIC foam) diff --git a/src/postProcessing/functionObjects/utilities/CMakeLists.txt b/src/postProcessing/functionObjects/utilities/CMakeLists.txt new file mode 100644 index 000000000..202d7b281 --- /dev/null +++ b/src/postProcessing/functionObjects/utilities/CMakeLists.txt @@ -0,0 +1,46 @@ +# -------------------------------------------------------------------------- +# ======== | +# \ / F ield | foam-extend: Open Source CFD +# \ / O peration | Version: 4.1 +# \ / A nd | Web: http://www.foam-extend.org +# \/ M anipulation | For copyright notice see file Copyright +# -------------------------------------------------------------------------- +# License +# This file is part of foam-extend. +# +# foam-extend 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 3 of the License, or {at your +# option} any later version. +# +# foam-extend 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 foam-extend. If not, see . +# +# Description +# CMakeLists.txt file for libraries and applications +# +# Author +# Henrik Rusche, Wikki GmbH, 2017. All rights reserved +# +# +# -------------------------------------------------------------------------- + +list(APPEND sources + staticPressure/staticPressure.C + staticPressure/staticPressureFunctionObject.C + dsmcFields/dsmcFields.C + dsmcFields/dsmcFieldsFunctionObject.C + MachNumber/MachNumber.C + divFlux/divFlux.C +) + +add_foam_library(utilityFunctionObjects SHARED ${sources}) + +# This is a prototype! Replace second argument with a list of the highest +# dependencies only. Inherited dependencies will be treated automatically. +target_link_libraries(utilityFunctionObjects PUBLIC basicThermophysicalModels sampling dsmc) diff --git a/src/postProcessing/postCalc/CMakeLists.txt b/src/postProcessing/postCalc/CMakeLists.txt new file mode 100644 index 000000000..fa68d7a4f --- /dev/null +++ b/src/postProcessing/postCalc/CMakeLists.txt @@ -0,0 +1,41 @@ +# -------------------------------------------------------------------------- +# ======== | +# \ / F ield | foam-extend: Open Source CFD +# \ / O peration | Version: 4.1 +# \ / A nd | Web: http://www.foam-extend.org +# \/ M anipulation | For copyright notice see file Copyright +# -------------------------------------------------------------------------- +# License +# This file is part of foam-extend. +# +# foam-extend 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 3 of the License, or {at your +# option} any later version. +# +# foam-extend 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 foam-extend. If not, see . +# +# Description +# CMakeLists.txt file for libraries and applications +# +# Author +# Henrik Rusche, Wikki GmbH, 2017. All rights reserved +# +# +# -------------------------------------------------------------------------- + +list(APPEND sources + postCalc.C +) + +add_foam_library(postCalc SHARED ${sources}) + +# This is a prototype! Replace second argument with a list of the highest +# dependencies only. Inherited dependencies will be treated automatically. +target_link_libraries(postCalc PUBLIC finiteVolume) diff --git a/src/randomProcesses/CMakeLists.txt b/src/randomProcesses/CMakeLists.txt new file mode 100644 index 000000000..d8544e9da --- /dev/null +++ b/src/randomProcesses/CMakeLists.txt @@ -0,0 +1,59 @@ +# -------------------------------------------------------------------------- +# ======== | +# \ / F ield | foam-extend: Open Source CFD +# \ / O peration | Version: 4.1 +# \ / A nd | Web: http://www.foam-extend.org +# \/ M anipulation | For copyright notice see file Copyright +# -------------------------------------------------------------------------- +# License +# This file is part of foam-extend. +# +# foam-extend 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 3 of the License, or {at your +# option} any later version. +# +# foam-extend 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 foam-extend. If not, see . +# +# Description +# CMakeLists.txt file for libraries and applications +# +# Author +# Henrik Rusche, Wikki GmbH, 2017. All rights reserved +# +# +# -------------------------------------------------------------------------- + +set(Kmesh Kmesh) + +set(fft fft) + +set(processes processes) +set(UOprocess ${processes}/UOprocess) + +set(turbulence turbulence) + +set(noise noise) + +list(APPEND sources + ${Kmesh}/Kmesh.C + ${fft}/fft.C + ${fft}/fftRenumber.C + ${fft}/calcEk.C + ${fft}/kShellIntegration.C + ${UOprocess}/UOprocess.C + ${turbulence}/turbGen.C + ${noise}/noiseFFT.C +) + +add_foam_library(randomProcesses SHARED ${sources}) + +# This is a prototype! Replace second argument with a list of the highest +# dependencies only. Inherited dependencies will be treated automatically. +target_link_libraries(randomProcesses PUBLIC finiteVolume) diff --git a/src/sampling/CMakeLists.txt b/src/sampling/CMakeLists.txt new file mode 100644 index 000000000..987300483 --- /dev/null +++ b/src/sampling/CMakeLists.txt @@ -0,0 +1,99 @@ +# -------------------------------------------------------------------------- +# ======== | +# \ / F ield | foam-extend: Open Source CFD +# \ / O peration | Version: 4.1 +# \ / A nd | Web: http://www.foam-extend.org +# \/ M anipulation | For copyright notice see file Copyright +# -------------------------------------------------------------------------- +# License +# This file is part of foam-extend. +# +# foam-extend 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 3 of the License, or {at your +# option} any later version. +# +# foam-extend 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 foam-extend. If not, see . +# +# Description +# CMakeLists.txt file for libraries and applications +# +# Author +# Henrik Rusche, Wikki GmbH, 2017. All rights reserved +# +# +# -------------------------------------------------------------------------- + +list(APPEND sources + probes/probes.C + probes/probesFunctionObject.C + sampledSet/coordSet/coordSet.C + sampledSet/sampledSet/sampledSet.C + sampledSet/cloud/cloudSet.C + sampledSet/face/faceOnlySet.C + sampledSet/curve/curveSet.C + sampledSet/uniform/uniformSet.C + sampledSet/midPoint/midPointSet.C + sampledSet/midPointAndFace/midPointAndFaceSet.C + sampledSet/sampledSets/sampledSets.C + sampledSet/sampledSetsFunctionObject/sampledSetsFunctionObject.C +) + +set(setWriters sampledSet/writers) + +list(APPEND sources + ${setWriters}/writers.C + ${setWriters}/gnuplot/gnuplotSetWriterRunTime.C + ${setWriters}/jplot/jplotSetWriterRunTime.C + ${setWriters}/raw/rawSetWriterRunTime.C + ${setWriters}/xmgrace/xmgraceSetWriterRunTime.C + cuttingPlane/cuttingPlane.C + sampledSurface/sampledPatch/sampledPatch.C + sampledSurface/sampledPlane/sampledPlane.C + sampledSurface/isoSurface/isoSurface.C + sampledSurface/isoSurface/sampledIsoSurface.C + sampledSurface/isoSurface/isoSurfaceCell.C + sampledSurface/isoSurface/sampledIsoSurfaceCell.C + sampledSurface/distanceSurface/distanceSurface.C + sampledSurface/sampledCuttingPlane/sampledCuttingPlane.C + sampledSurface/sampledSurface/sampledSurface.C + sampledSurface/sampledSurfaces/sampledSurfaces.C + sampledSurface/sampledSurfacesFunctionObject/sampledSurfacesFunctionObject.C + sampledSurface/sampledTriSurfaceMesh/sampledTriSurfaceMesh.C + sampledSurface/thresholdCellFaces/thresholdCellFaces.C + sampledSurface/thresholdCellFaces/sampledThresholdCellFaces.C +) + +set(surfWriters sampledSurface/writers) + +list(APPEND sources + ${surfWriters}/surfaceWriters.C + ${surfWriters}/dx/dxSurfaceWriterRunTime.C + ${surfWriters}/foamFile/foamFileSurfaceWriterRunTime.C + ${surfWriters}/null/nullSurfaceWriterRunTime.C + ${surfWriters}/proxy/proxySurfaceWriterRunTime.C + ${surfWriters}/raw/rawSurfaceWriterRunTime.C + ${surfWriters}/vtk/vtkSurfaceWriterRunTime.C + graphField/writePatchGraph.C + graphField/writeCellGraph.C + graphField/makeGraph.C +) + +set(meshToMesh meshToMeshInterpolation/meshToMesh) +list(APPEND sources + ${meshToMesh}/meshToMesh.C + ${meshToMesh}/calculateMeshToMeshAddressing.C + ${meshToMesh}/calculateMeshToMeshWeights.C +) + +add_foam_library(sampling SHARED ${sources}) + +# This is a prototype! Replace second argument with a list of the highest +# dependencies only. Inherited dependencies will be treated automatically. +target_link_libraries(sampling PUBLIC finiteVolume surfMesh) diff --git a/src/solidModels/CMakeLists.txt b/src/solidModels/CMakeLists.txt new file mode 100644 index 000000000..4f5261d9b --- /dev/null +++ b/src/solidModels/CMakeLists.txt @@ -0,0 +1,139 @@ +# -------------------------------------------------------------------------- +# ======== | +# \ / F ield | foam-extend: Open Source CFD +# \ / O peration | Version: 4.1 +# \ / A nd | Web: http://www.foam-extend.org +# \/ M anipulation | For copyright notice see file Copyright +# -------------------------------------------------------------------------- +# License +# This file is part of foam-extend. +# +# foam-extend 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 3 of the License, or {at your +# option} any later version. +# +# foam-extend 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 foam-extend. If not, see . +# +# Description +# CMakeLists.txt file for libraries and applications +# +# Author +# Henrik Rusche, Wikki GmbH, 2017. All rights reserved +# +# +# -------------------------------------------------------------------------- + +set(arbitraryCrack arbitraryCrack) +list(APPEND sources + ${arbitraryCrack}/faceCracker/faceCracker.C + ${arbitraryCrack}/faceCracker/detachFaceCracker.C + ${arbitraryCrack}/crackerFvMesh/crackerFvMesh.C + ${arbitraryCrack}/solidCohesive/solidCohesiveFvPatchVectorField.C + ${arbitraryCrack}/solidCohesiveFixedModeMix/solidCohesiveFixedModeMixFvPatchVectorField.C + ${arbitraryCrack}/cohesive/cohesivePolyPatch.C +) + +set(boundaryConditions fvPatchFields) +list(APPEND sources + ${boundaryConditions}/analyticalPlateHoleTraction/analyticalPlateHoleTractionFvPatchVectorField.C + ${boundaryConditions}/fixedDisplacement/fixedDisplacementFvPatchVectorField.C + ${boundaryConditions}/fixedDisplacementFixedRotation/fixedDisplacementFixedRotationFvPatchVectorField.C + ${boundaryConditions}/fixedDisplacementZeroShear/fixedDisplacementZeroShearFvPatchVectorField.C + ${boundaryConditions}/fixedRotation/fixedRotationFvPatchVectorField.C + ${boundaryConditions}/solidContact/solidContactFvPatchVectorField.C + ${boundaryConditions}/solidDirectionMixed/solidDirectionMixedFvPatchVectorField.C + ${boundaryConditions}/solidTraction/solidTractionFvPatchVectorField.C + ${boundaryConditions}/solidTractionFree/solidTractionFreeFvPatchVectorField.C + ${boundaryConditions}/solidSymmetry/solidSymmetryFvPatchVectorField.C + ${boundaryConditions}/timeVaryingSolidTraction/timeVaryingSolidTractionFvPatchVectorField.C + ${boundaryConditions}/timeVaryingFixedDisplacement/timeVaryingFixedDisplacementFvPatchVectorField.C + ${boundaryConditions}/timeVaryingFixedDisplacementZeroShear/timeVaryingFixedDisplacementZeroShearFvPatchVectorField.C + ${boundaryConditions}/timeVaryingFixedRotation/timeVaryingFixedRotationFvPatchVectorField.C + ${boundaryConditions}/transitionalParabolicVelocity/transitionalParabolicVelocityFvPatchVectorField.C +) + +set(contactModels contactModels) +list(APPEND sources + ${contactModels}/normalContactModels/normalContactModel/normalContactModel.C + ${contactModels}/normalContactModels/normalContactModel/newNormalContactModel.C + ${contactModels}/normalContactModels/iterativePenalty/iterativePenalty.C + ${contactModels}/normalContactModels/standardPenalty/standardPenalty.C + ${contactModels}/normalContactModels/dirichletNeumann/dirichletNeumann.C + ${contactModels}/frictionContactModels/frictionContactModel/frictionContactModel.C + ${contactModels}/frictionContactModels/frictionContactModel/newFrictionContactModel.C + ${contactModels}/frictionContactModels/frictionless/frictionless.C + ${contactModels}/frictionContactModels/iterativePenaltyFriction/iterativePenaltyFriction.C + ${contactModels}/frictionContactModels/standardPenaltyFriction/standardPenaltyFriction.C + ${contactModels}/frictionContactModels/dirichletNeumannFriction/dirichletNeumannFriction.C + ${contactModels}/frictionContactModels/frictionLaws/frictionLaw/frictionLaw.C + ${contactModels}/frictionContactModels/frictionLaws/frictionLaw/newFrictionLaw.C + ${contactModels}/frictionContactModels/frictionLaws/coulombFriction/coulombFriction.C +) + +set(constitutiveModel constitutiveModel) +list(APPEND sources + ${constitutiveModel}/constitutiveModel.C + ${constitutiveModel}/plasticityStressReturnMethods/plasticityStressReturn/plasticityStressReturn.C + ${constitutiveModel}/plasticityStressReturnMethods/plasticityStressReturn/newPlasticityStressReturn.C + ${constitutiveModel}/plasticityStressReturnMethods/aravasMises/aravasMises.C + ${constitutiveModel}/plasticityStressReturnMethods/yamadaMises/yamadaMises.C + ${constitutiveModel}/solidInterfaces/solidInterface/solidInterface.C + ${constitutiveModel}/solidInterfaces/solidInterface/newSolidInterface.C + ${constitutiveModel}/solidInterfaces/smallStrain/smallStrainSolidInterface.C + ${constitutiveModel}/solidInterfaces/smallStrainCorrected/smallStrainCorrectedSolidInterface.C + ${constitutiveModel}/solidInterfaces/smallStrainOrthotropic/smallStrainOrthotropicSolidInterface.C + ${constitutiveModel}/solidInterfaces/smallStrainOrthotropicCorrected/smallStrainOrthotropicCorrectedSolidInterface.C + ${constitutiveModel}/solidInterfaces/largeStrainUL/largeStrainULSolidInterface.C + ${constitutiveModel}/solidInterfaces/largeStrainULCorrected/largeStrainULCorrectedSolidInterface.C + ${constitutiveModel}/solidInterfaces/none/noneSolidInterface.C + ${constitutiveModel}/tractionBoundaryGradient/tractionBoundaryGradient.C +) + +set(cohesiveLaws ${constitutiveModel}/cohesiveLaws) +list(APPEND sources + ${cohesiveLaws}/cohesiveLaw/cohesiveLaw.C + ${cohesiveLaws}/cohesiveLaw/newCohesiveLaw.C + ${cohesiveLaws}/multiMaterialCohesiveLaw/multiMaterialCohesiveLaw.C + ${cohesiveLaws}/dugdaleCohesiveLaw/dugdaleCohesiveLaw.C + ${cohesiveLaws}/linearCohesiveLaw/linearCohesiveLaw.C +) + +set(finiteVolume finiteVolume) +list(APPEND sources + ${finiteVolume}/gradSchemes/leastSquaresSolidInterfaceGrad/leastSquaresSolidInterfaceGrads.C + ${finiteVolume}/gradSchemes/leastSquaresSolidInterfaceGrad/leastSquaresSolidInterfaceVectors.C + nonLinearGeometry/nonLinearGeometry.C +) + +set(rheologyLaws ${constitutiveModel}/rheologyLaws) +list(APPEND sources + ${rheologyLaws}/rheologyLaw/rheologyLaw.C + ${rheologyLaws}/rheologyLaw/newRheologyLaw.C + ${rheologyLaws}/linearElastic/linearElastic.C + ${rheologyLaws}/elasticPlastic/elasticPlastic.C + ${rheologyLaws}/linearElasticTabulatedPlastic/linearElasticTabulatedPlastic.C + ${rheologyLaws}/multiMaterial/multiMaterial.C + ${rheologyLaws}/orthotropicLinearElastic/orthotropicLinearElastic.C + ${rheologyLaws}/PronyViscoelastic/PronyViscoelastic.C + thermalModel/thermalModel.C +) +set(thermalLaws thermalModel/thermalLaws) +list(APPEND sources + ${thermalLaws}/thermalLaw/thermalLaw.C + ${thermalLaws}/thermalLaw/newThermalLaw.C + ${thermalLaws}/constantThermal/constantThermal.C + ${thermalLaws}/multiMaterialThermal/multiMaterialThermal.C +) + +add_foam_library(solidModels SHARED ${sources}) + +# This is a prototype! Replace second argument with a list of the highest +# dependencies only. Inherited dependencies will be treated automatically. +target_link_libraries(solidModels PUBLIC topoChangerFvMesh finiteArea) diff --git a/src/surfMesh/CMakeLists.txt b/src/surfMesh/CMakeLists.txt new file mode 100644 index 000000000..5ca73201a --- /dev/null +++ b/src/surfMesh/CMakeLists.txt @@ -0,0 +1,87 @@ +# -------------------------------------------------------------------------- +# ======== | +# \ / F ield | foam-extend: Open Source CFD +# \ / O peration | Version: 4.1 +# \ / A nd | Web: http://www.foam-extend.org +# \/ M anipulation | For copyright notice see file Copyright +# -------------------------------------------------------------------------- +# License +# This file is part of foam-extend. +# +# foam-extend 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 3 of the License, or {at your +# option} any later version. +# +# foam-extend 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 foam-extend. If not, see . +# +# Description +# CMakeLists.txt file for libraries and applications +# +# Author +# Henrik Rusche, Wikki GmbH, 2017. All rights reserved +# +# +# -------------------------------------------------------------------------- + +list(APPEND sources + surfZone/surfZone/surfZone.C + surfZone/surfZone/surfZoneIOList.C + surfZone/surfZoneIdentifier/surfZoneIdentifier.C + MeshedSurfaceAllocator/MeshedSurfaceIOAllocator.C + MeshedSurface/MeshedSurfaceCore.C + MeshedSurface/MeshedSurfaces.C + UnsortedMeshedSurface/UnsortedMeshedSurfaces.C + MeshedSurfaceProxy/MeshedSurfaceProxyCore.C + surfaceRegistry/surfaceRegistry.C + surfMesh/surfMesh.C + surfMesh/surfMeshClear.C + surfMesh/surfMeshIO.C + surfFields/surfFields/surfFields.C + surfFields/surfPointFields/surfPointFields.C +) + +set(surfaceFormats surfaceFormats) +list(APPEND sources + ${surfaceFormats}/surfaceFormatsCore.C + ${surfaceFormats}/ac3d/AC3DsurfaceFormatCore.C + ${surfaceFormats}/ac3d/AC3DsurfaceFormatRunTime.C + ${surfaceFormats}/ftr/FTRsurfaceFormatRunTime.C + ${surfaceFormats}/gts/GTSsurfaceFormatRunTime.C + ${surfaceFormats}/nas/NASsurfaceFormatCore.C + ${surfaceFormats}/nas/NASsurfaceFormatRunTime.C + ${surfaceFormats}/obj/OBJsurfaceFormatRunTime.C + ${surfaceFormats}/off/OFFsurfaceFormatRunTime.C + ${surfaceFormats}/ofs/OFSsurfaceFormatCore.C + ${surfaceFormats}/ofs/OFSsurfaceFormatRunTime.C + ${surfaceFormats}/smesh/SMESHsurfaceFormatRunTime.C + ${surfaceFormats}/starcd/STARCDsurfaceFormatCore.C + ${surfaceFormats}/starcd/STARCDsurfaceFormatRunTime.C + ${surfaceFormats}/stl/STLsurfaceFormatCore.C + ${surfaceFormats}/stl/STLsurfaceFormatRunTime.C +) +FLEX_TARGET(STLsurfaceFormatASCII ${surfaceFormats}/stl/STLsurfaceFormatASCII.L + ${CMAKE_CURRENT_BINARY_DIR}/STLsurfaceFormatASCII.C COMPILE_FLAGS "-+") +list(APPEND sources ${FLEX_STLsurfaceFormatASCII_OUTPUTS}) +list(APPEND sources + ${surfaceFormats}/tri/TRIsurfaceFormatCore.C + ${surfaceFormats}/tri/TRIsurfaceFormatRunTime.C + ${surfaceFormats}/vtk/VTKsurfaceFormatCore.C + ${surfaceFormats}/vtk/VTKsurfaceFormatRunTime.C + ${surfaceFormats}/wrl/WRLsurfaceFormatCore.C + ${surfaceFormats}/wrl/WRLsurfaceFormatRunTime.C + ${surfaceFormats}/x3d/X3DsurfaceFormatCore.C + ${surfaceFormats}/x3d/X3DsurfaceFormatRunTime.C +) + +add_foam_library(surfMesh SHARED ${sources}) + +# This is a prototype! Replace second argument with a list of the highest +# dependencies only. Inherited dependencies will be treated automatically. +target_link_libraries(surfMesh foam) diff --git a/src/tetFiniteElement/CMakeLists.txt b/src/tetFiniteElement/CMakeLists.txt new file mode 100644 index 000000000..433d7790d --- /dev/null +++ b/src/tetFiniteElement/CMakeLists.txt @@ -0,0 +1,154 @@ +# -------------------------------------------------------------------------- +# ======== | +# \ / F ield | foam-extend: Open Source CFD +# \ / O peration | Version: 4.1 +# \ / A nd | Web: http://www.foam-extend.org +# \/ M anipulation | For copyright notice see file Copyright +# -------------------------------------------------------------------------- +# License +# This file is part of foam-extend. +# +# foam-extend 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 3 of the License, or {at your +# option} any later version. +# +# foam-extend 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 foam-extend. If not, see . +# +# Description +# CMakeLists.txt file for libraries and applications +# +# Author +# Henrik Rusche, Wikki GmbH, 2017. All rights reserved +# +# +# -------------------------------------------------------------------------- + +set(tetPolyMesh tetPolyMesh) +set(tetPolyBoundaryMesh ${tetPolyMesh}/tetPolyBoundaryMesh) +set(tetPolyPatches ${tetPolyMesh}/tetPolyPatches) +set(tetPolyPatch ${tetPolyPatches}/tetPolyPatch) +set(faceTetPolyPatch ${tetPolyPatches}/faceTetPolyPatch) +set(basicTetPolyPatches ${tetPolyPatches}/basic) +set(constraintTetPolyPatches ${tetPolyPatches}/constraint) +set(derivedTetPolyPatches ${tetPolyPatches}/derived) +set(coupledTetPolyPatch ${basicTetPolyPatches}/coupled) +set(coupledFaceTetPolyPatch ${basicTetPolyPatches}/coupledFace) +set(emptyTetPolyPatch ${constraintTetPolyPatches}/empty) +set(symmetryTetPolyPatch ${constraintTetPolyPatches}/symmetry) +set(wedgeTetPolyPatch ${constraintTetPolyPatches}/wedge) +set(processorTetPolyPatch ${constraintTetPolyPatches}/processor) +set(ggiTetPolyPatch ${constraintTetPolyPatches}/ggi) +set(cyclicGgiTetPolyPatch ${constraintTetPolyPatches}/cyclicGgi) +set(mixingPlaneTetPolyPatch ${constraintTetPolyPatches}/mixingPlane) +set(globalTetPolyPatch ${constraintTetPolyPatches}/global) +set(wallTetPolyPatch ${derivedTetPolyPatches}/wall) +set(directMappedTetPolyPatch ${derivedTetPolyPatches}/directMapped) + +set(MapTetFemFields ${tetPolyMesh}/MapTetFemFields) + +set(tetPolyPatchInterpolation tetPolyPatchInterpolation) + +list(APPEND sources + ${tetPolyPatch}/tetPolyPatch.C + ${faceTetPolyPatch}/faceTetPolyPatch.C + ${faceTetPolyPatch}/newFaceTetPolyPatch.C + ${coupledTetPolyPatch}/coupledTetPolyPatch.C + ${emptyTetPolyPatch}/emptyTetPolyPatch.C + ${symmetryTetPolyPatch}/symmetryTetPolyPatch.C + ${wedgeTetPolyPatch}/wedgeTetPolyPatch.C + ${coupledFaceTetPolyPatch}/coupledFaceTetPolyPatch.C + ${processorTetPolyPatch}/processorTetPolyPatchM.C + ${processorTetPolyPatch}/calcProcessorTetPolyPatchAddr.C + ${processorTetPolyPatch}/calcProcessorTetPolyPatchPointAddr.C + ${ggiTetPolyPatch}/ggiTetPolyPatch.C + ${cyclicGgiTetPolyPatch}/cyclicGgiTetPolyPatch.C + ${mixingPlaneTetPolyPatch}/mixingPlaneTetPolyPatch.C + ${globalTetPolyPatch}/globalTetPolyPatch.C + ${globalTetPolyPatch}/calcGlobalTetPolyPatchAddr.C + ${wallTetPolyPatch}/wallTetPolyPatch.C + ${directMappedTetPolyPatch}/directMappedTetPolyPatch.C + ${directMappedTetPolyPatch}/directMappedWallTetPolyPatch.C + ${tetPolyBoundaryMesh}/tetPolyBoundaryMesh.C + ${tetPolyMesh}/tetPolyMeshLduAddressing.C + ${tetPolyMesh}/tetPolyMesh.C + ${tetPolyMesh}/calcTetPolyMeshGeometry.C + ${tetPolyMesh}/calcTetPolyMeshAddressing.C + ${tetPolyMesh}/addParallelPointPatch.C + ${tetPolyMesh}/calcTetPolyMeshParPointData.C + ${MapTetFemFields}/tetPointMapper.C + ${MapTetFemFields}/tetPolyPatchMapper.C + ${tetPolyPatchInterpolation}/tetPolyPatchInterpolation.C +) + +set(tetPolyPatchFields fields/tetPolyPatchFields) +list(APPEND sources + ${tetPolyPatchFields}/tetPolyPatchField/tetPolyPatchFields.C +) + +set(basicTetPolyPatchFields ${tetPolyPatchFields}/basic) +list(APPEND sources + ${basicTetPolyPatchFields}/calculated/calculatedTetPolyPatchFields.C + ${basicTetPolyPatchFields}/coupled/coupledTetPolyPatchFields.C + ${basicTetPolyPatchFields}/coupledFace/coupledFaceTetPolyPatchFields.C + ${basicTetPolyPatchFields}/generic/genericTetPolyPatchFields.C + ${basicTetPolyPatchFields}/value/valueTetPolyPatchFields.C + ${basicTetPolyPatchFields}/fixedValue/fixedValueTetPolyPatchFields.C + ${basicTetPolyPatchFields}/mixed/mixedTetPolyPatchFields.C + ${basicTetPolyPatchFields}/zeroGradient/zeroGradientTetPolyPatchFields.C +) + +set(constraintTetPolyPatchFields ${tetPolyPatchFields}/constraint) +list(APPEND sources + ${constraintTetPolyPatchFields}/empty/emptyTetPolyPatchFields.C + ${constraintTetPolyPatchFields}/wedge/wedgeTetPolyPatchFields.C + ${constraintTetPolyPatchFields}/symmetry/symmetryTetPolyPatchFields.C + ${constraintTetPolyPatchFields}/processor/processorTetPolyPatchFields.C +) + +set(derivedTetPolyPatchFields ${tetPolyPatchFields}/derived) +list(APPEND sources + ${derivedTetPolyPatchFields}/global/globalTetPolyPatchFields.C + ${derivedTetPolyPatchFields}/componentMixed/componentMixedTetPolyPatchVectorField.C + ${derivedTetPolyPatchFields}/oscillatingFixedValue/oscillatingFixedValueTetPolyPatchFields.C + ${derivedTetPolyPatchFields}/timeVaryingUniformFixedValue/timeVaryingUniformFixedValueTetPolyPatchFields.C + ${derivedTetPolyPatchFields}/slip/slipTetPolyPatchFields.C +) + +set(elementPatchFields fields/elementPatchFields) +list(APPEND sources + ${elementPatchFields}/elementPatchField/elementPatchFields.C +) + +set(basicElementPatchFields ${elementPatchFields}/basic) +list(APPEND sources + ${basicElementPatchFields}/calculated/calculatedElementPatchFields.C + ${basicElementPatchFields}/coupled/coupledElementPatchFields.C + ${basicElementPatchFields}/coupledFace/coupledFaceElementPatchFields.C + ${basicElementPatchFields}/value/valueElementPatchFields.C +) + +set(constraintElementPatchFields ${elementPatchFields}/constraint) +list(APPEND sources + ${constraintElementPatchFields}/empty/emptyElementPatchFields.C + ${constraintElementPatchFields}/wedge/wedgeElementPatchFields.C + ${constraintElementPatchFields}/symmetry/symmetryElementPatchFields.C + ${constraintElementPatchFields}/processor/processorElementPatchFields.C + ${constraintElementPatchFields}/global/globalElementPatchFields.C + fields/tetPointFields/tetPointFields.C + fields/elementFields/elementFields.C + tetFemMatrix/tetFemScalarMatrix.C + tetFemMatrix/tetFemMatrices.C +) + +add_foam_library(tetFiniteElement SHARED ${sources}) + +# This is a prototype! Replace second argument with a list of the highest +# dependencies only. Inherited dependencies will be treated automatically. +target_link_libraries(tetFiniteElement PUBLIC meshTools) diff --git a/src/thermophysicalModels/CMakeLists.txt b/src/thermophysicalModels/CMakeLists.txt new file mode 100644 index 000000000..4724a1ce6 --- /dev/null +++ b/src/thermophysicalModels/CMakeLists.txt @@ -0,0 +1,44 @@ +# --------------------------------------------------------------------------# ======== | +# \ / F ield | foam-extend: Open Source CFD +# \ / O peration | Version: 4.1 +# \ / A nd | Web: http://www.foam-extend.org +# \/ M anipulation | For copyright notice see file Copyright +# -------------------------------------------------------------------------- +# License +# This file is part of foam-extend. +# +# foam-extend 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 3 of the License, or {at your +# option} any later version. +# +# foam-extend 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 foam-extend. If not, see . +# +# Description +# CMakeLists.txt file for libraries and applications +# +# Author +# Henrik Rusche, Wikki GmbH, 2017. All rights reserved +# +# +# -------------------------------------------------------------------------- + +add_subdirectory(laminarFlameSpeed) +add_subdirectory(liquidMixture) +add_subdirectory(radiation) +add_subdirectory(barotropicCompressibilityModel) +add_subdirectory(specie) +add_subdirectory(solids) +add_subdirectory(thermophysicalFunctions) +add_subdirectory(liquids) +add_subdirectory(basic) +add_subdirectory(pdfs) +add_subdirectory(reactionThermo) +add_subdirectory(solidMixture) +add_subdirectory(chemistryModel) \ No newline at end of file diff --git a/src/thermophysicalModels/barotropicCompressibilityModel/CMakeLists.txt b/src/thermophysicalModels/barotropicCompressibilityModel/CMakeLists.txt new file mode 100644 index 000000000..4bf6a48e1 --- /dev/null +++ b/src/thermophysicalModels/barotropicCompressibilityModel/CMakeLists.txt @@ -0,0 +1,45 @@ +# -------------------------------------------------------------------------- +# ======== | +# \ / F ield | foam-extend: Open Source CFD +# \ / O peration | Version: 4.1 +# \ / A nd | Web: http://www.foam-extend.org +# \/ M anipulation | For copyright notice see file Copyright +# -------------------------------------------------------------------------- +# License +# This file is part of foam-extend. +# +# foam-extend 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 3 of the License, or {at your +# option} any later version. +# +# foam-extend 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 foam-extend. If not, see . +# +# Description +# CMakeLists.txt file for libraries and applications +# +# Author +# Henrik Rusche, Wikki GmbH, 2017. All rights reserved +# +# +# -------------------------------------------------------------------------- + +list(APPEND sources + barotropicCompressibilityModel/barotropicCompressibilityModel.C + barotropicCompressibilityModel/newBarotropicCompressibilityModel.C + linear/linear.C + Wallis/Wallis.C + Chung/Chung.C +) + +add_foam_library(barotropicCompressibilityModel SHARED ${sources}) + +# This is a prototype! Replace second argument with a list of the highest +# dependencies only. Inherited dependencies will be treated automatically. +target_link_libraries(barotropicCompressibilityModel finiteVolume) diff --git a/src/thermophysicalModels/basic/CMakeLists.txt b/src/thermophysicalModels/basic/CMakeLists.txt new file mode 100644 index 000000000..d966c9d0e --- /dev/null +++ b/src/thermophysicalModels/basic/CMakeLists.txt @@ -0,0 +1,68 @@ +# -------------------------------------------------------------------------- +# ======== | +# \ / F ield | foam-extend: Open Source CFD +# \ / O peration | Version: 4.1 +# \ / A nd | Web: http://www.foam-extend.org +# \/ M anipulation | For copyright notice see file Copyright +# -------------------------------------------------------------------------- +# License +# This file is part of foam-extend. +# +# foam-extend 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 3 of the License, or {at your +# option} any later version. +# +# foam-extend 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 foam-extend. If not, see . +# +# Description +# CMakeLists.txt file for libraries and applications +# +# Author +# Henrik Rusche, Wikki GmbH, 2017. All rights reserved +# +# +# -------------------------------------------------------------------------- + +list(APPEND sources + mixtures/basicMixture/basicMixture.C + mixtures/basicMixture/basicMixtures.C + basicThermo/basicThermo.C + psiThermo/basicPsiThermo/basicPsiThermo.C + psiThermo/basicPsiThermo/newBasicPsiThermo.C + psiThermo/hPsiThermo/hPsiThermos.C + psiThermo/hsPsiThermo/hsPsiThermos.C + psiThermo/ePsiThermo/ePsiThermos.C + psiThermo/realGasHThermo/realGasHThermos.C + psiThermo/realGasEThermo/realGasEThermos.C + rhoThermo/basicRhoThermo/basicRhoThermo.C + rhoThermo/basicRhoThermo/newBasicRhoThermo.C + rhoThermo/hRhoThermo/hRhoThermos.C + rhoThermo/hsRhoThermo/hsRhoThermos.C + IAPWS_Waterproperties/IAPWSThermo/IAPWS-IF97.C + IAPWS_Waterproperties/IAPWSThermo/IAPWSThermos.C + derivedFvPatchFields/fixedEnthalpy/fixedEnthalpyFvPatchScalarField.C + derivedFvPatchFields/gradientEnthalpy/gradientEnthalpyFvPatchScalarField.C + derivedFvPatchFields/mixedEnthalpy/mixedEnthalpyFvPatchScalarField.C + derivedFvPatchFields/fixedInternalEnergy/fixedInternalEnergyFvPatchScalarField.C + derivedFvPatchFields/gradientInternalEnergy/gradientInternalEnergyFvPatchScalarField.C + derivedFvPatchFields/mixedInternalEnergy/mixedInternalEnergyFvPatchScalarField.C + derivedFvPatchFields/ggiEnthalpyJump/ggiEnthalpyJumpFvPatchFields.C + derivedFvPatchFields/mixingPlaneEnthalpyJump/mixingPlaneEnthalpyJumpFvPatchFields.C + derivedFvPatchFields/wallHeatTransfer/wallHeatTransferFvPatchScalarField.C + derivedFvPatchFields/temperatureDirectedInletOutletVelocity/temperatureDirectedInletOutletVelocityFvPatchVectorField.C + derivedFvPatchFields/isentropicTotalPressure/isentropicTotalPressureFvPatchScalarField.C + derivedFvPatchFields/isentropicTotalTemperature/isentropicTotalTemperatureFvPatchScalarField.C +) + +add_foam_library(basicThermophysicalModels SHARED ${sources}) + +# This is a prototype! Replace second argument with a list of the highest +# dependencies only. Inherited dependencies will be treated automatically. +target_link_libraries(basicThermophysicalModels PUBLIC finiteVolume specie thermophysicalFunctions) diff --git a/src/thermophysicalModels/chemistryModel/CMakeLists.txt b/src/thermophysicalModels/chemistryModel/CMakeLists.txt new file mode 100644 index 000000000..ea2f1706e --- /dev/null +++ b/src/thermophysicalModels/chemistryModel/CMakeLists.txt @@ -0,0 +1,48 @@ +# -------------------------------------------------------------------------- +# ======== | +# \ / F ield | foam-extend: Open Source CFD +# \ / O peration | Version: 4.1 +# \ / A nd | Web: http://www.foam-extend.org +# \/ M anipulation | For copyright notice see file Copyright +# -------------------------------------------------------------------------- +# License +# This file is part of foam-extend. +# +# foam-extend 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 3 of the License, or {at your +# option} any later version. +# +# foam-extend 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 foam-extend. If not, see . +# +# Description +# CMakeLists.txt file for libraries and applications +# +# Author +# Henrik Rusche, Wikki GmbH, 2017. All rights reserved +# +# +# -------------------------------------------------------------------------- + +list(APPEND sources + chemistryModel/basicChemistryModel/basicChemistryModel.C + chemistryModel/psiChemistryModel/psiChemistryModel.C + chemistryModel/psiChemistryModel/newPsiChemistryModel.C + chemistryModel/psiChemistryModel/psiChemistryModels.C + chemistryModel/rhoChemistryModel/rhoChemistryModel.C + chemistryModel/rhoChemistryModel/newRhoChemistryModel.C + chemistryModel/rhoChemistryModel/rhoChemistryModels.C + chemistrySolver/chemistrySolver/makeChemistrySolvers.C +) + +add_foam_library(chemistryModel SHARED ${sources}) + +# This is a prototype! Replace second argument with a list of the highest +# dependencies only. Inherited dependencies will be treated automatically. +target_link_libraries(chemistryModel PUBLIC reactionThermophysicalModels ODE) diff --git a/src/thermophysicalModels/laminarFlameSpeed/CMakeLists.txt b/src/thermophysicalModels/laminarFlameSpeed/CMakeLists.txt new file mode 100644 index 000000000..915e41288 --- /dev/null +++ b/src/thermophysicalModels/laminarFlameSpeed/CMakeLists.txt @@ -0,0 +1,45 @@ +# -------------------------------------------------------------------------- +# ======== | +# \ / F ield | foam-extend: Open Source CFD +# \ / O peration | Version: 4.1 +# \ / A nd | Web: http://www.foam-extend.org +# \/ M anipulation | For copyright notice see file Copyright +# -------------------------------------------------------------------------- +# License +# This file is part of foam-extend. +# +# foam-extend 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 3 of the License, or {at your +# option} any later version. +# +# foam-extend 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 foam-extend. If not, see . +# +# Description +# CMakeLists.txt file for libraries and applications +# +# Author +# Henrik Rusche, Wikki GmbH, 2017. All rights reserved +# +# +# -------------------------------------------------------------------------- + +list(APPEND sources + laminarFlameSpeed/laminarFlameSpeed.C + laminarFlameSpeed/newLaminarFlameSpeed.C + constant/constant.C + Gulders/Gulders.C + GuldersEGR/GuldersEGR.C +) + +add_foam_library(laminarFlameSpeedModels SHARED ${sources}) + +# This is a prototype! Replace second argument with a list of the highest +# dependencies only. Inherited dependencies will be treated automatically. +target_link_libraries(laminarFlameSpeedModels PUBLIC reactionThermophysicalModels) diff --git a/src/thermophysicalModels/liquidMixture/CMakeLists.txt b/src/thermophysicalModels/liquidMixture/CMakeLists.txt new file mode 100644 index 000000000..a3d90bdf4 --- /dev/null +++ b/src/thermophysicalModels/liquidMixture/CMakeLists.txt @@ -0,0 +1,44 @@ +# -------------------------------------------------------------------------- +# ======== | +# \ / F ield | foam-extend: Open Source CFD +# \ / O peration | Version: 4.1 +# \ / A nd | Web: http://www.foam-extend.org +# \/ M anipulation | For copyright notice see file Copyright +# -------------------------------------------------------------------------- +# License +# This file is part of foam-extend. +# +# foam-extend 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 3 of the License, or {at your +# option} any later version. +# +# foam-extend 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 foam-extend. If not, see . +# +# Description +# CMakeLists.txt file for libraries and applications +# +# Author +# Henrik Rusche, Wikki GmbH, 2017. All rights reserved +# +# +# -------------------------------------------------------------------------- + +set(liquidMixture liquidMixture) + +list(APPEND sources + ${liquidMixture}/liquidMixture.C + ${liquidMixture}/liquidMixtureIO.C +) + +add_foam_library(liquidMixture SHARED ${sources}) + +# This is a prototype! Replace second argument with a list of the highest +# dependencies only. Inherited dependencies will be treated automatically. +target_link_libraries(liquidMixture liquids specie) diff --git a/src/thermophysicalModels/liquids/CMakeLists.txt b/src/thermophysicalModels/liquids/CMakeLists.txt new file mode 100644 index 000000000..ec4e2af30 --- /dev/null +++ b/src/thermophysicalModels/liquids/CMakeLists.txt @@ -0,0 +1,71 @@ +# -------------------------------------------------------------------------- +# ======== | +# \ / F ield | foam-extend: Open Source CFD +# \ / O peration | Version: 4.1 +# \ / A nd | Web: http://www.foam-extend.org +# \/ M anipulation | For copyright notice see file Copyright +# -------------------------------------------------------------------------- +# License +# This file is part of foam-extend. +# +# foam-extend 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 3 of the License, or {at your +# option} any later version. +# +# foam-extend 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 foam-extend. If not, see . +# +# Description +# CMakeLists.txt file for libraries and applications +# +# Author +# Henrik Rusche, Wikki GmbH, 2017. All rights reserved +# +# +# -------------------------------------------------------------------------- + +list(APPEND sources + liquid/liquid.C + H2O/H2O.C + C7H16/C7H16.C + C12H26/C12H26.C + C10H22/C10H22.C + C8H18/C8H18.C + IC8H18/IC8H18.C + C4H10O/C4H10O.C + C2H6O/C2H6O.C + IDEA/IDEA.C + aC10H7CH3/aC10H7CH3.C + bC10H7CH3/bC10H7CH3.C + C8H10/C8H10.C + C16H34/C16H34.C + C9H20/C9H20.C + C6H6/C6H6.C + C7H8/C7H8.C + C6H14/C6H14.C + C13H28/C13H28.C + C14H30/C14H30.C + C3H8/C3H8.C + C3H6O/C3H6O.C + C2H6/C2H6.C + CH3OH/CH3OH.C + C2H5OH/C2H5OH.C + Ar/Ar.C + N2/N2.C + MB/MB.C + CH4N2O/CH4N2O.C + nC3H8O/nC3H8O.C + iC3H8O/iC3H8O.C +) + +add_foam_library(liquids SHARED ${sources}) + +# This is a prototype! Replace second argument with a list of the highest +# dependencies only. Inherited dependencies will be treated automatically. +target_link_libraries(liquids thermophysicalFunctions) diff --git a/src/thermophysicalModels/pdfs/CMakeLists.txt b/src/thermophysicalModels/pdfs/CMakeLists.txt new file mode 100644 index 000000000..e9a280d29 --- /dev/null +++ b/src/thermophysicalModels/pdfs/CMakeLists.txt @@ -0,0 +1,54 @@ +# -------------------------------------------------------------------------- +# ======== | +# \ / F ield | foam-extend: Open Source CFD +# \ / O peration | Version: 4.1 +# \ / A nd | Web: http://www.foam-extend.org +# \/ M anipulation | For copyright notice see file Copyright +# -------------------------------------------------------------------------- +# License +# This file is part of foam-extend. +# +# foam-extend 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 3 of the License, or {at your +# option} any later version. +# +# foam-extend 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 foam-extend. If not, see . +# +# Description +# CMakeLists.txt file for libraries and applications +# +# Author +# Henrik Rusche, Wikki GmbH, 2017. All rights reserved +# +# +# -------------------------------------------------------------------------- + +set(pdf pdf) +set(uniform uniform) +set(normal normal) +set(general general) +set(exponential exponential) +set(RosinRammler RosinRammler) + +list(APPEND sources + ${pdf}/pdf.C + ${pdf}/newPdf.C + ${uniform}/uniform.C + ${normal}/normal.C + ${general}/general.C + ${exponential}/exponential.C + ${RosinRammler}/RosinRammler.C +) + +add_foam_library(pdf SHARED ${sources}) + +# This is a prototype! Replace second argument with a list of the highest +# dependencies only. Inherited dependencies will be treated automatically. +target_link_libraries(pdf PUBLIC foam) diff --git a/src/thermophysicalModels/radiation/CMakeLists.txt b/src/thermophysicalModels/radiation/CMakeLists.txt new file mode 100644 index 000000000..e46c7f464 --- /dev/null +++ b/src/thermophysicalModels/radiation/CMakeLists.txt @@ -0,0 +1,85 @@ +# -------------------------------------------------------------------------- +# ======== | +# \ / F ield | foam-extend: Open Source CFD +# \ / O peration | Version: 4.1 +# \ / A nd | Web: http://www.foam-extend.org +# \/ M anipulation | For copyright notice see file Copyright +# -------------------------------------------------------------------------- +# License +# This file is part of foam-extend. +# +# foam-extend 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 3 of the License, or {at your +# option} any later version. +# +# foam-extend 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 foam-extend. If not, see . +# +# Description +# CMakeLists.txt file for libraries and applications +# +# Author +# Henrik Rusche, Wikki GmbH, 2017. All rights reserved +# +# +# -------------------------------------------------------------------------- + +# Radiation constants +list(APPEND sources + radiationConstants/radiationConstants.C +) + +# Radiation model +list(APPEND sources + radiationModel/radiationModel/radiationModel.C + radiationModel/radiationModel/newRadiationModel.C + radiationModel/noRadiation/noRadiation.C + radiationModel/P1/P1.C + radiationModel/fvDOM/fvDOM/fvDOM.C + radiationModel/fvDOM/radiativeIntensityRay/radiativeIntensityRay.C + radiationModel/fvDOM/blackBodyEmission/blackBodyEmission.C + radiationModel/fvDOM/absorptionCoeffs/absorptionCoeffs.C + radiationModel/viewFactor/viewFactor.C +) + +# Scatter model +list(APPEND sources + submodels/scatterModel/scatterModel/scatterModel.C + submodels/scatterModel/scatterModel/newScatterModel.C + submodels/scatterModel/constantScatter/constantScatter.C +) + + +# Absorption/Emission model +list(APPEND sources + submodels/absorptionEmissionModel/absorptionEmissionModel/absorptionEmissionModel.C + submodels/absorptionEmissionModel/absorptionEmissionModel/newAbsorptionEmissionModel.C + submodels/absorptionEmissionModel/noAbsorptionEmission/noAbsorptionEmission.C + submodels/absorptionEmissionModel/constantAbsorptionEmission/constantAbsorptionEmission.C + submodels/absorptionEmissionModel/binaryAbsorptionEmission/binaryAbsorptionEmission.C + submodels/absorptionEmissionModel/greyMeanAbsorptionEmission/greyMeanAbsorptionEmission.C + submodels/absorptionEmissionModel/wideBandAbsorptionEmission/wideBandAbsorptionEmission.C +) + + +# Boundary conditions +list(APPEND sources + derivedFvPatchFields/MarshakRadiation/MarshakRadiationMixedFvPatchScalarField.C + derivedFvPatchFields/MarshakRadiationFixedT/MarshakRadiationFixedTMixedFvPatchScalarField.C + derivedFvPatchFields/greyDiffusiveRadiation/greyDiffusiveRadiationMixedFvPatchScalarField.C + derivedFvPatchFields/wideBandDiffusiveRadiation/wideBandDiffusiveRadiationMixedFvPatchScalarField.C + derivedFvPatchFields/wideBandSpecularRadiation/wideBandSpecularRadiationMixedFvPatchScalarField.C + derivedFvPatchFields/greyDiffusiveViewFactor/greyDiffusiveViewFactorFixedValueFvPatchScalarField.C +) + +add_foam_library(radiation SHARED ${sources}) + +# This is a prototype! Replace second argument with a list of the highest +# dependencies only. Inherited dependencies will be treated automatically. +target_link_libraries(radiation PUBLIC basicThermophysicalModels) diff --git a/src/thermophysicalModels/reactionThermo/CMakeLists.txt b/src/thermophysicalModels/reactionThermo/CMakeLists.txt new file mode 100644 index 000000000..126c5e6a0 --- /dev/null +++ b/src/thermophysicalModels/reactionThermo/CMakeLists.txt @@ -0,0 +1,66 @@ +# -------------------------------------------------------------------------- +# ======== | +# \ / F ield | foam-extend: Open Source CFD +# \ / O peration | Version: 4.1 +# \ / A nd | Web: http://www.foam-extend.org +# \/ M anipulation | For copyright notice see file Copyright +# -------------------------------------------------------------------------- +# License +# This file is part of foam-extend. +# +# foam-extend 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 3 of the License, or {at your +# option} any later version. +# +# foam-extend 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 foam-extend. If not, see . +# +# Description +# CMakeLists.txt file for libraries and applications +# +# Author +# Henrik Rusche, Wikki GmbH, 2017. All rights reserved +# +# +# -------------------------------------------------------------------------- + +list(APPEND sources + chemistryReaders/chemkinReader/chemkinReader.C +) +FLEX_TARGET(chemkinLexer chemistryReaders/chemkinReader/chemkinLexer.L + ${CMAKE_CURRENT_BINARY_DIR}/chemkinLexer.C COMPILE_FLAGS "-+") +list(APPEND sources ${FLEX_chemkinLexer_OUTPUTS}) +list(APPEND sources + chemistryReaders/chemistryReader/makeChemistryReaders.C + mixtures/basicMultiComponentMixture/basicMultiComponentMixture.C + combustionThermo/hCombustionThermo/hCombustionThermo.C + combustionThermo/hCombustionThermo/newhCombustionThermo.C + combustionThermo/hCombustionThermo/hCombustionThermos.C + combustionThermo/hsCombustionThermo/hsCombustionThermo.C + combustionThermo/hsCombustionThermo/newhsCombustionThermo.C + combustionThermo/hsCombustionThermo/hsCombustionThermos.C + combustionThermo/hhuCombustionThermo/hhuCombustionThermo.C + combustionThermo/hhuCombustionThermo/newhhuCombustionThermo.C + combustionThermo/hhuCombustionThermo/hhuCombustionThermos.C + reactionThermo/hReactionThermo/hReactionThermo.C + reactionThermo/hReactionThermo/newhReactionThermo.C + reactionThermo/hReactionThermo/hReactionThermos.C + reactionThermo/hsReactionThermo/hsReactionThermo.C + reactionThermo/hsReactionThermo/newhsReactionThermo.C + reactionThermo/hsReactionThermo/hsReactionThermos.C + derivedFvPatchFields/fixedUnburntEnthalpy/fixedUnburntEnthalpyFvPatchScalarField.C + derivedFvPatchFields/gradientUnburntEnthalpy/gradientUnburntEnthalpyFvPatchScalarField.C + derivedFvPatchFields/mixedUnburntEnthalpy/mixedUnburntEnthalpyFvPatchScalarField.C +) + +add_foam_library(reactionThermophysicalModels SHARED ${sources}) + +# This is a prototype! Replace second argument with a list of the highest +# dependencies only. Inherited dependencies will be treated automatically. +target_link_libraries(reactionThermophysicalModels PUBLIC basicThermophysicalModels) diff --git a/src/thermophysicalModels/solidMixture/CMakeLists.txt b/src/thermophysicalModels/solidMixture/CMakeLists.txt new file mode 100644 index 000000000..30720316b --- /dev/null +++ b/src/thermophysicalModels/solidMixture/CMakeLists.txt @@ -0,0 +1,41 @@ +# -------------------------------------------------------------------------- +# ======== | +# \ / F ield | foam-extend: Open Source CFD +# \ / O peration | Version: 4.1 +# \ / A nd | Web: http://www.foam-extend.org +# \/ M anipulation | For copyright notice see file Copyright +# -------------------------------------------------------------------------- +# License +# This file is part of foam-extend. +# +# foam-extend 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 3 of the License, or {at your +# option} any later version. +# +# foam-extend 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 foam-extend. If not, see . +# +# Description +# CMakeLists.txt file for libraries and applications +# +# Author +# Henrik Rusche, Wikki GmbH, 2017. All rights reserved +# +# +# -------------------------------------------------------------------------- + +list(APPEND sources + solidMixture/solidMixture.C +) + +add_foam_library(solidMixture SHARED ${sources}) + +# This is a prototype! Replace second argument with a list of the highest +# dependencies only. Inherited dependencies will be treated automatically. +target_link_libraries(solidMixture PUBLIC solids) diff --git a/src/thermophysicalModels/solids/CMakeLists.txt b/src/thermophysicalModels/solids/CMakeLists.txt new file mode 100644 index 000000000..3b19d5f53 --- /dev/null +++ b/src/thermophysicalModels/solids/CMakeLists.txt @@ -0,0 +1,45 @@ +# -------------------------------------------------------------------------- +# ======== | +# \ / F ield | foam-extend: Open Source CFD +# \ / O peration | Version: 4.1 +# \ / A nd | Web: http://www.foam-extend.org +# \/ M anipulation | For copyright notice see file Copyright +# -------------------------------------------------------------------------- +# License +# This file is part of foam-extend. +# +# foam-extend 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 3 of the License, or {at your +# option} any later version. +# +# foam-extend 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 foam-extend. If not, see . +# +# Description +# CMakeLists.txt file for libraries and applications +# +# Author +# Henrik Rusche, Wikki GmbH, 2017. All rights reserved +# +# +# -------------------------------------------------------------------------- + +list(APPEND sources + solid/solid.C + solid/newSolid.C + ash/ash.C + C/C.C + CaCO3/CaCO3.C +) + +add_foam_library(solids SHARED ${sources}) + +# This is a prototype! Replace second argument with a list of the highest +# dependencies only. Inherited dependencies will be treated automatically. +target_link_libraries(solids PUBLIC foam) diff --git a/src/thermophysicalModels/specie/CMakeLists.txt b/src/thermophysicalModels/specie/CMakeLists.txt new file mode 100644 index 000000000..47d15192e --- /dev/null +++ b/src/thermophysicalModels/specie/CMakeLists.txt @@ -0,0 +1,57 @@ +# -------------------------------------------------------------------------- +# ======== | +# \ / F ield | foam-extend: Open Source CFD +# \ / O peration | Version: 4.1 +# \ / A nd | Web: http://www.foam-extend.org +# \/ M anipulation | For copyright notice see file Copyright +# -------------------------------------------------------------------------- +# License +# This file is part of foam-extend. +# +# foam-extend 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 3 of the License, or {at your +# option} any later version. +# +# foam-extend 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 foam-extend. If not, see . +# +# Description +# CMakeLists.txt file for libraries and applications +# +# Author +# Henrik Rusche, Wikki GmbH, 2017. All rights reserved +# +# +# -------------------------------------------------------------------------- + +set(atomicWeights atomicWeights) +set(specie specie) +set(speciesTable speciesTable) +set(equationOfState equationOfState) +set(reactions reaction/reactions) + +list(APPEND sources + ${atomicWeights}/atomicWeights.C + ${specie}/specie.C + ${speciesTable}/speciesTable.C + ${equationOfState}/perfectGas/perfectGas.C + ${equationOfState}/cubicEquationOfState/redlichKwong/redlichKwong.C + ${equationOfState}/cubicEquationOfState/aungierRedlichKwong/aungierRedlichKwong.C + ${equationOfState}/cubicEquationOfState/pengRobinson/pengRobinson.C + ${equationOfState}/cubicEquationOfState/soaveRedlichKwong/soaveRedlichKwong.C + ${reactions}/makeChemkinReactions.C + ${reactions}/makeReactionThermoReactions.C + ${reactions}/makeLangmuirHinshelwoodReactions.C +) + +add_foam_library(specie SHARED ${sources}) + +# This is a prototype! Replace second argument with a list of the highest +# dependencies only. Inherited dependencies will be treated automatically. +target_link_libraries(specie PUBLIC foam) diff --git a/src/thermophysicalModels/thermophysicalFunctions/CMakeLists.txt b/src/thermophysicalModels/thermophysicalFunctions/CMakeLists.txt new file mode 100644 index 000000000..19af3f437 --- /dev/null +++ b/src/thermophysicalModels/thermophysicalFunctions/CMakeLists.txt @@ -0,0 +1,73 @@ +# -------------------------------------------------------------------------- +# ======== | +# \ / F ield | foam-extend: Open Source CFD +# \ / O peration | Version: 4.1 +# \ / A nd | Web: http://www.foam-extend.org +# \/ M anipulation | For copyright notice see file Copyright +# -------------------------------------------------------------------------- +# License +# This file is part of foam-extend. +# +# foam-extend 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 3 of the License, or {at your +# option} any later version. +# +# foam-extend 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 foam-extend. If not, see . +# +# Description +# CMakeLists.txt file for libraries and applications +# +# Author +# Henrik Rusche, Wikki GmbH, 2017. All rights reserved +# +# +# -------------------------------------------------------------------------- + +set(thermophysicalFunction thermophysicalFunction) +set(NSRDSfunctions NSRDSfunctions) +set(APIfunctions APIfunctions) + +list(APPEND sources + ${thermophysicalFunction}/thermophysicalFunction.C + ${NSRDSfunctions}/NSRDSfunc0/NSRDSfunc0.C + ${NSRDSfunctions}/NSRDSfunc1/NSRDSfunc1.C + ${NSRDSfunctions}/NSRDSfunc2/NSRDSfunc2.C + ${NSRDSfunctions}/NSRDSfunc3/NSRDSfunc3.C + ${NSRDSfunctions}/NSRDSfunc4/NSRDSfunc4.C + ${NSRDSfunctions}/NSRDSfunc5/NSRDSfunc5.C + ${NSRDSfunctions}/NSRDSfunc6/NSRDSfunc6.C + ${NSRDSfunctions}/NSRDSfunc7/NSRDSfunc7.C + ${NSRDSfunctions}/NSRDSfunc14/NSRDSfunc14.C + ${APIfunctions}/APIdiffCoefFunc/APIdiffCoefFunc.C +) + +set(freesteam freesteam-2.1) +list(APPEND sources + ${freesteam}/common.c + ${freesteam}/steam.c + ${freesteam}/b23.c + ${freesteam}/backwards.c + ${freesteam}/viscosity.c + ${freesteam}/thcond.c + ${freesteam}/region1.c + ${freesteam}/region2.c + ${freesteam}/region3.c + ${freesteam}/region4.c + ${freesteam}/steam_pv.c + ${freesteam}/steam_ph.c + ${freesteam}/steam_pT.c + ${freesteam}/zeroin.c +) + +add_foam_library(thermophysicalFunctions SHARED ${sources}) + +# This is a prototype! Replace second argument with a list of the highest +# dependencies only. Inherited dependencies will be treated automatically. +target_link_libraries(thermophysicalFunctions foam) diff --git a/src/transportModels/CMakeLists.txt b/src/transportModels/CMakeLists.txt new file mode 100644 index 000000000..19bd1595b --- /dev/null +++ b/src/transportModels/CMakeLists.txt @@ -0,0 +1,34 @@ +# --------------------------------------------------------------------------# ======== | +# \ / F ield | foam-extend: Open Source CFD +# \ / O peration | Version: 4.1 +# \ / A nd | Web: http://www.foam-extend.org +# \/ M anipulation | For copyright notice see file Copyright +# -------------------------------------------------------------------------- +# License +# This file is part of foam-extend. +# +# foam-extend 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 3 of the License, or {at your +# option} any later version. +# +# foam-extend 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 foam-extend. If not, see . +# +# Description +# CMakeLists.txt file for libraries and applications +# +# Author +# Henrik Rusche, Wikki GmbH, 2017. All rights reserved +# +# +# -------------------------------------------------------------------------- + +add_subdirectory(incompressible) +add_subdirectory(interfaceProperties) +add_subdirectory(viscoelastic) diff --git a/src/transportModels/incompressible/CMakeLists.txt b/src/transportModels/incompressible/CMakeLists.txt new file mode 100644 index 000000000..36adbf744 --- /dev/null +++ b/src/transportModels/incompressible/CMakeLists.txt @@ -0,0 +1,58 @@ +# -------------------------------------------------------------------------- +# ======== | +# \ / F ield | foam-extend: Open Source CFD +# \ / O peration | Version: 4.1 +# \ / A nd | Web: http://www.foam-extend.org +# \/ M anipulation | For copyright notice see file Copyright +# -------------------------------------------------------------------------- +# License +# This file is part of foam-extend. +# +# foam-extend 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 3 of the License, or {at your +# option} any later version. +# +# foam-extend 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 foam-extend. If not, see . +# +# Description +# CMakeLists.txt file for libraries and applications +# +# Author +# Henrik Rusche, Wikki GmbH, 2017. All rights reserved +# +# +# -------------------------------------------------------------------------- + +list(APPEND sources + viscosityModels/viscosityModel/viscosityModel.C + viscosityModels/viscosityModel/newViscosityModel.C + viscosityModels/Newtonian/Newtonian.C + viscosityModels/powerLaw/powerLaw.C + viscosityModels/CrossPowerLaw/CrossPowerLaw.C + viscosityModels/BirdCarreau/BirdCarreau.C + viscosityModels/HerschelBulkley/HerschelBulkley.C + viscosityModels/freeSurface/freeSurface.C + transportModel/transportModel.C + singlePhaseTransportModel/singlePhaseTransportModel.C + incompressibleTwoPhaseMixture/twoPhaseMixture.C +) + +add_foam_library(incompressibleTransportModels SHARED ${sources}) + +# This is a prototype! Replace second argument with a list of the highest +# dependencies only. Inherited dependencies will be treated automatically. +target_link_libraries(incompressibleTransportModels finiteVolume) + +target_include_directories(incompressibleTransportModels PUBLIC + $ + $ +) + + diff --git a/src/transportModels/interfaceProperties/CMakeLists.txt b/src/transportModels/interfaceProperties/CMakeLists.txt new file mode 100644 index 000000000..18bd4a23f --- /dev/null +++ b/src/transportModels/interfaceProperties/CMakeLists.txt @@ -0,0 +1,47 @@ +# -------------------------------------------------------------------------- +# ======== | +# \ / F ield | foam-extend: Open Source CFD +# \ / O peration | Version: 4.1 +# \ / A nd | Web: http://www.foam-extend.org +# \/ M anipulation | For copyright notice see file Copyright +# -------------------------------------------------------------------------- +# License +# This file is part of foam-extend. +# +# foam-extend 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 3 of the License, or {at your +# option} any later version. +# +# foam-extend 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 foam-extend. If not, see . +# +# Description +# CMakeLists.txt file for libraries and applications +# +# Author +# Henrik Rusche, Wikki GmbH, 2017. All rights reserved +# +# +# -------------------------------------------------------------------------- + +list(APPEND sources + interfaceProperties.C + interfaceCompression/interfaceCompression.C + alphaContactAngle/alphaContactAngle/alphaContactAngleFvPatchScalarField.C + alphaContactAngle/constantAlphaContactAngle/constantAlphaContactAngleFvPatchScalarField.C + alphaContactAngle/dynamicAlphaContactAngle/dynamicAlphaContactAngleFvPatchScalarField.C + alphaContactAngle/timeVaryingAlphaContactAngle/timeVaryingAlphaContactAngleFvPatchScalarField.C + alphaFixedPressure/alphaFixedPressureFvPatchScalarField.C +) + +add_foam_library(interfaceProperties SHARED ${sources}) + +# This is a prototype! Replace second argument with a list of the highest +# dependencies only. Inherited dependencies will be treated automatically. +target_link_libraries(interfaceProperties PUBLIC finiteVolume) diff --git a/src/transportModels/viscoelastic/CMakeLists.txt b/src/transportModels/viscoelastic/CMakeLists.txt new file mode 100644 index 000000000..1c6380386 --- /dev/null +++ b/src/transportModels/viscoelastic/CMakeLists.txt @@ -0,0 +1,61 @@ +# -------------------------------------------------------------------------- +# ======== | +# \ / F ield | foam-extend: Open Source CFD +# \ / O peration | Version: 4.1 +# \ / A nd | Web: http://www.foam-extend.org +# \/ M anipulation | For copyright notice see file Copyright +# -------------------------------------------------------------------------- +# License +# This file is part of foam-extend. +# +# foam-extend 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 3 of the License, or {at your +# option} any later version. +# +# foam-extend 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 foam-extend. If not, see . +# +# Description +# CMakeLists.txt file for libraries and applications +# +# Author +# Henrik Rusche, Wikki GmbH, 2017. All rights reserved +# +# +# -------------------------------------------------------------------------- + +list(APPEND sources + viscoelasticModel/viscoelasticModel.C + viscoelasticLaws/viscoelasticLaw/viscoelasticLaw.C + viscoelasticLaws/viscoelasticLaw/newViscoelasticLaw.C + viscoelasticLaws/LPTT/LPTT.C + viscoelasticLaws/EPTT/EPTT.C + viscoelasticLaws/Oldroyd-B/Oldroyd_B.C + viscoelasticLaws/linearMaxwell/linearMaxwell.C + viscoelasticLaws/UCM/UCM.C + viscoelasticLaws/Giesekus/Giesekus.C + viscoelasticLaws/FENE-CR/FENE_CR.C + viscoelasticLaws/FENE-P/FENE_P.C + viscoelasticLaws/XPP_SE/XPP_SE.C + viscoelasticLaws/XPP_DE/XPP_DE.C + viscoelasticLaws/DCPP/DCPP.C + viscoelasticLaws/Feta-PTT/Feta_PTT.C + viscoelasticLaws/Leonov/Leonov.C + viscoelasticLaws/WhiteMetzner/WhiteMetznerLarson/WhiteMetznerLarson.C + viscoelasticLaws/WhiteMetzner/WhiteMetznerCross/WhiteMetznerCross.C + viscoelasticLaws/WhiteMetzner/WhiteMetznerCarreauYasuda/WhiteMetznerCarreauYasuda.C + viscoelasticLaws/S_MDCPP/S_MDCPP.C + viscoelasticLaws/multiMode/multiMode.C +) + +add_foam_library(viscoelasticTransportModels SHARED ${sources}) + +# This is a prototype! Replace second argument with a list of the highest +# dependencies only. Inherited dependencies will be treated automatically. +target_link_libraries(viscoelasticTransportModels PUBLIC finiteVolume) diff --git a/src/turbulenceModels/CMakeLists.txt b/src/turbulenceModels/CMakeLists.txt new file mode 100644 index 000000000..c88ca9021 --- /dev/null +++ b/src/turbulenceModels/CMakeLists.txt @@ -0,0 +1,34 @@ +# --------------------------------------------------------------------------# ======== | +# \ / F ield | foam-extend: Open Source CFD +# \ / O peration | Version: 4.1 +# \ / A nd | Web: http://www.foam-extend.org +# \/ M anipulation | For copyright notice see file Copyright +# -------------------------------------------------------------------------- +# License +# This file is part of foam-extend. +# +# foam-extend 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 3 of the License, or {at your +# option} any later version. +# +# foam-extend 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 foam-extend. If not, see . +# +# Description +# CMakeLists.txt file for libraries and applications +# +# Author +# Henrik Rusche, Wikki GmbH, 2017. All rights reserved +# +# +# -------------------------------------------------------------------------- + +add_subdirectory(compressible) +add_subdirectory(incompressible) +add_subdirectory(LES) diff --git a/src/turbulenceModels/LES/CMakeLists.txt b/src/turbulenceModels/LES/CMakeLists.txt new file mode 100644 index 000000000..72d03f745 --- /dev/null +++ b/src/turbulenceModels/LES/CMakeLists.txt @@ -0,0 +1,33 @@ +# --------------------------------------------------------------------------# ======== | +# \ / F ield | foam-extend: Open Source CFD +# \ / O peration | Version: 4.1 +# \ / A nd | Web: http://www.foam-extend.org +# \/ M anipulation | For copyright notice see file Copyright +# -------------------------------------------------------------------------- +# License +# This file is part of foam-extend. +# +# foam-extend 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 3 of the License, or {at your +# option} any later version. +# +# foam-extend 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 foam-extend. If not, see . +# +# Description +# CMakeLists.txt file for libraries and applications +# +# Author +# Henrik Rusche, Wikki GmbH, 2017. All rights reserved +# +# +# -------------------------------------------------------------------------- + +add_subdirectory(LESfilters) +add_subdirectory(LESdeltas) \ No newline at end of file diff --git a/src/turbulenceModels/LES/LESdeltas/CMakeLists.txt b/src/turbulenceModels/LES/LESdeltas/CMakeLists.txt new file mode 100644 index 000000000..2dda760e7 --- /dev/null +++ b/src/turbulenceModels/LES/LESdeltas/CMakeLists.txt @@ -0,0 +1,45 @@ +# -------------------------------------------------------------------------- +# ======== | +# \ / F ield | foam-extend: Open Source CFD +# \ / O peration | Version: 4.1 +# \ / A nd | Web: http://www.foam-extend.org +# \/ M anipulation | For copyright notice see file Copyright +# -------------------------------------------------------------------------- +# License +# This file is part of foam-extend. +# +# foam-extend 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 3 of the License, or {at your +# option} any later version. +# +# foam-extend 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 foam-extend. If not, see . +# +# Description +# CMakeLists.txt file for libraries and applications +# +# Author +# Henrik Rusche, Wikki GmbH, 2017. All rights reserved +# +# +# -------------------------------------------------------------------------- + +list(APPEND sources + LESdelta/LESdelta.C + cubeRootVolDelta/cubeRootVolDelta.C + PrandtlDelta/PrandtlDelta.C + maxEdgeLengthDelta/maxEdgeLengthDelta.C + smoothDelta/smoothDelta.C +) + +add_foam_library(LESdeltas SHARED ${sources}) + +# This is a prototype! Replace second argument with a list of the highest +# dependencies only. Inherited dependencies will be treated automatically. +target_link_libraries(LESdeltas PUBLIC finiteVolume) diff --git a/src/turbulenceModels/LES/LESfilters/CMakeLists.txt b/src/turbulenceModels/LES/LESfilters/CMakeLists.txt new file mode 100644 index 000000000..70b6ab3ae --- /dev/null +++ b/src/turbulenceModels/LES/LESfilters/CMakeLists.txt @@ -0,0 +1,44 @@ +# -------------------------------------------------------------------------- +# ======== | +# \ / F ield | foam-extend: Open Source CFD +# \ / O peration | Version: 4.1 +# \ / A nd | Web: http://www.foam-extend.org +# \/ M anipulation | For copyright notice see file Copyright +# -------------------------------------------------------------------------- +# License +# This file is part of foam-extend. +# +# foam-extend 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 3 of the License, or {at your +# option} any later version. +# +# foam-extend 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 foam-extend. If not, see . +# +# Description +# CMakeLists.txt file for libraries and applications +# +# Author +# Henrik Rusche, Wikki GmbH, 2017. All rights reserved +# +# +# -------------------------------------------------------------------------- + +list(APPEND sources + LESfilter/LESfilter.C + simpleFilter/simpleFilter.C + laplaceFilter/laplaceFilter.C + anisotropicFilter/anisotropicFilter.C +) + +add_foam_library(LESfilters SHARED ${sources}) + +# This is a prototype! Replace second argument with a list of the highest +# dependencies only. Inherited dependencies will be treated automatically. +target_link_libraries(LESfilters PUBLIC finiteVolume) diff --git a/src/turbulenceModels/compressible/CMakeLists.txt b/src/turbulenceModels/compressible/CMakeLists.txt new file mode 100644 index 000000000..e026efb66 --- /dev/null +++ b/src/turbulenceModels/compressible/CMakeLists.txt @@ -0,0 +1,34 @@ +# --------------------------------------------------------------------------# ======== | +# \ / F ield | foam-extend: Open Source CFD +# \ / O peration | Version: 4.1 +# \ / A nd | Web: http://www.foam-extend.org +# \/ M anipulation | For copyright notice see file Copyright +# -------------------------------------------------------------------------- +# License +# This file is part of foam-extend. +# +# foam-extend 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 3 of the License, or {at your +# option} any later version. +# +# foam-extend 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 foam-extend. If not, see . +# +# Description +# CMakeLists.txt file for libraries and applications +# +# Author +# Henrik Rusche, Wikki GmbH, 2017. All rights reserved +# +# +# -------------------------------------------------------------------------- + +add_subdirectory(LES) +add_subdirectory(turbulenceModel) +add_subdirectory(RAS) diff --git a/src/turbulenceModels/compressible/LES/CMakeLists.txt b/src/turbulenceModels/compressible/LES/CMakeLists.txt new file mode 100644 index 000000000..8ca2e107a --- /dev/null +++ b/src/turbulenceModels/compressible/LES/CMakeLists.txt @@ -0,0 +1,64 @@ +# -------------------------------------------------------------------------- +# ======== | +# \ / F ield | foam-extend: Open Source CFD +# \ / O peration | Version: 4.1 +# \ / A nd | Web: http://www.foam-extend.org +# \/ M anipulation | For copyright notice see file Copyright +# -------------------------------------------------------------------------- +# License +# This file is part of foam-extend. +# +# foam-extend 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 3 of the License, or {at your +# option} any later version. +# +# foam-extend 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 foam-extend. If not, see . +# +# Description +# CMakeLists.txt file for libraries and applications +# +# Author +# Henrik Rusche, Wikki GmbH, 2017. All rights reserved +# +# +# -------------------------------------------------------------------------- + +list(APPEND sources + LESModel/LESModel.C + GenEddyVisc/GenEddyVisc.C + GenSGSStress/GenSGSStress.C + Smagorinsky/Smagorinsky.C + oneEqEddy/oneEqEddy.C + lowReOneEqEddy/lowReOneEqEddy.C + dynOneEqEddy/dynOneEqEddy.C + DeardorffDiffStress/DeardorffDiffStress.C + SpalartAllmaras/SpalartAllmaras.C + vanDriestDelta/vanDriestDelta.C +) + +# Wall functions +set(wallFunctions derivedFvPatchFields/wallFunctions) + +set(muSgsWallFunctions ${wallFunctions}/muSgsWallFunctions) +list(APPEND sources + ${muSgsWallFunctions}/muSgsWallFunction/muSgsWallFunctionFvPatchScalarField.C +) + +set(alphaSgsWallFunctions ${wallFunctions}/alphaSgsWallFunctions) +list(APPEND sources + ${alphaSgsWallFunctions}/alphaSgsWallFunction/alphaSgsWallFunctionFvPatchScalarField.C + ${alphaSgsWallFunctions}/alphaSgsJayatillekeWallFunction/alphaSgsJayatillekeWallFunctionFvPatchScalarField.C +) + +add_foam_library(compressibleLESModels SHARED ${sources}) + +# This is a prototype! Replace second argument with a list of the highest +# dependencies only. Inherited dependencies will be treated automatically. +target_link_libraries(compressibleLESModels PUBLIC compressibleTurbulenceModel LESdeltas LESfilters) diff --git a/src/turbulenceModels/compressible/RAS/CMakeLists.txt b/src/turbulenceModels/compressible/RAS/CMakeLists.txt new file mode 100644 index 000000000..16e8538b8 --- /dev/null +++ b/src/turbulenceModels/compressible/RAS/CMakeLists.txt @@ -0,0 +1,101 @@ +# -------------------------------------------------------------------------- +# ======== | +# \ / F ield | foam-extend: Open Source CFD +# \ / O peration | Version: 4.1 +# \ / A nd | Web: http://www.foam-extend.org +# \/ M anipulation | For copyright notice see file Copyright +# -------------------------------------------------------------------------- +# License +# This file is part of foam-extend. +# +# foam-extend 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 3 of the License, or {at your +# option} any later version. +# +# foam-extend 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 foam-extend. If not, see . +# +# Description +# CMakeLists.txt file for libraries and applications +# +# Author +# Henrik Rusche, Wikki GmbH, 2017. All rights reserved +# +# +# -------------------------------------------------------------------------- + +# RAS turbulence models +list(APPEND sources + RASModel/RASModel.C + laminar/laminar.C + kEpsilon/kEpsilon.C + RNGkEpsilon/RNGkEpsilon.C + LaunderSharmaKE/LaunderSharmaKE.C + LRR/LRR.C + LaunderGibsonRSTM/LaunderGibsonRSTM.C + realizableKE/realizableKE.C + SpalartAllmaras/SpalartAllmaras.C + kOmegaSST/kOmegaSST.C +) + +# Wall functions +set(wallFunctions derivedFvPatchFields/wallFunctions) + +set(alphatWallFunctions ${wallFunctions}/alphatWallFunctions) +list(APPEND sources + ${alphatWallFunctions}/alphatWallFunction/alphatWallFunctionFvPatchScalarField.C +) + +set(mutWallFunctions ${wallFunctions}/mutWallFunctions) +list(APPEND sources + ${mutWallFunctions}/mutkWallFunction/mutkWallFunctionFvPatchScalarField.C + ${mutWallFunctions}/mutWallFunction/mutWallFunctionFvPatchScalarField.C + ${mutWallFunctions}/mutRoughWallFunction/mutRoughWallFunctionFvPatchScalarField.C + ${mutWallFunctions}/mutSpalartAllmarasWallFunction/mutSpalartAllmarasWallFunctionFvPatchScalarField.C + ${mutWallFunctions}/mutSpalartAllmarasStandardWallFunction/mutSpalartAllmarasStandardWallFunctionFvPatchScalarField.C + ${mutWallFunctions}/mutSpalartAllmarasStandardRoughWallFunction/mutSpalartAllmarasStandardRoughWallFunctionFvPatchScalarField.C + ${mutWallFunctions}/mutLowReWallFunction/mutLowReWallFunctionFvPatchScalarField.C +) + +set(epsilonWallFunctions ${wallFunctions}/epsilonWallFunctions) +list(APPEND sources + ${epsilonWallFunctions}/epsilonWallFunction/epsilonWallFunctionFvPatchScalarField.C +) + +set(omegaWallFunctions ${wallFunctions}/omegaWallFunctions) +list(APPEND sources + ${omegaWallFunctions}/omegaWallFunction/omegaWallFunctionFvPatchScalarField.C +) + +set(kqRWallFunctions ${wallFunctions}/kqRWallFunctions) +list(APPEND sources + ${kqRWallFunctions}/kqRWallFunction/kqRWallFunctionFvPatchFields.C +) + +# Patch fields +list(APPEND sources + derivedFvPatchFields/turbulentHeatFluxTemperature/turbulentHeatFluxTemperatureFvPatchScalarField.C + derivedFvPatchFields/turbulentMixingLengthDissipationRateInlet/turbulentMixingLengthDissipationRateInletFvPatchScalarField.C + derivedFvPatchFields/turbulentMixingLengthFrequencyInlet/turbulentMixingLengthFrequencyInletFvPatchScalarField.C + derivedFvPatchFields/turbulentTemperatureCoupledBaffle/turbulentTemperatureCoupledBaffleFvPatchScalarField.C + derivedFvPatchFields/turbulentTemperatureCoupledBaffle/regionProperties.C + derivedFvPatchFields/turbulentTemperatureCoupledBaffleMixed/turbulentTemperatureCoupledBaffleMixedFvPatchScalarField.C + backwardsCompatibility/wallFunctions/backwardsCompatibilityWallFunctions.C +) + +add_foam_library(compressibleRASModels SHARED ${sources}) + +# This is a prototype! Replace second argument with a list of the highest +# dependencies only. Inherited dependencies will be treated automatically. +target_link_libraries(compressibleRASModels PUBLIC compressibleTurbulenceModel) + +target_include_directories(compressibleRASModels PUBLIC + $ + $ +) diff --git a/src/turbulenceModels/compressible/turbulenceModel/CMakeLists.txt b/src/turbulenceModels/compressible/turbulenceModel/CMakeLists.txt new file mode 100644 index 000000000..8c10d34e6 --- /dev/null +++ b/src/turbulenceModels/compressible/turbulenceModel/CMakeLists.txt @@ -0,0 +1,48 @@ +# -------------------------------------------------------------------------- +# ======== | +# \ / F ield | foam-extend: Open Source CFD +# \ / O peration | Version: 4.1 +# \ / A nd | Web: http://www.foam-extend.org +# \/ M anipulation | For copyright notice see file Copyright +# -------------------------------------------------------------------------- +# License +# This file is part of foam-extend. +# +# foam-extend 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 3 of the License, or {at your +# option} any later version. +# +# foam-extend 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 foam-extend. If not, see . +# +# Description +# CMakeLists.txt file for libraries and applications +# +# Author +# Henrik Rusche, Wikki GmbH, 2017. All rights reserved +# +# +# -------------------------------------------------------------------------- + +list(APPEND sources + turbulenceModel.C + laminar/laminar.C +) + +add_foam_library(compressibleTurbulenceModel SHARED ${sources}) + +# This is a prototype! Replace second argument with a list of the highest +# dependencies only. Inherited dependencies will be treated automatically. +target_link_libraries(compressibleTurbulenceModel PUBLIC basicThermophysicalModels) + +# Hack to cope with some weird include paths +target_include_directories(compressibleTurbulenceModel PUBLIC + $ + $ +) diff --git a/src/turbulenceModels/incompressible/CMakeLists.txt b/src/turbulenceModels/incompressible/CMakeLists.txt new file mode 100644 index 000000000..631f9b643 --- /dev/null +++ b/src/turbulenceModels/incompressible/CMakeLists.txt @@ -0,0 +1,34 @@ +# --------------------------------------------------------------------------# ======== | +# \ / F ield | foam-extend: Open Source CFD +# \ / O peration | Version: 4.1 +# \ / A nd | Web: http://www.foam-extend.org +# \/ M anipulation | For copyright notice see file Copyright +# -------------------------------------------------------------------------- +# License +# This file is part of foam-extend. +# +# foam-extend 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 3 of the License, or {at your +# option} any later version. +# +# foam-extend 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 foam-extend. If not, see . +# +# Description +# CMakeLists.txt file for libraries and applications +# +# Author +# Henrik Rusche, Wikki GmbH, 2017. All rights reserved +# +# +# -------------------------------------------------------------------------- + +add_subdirectory(LES) +add_subdirectory(turbulenceModel) +add_subdirectory(RAS) \ No newline at end of file diff --git a/src/turbulenceModels/incompressible/LES/CMakeLists.txt b/src/turbulenceModels/incompressible/LES/CMakeLists.txt new file mode 100644 index 000000000..824c6e35a --- /dev/null +++ b/src/turbulenceModels/incompressible/LES/CMakeLists.txt @@ -0,0 +1,79 @@ +# -------------------------------------------------------------------------- +# ======== | +# \ / F ield | foam-extend: Open Source CFD +# \ / O peration | Version: 4.1 +# \ / A nd | Web: http://www.foam-extend.org +# \/ M anipulation | For copyright notice see file Copyright +# -------------------------------------------------------------------------- +# License +# This file is part of foam-extend. +# +# foam-extend 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 3 of the License, or {at your +# option} any later version. +# +# foam-extend 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 foam-extend. If not, see . +# +# Description +# CMakeLists.txt file for libraries and applications +# +# Author +# Henrik Rusche, Wikki GmbH, 2017. All rights reserved +# +# +# -------------------------------------------------------------------------- + +list(APPEND sources + vanDriestDelta/vanDriestDelta.C + LESModel/LESModel.C + GenEddyVisc/GenEddyVisc.C + GenSGSStress/GenSGSStress.C + laminar/laminar.C + SpalartAllmaras/SpalartAllmaras.C + SpalartAllmarasDDES/SpalartAllmarasDDES.C + SpalartAllmarasIDDES/SpalartAllmarasIDDES.C + SpalartAllmarasIDDES/IDDESDelta/IDDESDelta.C + oneEqEddy/oneEqEddy.C + dynOneEqEddy/dynOneEqEddy.C + locDynOneEqEddy/locDynOneEqEddy.C + Smagorinsky/Smagorinsky.C + dynSmagorinsky/dynSmagorinsky.C + LRRDiffStress/LRRDiffStress.C + DeardorffDiffStress/DeardorffDiffStress.C + spectEddyVisc/spectEddyVisc.C + scaleSimilarity/scaleSimilarity.C + mixedSmagorinsky/mixedSmagorinsky.C + dynMixedSmagorinsky/dynMixedSmagorinsky.C +) + +# Smagorinsky2/Smagorinsky2.C + +list(APPEND sources + kOmegaSSTSAS/kOmegaSSTSAS.C +) + +# Wall functions +set(wallFunctions derivedFvPatchFields/wallFunctions) + +list(APPEND sources + derivedFvPatchFields/decayingTurbulence/decayingVorton.C + derivedFvPatchFields/decayingTurbulence/decayingTurbulenceFvPatchVectorField.C +) + +set(nuSgsWallFunctions ${wallFunctions}/nuSgsWallFunctions) +list(APPEND sources + ${nuSgsWallFunctions}/nuSgsWallFunction/nuSgsWallFunctionFvPatchScalarField.C +) + +add_foam_library(incompressibleLESModels SHARED ${sources}) + +# This is a prototype! Replace second argument with a list of the highest +# dependencies only. Inherited dependencies will be treated automatically. +target_link_libraries(incompressibleLESModels PUBLIC incompressibleTurbulenceModel LESdeltas LESfilters) diff --git a/src/turbulenceModels/incompressible/RAS/CMakeLists.txt b/src/turbulenceModels/incompressible/RAS/CMakeLists.txt new file mode 100644 index 000000000..24f1e2f6f --- /dev/null +++ b/src/turbulenceModels/incompressible/RAS/CMakeLists.txt @@ -0,0 +1,109 @@ +# -------------------------------------------------------------------------- +# ======== | +# \ / F ield | foam-extend: Open Source CFD +# \ / O peration | Version: 4.1 +# \ / A nd | Web: http://www.foam-extend.org +# \/ M anipulation | For copyright notice see file Copyright +# -------------------------------------------------------------------------- +# License +# This file is part of foam-extend. +# +# foam-extend 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 3 of the License, or {at your +# option} any later version. +# +# foam-extend 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 foam-extend. If not, see . +# +# Description +# CMakeLists.txt file for libraries and applications +# +# Author +# Henrik Rusche, Wikki GmbH, 2017. All rights reserved +# +# +# -------------------------------------------------------------------------- + +# RAS turbulence models +list(APPEND sources + RASModel/RASModel.C + laminar/laminar.C + kEpsilon/kEpsilon.C + RNGkEpsilon/RNGkEpsilon.C + realizableKE/realizableKE.C + kOmega/kOmega.C + kOmegaSST/kOmegaSST.C + SpalartAllmaras/SpalartAllmaras.C + LRR/LRR.C + LaunderGibsonRSTM/LaunderGibsonRSTM.C + LaunderSharmaKE/LaunderSharmaKE.C + qZeta/qZeta.C + LienCubicKE/LienCubicKE.C + LienCubicKELowRe/LienCubicKELowRe.C + NonlinearKEShih/NonlinearKEShih.C + LienLeschzinerLowRe/LienLeschzinerLowRe.C + LamBremhorstKE/LamBremhorstKE.C + coupledKEpsilon/coupledKEpsilon.C + coupledKOmegaSST/coupledKOmegaSST.C +) + +# Wall functions +set(wallFunctions derivedFvPatchFields/wallFunctions) + +set(nutWallFunctions ${wallFunctions}/nutWallFunctions) +list(APPEND sources + ${nutWallFunctions}/nutkWallFunction/nutkWallFunctionFvPatchScalarField.C + ${nutWallFunctions}/nutWallFunction/nutWallFunctionFvPatchScalarField.C + ${nutWallFunctions}/nutRoughWallFunction/nutRoughWallFunctionFvPatchScalarField.C + ${nutWallFunctions}/nutSpalartAllmarasWallFunction/nutSpalartAllmarasWallFunctionFvPatchScalarField.C + ${nutWallFunctions}/nutSpalartAllmarasStandardWallFunction/nutSpalartAllmarasStandardWallFunctionFvPatchScalarField.C + ${nutWallFunctions}/nutSpalartAllmarasStandardRoughWallFunction/nutSpalartAllmarasStandardRoughWallFunctionFvPatchScalarField.C + ${nutWallFunctions}/nutLowReWallFunction/nutLowReWallFunctionFvPatchScalarField.C +) + +set(epsilonWallFunctions ${wallFunctions}/epsilonWallFunctions) +list(APPEND sources + ${epsilonWallFunctions}/epsilonWallFunction/epsilonWallFunctionFvPatchScalarField.C +) + +set(omegaWallFunctions ${wallFunctions}/omegaWallFunctions) +list(APPEND sources + ${omegaWallFunctions}/omegaWallFunction/omegaWallFunctionFvPatchScalarField.C +) + +set(kqRWallFunctions ${wallFunctions}/kqRWallFunctions) +list(APPEND sources + ${kqRWallFunctions}/kqRWallFunction/kqRWallFunctionFvPatchFields.C +) + +set(RWallFunctions ${wallFunctions}/RWallFunctions) +list(APPEND sources + ${RWallFunctions}/RWallFunction/RWallFunctionFvPatchSymmTensorField.C +) + + +# Patch fields +list(APPEND sources + derivedFvPatchFields/turbulentHeatFluxTemperature/turbulentHeatFluxTemperatureFvPatchScalarField.C + derivedFvPatchFields/turbulentMixingLengthDissipationRateInlet/turbulentMixingLengthDissipationRateInletFvPatchScalarField.C + derivedFvPatchFields/turbulentMixingLengthFrequencyInlet/turbulentMixingLengthFrequencyInletFvPatchScalarField.C + backwardsCompatibility/wallFunctions/backwardsCompatibilityWallFunctions.C +) + +add_foam_library(incompressibleRASModels SHARED ${sources}) + +# This is a prototype! Replace second argument with a list of the highest +# dependencies only. Inherited dependencies will be treated automatically. +target_link_libraries(incompressibleRASModels PUBLIC incompressibleTurbulenceModel) + +target_include_directories(incompressibleRASModels PUBLIC + $ + $ +) + diff --git a/src/turbulenceModels/incompressible/turbulenceModel/CMakeLists.txt b/src/turbulenceModels/incompressible/turbulenceModel/CMakeLists.txt new file mode 100644 index 000000000..1d684e99c --- /dev/null +++ b/src/turbulenceModels/incompressible/turbulenceModel/CMakeLists.txt @@ -0,0 +1,48 @@ +# -------------------------------------------------------------------------- +# ======== | +# \ / F ield | foam-extend: Open Source CFD +# \ / O peration | Version: 4.1 +# \ / A nd | Web: http://www.foam-extend.org +# \/ M anipulation | For copyright notice see file Copyright +# -------------------------------------------------------------------------- +# License +# This file is part of foam-extend. +# +# foam-extend 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 3 of the License, or {at your +# option} any later version. +# +# foam-extend 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 foam-extend. If not, see . +# +# Description +# CMakeLists.txt file for libraries and applications +# +# Author +# Henrik Rusche, Wikki GmbH, 2017. All rights reserved +# +# +# -------------------------------------------------------------------------- + +list(APPEND sources + turbulenceModel.C + laminar/laminar.C +) + +add_foam_library(incompressibleTurbulenceModel SHARED ${sources}) + +# This is a prototype! Replace second argument with a list of the highest +# dependencies only. Inherited dependencies will be treated automatically. +target_link_libraries(incompressibleTurbulenceModel PUBLIC incompressibleTransportModels) + +# Hack to cope with some weird include paths +target_include_directories(incompressibleTurbulenceModel PUBLIC + $ + $ +) diff --git a/testHarness/OSIG/Turbomachinery/CMakeFiles/CMakeLists.txt b/testHarness/OSIG/Turbomachinery/CMakeFiles/CMakeLists.txt index e3087a4d5..542716463 100644 --- a/testHarness/OSIG/Turbomachinery/CMakeFiles/CMakeLists.txt +++ b/testHarness/OSIG/Turbomachinery/CMakeFiles/CMakeLists.txt @@ -1,5 +1,4 @@ -# /*-------------------------------------------------------------------------*\ -# ========= | +# /*-------------------------------------------------------------------------*\# ======== | # \\ / F ield | foam-extend: Open Source CFD # \\ / O peration | # \\ / A nd | For copyright notice see file Copyright diff --git a/testHarness/foam-extend/4.1/CMakeFiles/CMakeLists.txt b/testHarness/foam-extend/4.1/CMakeFiles/CMakeLists.txt index 28b88def5..22a9ef43d 100644 --- a/testHarness/foam-extend/4.1/CMakeFiles/CMakeLists.txt +++ b/testHarness/foam-extend/4.1/CMakeFiles/CMakeLists.txt @@ -1,5 +1,4 @@ -# /*-------------------------------------------------------------------------*\ -# ========= | +# /*-------------------------------------------------------------------------*\# ======== | # \\ / F ield | foam-extend: Open Source CFD # \\ / O peration | Version: 4.1 # \\ / A nd | Web: http://www.foam-extend.org diff --git a/tutorials/CMakeLists.txt b/tutorials/CMakeLists.txt new file mode 100644 index 000000000..e971d3224 --- /dev/null +++ b/tutorials/CMakeLists.txt @@ -0,0 +1,40 @@ +# --------------------------------------------------------------------------# ======== | +# \ / F ield | foam-extend: Open Source CFD +# \ / O peration | Version: 4.1 +# \ / A nd | Web: http://www.foam-extend.org +# \/ M anipulation | For copyright notice see file Copyright +# -------------------------------------------------------------------------- +# License +# This file is part of foam-extend. +# +# foam-extend 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 3 of the License, or {at your +# option} any later version. +# +# foam-extend 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 foam-extend. If not, see . +# +# Description +# CMakeLists.txt file for libraries and applications +# +# Author +# Henrik Rusche, Wikki GmbH, 2017. All rights reserved +# +# +# -------------------------------------------------------------------------- + +add_subdirectory(solidMechanics) +add_subdirectory(multiphase) +add_subdirectory(immersedBoundary) +add_subdirectory(compressible) +add_subdirectory(incompressible) +add_subdirectory(lagrangian) +add_subdirectory(heatTransfer) +add_subdirectory(finiteArea) +add_subdirectory(basic) \ No newline at end of file diff --git a/tutorials/basic/CMakeLists.txt b/tutorials/basic/CMakeLists.txt new file mode 100644 index 000000000..cf67cf266 --- /dev/null +++ b/tutorials/basic/CMakeLists.txt @@ -0,0 +1,34 @@ +# --------------------------------------------------------------------------# ======== | +# \ / F ield | foam-extend: Open Source CFD +# \ / O peration | Version: 4.1 +# \ / A nd | Web: http://www.foam-extend.org +# \/ M anipulation | For copyright notice see file Copyright +# -------------------------------------------------------------------------- +# License +# This file is part of foam-extend. +# +# foam-extend 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 3 of the License, or {at your +# option} any later version. +# +# foam-extend 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 foam-extend. If not, see . +# +# Description +# CMakeLists.txt file for libraries and applications +# +# Author +# Henrik Rusche, Wikki GmbH, 2017. All rights reserved +# +# +# -------------------------------------------------------------------------- + +add_subdirectory(scalarTransportFoam) +add_subdirectory(potentialFoam) +add_subdirectory(PODSolver) \ No newline at end of file diff --git a/tutorials/basic/PODSolver/1DPODsin/CMakeLists.txt b/tutorials/basic/PODSolver/1DPODsin/CMakeLists.txt new file mode 100644 index 000000000..f4dc07d6f --- /dev/null +++ b/tutorials/basic/PODSolver/1DPODsin/CMakeLists.txt @@ -0,0 +1,32 @@ +# --------------------------------------------------------------------------# ======== | +# \ / F ield | foam-extend: Open Source CFD +# \ / O peration | Version: 4.1 +# \ / A nd | Web: http://www.foam-extend.org +# \/ M anipulation | For copyright notice see file Copyright +# -------------------------------------------------------------------------- +# License +# This file is part of foam-extend. +# +# foam-extend 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 3 of the License, or {at your +# option} any later version. +# +# foam-extend 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 foam-extend. If not, see . +# +# Description +# CMakeLists.txt file for libraries and applications +# +# Author +# Henrik Rusche, Wikki GmbH, 2017. All rights reserved +# +# +# -------------------------------------------------------------------------- + +add_subdirectory(setTcos) \ No newline at end of file diff --git a/tutorials/basic/PODSolver/1DPODsin/setTcos/CMakeLists.txt b/tutorials/basic/PODSolver/1DPODsin/setTcos/CMakeLists.txt new file mode 100644 index 000000000..caa320cba --- /dev/null +++ b/tutorials/basic/PODSolver/1DPODsin/setTcos/CMakeLists.txt @@ -0,0 +1,46 @@ +# -------------------------------------------------------------------------- +# ======== | +# \ / F ield | foam-extend: Open Source CFD +# \ / O peration | Version: 4.1 +# \ / A nd | Web: http://www.foam-extend.org +# \/ M anipulation | For copyright notice see file Copyright +# -------------------------------------------------------------------------- +# License +# This file is part of foam-extend. +# +# foam-extend 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 3 of the License, or {at your +# option} any later version. +# +# foam-extend 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 foam-extend. If not, see . +# +# Description +# CMakeLists.txt file for libraries and applications +# +# Author +# Henrik Rusche, Wikki GmbH, 2017. All rights reserved +# +# +# -------------------------------------------------------------------------- + +list(APPEND sources + setTcos.C +) + +# Set minimal environment for external compilation +if(NOT FOAM_FOUND) + cmake_minimum_required(VERSION 2.8) + find_package(FOAM REQUIRED) +endif() + +add_foam_executable(setTcos +# DEPENDS finiteVolume + SOURCES ${sources} +) diff --git a/tutorials/basic/PODSolver/CMakeLists.txt b/tutorials/basic/PODSolver/CMakeLists.txt new file mode 100644 index 000000000..47d07c268 --- /dev/null +++ b/tutorials/basic/PODSolver/CMakeLists.txt @@ -0,0 +1,32 @@ +# --------------------------------------------------------------------------# ======== | +# \ / F ield | foam-extend: Open Source CFD +# \ / O peration | Version: 4.1 +# \ / A nd | Web: http://www.foam-extend.org +# \/ M anipulation | For copyright notice see file Copyright +# -------------------------------------------------------------------------- +# License +# This file is part of foam-extend. +# +# foam-extend 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 3 of the License, or {at your +# option} any later version. +# +# foam-extend 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 foam-extend. If not, see . +# +# Description +# CMakeLists.txt file for libraries and applications +# +# Author +# Henrik Rusche, Wikki GmbH, 2017. All rights reserved +# +# +# -------------------------------------------------------------------------- + +add_subdirectory(1DPODsin) \ No newline at end of file diff --git a/tutorials/basic/potentialFoam/CMakeLists.txt b/tutorials/basic/potentialFoam/CMakeLists.txt new file mode 100644 index 000000000..36c0d1edd --- /dev/null +++ b/tutorials/basic/potentialFoam/CMakeLists.txt @@ -0,0 +1,32 @@ +# --------------------------------------------------------------------------# ======== | +# \ / F ield | foam-extend: Open Source CFD +# \ / O peration | Version: 4.1 +# \ / A nd | Web: http://www.foam-extend.org +# \/ M anipulation | For copyright notice see file Copyright +# -------------------------------------------------------------------------- +# License +# This file is part of foam-extend. +# +# foam-extend 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 3 of the License, or {at your +# option} any later version. +# +# foam-extend 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 foam-extend. If not, see . +# +# Description +# CMakeLists.txt file for libraries and applications +# +# Author +# Henrik Rusche, Wikki GmbH, 2017. All rights reserved +# +# +# -------------------------------------------------------------------------- + +add_subdirectory(cylinder) \ No newline at end of file diff --git a/tutorials/basic/potentialFoam/cylinder/CMakeLists.txt b/tutorials/basic/potentialFoam/cylinder/CMakeLists.txt new file mode 100644 index 000000000..2547b3ac4 --- /dev/null +++ b/tutorials/basic/potentialFoam/cylinder/CMakeLists.txt @@ -0,0 +1,32 @@ +# --------------------------------------------------------------------------# ======== | +# \ / F ield | foam-extend: Open Source CFD +# \ / O peration | Version: 4.1 +# \ / A nd | Web: http://www.foam-extend.org +# \/ M anipulation | For copyright notice see file Copyright +# -------------------------------------------------------------------------- +# License +# This file is part of foam-extend. +# +# foam-extend 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 3 of the License, or {at your +# option} any later version. +# +# foam-extend 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 foam-extend. If not, see . +# +# Description +# CMakeLists.txt file for libraries and applications +# +# Author +# Henrik Rusche, Wikki GmbH, 2017. All rights reserved +# +# +# -------------------------------------------------------------------------- + +add_subdirectory(analyticalCylinder) \ No newline at end of file diff --git a/tutorials/basic/potentialFoam/cylinder/analyticalCylinder/CMakeLists.txt b/tutorials/basic/potentialFoam/cylinder/analyticalCylinder/CMakeLists.txt new file mode 100644 index 000000000..cc33825cb --- /dev/null +++ b/tutorials/basic/potentialFoam/cylinder/analyticalCylinder/CMakeLists.txt @@ -0,0 +1,46 @@ +# -------------------------------------------------------------------------- +# ======== | +# \ / F ield | foam-extend: Open Source CFD +# \ / O peration | Version: 4.1 +# \ / A nd | Web: http://www.foam-extend.org +# \/ M anipulation | For copyright notice see file Copyright +# -------------------------------------------------------------------------- +# License +# This file is part of foam-extend. +# +# foam-extend 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 3 of the License, or {at your +# option} any later version. +# +# foam-extend 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 foam-extend. If not, see . +# +# Description +# CMakeLists.txt file for libraries and applications +# +# Author +# Henrik Rusche, Wikki GmbH, 2017. All rights reserved +# +# +# -------------------------------------------------------------------------- + +list(APPEND sources + analyticalCylinder.C +) + +# Set minimal environment for external compilation +if(NOT FOAM_FOUND) + cmake_minimum_required(VERSION 2.8) + find_package(FOAM REQUIRED) +endif() + +add_foam_executable(analyticalCylinder +# DEPENDS finiteVolume + SOURCES ${sources} +) diff --git a/tutorials/basic/scalarTransportFoam/CMakeLists.txt b/tutorials/basic/scalarTransportFoam/CMakeLists.txt new file mode 100644 index 000000000..a5df6dae3 --- /dev/null +++ b/tutorials/basic/scalarTransportFoam/CMakeLists.txt @@ -0,0 +1,32 @@ +# --------------------------------------------------------------------------# ======== | +# \ / F ield | foam-extend: Open Source CFD +# \ / O peration | Version: 4.1 +# \ / A nd | Web: http://www.foam-extend.org +# \/ M anipulation | For copyright notice see file Copyright +# -------------------------------------------------------------------------- +# License +# This file is part of foam-extend. +# +# foam-extend 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 3 of the License, or {at your +# option} any later version. +# +# foam-extend 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 foam-extend. If not, see . +# +# Description +# CMakeLists.txt file for libraries and applications +# +# Author +# Henrik Rusche, Wikki GmbH, 2017. All rights reserved +# +# +# -------------------------------------------------------------------------- + +add_subdirectory(swirlTest) \ No newline at end of file diff --git a/tutorials/basic/scalarTransportFoam/swirlTest/CMakeLists.txt b/tutorials/basic/scalarTransportFoam/swirlTest/CMakeLists.txt new file mode 100644 index 000000000..3742419b9 --- /dev/null +++ b/tutorials/basic/scalarTransportFoam/swirlTest/CMakeLists.txt @@ -0,0 +1,32 @@ +# --------------------------------------------------------------------------# ======== | +# \ / F ield | foam-extend: Open Source CFD +# \ / O peration | Version: 4.1 +# \ / A nd | Web: http://www.foam-extend.org +# \/ M anipulation | For copyright notice see file Copyright +# -------------------------------------------------------------------------- +# License +# This file is part of foam-extend. +# +# foam-extend 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 3 of the License, or {at your +# option} any later version. +# +# foam-extend 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 foam-extend. If not, see . +# +# Description +# CMakeLists.txt file for libraries and applications +# +# Author +# Henrik Rusche, Wikki GmbH, 2017. All rights reserved +# +# +# -------------------------------------------------------------------------- + +add_subdirectory(setSwirl) \ No newline at end of file diff --git a/tutorials/basic/scalarTransportFoam/swirlTest/setSwirl/CMakeLists.txt b/tutorials/basic/scalarTransportFoam/swirlTest/setSwirl/CMakeLists.txt new file mode 100644 index 000000000..195a1270b --- /dev/null +++ b/tutorials/basic/scalarTransportFoam/swirlTest/setSwirl/CMakeLists.txt @@ -0,0 +1,46 @@ +# -------------------------------------------------------------------------- +# ======== | +# \ / F ield | foam-extend: Open Source CFD +# \ / O peration | Version: 4.1 +# \ / A nd | Web: http://www.foam-extend.org +# \/ M anipulation | For copyright notice see file Copyright +# -------------------------------------------------------------------------- +# License +# This file is part of foam-extend. +# +# foam-extend 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 3 of the License, or {at your +# option} any later version. +# +# foam-extend 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 foam-extend. If not, see . +# +# Description +# CMakeLists.txt file for libraries and applications +# +# Author +# Henrik Rusche, Wikki GmbH, 2017. All rights reserved +# +# +# -------------------------------------------------------------------------- + +list(APPEND sources + setSwirl.C +) + +# Set minimal environment for external compilation +if(NOT FOAM_FOUND) + cmake_minimum_required(VERSION 2.8) + find_package(FOAM REQUIRED) +endif() + +add_foam_executable(setSwirl +# DEPENDS finiteVolume + SOURCES ${sources} +) diff --git a/tutorials/compressible/CMakeLists.txt b/tutorials/compressible/CMakeLists.txt new file mode 100644 index 000000000..8db7e81b7 --- /dev/null +++ b/tutorials/compressible/CMakeLists.txt @@ -0,0 +1,32 @@ +# --------------------------------------------------------------------------# ======== | +# \ / F ield | foam-extend: Open Source CFD +# \ / O peration | Version: 4.1 +# \ / A nd | Web: http://www.foam-extend.org +# \/ M anipulation | For copyright notice see file Copyright +# -------------------------------------------------------------------------- +# License +# This file is part of foam-extend. +# +# foam-extend 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 3 of the License, or {at your +# option} any later version. +# +# foam-extend 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 foam-extend. If not, see . +# +# Description +# CMakeLists.txt file for libraries and applications +# +# Author +# Henrik Rusche, Wikki GmbH, 2017. All rights reserved +# +# +# -------------------------------------------------------------------------- + +add_subdirectory(rhoCentralFoam) \ No newline at end of file diff --git a/tutorials/compressible/rhoCentralFoam/CMakeLists.txt b/tutorials/compressible/rhoCentralFoam/CMakeLists.txt new file mode 100644 index 000000000..d94cf7a6f --- /dev/null +++ b/tutorials/compressible/rhoCentralFoam/CMakeLists.txt @@ -0,0 +1,32 @@ +# --------------------------------------------------------------------------# ======== | +# \ / F ield | foam-extend: Open Source CFD +# \ / O peration | Version: 4.1 +# \ / A nd | Web: http://www.foam-extend.org +# \/ M anipulation | For copyright notice see file Copyright +# -------------------------------------------------------------------------- +# License +# This file is part of foam-extend. +# +# foam-extend 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 3 of the License, or {at your +# option} any later version. +# +# foam-extend 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 foam-extend. If not, see . +# +# Description +# CMakeLists.txt file for libraries and applications +# +# Author +# Henrik Rusche, Wikki GmbH, 2017. All rights reserved +# +# +# -------------------------------------------------------------------------- + +add_subdirectory(biconic25-55Run35) \ No newline at end of file diff --git a/tutorials/compressible/rhoCentralFoam/biconic25-55Run35/CMakeLists.txt b/tutorials/compressible/rhoCentralFoam/biconic25-55Run35/CMakeLists.txt new file mode 100644 index 000000000..5d85c18c7 --- /dev/null +++ b/tutorials/compressible/rhoCentralFoam/biconic25-55Run35/CMakeLists.txt @@ -0,0 +1,32 @@ +# --------------------------------------------------------------------------# ======== | +# \ / F ield | foam-extend: Open Source CFD +# \ / O peration | Version: 4.1 +# \ / A nd | Web: http://www.foam-extend.org +# \/ M anipulation | For copyright notice see file Copyright +# -------------------------------------------------------------------------- +# License +# This file is part of foam-extend. +# +# foam-extend 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 3 of the License, or {at your +# option} any later version. +# +# foam-extend 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 foam-extend. If not, see . +# +# Description +# CMakeLists.txt file for libraries and applications +# +# Author +# Henrik Rusche, Wikki GmbH, 2017. All rights reserved +# +# +# -------------------------------------------------------------------------- + +add_subdirectory(datToFoam) \ No newline at end of file diff --git a/tutorials/compressible/rhoCentralFoam/biconic25-55Run35/datToFoam/CMakeLists.txt b/tutorials/compressible/rhoCentralFoam/biconic25-55Run35/datToFoam/CMakeLists.txt new file mode 100644 index 000000000..467353bc2 --- /dev/null +++ b/tutorials/compressible/rhoCentralFoam/biconic25-55Run35/datToFoam/CMakeLists.txt @@ -0,0 +1,46 @@ +# -------------------------------------------------------------------------- +# ======== | +# \ / F ield | foam-extend: Open Source CFD +# \ / O peration | Version: 4.1 +# \ / A nd | Web: http://www.foam-extend.org +# \/ M anipulation | For copyright notice see file Copyright +# -------------------------------------------------------------------------- +# License +# This file is part of foam-extend. +# +# foam-extend 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 3 of the License, or {at your +# option} any later version. +# +# foam-extend 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 foam-extend. If not, see . +# +# Description +# CMakeLists.txt file for libraries and applications +# +# Author +# Henrik Rusche, Wikki GmbH, 2017. All rights reserved +# +# +# -------------------------------------------------------------------------- + +list(APPEND sources + datToFoam.C +) + +# Set minimal environment for external compilation +if(NOT FOAM_FOUND) + cmake_minimum_required(VERSION 2.8) + find_package(FOAM REQUIRED) +endif() + +add_foam_executable(datToFoam +# DEPENDS finiteVolume + SOURCES ${sources} +) diff --git a/tutorials/finiteArea/CMakeLists.txt b/tutorials/finiteArea/CMakeLists.txt new file mode 100644 index 000000000..505bf7efb --- /dev/null +++ b/tutorials/finiteArea/CMakeLists.txt @@ -0,0 +1,33 @@ +# --------------------------------------------------------------------------# ======== | +# \ / F ield | foam-extend: Open Source CFD +# \ / O peration | Version: 4.1 +# \ / A nd | Web: http://www.foam-extend.org +# \/ M anipulation | For copyright notice see file Copyright +# -------------------------------------------------------------------------- +# License +# This file is part of foam-extend. +# +# foam-extend 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 3 of the License, or {at your +# option} any later version. +# +# foam-extend 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 foam-extend. If not, see . +# +# Description +# CMakeLists.txt file for libraries and applications +# +# Author +# Henrik Rusche, Wikki GmbH, 2017. All rights reserved +# +# +# -------------------------------------------------------------------------- + +add_subdirectory(surfactantFoam) +add_subdirectory(liquidFilmFoam) \ No newline at end of file diff --git a/tutorials/finiteArea/liquidFilmFoam/CMakeLists.txt b/tutorials/finiteArea/liquidFilmFoam/CMakeLists.txt new file mode 100644 index 000000000..278b803ac --- /dev/null +++ b/tutorials/finiteArea/liquidFilmFoam/CMakeLists.txt @@ -0,0 +1,32 @@ +# --------------------------------------------------------------------------# ======== | +# \ / F ield | foam-extend: Open Source CFD +# \ / O peration | Version: 4.1 +# \ / A nd | Web: http://www.foam-extend.org +# \/ M anipulation | For copyright notice see file Copyright +# -------------------------------------------------------------------------- +# License +# This file is part of foam-extend. +# +# foam-extend 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 3 of the License, or {at your +# option} any later version. +# +# foam-extend 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 foam-extend. If not, see . +# +# Description +# CMakeLists.txt file for libraries and applications +# +# Author +# Henrik Rusche, Wikki GmbH, 2017. All rights reserved +# +# +# -------------------------------------------------------------------------- + +add_subdirectory(dropsSpreading) \ No newline at end of file diff --git a/tutorials/finiteArea/liquidFilmFoam/dropsSpreading/CMakeLists.txt b/tutorials/finiteArea/liquidFilmFoam/dropsSpreading/CMakeLists.txt new file mode 100644 index 000000000..06a6e90af --- /dev/null +++ b/tutorials/finiteArea/liquidFilmFoam/dropsSpreading/CMakeLists.txt @@ -0,0 +1,32 @@ +# --------------------------------------------------------------------------# ======== | +# \ / F ield | foam-extend: Open Source CFD +# \ / O peration | Version: 4.1 +# \ / A nd | Web: http://www.foam-extend.org +# \/ M anipulation | For copyright notice see file Copyright +# -------------------------------------------------------------------------- +# License +# This file is part of foam-extend. +# +# foam-extend 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 3 of the License, or {at your +# option} any later version. +# +# foam-extend 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 foam-extend. If not, see . +# +# Description +# CMakeLists.txt file for libraries and applications +# +# Author +# Henrik Rusche, Wikki GmbH, 2017. All rights reserved +# +# +# -------------------------------------------------------------------------- + +add_subdirectory(setInitialDroplet) \ No newline at end of file diff --git a/tutorials/finiteArea/liquidFilmFoam/dropsSpreading/setInitialDroplet/CMakeLists.txt b/tutorials/finiteArea/liquidFilmFoam/dropsSpreading/setInitialDroplet/CMakeLists.txt new file mode 100644 index 000000000..d7adbaddf --- /dev/null +++ b/tutorials/finiteArea/liquidFilmFoam/dropsSpreading/setInitialDroplet/CMakeLists.txt @@ -0,0 +1,46 @@ +# -------------------------------------------------------------------------- +# ======== | +# \ / F ield | foam-extend: Open Source CFD +# \ / O peration | Version: 4.1 +# \ / A nd | Web: http://www.foam-extend.org +# \/ M anipulation | For copyright notice see file Copyright +# -------------------------------------------------------------------------- +# License +# This file is part of foam-extend. +# +# foam-extend 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 3 of the License, or {at your +# option} any later version. +# +# foam-extend 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 foam-extend. If not, see . +# +# Description +# CMakeLists.txt file for libraries and applications +# +# Author +# Henrik Rusche, Wikki GmbH, 2017. All rights reserved +# +# +# -------------------------------------------------------------------------- + +list(APPEND sources + setInitialDroplet.C +) + +# Set minimal environment for external compilation +if(NOT FOAM_FOUND) + cmake_minimum_required(VERSION 2.8) + find_package(FOAM REQUIRED) +endif() + +add_foam_executable(setInitialDroplet +# DEPENDS finiteVolume + SOURCES ${sources} +) diff --git a/tutorials/finiteArea/surfactantFoam/CMakeLists.txt b/tutorials/finiteArea/surfactantFoam/CMakeLists.txt new file mode 100644 index 000000000..80ab11157 --- /dev/null +++ b/tutorials/finiteArea/surfactantFoam/CMakeLists.txt @@ -0,0 +1,32 @@ +# --------------------------------------------------------------------------# ======== | +# \ / F ield | foam-extend: Open Source CFD +# \ / O peration | Version: 4.1 +# \ / A nd | Web: http://www.foam-extend.org +# \/ M anipulation | For copyright notice see file Copyright +# -------------------------------------------------------------------------- +# License +# This file is part of foam-extend. +# +# foam-extend 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 3 of the License, or {at your +# option} any later version. +# +# foam-extend 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 foam-extend. If not, see . +# +# Description +# CMakeLists.txt file for libraries and applications +# +# Author +# Henrik Rusche, Wikki GmbH, 2017. All rights reserved +# +# +# -------------------------------------------------------------------------- + +add_subdirectory(sphereTransport) \ No newline at end of file diff --git a/tutorials/finiteArea/surfactantFoam/sphereTransport/CMakeLists.txt b/tutorials/finiteArea/surfactantFoam/sphereTransport/CMakeLists.txt new file mode 100644 index 000000000..8f59abf6a --- /dev/null +++ b/tutorials/finiteArea/surfactantFoam/sphereTransport/CMakeLists.txt @@ -0,0 +1,32 @@ +# --------------------------------------------------------------------------# ======== | +# \ / F ield | foam-extend: Open Source CFD +# \ / O peration | Version: 4.1 +# \ / A nd | Web: http://www.foam-extend.org +# \/ M anipulation | For copyright notice see file Copyright +# -------------------------------------------------------------------------- +# License +# This file is part of foam-extend. +# +# foam-extend 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 3 of the License, or {at your +# option} any later version. +# +# foam-extend 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 foam-extend. If not, see . +# +# Description +# CMakeLists.txt file for libraries and applications +# +# Author +# Henrik Rusche, Wikki GmbH, 2017. All rights reserved +# +# +# -------------------------------------------------------------------------- + +add_subdirectory(sphereSurfactantFoam) \ No newline at end of file diff --git a/tutorials/finiteArea/surfactantFoam/sphereTransport/sphereSurfactantFoam/CMakeLists.txt b/tutorials/finiteArea/surfactantFoam/sphereTransport/sphereSurfactantFoam/CMakeLists.txt new file mode 100644 index 000000000..b071442dc --- /dev/null +++ b/tutorials/finiteArea/surfactantFoam/sphereTransport/sphereSurfactantFoam/CMakeLists.txt @@ -0,0 +1,46 @@ +# -------------------------------------------------------------------------- +# ======== | +# \ / F ield | foam-extend: Open Source CFD +# \ / O peration | Version: 4.1 +# \ / A nd | Web: http://www.foam-extend.org +# \/ M anipulation | For copyright notice see file Copyright +# -------------------------------------------------------------------------- +# License +# This file is part of foam-extend. +# +# foam-extend 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 3 of the License, or {at your +# option} any later version. +# +# foam-extend 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 foam-extend. If not, see . +# +# Description +# CMakeLists.txt file for libraries and applications +# +# Author +# Henrik Rusche, Wikki GmbH, 2017. All rights reserved +# +# +# -------------------------------------------------------------------------- + +list(APPEND sources + surfactantFoam.C +) + +# Set minimal environment for external compilation +if(NOT FOAM_FOUND) + cmake_minimum_required(VERSION 2.8) + find_package(FOAM REQUIRED) +endif() + +add_foam_executable(sphereSurfactantFoam +# DEPENDS finiteVolume + SOURCES ${sources} +) diff --git a/tutorials/heatTransfer/CMakeLists.txt b/tutorials/heatTransfer/CMakeLists.txt new file mode 100644 index 000000000..359c0fa13 --- /dev/null +++ b/tutorials/heatTransfer/CMakeLists.txt @@ -0,0 +1,33 @@ +# --------------------------------------------------------------------------# ======== | +# \ / F ield | foam-extend: Open Source CFD +# \ / O peration | Version: 4.1 +# \ / A nd | Web: http://www.foam-extend.org +# \/ M anipulation | For copyright notice see file Copyright +# -------------------------------------------------------------------------- +# License +# This file is part of foam-extend. +# +# foam-extend 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 3 of the License, or {at your +# option} any later version. +# +# foam-extend 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 foam-extend. If not, see . +# +# Description +# CMakeLists.txt file for libraries and applications +# +# Author +# Henrik Rusche, Wikki GmbH, 2017. All rights reserved +# +# +# -------------------------------------------------------------------------- + +add_subdirectory(buoyantPisoFoam) +add_subdirectory(setHotRoom) \ No newline at end of file diff --git a/tutorials/heatTransfer/buoyantPisoFoam/CMakeLists.txt b/tutorials/heatTransfer/buoyantPisoFoam/CMakeLists.txt new file mode 100644 index 000000000..731e3d4c0 --- /dev/null +++ b/tutorials/heatTransfer/buoyantPisoFoam/CMakeLists.txt @@ -0,0 +1,32 @@ +# --------------------------------------------------------------------------# ======== | +# \ / F ield | foam-extend: Open Source CFD +# \ / O peration | Version: 4.1 +# \ / A nd | Web: http://www.foam-extend.org +# \/ M anipulation | For copyright notice see file Copyright +# -------------------------------------------------------------------------- +# License +# This file is part of foam-extend. +# +# foam-extend 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 3 of the License, or {at your +# option} any later version. +# +# foam-extend 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 foam-extend. If not, see . +# +# Description +# CMakeLists.txt file for libraries and applications +# +# Author +# Henrik Rusche, Wikki GmbH, 2017. All rights reserved +# +# +# -------------------------------------------------------------------------- + +add_subdirectory(hotRoom) \ No newline at end of file diff --git a/tutorials/heatTransfer/buoyantPisoFoam/hotRoom/CMakeLists.txt b/tutorials/heatTransfer/buoyantPisoFoam/hotRoom/CMakeLists.txt new file mode 100644 index 000000000..e24fcee83 --- /dev/null +++ b/tutorials/heatTransfer/buoyantPisoFoam/hotRoom/CMakeLists.txt @@ -0,0 +1,32 @@ +# --------------------------------------------------------------------------# ======== | +# \ / F ield | foam-extend: Open Source CFD +# \ / O peration | Version: 4.1 +# \ / A nd | Web: http://www.foam-extend.org +# \/ M anipulation | For copyright notice see file Copyright +# -------------------------------------------------------------------------- +# License +# This file is part of foam-extend. +# +# foam-extend 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 3 of the License, or {at your +# option} any later version. +# +# foam-extend 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 foam-extend. If not, see . +# +# Description +# CMakeLists.txt file for libraries and applications +# +# Author +# Henrik Rusche, Wikki GmbH, 2017. All rights reserved +# +# +# -------------------------------------------------------------------------- + +add_subdirectory(setHotRoom) \ No newline at end of file diff --git a/tutorials/heatTransfer/buoyantPisoFoam/hotRoom/setHotRoom/CMakeLists.txt b/tutorials/heatTransfer/buoyantPisoFoam/hotRoom/setHotRoom/CMakeLists.txt new file mode 100644 index 000000000..391c474b5 --- /dev/null +++ b/tutorials/heatTransfer/buoyantPisoFoam/hotRoom/setHotRoom/CMakeLists.txt @@ -0,0 +1,46 @@ +# -------------------------------------------------------------------------- +# ======== | +# \ / F ield | foam-extend: Open Source CFD +# \ / O peration | Version: 4.1 +# \ / A nd | Web: http://www.foam-extend.org +# \/ M anipulation | For copyright notice see file Copyright +# -------------------------------------------------------------------------- +# License +# This file is part of foam-extend. +# +# foam-extend 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 3 of the License, or {at your +# option} any later version. +# +# foam-extend 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 foam-extend. If not, see . +# +# Description +# CMakeLists.txt file for libraries and applications +# +# Author +# Henrik Rusche, Wikki GmbH, 2017. All rights reserved +# +# +# -------------------------------------------------------------------------- + +list(APPEND sources + setHotRoom.C +) + +# Set minimal environment for external compilation +if(NOT FOAM_FOUND) + cmake_minimum_required(VERSION 2.8) + find_package(FOAM REQUIRED) +endif() + +add_foam_executable(setHotRoom +# DEPENDS finiteVolume + SOURCES ${sources} +) diff --git a/tutorials/heatTransfer/setHotRoom/CMakeLists.txt b/tutorials/heatTransfer/setHotRoom/CMakeLists.txt new file mode 100644 index 000000000..391c474b5 --- /dev/null +++ b/tutorials/heatTransfer/setHotRoom/CMakeLists.txt @@ -0,0 +1,46 @@ +# -------------------------------------------------------------------------- +# ======== | +# \ / F ield | foam-extend: Open Source CFD +# \ / O peration | Version: 4.1 +# \ / A nd | Web: http://www.foam-extend.org +# \/ M anipulation | For copyright notice see file Copyright +# -------------------------------------------------------------------------- +# License +# This file is part of foam-extend. +# +# foam-extend 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 3 of the License, or {at your +# option} any later version. +# +# foam-extend 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 foam-extend. If not, see . +# +# Description +# CMakeLists.txt file for libraries and applications +# +# Author +# Henrik Rusche, Wikki GmbH, 2017. All rights reserved +# +# +# -------------------------------------------------------------------------- + +list(APPEND sources + setHotRoom.C +) + +# Set minimal environment for external compilation +if(NOT FOAM_FOUND) + cmake_minimum_required(VERSION 2.8) + find_package(FOAM REQUIRED) +endif() + +add_foam_executable(setHotRoom +# DEPENDS finiteVolume + SOURCES ${sources} +) diff --git a/tutorials/immersedBoundary/CMakeLists.txt b/tutorials/immersedBoundary/CMakeLists.txt new file mode 100644 index 000000000..d724f10e0 --- /dev/null +++ b/tutorials/immersedBoundary/CMakeLists.txt @@ -0,0 +1,33 @@ +# --------------------------------------------------------------------------# ======== | +# \ / F ield | foam-extend: Open Source CFD +# \ / O peration | Version: 4.1 +# \ / A nd | Web: http://www.foam-extend.org +# \/ M anipulation | For copyright notice see file Copyright +# -------------------------------------------------------------------------- +# License +# This file is part of foam-extend. +# +# foam-extend 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 3 of the License, or {at your +# option} any later version. +# +# foam-extend 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 foam-extend. If not, see . +# +# Description +# CMakeLists.txt file for libraries and applications +# +# Author +# Henrik Rusche, Wikki GmbH, 2017. All rights reserved +# +# +# -------------------------------------------------------------------------- + +add_subdirectory(sphereInChannel) +add_subdirectory(thickPlateRefinedMesh) \ No newline at end of file diff --git a/tutorials/immersedBoundary/sphereInChannel/CMakeLists.txt b/tutorials/immersedBoundary/sphereInChannel/CMakeLists.txt new file mode 100644 index 000000000..e10fc2837 --- /dev/null +++ b/tutorials/immersedBoundary/sphereInChannel/CMakeLists.txt @@ -0,0 +1,32 @@ +# --------------------------------------------------------------------------# ======== | +# \ / F ield | foam-extend: Open Source CFD +# \ / O peration | Version: 4.1 +# \ / A nd | Web: http://www.foam-extend.org +# \/ M anipulation | For copyright notice see file Copyright +# -------------------------------------------------------------------------- +# License +# This file is part of foam-extend. +# +# foam-extend 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 3 of the License, or {at your +# option} any later version. +# +# foam-extend 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 foam-extend. If not, see . +# +# Description +# CMakeLists.txt file for libraries and applications +# +# Author +# Henrik Rusche, Wikki GmbH, 2017. All rights reserved +# +# +# -------------------------------------------------------------------------- + +add_subdirectory(refineSphereMesh) \ No newline at end of file diff --git a/tutorials/immersedBoundary/sphereInChannel/refineSphereMesh/CMakeLists.txt b/tutorials/immersedBoundary/sphereInChannel/refineSphereMesh/CMakeLists.txt new file mode 100644 index 000000000..2dd01d972 --- /dev/null +++ b/tutorials/immersedBoundary/sphereInChannel/refineSphereMesh/CMakeLists.txt @@ -0,0 +1,46 @@ +# -------------------------------------------------------------------------- +# ======== | +# \ / F ield | foam-extend: Open Source CFD +# \ / O peration | Version: 4.1 +# \ / A nd | Web: http://www.foam-extend.org +# \/ M anipulation | For copyright notice see file Copyright +# -------------------------------------------------------------------------- +# License +# This file is part of foam-extend. +# +# foam-extend 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 3 of the License, or {at your +# option} any later version. +# +# foam-extend 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 foam-extend. If not, see . +# +# Description +# CMakeLists.txt file for libraries and applications +# +# Author +# Henrik Rusche, Wikki GmbH, 2017. All rights reserved +# +# +# -------------------------------------------------------------------------- + +list(APPEND sources + refineSphereMesh.C +) + +# Set minimal environment for external compilation +if(NOT FOAM_FOUND) + cmake_minimum_required(VERSION 2.8) + find_package(FOAM REQUIRED) +endif() + +add_foam_executable(refineSphereMesh +# DEPENDS finiteVolume + SOURCES ${sources} +) diff --git a/tutorials/immersedBoundary/thickPlateRefinedMesh/CMakeLists.txt b/tutorials/immersedBoundary/thickPlateRefinedMesh/CMakeLists.txt new file mode 100644 index 000000000..c05232353 --- /dev/null +++ b/tutorials/immersedBoundary/thickPlateRefinedMesh/CMakeLists.txt @@ -0,0 +1,32 @@ +# --------------------------------------------------------------------------# ======== | +# \ / F ield | foam-extend: Open Source CFD +# \ / O peration | Version: 4.1 +# \ / A nd | Web: http://www.foam-extend.org +# \/ M anipulation | For copyright notice see file Copyright +# -------------------------------------------------------------------------- +# License +# This file is part of foam-extend. +# +# foam-extend 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 3 of the License, or {at your +# option} any later version. +# +# foam-extend 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 foam-extend. If not, see . +# +# Description +# CMakeLists.txt file for libraries and applications +# +# Author +# Henrik Rusche, Wikki GmbH, 2017. All rights reserved +# +# +# -------------------------------------------------------------------------- + +add_subdirectory(refineThickPlateMesh) \ No newline at end of file diff --git a/tutorials/immersedBoundary/thickPlateRefinedMesh/refineThickPlateMesh/CMakeLists.txt b/tutorials/immersedBoundary/thickPlateRefinedMesh/refineThickPlateMesh/CMakeLists.txt new file mode 100644 index 000000000..5066e4b5a --- /dev/null +++ b/tutorials/immersedBoundary/thickPlateRefinedMesh/refineThickPlateMesh/CMakeLists.txt @@ -0,0 +1,46 @@ +# -------------------------------------------------------------------------- +# ======== | +# \ / F ield | foam-extend: Open Source CFD +# \ / O peration | Version: 4.1 +# \ / A nd | Web: http://www.foam-extend.org +# \/ M anipulation | For copyright notice see file Copyright +# -------------------------------------------------------------------------- +# License +# This file is part of foam-extend. +# +# foam-extend 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 3 of the License, or {at your +# option} any later version. +# +# foam-extend 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 foam-extend. If not, see . +# +# Description +# CMakeLists.txt file for libraries and applications +# +# Author +# Henrik Rusche, Wikki GmbH, 2017. All rights reserved +# +# +# -------------------------------------------------------------------------- + +list(APPEND sources + refineThickPlateMesh.C +) + +# Set minimal environment for external compilation +if(NOT FOAM_FOUND) + cmake_minimum_required(VERSION 2.8) + find_package(FOAM REQUIRED) +endif() + +add_foam_executable(refineThickPlateMesh +# DEPENDS finiteVolume + SOURCES ${sources} +) diff --git a/tutorials/incompressible/CMakeLists.txt b/tutorials/incompressible/CMakeLists.txt new file mode 100644 index 000000000..75afaf363 --- /dev/null +++ b/tutorials/incompressible/CMakeLists.txt @@ -0,0 +1,32 @@ +# --------------------------------------------------------------------------# ======== | +# \ / F ield | foam-extend: Open Source CFD +# \ / O peration | Version: 4.1 +# \ / A nd | Web: http://www.foam-extend.org +# \/ M anipulation | For copyright notice see file Copyright +# -------------------------------------------------------------------------- +# License +# This file is part of foam-extend. +# +# foam-extend 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 3 of the License, or {at your +# option} any later version. +# +# foam-extend 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 foam-extend. If not, see . +# +# Description +# CMakeLists.txt file for libraries and applications +# +# Author +# Henrik Rusche, Wikki GmbH, 2017. All rights reserved +# +# +# -------------------------------------------------------------------------- + +add_subdirectory(icoDyMFoam) \ No newline at end of file diff --git a/tutorials/incompressible/icoDyMFoam/CMakeLists.txt b/tutorials/incompressible/icoDyMFoam/CMakeLists.txt new file mode 100644 index 000000000..c1b3d05f8 --- /dev/null +++ b/tutorials/incompressible/icoDyMFoam/CMakeLists.txt @@ -0,0 +1,33 @@ +# --------------------------------------------------------------------------# ======== | +# \ / F ield | foam-extend: Open Source CFD +# \ / O peration | Version: 4.1 +# \ / A nd | Web: http://www.foam-extend.org +# \/ M anipulation | For copyright notice see file Copyright +# -------------------------------------------------------------------------- +# License +# This file is part of foam-extend. +# +# foam-extend 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 3 of the License, or {at your +# option} any later version. +# +# foam-extend 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 foam-extend. If not, see . +# +# Description +# CMakeLists.txt file for libraries and applications +# +# Author +# Henrik Rusche, Wikki GmbH, 2017. All rights reserved +# +# +# -------------------------------------------------------------------------- + +add_subdirectory(movingBlockRBF) +add_subdirectory(movingConeMotion) \ No newline at end of file diff --git a/tutorials/incompressible/icoDyMFoam/movingBlockRBF/CMakeLists.txt b/tutorials/incompressible/icoDyMFoam/movingBlockRBF/CMakeLists.txt new file mode 100644 index 000000000..d6ad477e4 --- /dev/null +++ b/tutorials/incompressible/icoDyMFoam/movingBlockRBF/CMakeLists.txt @@ -0,0 +1,32 @@ +# --------------------------------------------------------------------------# ======== | +# \ / F ield | foam-extend: Open Source CFD +# \ / O peration | Version: 4.1 +# \ / A nd | Web: http://www.foam-extend.org +# \/ M anipulation | For copyright notice see file Copyright +# -------------------------------------------------------------------------- +# License +# This file is part of foam-extend. +# +# foam-extend 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 3 of the License, or {at your +# option} any later version. +# +# foam-extend 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 foam-extend. If not, see . +# +# Description +# CMakeLists.txt file for libraries and applications +# +# Author +# Henrik Rusche, Wikki GmbH, 2017. All rights reserved +# +# +# -------------------------------------------------------------------------- + +add_subdirectory(RBFMotionFunction) \ No newline at end of file diff --git a/tutorials/incompressible/icoDyMFoam/movingBlockRBF/RBFMotionFunction/CMakeLists.txt b/tutorials/incompressible/icoDyMFoam/movingBlockRBF/RBFMotionFunction/CMakeLists.txt new file mode 100644 index 000000000..edfceb164 --- /dev/null +++ b/tutorials/incompressible/icoDyMFoam/movingBlockRBF/RBFMotionFunction/CMakeLists.txt @@ -0,0 +1,41 @@ +# -------------------------------------------------------------------------- +# ======== | +# \ / F ield | foam-extend: Open Source CFD +# \ / O peration | Version: 4.1 +# \ / A nd | Web: http://www.foam-extend.org +# \/ M anipulation | For copyright notice see file Copyright +# -------------------------------------------------------------------------- +# License +# This file is part of foam-extend. +# +# foam-extend 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 3 of the License, or {at your +# option} any later version. +# +# foam-extend 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 foam-extend. If not, see . +# +# Description +# CMakeLists.txt file for libraries and applications +# +# Author +# Henrik Rusche, Wikki GmbH, 2017. All rights reserved +# +# +# -------------------------------------------------------------------------- + +list(APPEND sources + RBFMotionFunctionObject.C +) + +add_foam_library(RBFMotionFunction SHARED ${sources}) + +# This is a prototype! Replace second argument with a list of the highest +# dependencies only. Inherited dependencies will be treated automatically. +#target_link_libraries(RBFMotionFunction finiteVolume) diff --git a/tutorials/incompressible/icoDyMFoam/movingConeMotion/CMakeLists.txt b/tutorials/incompressible/icoDyMFoam/movingConeMotion/CMakeLists.txt new file mode 100644 index 000000000..59dca2170 --- /dev/null +++ b/tutorials/incompressible/icoDyMFoam/movingConeMotion/CMakeLists.txt @@ -0,0 +1,32 @@ +# --------------------------------------------------------------------------# ======== | +# \ / F ield | foam-extend: Open Source CFD +# \ / O peration | Version: 4.1 +# \ / A nd | Web: http://www.foam-extend.org +# \/ M anipulation | For copyright notice see file Copyright +# -------------------------------------------------------------------------- +# License +# This file is part of foam-extend. +# +# foam-extend 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 3 of the License, or {at your +# option} any later version. +# +# foam-extend 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 foam-extend. If not, see . +# +# Description +# CMakeLists.txt file for libraries and applications +# +# Author +# Henrik Rusche, Wikki GmbH, 2017. All rights reserved +# +# +# -------------------------------------------------------------------------- + +add_subdirectory(setMotionMovingCone) \ No newline at end of file diff --git a/tutorials/incompressible/icoDyMFoam/movingConeMotion/setMotionMovingCone/CMakeLists.txt b/tutorials/incompressible/icoDyMFoam/movingConeMotion/setMotionMovingCone/CMakeLists.txt new file mode 100644 index 000000000..a19ee857f --- /dev/null +++ b/tutorials/incompressible/icoDyMFoam/movingConeMotion/setMotionMovingCone/CMakeLists.txt @@ -0,0 +1,46 @@ +# -------------------------------------------------------------------------- +# ======== | +# \ / F ield | foam-extend: Open Source CFD +# \ / O peration | Version: 4.1 +# \ / A nd | Web: http://www.foam-extend.org +# \/ M anipulation | For copyright notice see file Copyright +# -------------------------------------------------------------------------- +# License +# This file is part of foam-extend. +# +# foam-extend 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 3 of the License, or {at your +# option} any later version. +# +# foam-extend 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 foam-extend. If not, see . +# +# Description +# CMakeLists.txt file for libraries and applications +# +# Author +# Henrik Rusche, Wikki GmbH, 2017. All rights reserved +# +# +# -------------------------------------------------------------------------- + +list(APPEND sources + setMotionMovingCone.C +) + +# Set minimal environment for external compilation +if(NOT FOAM_FOUND) + cmake_minimum_required(VERSION 2.8) + find_package(FOAM REQUIRED) +endif() + +add_foam_executable(setMotionMovingCone +# DEPENDS finiteVolume + SOURCES ${sources} +) diff --git a/tutorials/lagrangian/CMakeLists.txt b/tutorials/lagrangian/CMakeLists.txt new file mode 100644 index 000000000..8434d3eed --- /dev/null +++ b/tutorials/lagrangian/CMakeLists.txt @@ -0,0 +1,33 @@ +# --------------------------------------------------------------------------# ======== | +# \ / F ield | foam-extend: Open Source CFD +# \ / O peration | Version: 4.1 +# \ / A nd | Web: http://www.foam-extend.org +# \/ M anipulation | For copyright notice see file Copyright +# -------------------------------------------------------------------------- +# License +# This file is part of foam-extend. +# +# foam-extend 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 3 of the License, or {at your +# option} any later version. +# +# foam-extend 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 foam-extend. If not, see . +# +# Description +# CMakeLists.txt file for libraries and applications +# +# Author +# Henrik Rusche, Wikki GmbH, 2017. All rights reserved +# +# +# -------------------------------------------------------------------------- + +add_subdirectory(rhoPisoTwinParcelFoam) +add_subdirectory(icoLagrangianFoam) \ No newline at end of file diff --git a/tutorials/lagrangian/icoLagrangianFoam/CMakeLists.txt b/tutorials/lagrangian/icoLagrangianFoam/CMakeLists.txt new file mode 100644 index 000000000..6c396b17c --- /dev/null +++ b/tutorials/lagrangian/icoLagrangianFoam/CMakeLists.txt @@ -0,0 +1,32 @@ +# --------------------------------------------------------------------------# ======== | +# \ / F ield | foam-extend: Open Source CFD +# \ / O peration | Version: 4.1 +# \ / A nd | Web: http://www.foam-extend.org +# \/ M anipulation | For copyright notice see file Copyright +# -------------------------------------------------------------------------- +# License +# This file is part of foam-extend. +# +# foam-extend 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 3 of the License, or {at your +# option} any later version. +# +# foam-extend 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 foam-extend. If not, see . +# +# Description +# CMakeLists.txt file for libraries and applications +# +# Author +# Henrik Rusche, Wikki GmbH, 2017. All rights reserved +# +# +# -------------------------------------------------------------------------- + +add_subdirectory(icoLagrangianFoam) \ No newline at end of file diff --git a/tutorials/lagrangian/icoLagrangianFoam/icoLagrangianFoam/CMakeLists.txt b/tutorials/lagrangian/icoLagrangianFoam/icoLagrangianFoam/CMakeLists.txt new file mode 100644 index 000000000..583e59520 --- /dev/null +++ b/tutorials/lagrangian/icoLagrangianFoam/icoLagrangianFoam/CMakeLists.txt @@ -0,0 +1,46 @@ +# -------------------------------------------------------------------------- +# ======== | +# \ / F ield | foam-extend: Open Source CFD +# \ / O peration | Version: 4.1 +# \ / A nd | Web: http://www.foam-extend.org +# \/ M anipulation | For copyright notice see file Copyright +# -------------------------------------------------------------------------- +# License +# This file is part of foam-extend. +# +# foam-extend 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 3 of the License, or {at your +# option} any later version. +# +# foam-extend 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 foam-extend. If not, see . +# +# Description +# CMakeLists.txt file for libraries and applications +# +# Author +# Henrik Rusche, Wikki GmbH, 2017. All rights reserved +# +# +# -------------------------------------------------------------------------- + +list(APPEND sources + icoLagrangianFoam.C +) + +# Set minimal environment for external compilation +if(NOT FOAM_FOUND) + cmake_minimum_required(VERSION 2.8) + find_package(FOAM REQUIRED) +endif() + +add_foam_executable(icoLagrangianFoam +# DEPENDS finiteVolume + SOURCES ${sources} +) diff --git a/tutorials/lagrangian/rhoPisoTwinParcelFoam/CMakeLists.txt b/tutorials/lagrangian/rhoPisoTwinParcelFoam/CMakeLists.txt new file mode 100644 index 000000000..d0d101aaf --- /dev/null +++ b/tutorials/lagrangian/rhoPisoTwinParcelFoam/CMakeLists.txt @@ -0,0 +1,32 @@ +# --------------------------------------------------------------------------# ======== | +# \ / F ield | foam-extend: Open Source CFD +# \ / O peration | Version: 4.1 +# \ / A nd | Web: http://www.foam-extend.org +# \/ M anipulation | For copyright notice see file Copyright +# -------------------------------------------------------------------------- +# License +# This file is part of foam-extend. +# +# foam-extend 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 3 of the License, or {at your +# option} any later version. +# +# foam-extend 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 foam-extend. If not, see . +# +# Description +# CMakeLists.txt file for libraries and applications +# +# Author +# Henrik Rusche, Wikki GmbH, 2017. All rights reserved +# +# +# -------------------------------------------------------------------------- + +add_subdirectory(rhoPisoTwinParcelFoam) \ No newline at end of file diff --git a/tutorials/lagrangian/rhoPisoTwinParcelFoam/rhoPisoTwinParcelFoam/CMakeLists.txt b/tutorials/lagrangian/rhoPisoTwinParcelFoam/rhoPisoTwinParcelFoam/CMakeLists.txt new file mode 100644 index 000000000..503c8068f --- /dev/null +++ b/tutorials/lagrangian/rhoPisoTwinParcelFoam/rhoPisoTwinParcelFoam/CMakeLists.txt @@ -0,0 +1,46 @@ +# -------------------------------------------------------------------------- +# ======== | +# \ / F ield | foam-extend: Open Source CFD +# \ / O peration | Version: 4.1 +# \ / A nd | Web: http://www.foam-extend.org +# \/ M anipulation | For copyright notice see file Copyright +# -------------------------------------------------------------------------- +# License +# This file is part of foam-extend. +# +# foam-extend 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 3 of the License, or {at your +# option} any later version. +# +# foam-extend 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 foam-extend. If not, see . +# +# Description +# CMakeLists.txt file for libraries and applications +# +# Author +# Henrik Rusche, Wikki GmbH, 2017. All rights reserved +# +# +# -------------------------------------------------------------------------- + +list(APPEND sources + rhoPisoTwinParcelFoam.C +) + +# Set minimal environment for external compilation +if(NOT FOAM_FOUND) + cmake_minimum_required(VERSION 2.8) + find_package(FOAM REQUIRED) +endif() + +add_foam_executable(rhoPisoTwinParcelFoam +# DEPENDS finiteVolume + SOURCES ${sources} +) diff --git a/tutorials/multiphase/CMakeLists.txt b/tutorials/multiphase/CMakeLists.txt new file mode 100644 index 000000000..7b0928bee --- /dev/null +++ b/tutorials/multiphase/CMakeLists.txt @@ -0,0 +1,32 @@ +# --------------------------------------------------------------------------# ======== | +# \ / F ield | foam-extend: Open Source CFD +# \ / O peration | Version: 4.1 +# \ / A nd | Web: http://www.foam-extend.org +# \/ M anipulation | For copyright notice see file Copyright +# -------------------------------------------------------------------------- +# License +# This file is part of foam-extend. +# +# foam-extend 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 3 of the License, or {at your +# option} any later version. +# +# foam-extend 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 foam-extend. If not, see . +# +# Description +# CMakeLists.txt file for libraries and applications +# +# Author +# Henrik Rusche, Wikki GmbH, 2017. All rights reserved +# +# +# -------------------------------------------------------------------------- + +add_subdirectory(interDyMFoam) \ No newline at end of file diff --git a/tutorials/multiphase/interDyMFoam/CMakeLists.txt b/tutorials/multiphase/interDyMFoam/CMakeLists.txt new file mode 100644 index 000000000..eda43e6fd --- /dev/null +++ b/tutorials/multiphase/interDyMFoam/CMakeLists.txt @@ -0,0 +1,32 @@ +# --------------------------------------------------------------------------# ======== | +# \ / F ield | foam-extend: Open Source CFD +# \ / O peration | Version: 4.1 +# \ / A nd | Web: http://www.foam-extend.org +# \/ M anipulation | For copyright notice see file Copyright +# -------------------------------------------------------------------------- +# License +# This file is part of foam-extend. +# +# foam-extend 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 3 of the License, or {at your +# option} any later version. +# +# foam-extend 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 foam-extend. If not, see . +# +# Description +# CMakeLists.txt file for libraries and applications +# +# Author +# Henrik Rusche, Wikki GmbH, 2017. All rights reserved +# +# +# -------------------------------------------------------------------------- + +add_subdirectory(ras) \ No newline at end of file diff --git a/tutorials/multiphase/interDyMFoam/ras/CMakeLists.txt b/tutorials/multiphase/interDyMFoam/ras/CMakeLists.txt new file mode 100644 index 000000000..7de925e3c --- /dev/null +++ b/tutorials/multiphase/interDyMFoam/ras/CMakeLists.txt @@ -0,0 +1,32 @@ +# --------------------------------------------------------------------------# ======== | +# \ / F ield | foam-extend: Open Source CFD +# \ / O peration | Version: 4.1 +# \ / A nd | Web: http://www.foam-extend.org +# \/ M anipulation | For copyright notice see file Copyright +# -------------------------------------------------------------------------- +# License +# This file is part of foam-extend. +# +# foam-extend 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 3 of the License, or {at your +# option} any later version. +# +# foam-extend 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 foam-extend. If not, see . +# +# Description +# CMakeLists.txt file for libraries and applications +# +# Author +# Henrik Rusche, Wikki GmbH, 2017. All rights reserved +# +# +# -------------------------------------------------------------------------- + +add_subdirectory(sloshingTank3D6DoF) \ No newline at end of file diff --git a/tutorials/multiphase/interDyMFoam/ras/sloshingTank3D6DoF/CMakeLists.txt b/tutorials/multiphase/interDyMFoam/ras/sloshingTank3D6DoF/CMakeLists.txt new file mode 100644 index 000000000..89ae30c69 --- /dev/null +++ b/tutorials/multiphase/interDyMFoam/ras/sloshingTank3D6DoF/CMakeLists.txt @@ -0,0 +1,32 @@ +# --------------------------------------------------------------------------# ======== | +# \ / F ield | foam-extend: Open Source CFD +# \ / O peration | Version: 4.1 +# \ / A nd | Web: http://www.foam-extend.org +# \/ M anipulation | For copyright notice see file Copyright +# -------------------------------------------------------------------------- +# License +# This file is part of foam-extend. +# +# foam-extend 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 3 of the License, or {at your +# option} any later version. +# +# foam-extend 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 foam-extend. If not, see . +# +# Description +# CMakeLists.txt file for libraries and applications +# +# Author +# Henrik Rusche, Wikki GmbH, 2017. All rights reserved +# +# +# -------------------------------------------------------------------------- + +add_subdirectory(gen6DoF) \ No newline at end of file diff --git a/tutorials/multiphase/interDyMFoam/ras/sloshingTank3D6DoF/gen6DoF/CMakeLists.txt b/tutorials/multiphase/interDyMFoam/ras/sloshingTank3D6DoF/gen6DoF/CMakeLists.txt new file mode 100644 index 000000000..34263f824 --- /dev/null +++ b/tutorials/multiphase/interDyMFoam/ras/sloshingTank3D6DoF/gen6DoF/CMakeLists.txt @@ -0,0 +1,46 @@ +# -------------------------------------------------------------------------- +# ======== | +# \ / F ield | foam-extend: Open Source CFD +# \ / O peration | Version: 4.1 +# \ / A nd | Web: http://www.foam-extend.org +# \/ M anipulation | For copyright notice see file Copyright +# -------------------------------------------------------------------------- +# License +# This file is part of foam-extend. +# +# foam-extend 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 3 of the License, or {at your +# option} any later version. +# +# foam-extend 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 foam-extend. If not, see . +# +# Description +# CMakeLists.txt file for libraries and applications +# +# Author +# Henrik Rusche, Wikki GmbH, 2017. All rights reserved +# +# +# -------------------------------------------------------------------------- + +list(APPEND sources + gen6DoF.C +) + +# Set minimal environment for external compilation +if(NOT FOAM_FOUND) + cmake_minimum_required(VERSION 2.8) + find_package(FOAM REQUIRED) +endif() + +add_foam_executable(gen6DoF +# DEPENDS finiteVolume + SOURCES ${sources} +) diff --git a/tutorials/solidMechanics/CMakeLists.txt b/tutorials/solidMechanics/CMakeLists.txt new file mode 100644 index 000000000..a922b9899 --- /dev/null +++ b/tutorials/solidMechanics/CMakeLists.txt @@ -0,0 +1,33 @@ +# --------------------------------------------------------------------------# ======== | +# \ / F ield | foam-extend: Open Source CFD +# \ / O peration | Version: 4.1 +# \ / A nd | Web: http://www.foam-extend.org +# \/ M anipulation | For copyright notice see file Copyright +# -------------------------------------------------------------------------- +# License +# This file is part of foam-extend. +# +# foam-extend 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 3 of the License, or {at your +# option} any later version. +# +# foam-extend 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 foam-extend. If not, see . +# +# Description +# CMakeLists.txt file for libraries and applications +# +# Author +# Henrik Rusche, Wikki GmbH, 2017. All rights reserved +# +# +# -------------------------------------------------------------------------- + +add_subdirectory(elasticSolidFoam) +add_subdirectory(elasticThermalSolidFoam) \ No newline at end of file diff --git a/tutorials/solidMechanics/elasticSolidFoam/CMakeLists.txt b/tutorials/solidMechanics/elasticSolidFoam/CMakeLists.txt new file mode 100644 index 000000000..0a072521e --- /dev/null +++ b/tutorials/solidMechanics/elasticSolidFoam/CMakeLists.txt @@ -0,0 +1,32 @@ +# --------------------------------------------------------------------------# ======== | +# \ / F ield | foam-extend: Open Source CFD +# \ / O peration | Version: 4.1 +# \ / A nd | Web: http://www.foam-extend.org +# \/ M anipulation | For copyright notice see file Copyright +# -------------------------------------------------------------------------- +# License +# This file is part of foam-extend. +# +# foam-extend 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 3 of the License, or {at your +# option} any later version. +# +# foam-extend 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 foam-extend. If not, see . +# +# Description +# CMakeLists.txt file for libraries and applications +# +# Author +# Henrik Rusche, Wikki GmbH, 2017. All rights reserved +# +# +# -------------------------------------------------------------------------- + +add_subdirectory(plateHole) \ No newline at end of file diff --git a/tutorials/solidMechanics/elasticSolidFoam/plateHole/CMakeLists.txt b/tutorials/solidMechanics/elasticSolidFoam/plateHole/CMakeLists.txt new file mode 100644 index 000000000..87e7026a6 --- /dev/null +++ b/tutorials/solidMechanics/elasticSolidFoam/plateHole/CMakeLists.txt @@ -0,0 +1,32 @@ +# --------------------------------------------------------------------------# ======== | +# \ / F ield | foam-extend: Open Source CFD +# \ / O peration | Version: 4.1 +# \ / A nd | Web: http://www.foam-extend.org +# \/ M anipulation | For copyright notice see file Copyright +# -------------------------------------------------------------------------- +# License +# This file is part of foam-extend. +# +# foam-extend 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 3 of the License, or {at your +# option} any later version. +# +# foam-extend 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 foam-extend. If not, see . +# +# Description +# CMakeLists.txt file for libraries and applications +# +# Author +# Henrik Rusche, Wikki GmbH, 2017. All rights reserved +# +# +# -------------------------------------------------------------------------- + +add_subdirectory(analyticalPlateHole) \ No newline at end of file diff --git a/tutorials/solidMechanics/elasticSolidFoam/plateHole/analyticalPlateHole/CMakeLists.txt b/tutorials/solidMechanics/elasticSolidFoam/plateHole/analyticalPlateHole/CMakeLists.txt new file mode 100644 index 000000000..4e674b9d1 --- /dev/null +++ b/tutorials/solidMechanics/elasticSolidFoam/plateHole/analyticalPlateHole/CMakeLists.txt @@ -0,0 +1,46 @@ +# -------------------------------------------------------------------------- +# ======== | +# \ / F ield | foam-extend: Open Source CFD +# \ / O peration | Version: 4.1 +# \ / A nd | Web: http://www.foam-extend.org +# \/ M anipulation | For copyright notice see file Copyright +# -------------------------------------------------------------------------- +# License +# This file is part of foam-extend. +# +# foam-extend 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 3 of the License, or {at your +# option} any later version. +# +# foam-extend 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 foam-extend. If not, see . +# +# Description +# CMakeLists.txt file for libraries and applications +# +# Author +# Henrik Rusche, Wikki GmbH, 2017. All rights reserved +# +# +# -------------------------------------------------------------------------- + +list(APPEND sources + analyticalPlateHole.C +) + +# Set minimal environment for external compilation +if(NOT FOAM_FOUND) + cmake_minimum_required(VERSION 2.8) + find_package(FOAM REQUIRED) +endif() + +add_foam_executable(analyticalPlateHole +# DEPENDS finiteVolume + SOURCES ${sources} +) diff --git a/tutorials/solidMechanics/elasticThermalSolidFoam/CMakeLists.txt b/tutorials/solidMechanics/elasticThermalSolidFoam/CMakeLists.txt new file mode 100644 index 000000000..e56612143 --- /dev/null +++ b/tutorials/solidMechanics/elasticThermalSolidFoam/CMakeLists.txt @@ -0,0 +1,32 @@ +# --------------------------------------------------------------------------# ======== | +# \ / F ield | foam-extend: Open Source CFD +# \ / O peration | Version: 4.1 +# \ / A nd | Web: http://www.foam-extend.org +# \/ M anipulation | For copyright notice see file Copyright +# -------------------------------------------------------------------------- +# License +# This file is part of foam-extend. +# +# foam-extend 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 3 of the License, or {at your +# option} any later version. +# +# foam-extend 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 foam-extend. If not, see . +# +# Description +# CMakeLists.txt file for libraries and applications +# +# Author +# Henrik Rusche, Wikki GmbH, 2017. All rights reserved +# +# +# -------------------------------------------------------------------------- + +add_subdirectory(hotCylinder) \ No newline at end of file diff --git a/tutorials/solidMechanics/elasticThermalSolidFoam/hotCylinder/CMakeLists.txt b/tutorials/solidMechanics/elasticThermalSolidFoam/hotCylinder/CMakeLists.txt new file mode 100644 index 000000000..ccb38a012 --- /dev/null +++ b/tutorials/solidMechanics/elasticThermalSolidFoam/hotCylinder/CMakeLists.txt @@ -0,0 +1,32 @@ +# --------------------------------------------------------------------------# ======== | +# \ / F ield | foam-extend: Open Source CFD +# \ / O peration | Version: 4.1 +# \ / A nd | Web: http://www.foam-extend.org +# \/ M anipulation | For copyright notice see file Copyright +# -------------------------------------------------------------------------- +# License +# This file is part of foam-extend. +# +# foam-extend 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 3 of the License, or {at your +# option} any later version. +# +# foam-extend 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 foam-extend. If not, see . +# +# Description +# CMakeLists.txt file for libraries and applications +# +# Author +# Henrik Rusche, Wikki GmbH, 2017. All rights reserved +# +# +# -------------------------------------------------------------------------- + +add_subdirectory(analyticalHotCylinder) \ No newline at end of file diff --git a/tutorials/solidMechanics/elasticThermalSolidFoam/hotCylinder/analyticalHotCylinder/CMakeLists.txt b/tutorials/solidMechanics/elasticThermalSolidFoam/hotCylinder/analyticalHotCylinder/CMakeLists.txt new file mode 100644 index 000000000..486d4b439 --- /dev/null +++ b/tutorials/solidMechanics/elasticThermalSolidFoam/hotCylinder/analyticalHotCylinder/CMakeLists.txt @@ -0,0 +1,45 @@ +# --------------------------------------------------------------------------# ======== | +# \ / F ield | foam-extend: Open Source CFD +# \ / O peration | Version: 4.1 +# \ / A nd | Web: http://www.foam-extend.org +# \/ M anipulation | For copyright notice see file Copyright +# -------------------------------------------------------------------------- +# License +# This file is part of foam-extend. +# +# foam-extend 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 3 of the License, or {at your +# option} any later version. +# +# foam-extend 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 foam-extend. If not, see . +# +# Description +# CMakeLists.txt file for libraries and applications +# +# Author +# Henrik Rusche, Wikki GmbH, 2017. All rights reserved +# +# +# -------------------------------------------------------------------------- + +list(APPEND sources + analyticalHotCylinder.C +) + +# Set minimal environment for external compilation +if(NOT FOAM_FOUND) + cmake_minimum_required(VERSION 2.8) + find_package(FOAM REQUIRED) +endif() + +add_foam_executable(analyticalHotCylinder +# DEPENDS finiteVolume + SOURCES ${sources} +) From 3abb7c9f7b5c19b41987bb905730bf64c566e032 Mon Sep 17 00:00:00 2001 From: Henrik Rusche Date: Fri, 24 Feb 2017 11:15:43 +0100 Subject: [PATCH 014/361] Enabled paraview plugin and out-of-source compilation --- CMakeLists.txt | 58 +- .../solvers/DNS/dnsFoam/CMakeLists.txt | 4 +- .../solvers/basic/PODSolver/CMakeLists.txt | 4 +- .../basic/laplacianFoam/CMakeLists.txt | 4 +- .../basic/potentialDyMFoam/CMakeLists.txt | 4 +- .../basic/potentialFoam/CMakeLists.txt | 4 +- .../basic/scalarTransportFoam/CMakeLists.txt | 4 +- .../solvers/basic/sixDOFSolver/CMakeLists.txt | 4 +- .../solvers/combustion/PDRFoam/CMakeLists.txt | 4 +- .../solvers/combustion/XiFoam/CMakeLists.txt | 4 +- .../combustion/coldEngineFoam/CMakeLists.txt | 4 +- .../dieselEngineFoam/CMakeLists.txt | 4 +- .../combustion/dieselFoam/CMakeLists.txt | 4 +- .../combustion/engineFoam/CMakeLists.txt | 4 +- .../fireFoam/combustionModels/CMakeLists.txt | 6 +- .../combustion/reactingFoam/CMakeLists.txt | 4 +- .../combustion/rhoReactingFoam/CMakeLists.txt | 4 +- .../compressible/dbnsFoam/CMakeLists.txt | 4 +- .../compressible/dbnsTurbFoam/CMakeLists.txt | 4 +- .../realFluidPisoFoam/CMakeLists.txt | 4 +- .../rhoCentralFoam/BCs/CMakeLists.txt | 6 +- .../compressible/rhoPimpleFoam/CMakeLists.txt | 4 +- .../compressible/rhoPisoFoam/CMakeLists.txt | 4 +- .../rhoPorousMRFPimpleFoam/CMakeLists.txt | 4 +- .../rhoPorousSimpleFoam/CMakeLists.txt | 4 +- .../compressible/rhoSimpleFoam/CMakeLists.txt | 4 +- .../compressible/rhoSonicFoam/CMakeLists.txt | 4 +- .../rhopSonicFoam/BCs/CMakeLists.txt | 6 +- .../compressible/sonicDyMFoam/CMakeLists.txt | 4 +- .../compressible/sonicFoam/CMakeLists.txt | 4 +- .../sonicLiquidFoam/CMakeLists.txt | 4 +- .../steadyCompressibleFoam/CMakeLists.txt | 4 +- .../steadyCompressibleMRFFoam/CMakeLists.txt | 4 +- .../steadyCompressibleSRFFoam/CMakeLists.txt | 4 +- .../steadyUniversalFoam/CMakeLists.txt | 4 +- .../steadyUniversalMRFFoam/CMakeLists.txt | 4 +- .../coupled/MRFPorousFoam/CMakeLists.txt | 4 +- .../CMakeLists.txt | 4 +- .../coupled/conjugateHeatFoam/CMakeLists.txt | 4 +- .../conjugateHeatSimpleFoam/CMakeLists.txt | 4 +- .../conjugateHeatTransfer/CMakeLists.txt | 16 +- .../coupled/pUCoupledFoam/CMakeLists.txt | 4 +- .../dsmc/dsmcFoam/CMakeLists.txt | 4 +- .../mdEquilibrationFoam/CMakeLists.txt | 4 +- .../molecularDynamics/mdFoam/CMakeLists.txt | 4 +- .../electrostaticFoam/CMakeLists.txt | 4 +- .../electromagnetics/mhdFoam/CMakeLists.txt | 4 +- .../engine/icoDyMEngineFoam/CMakeLists.txt | 4 +- .../sonicTurbDyMEngineFoam/CMakeLists.txt | 4 +- .../engine/turbDyMEngineFoam/CMakeLists.txt | 4 +- .../solvers/equationReaderDemo/CMakeLists.txt | 4 +- .../financial/financialFoam/CMakeLists.txt | 4 +- .../finiteArea/liquidFilmFoam/CMakeLists.txt | 4 +- .../finiteArea/surfactantFoam/CMakeLists.txt | 4 +- .../boussinesqBuoyantFoam/CMakeLists.txt | 4 +- .../buoyantBoussinesqPisoFoam/CMakeLists.txt | 4 +- .../CMakeLists.txt | 4 +- .../buoyantPisoFoam/CMakeLists.txt | 4 +- .../buoyantSimpleFoam/CMakeLists.txt | 4 +- .../buoyantSimpleRadiationFoam/CMakeLists.txt | 4 +- .../chtMultiRegionFoam/CMakeLists.txt | 4 +- .../chtMultiRegionSimpleFoam/CMakeLists.txt | 4 +- .../icoDyMIbFoam/CMakeLists.txt | 4 +- .../immersedBoundary/icoIbFoam/CMakeLists.txt | 4 +- .../interIbFoam/CMakeLists.txt | 4 +- .../porousSimpleIbFoam/CMakeLists.txt | 4 +- .../potentialIbFoam/CMakeLists.txt | 4 +- .../simpleIbFoam/CMakeLists.txt | 4 +- .../MRFSimpleFoam/CMakeLists.txt | 4 +- .../boundaryFoam/CMakeLists.txt | 4 +- .../incompressible/channelFoam/CMakeLists.txt | 4 +- .../incompressible/icoDyMFoam/CMakeLists.txt | 4 +- .../icoDyMSimpleFoam/CMakeLists.txt | 4 +- .../incompressible/icoFoam/CMakeLists.txt | 4 +- .../nonNewtonianIcoFoam/CMakeLists.txt | 4 +- .../pimpleDyMFoam/CMakeLists.txt | 4 +- .../incompressible/pimpleFoam/CMakeLists.txt | 4 +- .../incompressible/pisoFoam/CMakeLists.txt | 4 +- .../porousSimpleFoam/CMakeLists.txt | 4 +- .../shallowWaterFoam/CMakeLists.txt | 4 +- .../incompressible/simpleFoam/CMakeLists.txt | 4 +- .../simpleSRFFoam/CMakeLists.txt | 4 +- .../coalChemistryFoam/CMakeLists.txt | 4 +- .../CMakeLists.txt | 4 +- .../reactingParcelFoam/CMakeLists.txt | 4 +- .../CMakeLists.txt | 4 +- .../multiSolverDemo/CMakeLists.txt | 4 +- .../multiphase/MRFInterFoam/CMakeLists.txt | 4 +- .../barotropicCavitatingFoam/CMakeLists.txt | 4 +- .../multiphase/bubbleFoam/CMakeLists.txt | 4 +- .../multiphase/cavitatingFoam/CMakeLists.txt | 4 +- .../compressibleInterDyMFoam/CMakeLists.txt | 4 +- .../compressibleInterFoam/CMakeLists.txt | 4 +- .../multiphase/interDyMFoam/CMakeLists.txt | 4 +- .../multiphase/interFoam/CMakeLists.txt | 4 +- .../multiphase/interMixingFoam/CMakeLists.txt | 4 +- .../interPhaseChangeFoam/CMakeLists.txt | 4 +- .../multiphaseInterFoam/CMakeLists.txt | 4 +- .../multiphase/porousInterFoam/CMakeLists.txt | 4 +- .../multiphase/settlingFoam/CMakeLists.txt | 4 +- .../twoLiquidMixingFoam/CMakeLists.txt | 4 +- .../interfacialModels/CMakeLists.txt | 6 +- .../kineticTheoryModels/CMakeLists.txt | 6 +- .../phaseModel/CMakeLists.txt | 6 +- .../contactStressFoam/CMakeLists.txt | 4 +- .../icoFsiFoam/CMakeLists.txt | 4 +- .../materialModels/CMakeLists.txt | 10 +- .../newContactStressFoam/CMakeLists.txt | 4 +- .../newStressedFoam/CMakeLists.txt | 4 +- .../solidDisplacementFoam/CMakeLists.txt | 4 +- .../CMakeLists.txt | 4 +- .../stressedFoam/CMakeLists.txt | 4 +- .../elasticAcpSolidFoam/CMakeLists.txt | 4 +- .../elasticIncrAcpSolidFoam/CMakeLists.txt | 4 +- .../elasticIncrSolidFoam/CMakeLists.txt | 4 +- .../CMakeLists.txt | 4 +- .../elasticNonLinTLSolidFoam/CMakeLists.txt | 4 +- .../elasticNonLinULSolidFoam/CMakeLists.txt | 4 +- .../elasticOrthoAcpSolidFoam/CMakeLists.txt | 4 +- .../CMakeLists.txt | 4 +- .../elasticOrthoSolidFoam/CMakeLists.txt | 4 +- .../CMakeLists.txt | 4 +- .../CMakeLists.txt | 4 +- .../elasticPlasticSolidFoam/CMakeLists.txt | 4 +- .../elasticSolidFoam/CMakeLists.txt | 4 +- .../elasticThermalSolidFoam/CMakeLists.txt | 4 +- .../CMakeLists.txt | 4 +- .../stressFemFoam/CMakeLists.txt | 4 +- .../calculateCourantNumber/CMakeLists.txt | 4 +- .../utilities/forceDisp/CMakeLists.txt | 4 +- .../patchStressIntegrate/CMakeLists.txt | 4 +- .../utilities/smoothMesh/CMakeLists.txt | 4 +- .../utilities/surfaceTractions/CMakeLists.txt | 4 +- .../viscoElasticSolidFoam/CMakeLists.txt | 4 +- .../bubbleInterTrackFoam/CMakeLists.txt | 4 +- .../freeSurface/CMakeLists.txt | 8 +- .../interTrackFoam/CMakeLists.txt | 4 +- .../setFluidIndicator/CMakeLists.txt | 4 +- .../viscoelasticFluidFoam/CMakeLists.txt | 4 +- .../estimateScalarError/CMakeLists.txt | 4 +- .../icoErrorEstimate/CMakeLists.txt | 4 +- .../icoMomentError/CMakeLists.txt | 4 +- .../momentScalarError/CMakeLists.txt | 4 +- .../simpleFoamResidual/CMakeLists.txt | 4 +- .../finiteArea/checkFaMesh/CMakeLists.txt | 4 +- .../createFaMeshFromStl/CMakeLists.txt | 4 +- .../finiteArea/makeFaMesh/CMakeLists.txt | 4 +- .../ibContinuityError/CMakeLists.txt | 4 +- .../makeTriSurfaceMesh/CMakeLists.txt | 4 +- .../refineImmersedBoundaryMesh/CMakeLists.txt | 4 +- .../surfaceInvertNormal/CMakeLists.txt | 4 +- .../surfaceNormal/CMakeLists.txt | 4 +- .../writeIbMasks/CMakeLists.txt | 4 +- .../advanced/autoRefineMesh/CMakeLists.txt | 4 +- .../advanced/collapseEdges/CMakeLists.txt | 4 +- .../advanced/combinePatchFaces/CMakeLists.txt | 4 +- .../mesh/advanced/modifyMesh/CMakeLists.txt | 4 +- .../advanced/refineHexMesh/CMakeLists.txt | 4 +- .../advanced/refineWallLayer/CMakeLists.txt | 4 +- .../advanced/refinementLevel/CMakeLists.txt | 4 +- .../mesh/advanced/removeFaces/CMakeLists.txt | 4 +- .../mesh/advanced/selectCells/CMakeLists.txt | 4 +- .../mesh/advanced/splitCells/CMakeLists.txt | 4 +- .../Optional/ccm26ToFoam/CMakeLists.txt | 4 +- .../conversion/ansysToFoam/CMakeLists.txt | 4 +- .../mesh/conversion/cfx4ToFoam/CMakeLists.txt | 4 +- .../fluent3DMeshToElmer/CMakeLists.txt | 4 +- .../fluent3DMeshToFoam/CMakeLists.txt | 4 +- .../fluentMeshToFoam/CMakeLists.txt | 10 +- .../foamMeshToAbaqus/CMakeLists.txt | 4 +- .../conversion/foamMeshToElmer/CMakeLists.txt | 4 +- .../foamMeshToFluent/CMakeLists.txt | 4 +- .../conversion/foamToStarMesh/CMakeLists.txt | 4 +- .../conversion/gambitToFoam/CMakeLists.txt | 4 +- .../mesh/conversion/gmshToFoam/CMakeLists.txt | 4 +- .../conversion/ideasUnvToFoam/CMakeLists.txt | 4 +- .../mesh/conversion/kivaToFoam/CMakeLists.txt | 4 +- .../mesh/conversion/mshToFoam/CMakeLists.txt | 4 +- .../netgenNeutralToFoam/CMakeLists.txt | 4 +- .../conversion/plot3dToFoam/CMakeLists.txt | 4 +- .../conversion/polyDualMesh/CMakeLists.txt | 4 +- .../mesh/conversion/sammToFoam/CMakeLists.txt | 4 +- .../cellZoneToCellTableId/CMakeLists.txt | 4 +- .../star4ToFoam/foamMeshToStar/CMakeLists.txt | 4 +- .../star4ToFoam/star4ToFoam/CMakeLists.txt | 4 +- .../mesh/conversion/starToFoam/CMakeLists.txt | 6 +- .../conversion/tetgenToFoam/CMakeLists.txt | 4 +- .../conversion/writeMeshObj/CMakeLists.txt | 4 +- .../mesh/generation/blockMesh/CMakeLists.txt | 4 +- .../cfMesh/FLMAToSurface/CMakeLists.txt | 4 +- .../cfMesh/FMSToSurface/CMakeLists.txt | 4 +- .../generation/cfMesh/FMSToVTK/CMakeLists.txt | 4 +- .../cfMesh/cartesian2DMesh/CMakeLists.txt | 4 +- .../cfMesh/cartesianMesh/CMakeLists.txt | 4 +- .../cfMesh/checkSurfaceMesh/CMakeLists.txt | 4 +- .../cfMesh/copySurfaceParts/CMakeLists.txt | 4 +- .../extrudeEdgesInto2DSurface/CMakeLists.txt | 4 +- .../generateBoundaryLayers/CMakeLists.txt | 4 +- .../importSurfaceAsSubset/CMakeLists.txt | 4 +- .../cfMesh/improveMeshQuality/CMakeLists.txt | 4 +- .../improveSymmetryPlanes/CMakeLists.txt | 4 +- .../cfMesh/mergeSurfacePatches/CMakeLists.txt | 4 +- .../cfMesh/meshToFPMA/CMakeLists.txt | 4 +- .../generation/cfMesh/pMesh/CMakeLists.txt | 4 +- .../cfMesh/patchesToSubsets/CMakeLists.txt | 4 +- .../cfMesh/preparePar/CMakeLists.txt | 4 +- .../cfMesh/removeSurfaceFacets/CMakeLists.txt | 4 +- .../cfMesh/scaleMesh/CMakeLists.txt | 4 +- .../cfMesh/scaleSurfaceMesh/CMakeLists.txt | 4 +- .../cfMesh/subsetToPatch/CMakeLists.txt | 4 +- .../cfMesh/surfaceFeatureEdges/CMakeLists.txt | 4 +- .../surfaceGenerateBoundingBox/CMakeLists.txt | 4 +- .../cfMesh/surfaceToFMS/CMakeLists.txt | 4 +- .../generation/cfMesh/tetMesh/CMakeLists.txt | 4 +- .../generation/extrude2DMesh/CMakeLists.txt | 4 +- .../generation/extrudeMesh/CMakeLists.txt | 6 +- .../generation/snappyHexMesh/CMakeLists.txt | 4 +- .../manipulation/attachMesh/CMakeLists.txt | 4 +- .../manipulation/autoPatch/CMakeLists.txt | 4 +- .../mesh/manipulation/cellSet/CMakeLists.txt | 4 +- .../manipulation/checkMesh/CMakeLists.txt | 4 +- .../checkSurfaceCurvature/CMakeLists.txt | 4 +- .../manipulation/createBaffles/CMakeLists.txt | 4 +- .../manipulation/createPatch/CMakeLists.txt | 4 +- .../manipulation/deformedGeom/CMakeLists.txt | 4 +- .../deformedTetFemGeom/CMakeLists.txt | 4 +- .../mesh/manipulation/faceSet/CMakeLists.txt | 4 +- .../manipulation/flattenMesh/CMakeLists.txt | 4 +- .../manipulation/insideCells/CMakeLists.txt | 4 +- .../manipulation/mergeMeshes/CMakeLists.txt | 4 +- .../mergeOrSplitBaffles/CMakeLists.txt | 4 +- .../manipulation/mirrorMesh/CMakeLists.txt | 4 +- .../moveDyMEngineMesh/CMakeLists.txt | 4 +- .../moveDynamicMesh/CMakeLists.txt | 4 +- .../moveEngineMesh/CMakeLists.txt | 4 +- .../mesh/manipulation/moveMesh/CMakeLists.txt | 4 +- .../mesh/manipulation/objToVTK/CMakeLists.txt | 4 +- .../mesh/manipulation/pointSet/CMakeLists.txt | 4 +- .../manipulation/refineMesh/CMakeLists.txt | 4 +- .../regionCellSets/CMakeLists.txt | 4 +- .../manipulation/renumberMesh/CMakeLists.txt | 4 +- .../manipulation/rotateMesh/CMakeLists.txt | 4 +- .../mesh/manipulation/setSet/CMakeLists.txt | 4 +- .../manipulation/setsToZones/CMakeLists.txt | 4 +- .../manipulation/splitMesh/CMakeLists.txt | 4 +- .../splitMeshRegions/CMakeLists.txt | 4 +- .../manipulation/stitchMesh/CMakeLists.txt | 4 +- .../manipulation/subsetMesh/CMakeLists.txt | 4 +- .../tetDecomposition/CMakeLists.txt | 4 +- .../transformPoints/CMakeLists.txt | 4 +- .../manipulation/zipUpMesh/CMakeLists.txt | 4 +- .../autoDerivative/testFad/CMakeLists.txt | 4 +- .../testFadField/CMakeLists.txt | 4 +- .../expandDictionary/CMakeLists.txt | 4 +- .../miscellaneous/findRoot/CMakeLists.txt | 4 +- .../foamFormatConvert/CMakeLists.txt | 4 +- .../miscellaneous/foamInfoExec/CMakeLists.txt | 4 +- .../miscellaneous/patchSummary/CMakeLists.txt | 4 +- .../decomposePar/CMakeLists.txt | 4 +- .../decomposeSets/CMakeLists.txt | 4 +- .../reconstructPar/CMakeLists.txt | 4 +- .../reconstructParMesh/CMakeLists.txt | 4 +- .../redistributeMeshPar/CMakeLists.txt | 4 +- .../POD/scalarSnapshots/CMakeLists.txt | 4 +- .../POD/vectorSnapshots/CMakeLists.txt | 4 +- .../foamDataToFluent/CMakeLists.txt | 4 +- .../foamToEnsight/CMakeLists.txt | 4 +- .../foamToEnsightParts/CMakeLists.txt | 4 +- .../foamToFieldview9/CMakeLists.txt | 4 +- .../dataConversion/foamToGMV/CMakeLists.txt | 4 +- .../tecio/tecsrc/CMakeLists.txt | 6 +- .../dataConversion/foamToVTK/CMakeLists.txt | 4 +- .../dataConversion/smapToFoam/CMakeLists.txt | 4 +- .../postProcessing/foamCalc/CMakeLists.txt | 4 +- .../postProcessing/graphics/CMakeLists.txt | 2 +- .../PV3FoamReader/vtkPV3Foam/CMakeLists.txt | 6 +- .../graphics/PV4FoamReader/CMakeLists.txt | 6 +- .../PV4FoamReader/vtkPV4Foam/CMakeLists.txt | 14 +- .../PVFoamReader/vtkFoam/CMakeLists.txt | 6 +- .../PVReaders/PVFoamReader/CMakeLists.txt | 49 +- .../PVFoamReader/vtkPVFoamReader.cxx | 99 +- .../graphics/ensightFoamReader/CMakeLists.txt | 6 +- .../graphics/fieldview9Reader/CMakeLists.txt | 4 +- .../newEnsightFoamReader/CMakeLists.txt | 6 +- .../lagrangian/particleTracks/CMakeLists.txt | 4 +- .../miscellaneous/calcLevelSet/CMakeLists.txt | 4 +- .../dsmcFieldsCalc/CMakeLists.txt | 4 +- .../engineCompRatio/CMakeLists.txt | 4 +- .../execFlowFunctionObjects/CMakeLists.txt | 4 +- .../miscellaneous/pdfPlot/CMakeLists.txt | 4 +- .../miscellaneous/postChannel/CMakeLists.txt | 4 +- .../miscellaneous/ptot/CMakeLists.txt | 4 +- .../miscellaneous/wdot/CMakeLists.txt | 4 +- .../writeCellCentres/CMakeLists.txt | 4 +- .../postProcessing/multiSolver/CMakeLists.txt | 4 +- .../patch/patchAverage/CMakeLists.txt | 4 +- .../patch/patchIntegrate/CMakeLists.txt | 4 +- .../sampling/probeLocations/CMakeLists.txt | 4 +- .../sampling/sample/CMakeLists.txt | 4 +- .../scalarField/pPrime2/CMakeLists.txt | 4 +- .../stressField/calcPTot/CMakeLists.txt | 4 +- .../interFoamPressure/CMakeLists.txt | 4 +- .../stressField/solidStress/CMakeLists.txt | 4 +- .../stressComponents/CMakeLists.txt | 4 +- .../turbulence/R/CMakeLists.txt | 4 +- .../createTurbulenceFields/CMakeLists.txt | 4 +- .../velocityField/Co/CMakeLists.txt | 4 +- .../velocityField/Lambda2/CMakeLists.txt | 4 +- .../velocityField/Mach/CMakeLists.txt | 4 +- .../velocityField/Pe/CMakeLists.txt | 4 +- .../velocityField/Q/CMakeLists.txt | 4 +- .../velocityField/enstrophy/CMakeLists.txt | 4 +- .../velocityField/flowType/CMakeLists.txt | 4 +- .../streamFunction/CMakeLists.txt | 4 +- .../velocityField/uprime/CMakeLists.txt | 4 +- .../velocityField/vorticity/CMakeLists.txt | 4 +- .../viscoelastic/PSD/CMakeLists.txt | 4 +- .../stressDifferences/CMakeLists.txt | 4 +- .../stressSymmComponents/CMakeLists.txt | 4 +- .../wall/wallGradU/CMakeLists.txt | 4 +- .../wall/wallHeatFlux/CMakeLists.txt | 4 +- .../wall/wallShearStress/CMakeLists.txt | 4 +- .../wall/yPlusLES/CMakeLists.txt | 4 +- .../wall/yPlusRAS/CMakeLists.txt | 4 +- .../applyBoundaryLayer/CMakeLists.txt | 4 +- .../CMakeLists.txt | 4 +- .../preProcessing/boxTurb/CMakeLists.txt | 4 +- .../changeDictionary/CMakeLists.txt | 4 +- .../preProcessing/convertPhi/CMakeLists.txt | 4 +- .../dsmcInitialise/CMakeLists.txt | 4 +- .../preProcessing/engineSwirl/CMakeLists.txt | 4 +- .../fluentDataToFoam/CMakeLists.txt | 10 +- .../preProcessing/mapFields/CMakeLists.txt | 4 +- .../preProcessing/mdInitialise/CMakeLists.txt | 4 +- .../preProcessing/setFields/CMakeLists.txt | 4 +- .../setMatFromCellZones/CMakeLists.txt | 4 +- .../surface/surfaceAdd/CMakeLists.txt | 4 +- .../surface/surfaceAutoPatch/CMakeLists.txt | 4 +- .../surface/surfaceCheck/CMakeLists.txt | 4 +- .../surface/surfaceClean/CMakeLists.txt | 4 +- .../surface/surfaceCoarsen/CMakeLists.txt | 7 +- .../surface/surfaceConvert/CMakeLists.txt | 4 +- .../surfaceFeatureConvert/CMakeLists.txt | 4 +- .../surfaceFeatureExtract/CMakeLists.txt | 4 +- .../surface/surfaceFind/CMakeLists.txt | 4 +- .../surface/surfaceMeshConvert/CMakeLists.txt | 4 +- .../surfaceMeshConvertTesting/CMakeLists.txt | 4 +- .../surface/surfaceMeshExport/CMakeLists.txt | 4 +- .../surface/surfaceMeshImport/CMakeLists.txt | 4 +- .../surfaceMeshTriangulate/CMakeLists.txt | 4 +- .../surface/surfaceOrient/CMakeLists.txt | 4 +- .../surface/surfacePointMerge/CMakeLists.txt | 4 +- .../surfaceRedistributePar/CMakeLists.txt | 4 +- .../surfaceRefineRedGreen/CMakeLists.txt | 4 +- .../surface/surfaceSmooth/CMakeLists.txt | 4 +- .../surfaceSplitByPatch/CMakeLists.txt | 4 +- .../surfaceSplitNonManifolds/CMakeLists.txt | 4 +- .../surface/surfaceSubset/CMakeLists.txt | 4 +- .../surface/surfaceToPatch/CMakeLists.txt | 4 +- .../surfaceTransformPoints/CMakeLists.txt | 4 +- .../IFCLookUpTableGen/CMakeLists.txt | 4 +- .../adiabaticFlameT/CMakeLists.txt | 4 +- .../chemkinToFoam/CMakeLists.txt | 4 +- .../equilibriumCO/CMakeLists.txt | 4 +- .../equilibriumFlameT/CMakeLists.txt | 4 +- .../mixtureAdiabaticFlameT/CMakeLists.txt | 4 +- cmake/FOAMMacros.cmake | 34 +- cmake/FOAMTargets.cmake | 1406 ----------------- cmake/getGitVersion.cmake | 33 +- cmake/storedVersion.cmake | 2 - src/ODE/CMakeLists.txt | 10 +- src/OSspecific/MSWindows/CMakeLists.txt | 6 +- src/OSspecific/POSIX/CMakeLists.txt | 13 +- src/POD/CMakeLists.txt | 6 +- src/conversion/CMakeLists.txt | 6 +- src/coupledMatrix/CMakeLists.txt | 6 +- src/cudaSolvers/CMakeLists.txt | 6 +- src/dbns/CMakeLists.txt | 6 +- .../decompositionMethods/CMakeLists.txt | 6 +- .../metisDecomp/CMakeLists.txt | 6 +- .../parMetisDecomp/CMakeLists.txt | 6 +- .../scotchDecomp/CMakeLists.txt | 6 +- src/dynamicMesh/dynamicFvMesh/CMakeLists.txt | 6 +- src/dynamicMesh/dynamicMesh/CMakeLists.txt | 20 +- .../dynamicTopoFvMesh/CMakeLists.txt | 12 +- .../meshMotion/RBFMotionSolver/CMakeLists.txt | 6 +- .../meshMotion/fvMotionSolver/CMakeLists.txt | 6 +- .../mesquiteMotionSolver/CMakeLists.txt | 6 +- .../meshMotion/solidBodyMotion/CMakeLists.txt | 6 +- .../meshMotion/tetMotionSolver/CMakeLists.txt | 6 +- .../topoChangerFvMesh/CMakeLists.txt | 6 +- src/edgeMesh/CMakeLists.txt | 6 +- src/engine/CMakeLists.txt | 8 +- src/equationReader/CMakeLists.txt | 6 +- src/errorEstimation/CMakeLists.txt | 6 +- src/finiteArea/CMakeLists.txt | 42 +- src/finiteVolume/CMakeLists.txt | 88 +- src/foam/CMakeLists.txt | 172 +- src/foam/global/global.C | 80 + .../MGridGenGamgAgglomeration/CMakeLists.txt | 6 +- .../immersedBoundary/CMakeLists.txt | 6 +- .../CMakeLists.txt | 6 +- .../immersedBoundaryForce/CMakeLists.txt | 6 +- .../immersedBoundaryTurbulence/CMakeLists.txt | 6 +- src/lagrangian/basic/CMakeLists.txt | 6 +- src/lagrangian/coalCombustion/CMakeLists.txt | 6 +- src/lagrangian/dieselSpray/CMakeLists.txt | 6 +- src/lagrangian/dsmc/CMakeLists.txt | 10 +- src/lagrangian/intermediate/CMakeLists.txt | 34 +- .../molecularMeasurements/CMakeLists.txt | 6 +- .../molecularDynamics/molecule/CMakeLists.txt | 12 +- .../potential/CMakeLists.txt | 14 +- src/lagrangian/solidParticle/CMakeLists.txt | 6 +- src/lduSolvers/CMakeLists.txt | 16 +- src/mesh/autoMesh/CMakeLists.txt | 6 +- src/mesh/blockMesh/CMakeLists.txt | 6 +- src/mesh/cfMesh/CMakeLists.txt | 6 +- src/mesh/extrudeModel/CMakeLists.txt | 6 +- src/meshTools/CMakeLists.txt | 28 +- src/multiSolver/CMakeLists.txt | 6 +- .../foamCalcFunctions/CMakeLists.txt | 6 +- .../functionObjects/IO/CMakeLists.txt | 6 +- .../functionObjects/check/CMakeLists.txt | 6 +- .../functionObjects/field/CMakeLists.txt | 6 +- .../functionObjects/forces/CMakeLists.txt | 12 +- .../functionObjects/systemCall/CMakeLists.txt | 6 +- .../functionObjects/utilities/CMakeLists.txt | 6 +- src/postProcessing/postCalc/CMakeLists.txt | 6 +- src/randomProcesses/CMakeLists.txt | 6 +- src/sampling/CMakeLists.txt | 12 +- src/solidModels/CMakeLists.txt | 20 +- src/surfMesh/CMakeLists.txt | 12 +- src/tetFiniteElement/CMakeLists.txt | 20 +- .../CMakeLists.txt | 6 +- src/thermophysicalModels/basic/CMakeLists.txt | 6 +- .../chemistryModel/CMakeLists.txt | 6 +- .../laminarFlameSpeed/CMakeLists.txt | 6 +- .../liquidMixture/CMakeLists.txt | 6 +- .../liquids/CMakeLists.txt | 6 +- src/thermophysicalModels/pdfs/CMakeLists.txt | 6 +- .../radiation/CMakeLists.txt | 14 +- .../reactionThermo/CMakeLists.txt | 10 +- .../solidMixture/CMakeLists.txt | 6 +- .../solids/CMakeLists.txt | 6 +- .../specie/CMakeLists.txt | 6 +- .../thermophysicalFunctions/CMakeLists.txt | 8 +- .../incompressible/CMakeLists.txt | 10 +- .../interfaceProperties/CMakeLists.txt | 6 +- .../viscoelastic/CMakeLists.txt | 6 +- .../LES/LESdeltas/CMakeLists.txt | 6 +- .../LES/LESfilters/CMakeLists.txt | 6 +- .../compressible/LES/CMakeLists.txt | 10 +- .../compressible/RAS/CMakeLists.txt | 20 +- .../turbulenceModel/CMakeLists.txt | 8 +- .../incompressible/LES/CMakeLists.txt | 12 +- .../incompressible/RAS/CMakeLists.txt | 21 +- .../turbulenceModel/CMakeLists.txt | 8 +- .../PODSolver/1DPODsin/setTcos/CMakeLists.txt | 4 +- .../analyticalCylinder/CMakeLists.txt | 4 +- .../swirlTest/setSwirl/CMakeLists.txt | 4 +- .../datToFoam/CMakeLists.txt | 4 +- .../setInitialDroplet/CMakeLists.txt | 4 +- .../sphereSurfactantFoam/CMakeLists.txt | 4 +- .../hotRoom/setHotRoom/CMakeLists.txt | 4 +- .../heatTransfer/setHotRoom/CMakeLists.txt | 4 +- .../refineSphereMesh/CMakeLists.txt | 4 +- .../refineThickPlateMesh/CMakeLists.txt | 4 +- .../RBFMotionFunction/CMakeLists.txt | 6 +- .../setMotionMovingCone/CMakeLists.txt | 4 +- .../icoLagrangianFoam/CMakeLists.txt | 4 +- .../rhoPisoTwinParcelFoam/CMakeLists.txt | 4 +- .../sloshingTank3D6DoF/gen6DoF/CMakeLists.txt | 4 +- .../analyticalPlateHole/CMakeLists.txt | 4 +- .../analyticalHotCylinder/CMakeLists.txt | 4 +- 474 files changed, 1451 insertions(+), 2923 deletions(-) delete mode 100644 cmake/FOAMTargets.cmake delete mode 100644 cmake/storedVersion.cmake diff --git a/CMakeLists.txt b/CMakeLists.txt index 1284ba99d..4d19ced00 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1,16 +1,17 @@ -# /*-------------------------------------------------------------------------*\# ======== | -# \\ / F ield | foam-extend: Open Source CFD -# \\ / O peration | Version: 3.2 -# \\ / A nd | Web: http://www.foam-extend.org -# \\/ M anipulation | For copyright notice see file Copyright -# ----------------------------------------------------------------------------- +# -------------------------------------------------------------------------- +# ======== | +# \ / F ield | foam-extend: Open Source CFD +# \ / O peration | Version: 4.1 +# \ / A nd | Web: http://www.foam-extend.org +# \/ M anipulation | For copyright notice see file Copyright +# -------------------------------------------------------------------------- # License # This file is part of foam-extend. # # foam-extend 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 3 of the License, or (at your -# option) any later version. +# Free Software Foundation, either version 3 of the License, or {at your +# option} any later version. # # foam-extend is distributed in the hope that it will be useful, but # WITHOUT ANY WARRANTY; without even the implied warranty of @@ -21,17 +22,13 @@ # along with foam-extend. If not, see . # # Description -# CMakeLists.txt file for implementing a test harness for the compilation -# and test of foam-extend-3.2 using Kitware CTest/CMake/CDash -# -# The results will be submitted to the CDash server identified by the file -# CTestConfig.cmake +# CMakeLists.txt file for libraries and applications # # Author -# Martin Beaudoin, Hydro-Quebec, 2010. All rights reserved +# Henrik Rusche, Wikki GmbH, 2017. All rights reserved # # -# \*-------------------------------------------------------------------------*/ +# -------------------------------------------------------------------------- cmake_minimum_required (VERSION 2.8) @@ -47,6 +44,7 @@ include(getGitVersion) add_custom_target(getGitVersion ALL COMMAND ${CMAKE_COMMAND} -P cmake/getGitVersion.cmake + WORKING_DIRECTORY ${CMAKE_SOURCE_DIR} COMMENT "Getting GIT version" ) @@ -79,12 +77,13 @@ find_package(FLEX REQUIRED) find_package(Git REQUIRED) +find_package(ParaView REQUIRED) # # Recurse into the source # -# Set variabable to indicate that we are compiling internally. Used in applications. +# Set variable to indicate that we are compiling internally. Used in applications. set(FOAM_FOUND 1) # Write something into FOAMTargets.cmake so that we can append to the file. @@ -95,19 +94,36 @@ add_subdirectory(applications) # -# Flags and definitions +# Set default build type # -# Define and process the definitions +if(NOT CMAKE_BUILD_TYPE) + set(CMAKE_BUILD_TYPE Release CACHE STRING + "Choose the type of build, options are: None Debug Release RelWithDebInfo MinSizeRel." + FORCE) +endif() + +# +# Definitions inherited by all targets +# + +# Single/Double precision set(FOAM_PRECISION "double" CACHE STRING "Numerical precision") set_property(CACHE FOAM_PRECISION PROPERTY STRINGS single double) if(FOAM_PRECISION EQUAL "single") - target_compile_definitions(OSspecific PUBLIC -DWM_SP) + target_compile_definitions(OSspecific PUBLIC WM_SP) else() - target_compile_definitions(OSspecific PUBLIC -DWM_SP) + target_compile_definitions(OSspecific PUBLIC WM_DP) endif() -target_compile_definitions(OSspecific PUBLIC -DNoRepository) +# No Repository +target_compile_definitions(OSspecific PUBLIC NoRepository) + +# FOAM's full debug mode +if(${CMAKE_BUILD_TYPE} STREQUAL "Debug") + target_compile_definitions(OSspecific PUBLIC FULLDEBUG) + target_compile_options(OSspecific PUBLIC -fdefault-inline -ggdb3) +endif() #option(FOAM_PRECISION "help string describing option" -WM_DP) diff --git a/applications/solvers/DNS/dnsFoam/CMakeLists.txt b/applications/solvers/DNS/dnsFoam/CMakeLists.txt index b28dba55c..7b48964fe 100644 --- a/applications/solvers/DNS/dnsFoam/CMakeLists.txt +++ b/applications/solvers/DNS/dnsFoam/CMakeLists.txt @@ -30,7 +30,7 @@ # # -------------------------------------------------------------------------- -list(APPEND sources +list(APPEND SOURCES dnsFoam.C ) @@ -42,5 +42,5 @@ endif() add_foam_executable(dnsFoam # DEPENDS finiteVolume - SOURCES ${sources} + SOURCES ${SOURCES} ) diff --git a/applications/solvers/basic/PODSolver/CMakeLists.txt b/applications/solvers/basic/PODSolver/CMakeLists.txt index 891f83684..2fbeae183 100644 --- a/applications/solvers/basic/PODSolver/CMakeLists.txt +++ b/applications/solvers/basic/PODSolver/CMakeLists.txt @@ -30,7 +30,7 @@ # # -------------------------------------------------------------------------- -list(APPEND sources +list(APPEND SOURCES PODSolver.C ) @@ -42,5 +42,5 @@ endif() add_foam_executable(PODSolver DEPENDS POD - SOURCES ${sources} + SOURCES ${SOURCES} ) diff --git a/applications/solvers/basic/laplacianFoam/CMakeLists.txt b/applications/solvers/basic/laplacianFoam/CMakeLists.txt index 80e0613ed..99fe9ea2b 100644 --- a/applications/solvers/basic/laplacianFoam/CMakeLists.txt +++ b/applications/solvers/basic/laplacianFoam/CMakeLists.txt @@ -30,7 +30,7 @@ # # -------------------------------------------------------------------------- -list(APPEND sources +list(APPEND SOURCES laplacianFoam.C ) @@ -42,5 +42,5 @@ endif() add_foam_executable(laplacianFoam DEPENDS finiteVolume - SOURCES ${sources} + SOURCES ${SOURCES} ) diff --git a/applications/solvers/basic/potentialDyMFoam/CMakeLists.txt b/applications/solvers/basic/potentialDyMFoam/CMakeLists.txt index 753dbcfe2..deb8c3036 100644 --- a/applications/solvers/basic/potentialDyMFoam/CMakeLists.txt +++ b/applications/solvers/basic/potentialDyMFoam/CMakeLists.txt @@ -30,7 +30,7 @@ # # -------------------------------------------------------------------------- -list(APPEND sources +list(APPEND SOURCES potentialDyMFoam.C ) @@ -42,5 +42,5 @@ endif() add_foam_executable(potentialDyMFoam DEPENDS dynamicFvMesh - SOURCES ${sources} + SOURCES ${SOURCES} ) diff --git a/applications/solvers/basic/potentialFoam/CMakeLists.txt b/applications/solvers/basic/potentialFoam/CMakeLists.txt index cabcece04..b3a75a7cf 100644 --- a/applications/solvers/basic/potentialFoam/CMakeLists.txt +++ b/applications/solvers/basic/potentialFoam/CMakeLists.txt @@ -30,7 +30,7 @@ # # -------------------------------------------------------------------------- -list(APPEND sources +list(APPEND SOURCES potentialFoam.C ) @@ -42,5 +42,5 @@ endif() add_foam_executable(potentialFoam DEPENDS finiteVolume - SOURCES ${sources} + SOURCES ${SOURCES} ) diff --git a/applications/solvers/basic/scalarTransportFoam/CMakeLists.txt b/applications/solvers/basic/scalarTransportFoam/CMakeLists.txt index a0d9c0e8d..d930ccf49 100644 --- a/applications/solvers/basic/scalarTransportFoam/CMakeLists.txt +++ b/applications/solvers/basic/scalarTransportFoam/CMakeLists.txt @@ -30,7 +30,7 @@ # # -------------------------------------------------------------------------- -list(APPEND sources +list(APPEND SOURCES scalarTransportFoam.C ) @@ -42,5 +42,5 @@ endif() add_foam_executable(scalarTransportFoam DEPENDS finiteVolume - SOURCES ${sources} + SOURCES ${SOURCES} ) diff --git a/applications/solvers/basic/sixDOFSolver/CMakeLists.txt b/applications/solvers/basic/sixDOFSolver/CMakeLists.txt index f15be9a3b..75a07bad7 100644 --- a/applications/solvers/basic/sixDOFSolver/CMakeLists.txt +++ b/applications/solvers/basic/sixDOFSolver/CMakeLists.txt @@ -30,7 +30,7 @@ # # -------------------------------------------------------------------------- -list(APPEND sources +list(APPEND SOURCES sixDOFSolver.C ) @@ -42,5 +42,5 @@ endif() add_foam_executable(sixDOFSolver DEPENDS meshTools ODE - SOURCES ${sources} + SOURCES ${SOURCES} ) diff --git a/applications/solvers/combustion/PDRFoam/CMakeLists.txt b/applications/solvers/combustion/PDRFoam/CMakeLists.txt index e1d7e4f09..81ff53fad 100644 --- a/applications/solvers/combustion/PDRFoam/CMakeLists.txt +++ b/applications/solvers/combustion/PDRFoam/CMakeLists.txt @@ -30,7 +30,7 @@ # # -------------------------------------------------------------------------- -list(APPEND sources +list(APPEND SOURCES XiModels/XiModel/XiModel.C XiModels/XiModel/newXiModel.C XiModels/fixed/fixed.C @@ -64,5 +64,5 @@ endif() add_foam_executable(PDRFoam # DEPENDS finiteVolume - SOURCES ${sources} + SOURCES ${SOURCES} ) diff --git a/applications/solvers/combustion/XiFoam/CMakeLists.txt b/applications/solvers/combustion/XiFoam/CMakeLists.txt index bbb917fd2..4918638b8 100644 --- a/applications/solvers/combustion/XiFoam/CMakeLists.txt +++ b/applications/solvers/combustion/XiFoam/CMakeLists.txt @@ -30,7 +30,7 @@ # # -------------------------------------------------------------------------- -list(APPEND sources +list(APPEND SOURCES XiFoam.C ) @@ -42,5 +42,5 @@ endif() add_foam_executable(XiFoam # DEPENDS finiteVolume - SOURCES ${sources} + SOURCES ${SOURCES} ) diff --git a/applications/solvers/combustion/coldEngineFoam/CMakeLists.txt b/applications/solvers/combustion/coldEngineFoam/CMakeLists.txt index 48b3a59e0..8cf7679bd 100644 --- a/applications/solvers/combustion/coldEngineFoam/CMakeLists.txt +++ b/applications/solvers/combustion/coldEngineFoam/CMakeLists.txt @@ -30,7 +30,7 @@ # # -------------------------------------------------------------------------- -list(APPEND sources +list(APPEND SOURCES coldEngineFoam.C ) @@ -42,5 +42,5 @@ endif() add_foam_executable(coldEngineFoam # DEPENDS finiteVolume - SOURCES ${sources} + SOURCES ${SOURCES} ) diff --git a/applications/solvers/combustion/dieselEngineFoam/CMakeLists.txt b/applications/solvers/combustion/dieselEngineFoam/CMakeLists.txt index 19969201e..8c195d391 100644 --- a/applications/solvers/combustion/dieselEngineFoam/CMakeLists.txt +++ b/applications/solvers/combustion/dieselEngineFoam/CMakeLists.txt @@ -30,7 +30,7 @@ # # -------------------------------------------------------------------------- -list(APPEND sources +list(APPEND SOURCES dieselEngineFoam.C ) @@ -42,5 +42,5 @@ endif() add_foam_executable(dieselEngineFoam # DEPENDS finiteVolume - SOURCES ${sources} + SOURCES ${SOURCES} ) diff --git a/applications/solvers/combustion/dieselFoam/CMakeLists.txt b/applications/solvers/combustion/dieselFoam/CMakeLists.txt index c847aad5c..59f96a42f 100644 --- a/applications/solvers/combustion/dieselFoam/CMakeLists.txt +++ b/applications/solvers/combustion/dieselFoam/CMakeLists.txt @@ -30,7 +30,7 @@ # # -------------------------------------------------------------------------- -list(APPEND sources +list(APPEND SOURCES dieselFoam.C ) @@ -42,5 +42,5 @@ endif() add_foam_executable(dieselFoam # DEPENDS finiteVolume - SOURCES ${sources} + SOURCES ${SOURCES} ) diff --git a/applications/solvers/combustion/engineFoam/CMakeLists.txt b/applications/solvers/combustion/engineFoam/CMakeLists.txt index fd5d46ff9..3f2398763 100644 --- a/applications/solvers/combustion/engineFoam/CMakeLists.txt +++ b/applications/solvers/combustion/engineFoam/CMakeLists.txt @@ -30,7 +30,7 @@ # # -------------------------------------------------------------------------- -list(APPEND sources +list(APPEND SOURCES engineFoam.C ) @@ -42,5 +42,5 @@ endif() add_foam_executable(engineFoam # DEPENDS finiteVolume - SOURCES ${sources} + SOURCES ${SOURCES} ) diff --git a/applications/solvers/combustion/fireFoam/combustionModels/CMakeLists.txt b/applications/solvers/combustion/fireFoam/combustionModels/CMakeLists.txt index ff7932d99..578a54d34 100644 --- a/applications/solvers/combustion/fireFoam/combustionModels/CMakeLists.txt +++ b/applications/solvers/combustion/fireFoam/combustionModels/CMakeLists.txt @@ -30,15 +30,13 @@ # # -------------------------------------------------------------------------- -list(APPEND sources +list(APPEND SOURCES combustionModel/combustionModel.C combustionModel/newCombustionModel.C infinitelyFastChemistry/infinitelyFastChemistry.C noCombustion/noCombustion.C ) -add_foam_library(combustionModels SHARED ${sources}) +add_foam_library(combustionModels SHARED ${SOURCES}) -# This is a prototype! Replace second argument with a list of the highest -# dependencies only. Inherited dependencies will be treated automatically. #target_link_libraries(combustionModels finiteVolume) diff --git a/applications/solvers/combustion/reactingFoam/CMakeLists.txt b/applications/solvers/combustion/reactingFoam/CMakeLists.txt index f9a7253c2..bbaea60ea 100644 --- a/applications/solvers/combustion/reactingFoam/CMakeLists.txt +++ b/applications/solvers/combustion/reactingFoam/CMakeLists.txt @@ -30,7 +30,7 @@ # # -------------------------------------------------------------------------- -list(APPEND sources +list(APPEND SOURCES reactingFoam.C ) @@ -42,5 +42,5 @@ endif() add_foam_executable(reactingFoam # DEPENDS finiteVolume - SOURCES ${sources} + SOURCES ${SOURCES} ) diff --git a/applications/solvers/combustion/rhoReactingFoam/CMakeLists.txt b/applications/solvers/combustion/rhoReactingFoam/CMakeLists.txt index ea158caac..a392166ea 100644 --- a/applications/solvers/combustion/rhoReactingFoam/CMakeLists.txt +++ b/applications/solvers/combustion/rhoReactingFoam/CMakeLists.txt @@ -30,7 +30,7 @@ # # -------------------------------------------------------------------------- -list(APPEND sources +list(APPEND SOURCES rhoReactingFoam.C ) @@ -42,5 +42,5 @@ endif() add_foam_executable(rhoReactingFoam # DEPENDS finiteVolume - SOURCES ${sources} + SOURCES ${SOURCES} ) diff --git a/applications/solvers/compressible/dbnsFoam/CMakeLists.txt b/applications/solvers/compressible/dbnsFoam/CMakeLists.txt index 10d0c6af9..d71153783 100644 --- a/applications/solvers/compressible/dbnsFoam/CMakeLists.txt +++ b/applications/solvers/compressible/dbnsFoam/CMakeLists.txt @@ -30,7 +30,7 @@ # # -------------------------------------------------------------------------- -list(APPEND sources +list(APPEND SOURCES dbnsFoam.C ) @@ -42,5 +42,5 @@ endif() add_foam_executable(dbnsFoam # DEPENDS finiteVolume - SOURCES ${sources} + SOURCES ${SOURCES} ) diff --git a/applications/solvers/compressible/dbnsTurbFoam/CMakeLists.txt b/applications/solvers/compressible/dbnsTurbFoam/CMakeLists.txt index 5239c7230..e550791c0 100644 --- a/applications/solvers/compressible/dbnsTurbFoam/CMakeLists.txt +++ b/applications/solvers/compressible/dbnsTurbFoam/CMakeLists.txt @@ -30,7 +30,7 @@ # # -------------------------------------------------------------------------- -list(APPEND sources +list(APPEND SOURCES dbnsTurbFoam.C ) @@ -42,5 +42,5 @@ endif() add_foam_executable(dbnsTurbFoam # DEPENDS finiteVolume - SOURCES ${sources} + SOURCES ${SOURCES} ) diff --git a/applications/solvers/compressible/realFluidPisoFoam/CMakeLists.txt b/applications/solvers/compressible/realFluidPisoFoam/CMakeLists.txt index a49b827e6..7997ca8b6 100644 --- a/applications/solvers/compressible/realFluidPisoFoam/CMakeLists.txt +++ b/applications/solvers/compressible/realFluidPisoFoam/CMakeLists.txt @@ -30,7 +30,7 @@ # # -------------------------------------------------------------------------- -list(APPEND sources +list(APPEND SOURCES realFluidPisoFoam.C ) @@ -42,5 +42,5 @@ endif() add_foam_executable(realFluidPisoFoam # DEPENDS finiteVolume - SOURCES ${sources} + SOURCES ${SOURCES} ) diff --git a/applications/solvers/compressible/rhoCentralFoam/BCs/CMakeLists.txt b/applications/solvers/compressible/rhoCentralFoam/BCs/CMakeLists.txt index c58d9332d..6729595f7 100644 --- a/applications/solvers/compressible/rhoCentralFoam/BCs/CMakeLists.txt +++ b/applications/solvers/compressible/rhoCentralFoam/BCs/CMakeLists.txt @@ -30,15 +30,13 @@ # # -------------------------------------------------------------------------- -list(APPEND sources +list(APPEND SOURCES mixedFixedValueSlip/mixedFixedValueSlipFvPatchFields.C U/maxwellSlipUFvPatchVectorField.C T/smoluchowskiJumpTFvPatchScalarField.C rho/fixedRhoFvPatchScalarField.C ) -add_foam_library(rhoCentralFoam SHARED ${sources}) +add_foam_library(rhoCentralFoam SHARED ${SOURCES}) -# This is a prototype! Replace second argument with a list of the highest -# dependencies only. Inherited dependencies will be treated automatically. #target_link_libraries(rhoCentralFoam finiteVolume) diff --git a/applications/solvers/compressible/rhoPimpleFoam/CMakeLists.txt b/applications/solvers/compressible/rhoPimpleFoam/CMakeLists.txt index 647596668..c0e5572be 100644 --- a/applications/solvers/compressible/rhoPimpleFoam/CMakeLists.txt +++ b/applications/solvers/compressible/rhoPimpleFoam/CMakeLists.txt @@ -30,7 +30,7 @@ # # -------------------------------------------------------------------------- -list(APPEND sources +list(APPEND SOURCES rhoPimpleFoam.C ) @@ -42,5 +42,5 @@ endif() add_foam_executable(rhoPimpleFoam # DEPENDS finiteVolume - SOURCES ${sources} + SOURCES ${SOURCES} ) diff --git a/applications/solvers/compressible/rhoPisoFoam/CMakeLists.txt b/applications/solvers/compressible/rhoPisoFoam/CMakeLists.txt index 1692c6102..18f08fbb5 100644 --- a/applications/solvers/compressible/rhoPisoFoam/CMakeLists.txt +++ b/applications/solvers/compressible/rhoPisoFoam/CMakeLists.txt @@ -30,7 +30,7 @@ # # -------------------------------------------------------------------------- -list(APPEND sources +list(APPEND SOURCES rhoPisoFoam.C ) @@ -42,5 +42,5 @@ endif() add_foam_executable(rhoPisoFoam # DEPENDS finiteVolume - SOURCES ${sources} + SOURCES ${SOURCES} ) diff --git a/applications/solvers/compressible/rhoPorousMRFPimpleFoam/CMakeLists.txt b/applications/solvers/compressible/rhoPorousMRFPimpleFoam/CMakeLists.txt index a70e6cf1c..3aafc1900 100644 --- a/applications/solvers/compressible/rhoPorousMRFPimpleFoam/CMakeLists.txt +++ b/applications/solvers/compressible/rhoPorousMRFPimpleFoam/CMakeLists.txt @@ -30,7 +30,7 @@ # # -------------------------------------------------------------------------- -list(APPEND sources +list(APPEND SOURCES rhoPorousMRFPimpleFoam.C ) @@ -42,5 +42,5 @@ endif() add_foam_executable(rhoPorousMRFPimpleFoam # DEPENDS finiteVolume - SOURCES ${sources} + SOURCES ${SOURCES} ) diff --git a/applications/solvers/compressible/rhoPorousSimpleFoam/CMakeLists.txt b/applications/solvers/compressible/rhoPorousSimpleFoam/CMakeLists.txt index ea3e1e34c..49b4e72c1 100644 --- a/applications/solvers/compressible/rhoPorousSimpleFoam/CMakeLists.txt +++ b/applications/solvers/compressible/rhoPorousSimpleFoam/CMakeLists.txt @@ -30,7 +30,7 @@ # # -------------------------------------------------------------------------- -list(APPEND sources +list(APPEND SOURCES rhoPorousSimpleFoam.C ) @@ -42,5 +42,5 @@ endif() add_foam_executable(rhoPorousSimpleFoam # DEPENDS finiteVolume - SOURCES ${sources} + SOURCES ${SOURCES} ) diff --git a/applications/solvers/compressible/rhoSimpleFoam/CMakeLists.txt b/applications/solvers/compressible/rhoSimpleFoam/CMakeLists.txt index 7e29c7930..f90f09149 100644 --- a/applications/solvers/compressible/rhoSimpleFoam/CMakeLists.txt +++ b/applications/solvers/compressible/rhoSimpleFoam/CMakeLists.txt @@ -30,7 +30,7 @@ # # -------------------------------------------------------------------------- -list(APPEND sources +list(APPEND SOURCES rhoSimpleFoam.C ) @@ -42,5 +42,5 @@ endif() add_foam_executable(rhoSimpleFoam # DEPENDS finiteVolume - SOURCES ${sources} + SOURCES ${SOURCES} ) diff --git a/applications/solvers/compressible/rhoSonicFoam/CMakeLists.txt b/applications/solvers/compressible/rhoSonicFoam/CMakeLists.txt index 64110b943..66c33dd12 100644 --- a/applications/solvers/compressible/rhoSonicFoam/CMakeLists.txt +++ b/applications/solvers/compressible/rhoSonicFoam/CMakeLists.txt @@ -30,7 +30,7 @@ # # -------------------------------------------------------------------------- -list(APPEND sources +list(APPEND SOURCES rhoSonicFoam.C ) @@ -42,5 +42,5 @@ endif() add_foam_executable(rhoSonicFoam # DEPENDS finiteVolume - SOURCES ${sources} + SOURCES ${SOURCES} ) diff --git a/applications/solvers/compressible/rhopSonicFoam/BCs/CMakeLists.txt b/applications/solvers/compressible/rhopSonicFoam/BCs/CMakeLists.txt index 8e188b0de..1c519a14b 100644 --- a/applications/solvers/compressible/rhopSonicFoam/BCs/CMakeLists.txt +++ b/applications/solvers/compressible/rhopSonicFoam/BCs/CMakeLists.txt @@ -30,7 +30,7 @@ # # -------------------------------------------------------------------------- -list(APPEND sources +list(APPEND SOURCES rho/fixedRhoFvPatchScalarField.C rho/gradientRhoFvPatchScalarField.C rhoE/fixedRhoEFvPatchScalarField.C @@ -39,8 +39,6 @@ list(APPEND sources p/inviscidWallPFvPatchScalarField.C ) -add_foam_library(rhopSonicFoam SHARED ${sources}) +add_foam_library(rhopSonicFoam SHARED ${SOURCES}) -# This is a prototype! Replace second argument with a list of the highest -# dependencies only. Inherited dependencies will be treated automatically. #target_link_libraries(rhopSonicFoam finiteVolume) diff --git a/applications/solvers/compressible/sonicDyMFoam/CMakeLists.txt b/applications/solvers/compressible/sonicDyMFoam/CMakeLists.txt index bf68e0ed0..49ac038c6 100644 --- a/applications/solvers/compressible/sonicDyMFoam/CMakeLists.txt +++ b/applications/solvers/compressible/sonicDyMFoam/CMakeLists.txt @@ -30,7 +30,7 @@ # # -------------------------------------------------------------------------- -list(APPEND sources +list(APPEND SOURCES sonicDyMFoam.C ) @@ -42,5 +42,5 @@ endif() add_foam_executable(sonicDyMFoam # DEPENDS finiteVolume - SOURCES ${sources} + SOURCES ${SOURCES} ) diff --git a/applications/solvers/compressible/sonicFoam/CMakeLists.txt b/applications/solvers/compressible/sonicFoam/CMakeLists.txt index ad585a479..231e3fc06 100644 --- a/applications/solvers/compressible/sonicFoam/CMakeLists.txt +++ b/applications/solvers/compressible/sonicFoam/CMakeLists.txt @@ -30,7 +30,7 @@ # # -------------------------------------------------------------------------- -list(APPEND sources +list(APPEND SOURCES sonicFoam.C ) @@ -42,5 +42,5 @@ endif() add_foam_executable(sonicFoam # DEPENDS finiteVolume - SOURCES ${sources} + SOURCES ${SOURCES} ) diff --git a/applications/solvers/compressible/sonicLiquidFoam/CMakeLists.txt b/applications/solvers/compressible/sonicLiquidFoam/CMakeLists.txt index e809752ef..b5556ca55 100644 --- a/applications/solvers/compressible/sonicLiquidFoam/CMakeLists.txt +++ b/applications/solvers/compressible/sonicLiquidFoam/CMakeLists.txt @@ -30,7 +30,7 @@ # # -------------------------------------------------------------------------- -list(APPEND sources +list(APPEND SOURCES sonicLiquidFoam.C ) @@ -42,5 +42,5 @@ endif() add_foam_executable(sonicLiquidFoam # DEPENDS finiteVolume - SOURCES ${sources} + SOURCES ${SOURCES} ) diff --git a/applications/solvers/compressible/steadyCompressibleFoam/CMakeLists.txt b/applications/solvers/compressible/steadyCompressibleFoam/CMakeLists.txt index 845db38f5..6b6bf38b1 100644 --- a/applications/solvers/compressible/steadyCompressibleFoam/CMakeLists.txt +++ b/applications/solvers/compressible/steadyCompressibleFoam/CMakeLists.txt @@ -30,7 +30,7 @@ # # -------------------------------------------------------------------------- -list(APPEND sources +list(APPEND SOURCES steadyCompressibleFoam.C ) @@ -42,5 +42,5 @@ endif() add_foam_executable(steadyCompressibleFoam # DEPENDS finiteVolume - SOURCES ${sources} + SOURCES ${SOURCES} ) diff --git a/applications/solvers/compressible/steadyCompressibleMRFFoam/CMakeLists.txt b/applications/solvers/compressible/steadyCompressibleMRFFoam/CMakeLists.txt index f67a0747f..8eaf88a91 100644 --- a/applications/solvers/compressible/steadyCompressibleMRFFoam/CMakeLists.txt +++ b/applications/solvers/compressible/steadyCompressibleMRFFoam/CMakeLists.txt @@ -30,7 +30,7 @@ # # -------------------------------------------------------------------------- -list(APPEND sources +list(APPEND SOURCES steadyCompressibleMRFFoam.C ) @@ -42,5 +42,5 @@ endif() add_foam_executable(steadyCompressibleMRFFoam # DEPENDS finiteVolume - SOURCES ${sources} + SOURCES ${SOURCES} ) diff --git a/applications/solvers/compressible/steadyCompressibleSRFFoam/CMakeLists.txt b/applications/solvers/compressible/steadyCompressibleSRFFoam/CMakeLists.txt index dab8c77fd..ec68a7217 100644 --- a/applications/solvers/compressible/steadyCompressibleSRFFoam/CMakeLists.txt +++ b/applications/solvers/compressible/steadyCompressibleSRFFoam/CMakeLists.txt @@ -30,7 +30,7 @@ # # -------------------------------------------------------------------------- -list(APPEND sources +list(APPEND SOURCES steadyCompressibleSRFFoam.C ) @@ -42,5 +42,5 @@ endif() add_foam_executable(steadyCompressibleSRFFoam # DEPENDS finiteVolume - SOURCES ${sources} + SOURCES ${SOURCES} ) diff --git a/applications/solvers/compressible/steadyUniversalFoam/CMakeLists.txt b/applications/solvers/compressible/steadyUniversalFoam/CMakeLists.txt index d5c1f3211..725aa4451 100644 --- a/applications/solvers/compressible/steadyUniversalFoam/CMakeLists.txt +++ b/applications/solvers/compressible/steadyUniversalFoam/CMakeLists.txt @@ -30,7 +30,7 @@ # # -------------------------------------------------------------------------- -list(APPEND sources +list(APPEND SOURCES steadyUniversalFoam.C ) @@ -42,5 +42,5 @@ endif() add_foam_executable(steadyUniversalFoam # DEPENDS finiteVolume - SOURCES ${sources} + SOURCES ${SOURCES} ) diff --git a/applications/solvers/compressible/steadyUniversalMRFFoam/CMakeLists.txt b/applications/solvers/compressible/steadyUniversalMRFFoam/CMakeLists.txt index c628285e5..519642616 100644 --- a/applications/solvers/compressible/steadyUniversalMRFFoam/CMakeLists.txt +++ b/applications/solvers/compressible/steadyUniversalMRFFoam/CMakeLists.txt @@ -30,7 +30,7 @@ # # -------------------------------------------------------------------------- -list(APPEND sources +list(APPEND SOURCES steadyUniversalMRFFoam.C ) @@ -42,5 +42,5 @@ endif() add_foam_executable(steadyUniversalMRFFoam # DEPENDS finiteVolume - SOURCES ${sources} + SOURCES ${SOURCES} ) diff --git a/applications/solvers/coupled/MRFPorousFoam/CMakeLists.txt b/applications/solvers/coupled/MRFPorousFoam/CMakeLists.txt index 9de8bf38b..170684545 100644 --- a/applications/solvers/coupled/MRFPorousFoam/CMakeLists.txt +++ b/applications/solvers/coupled/MRFPorousFoam/CMakeLists.txt @@ -30,7 +30,7 @@ # # -------------------------------------------------------------------------- -list(APPEND sources +list(APPEND SOURCES MRFPorousFoam.C ) @@ -42,5 +42,5 @@ endif() add_foam_executable(MRFPorousFoam # DEPENDS finiteVolume - SOURCES ${sources} + SOURCES ${SOURCES} ) diff --git a/applications/solvers/coupled/blockCoupledScalarTransportFoam/CMakeLists.txt b/applications/solvers/coupled/blockCoupledScalarTransportFoam/CMakeLists.txt index c89902cd1..f18b8a255 100644 --- a/applications/solvers/coupled/blockCoupledScalarTransportFoam/CMakeLists.txt +++ b/applications/solvers/coupled/blockCoupledScalarTransportFoam/CMakeLists.txt @@ -30,7 +30,7 @@ # # -------------------------------------------------------------------------- -list(APPEND sources +list(APPEND SOURCES blockCoupledScalarTransportFoam.C ) @@ -42,5 +42,5 @@ endif() add_foam_executable(blockCoupledScalarTransportFoam # DEPENDS finiteVolume - SOURCES ${sources} + SOURCES ${SOURCES} ) diff --git a/applications/solvers/coupled/conjugateHeatFoam/CMakeLists.txt b/applications/solvers/coupled/conjugateHeatFoam/CMakeLists.txt index 83439a3b0..7a1c20e41 100644 --- a/applications/solvers/coupled/conjugateHeatFoam/CMakeLists.txt +++ b/applications/solvers/coupled/conjugateHeatFoam/CMakeLists.txt @@ -30,7 +30,7 @@ # # -------------------------------------------------------------------------- -list(APPEND sources +list(APPEND SOURCES conjugateHeatFoam.C ) @@ -42,5 +42,5 @@ endif() add_foam_executable(conjugateHeatFoam # DEPENDS finiteVolume - SOURCES ${sources} + SOURCES ${SOURCES} ) diff --git a/applications/solvers/coupled/conjugateHeatSimpleFoam/CMakeLists.txt b/applications/solvers/coupled/conjugateHeatSimpleFoam/CMakeLists.txt index a1af42861..68fe48014 100644 --- a/applications/solvers/coupled/conjugateHeatSimpleFoam/CMakeLists.txt +++ b/applications/solvers/coupled/conjugateHeatSimpleFoam/CMakeLists.txt @@ -30,7 +30,7 @@ # # -------------------------------------------------------------------------- -list(APPEND sources +list(APPEND SOURCES conjugateHeatSimpleFoam.C ) @@ -42,5 +42,5 @@ endif() add_foam_executable(conjugateHeatSimpleFoam # DEPENDS finiteVolume - SOURCES ${sources} + SOURCES ${SOURCES} ) diff --git a/applications/solvers/coupled/conjugateHeatTransfer/CMakeLists.txt b/applications/solvers/coupled/conjugateHeatTransfer/CMakeLists.txt index 1a159fba7..50b97a440 100644 --- a/applications/solvers/coupled/conjugateHeatTransfer/CMakeLists.txt +++ b/applications/solvers/coupled/conjugateHeatTransfer/CMakeLists.txt @@ -30,12 +30,12 @@ # # -------------------------------------------------------------------------- -list(APPEND sources +list(APPEND SOURCES thermalModel/thermalModel.C ) set(thermalLaws thermalModel/thermalLaws) -list(APPEND sources +list(APPEND SOURCES ${thermalLaws}/thermalLaw/thermalLaw.C ${thermalLaws}/thermalLaw/newThermalLaw.C ${thermalLaws}/constantThermal/constantThermal.C @@ -45,7 +45,7 @@ list(APPEND sources set(thermalGaps thermalModel/thermalGaps) -list(APPEND sources +list(APPEND SOURCES ${thermalGaps}/thermalGap/thermalGap.C ${thermalGaps}/thermalGap/newThermalGap.C ${thermalGaps}/constantThermalGap/constantThermalGap.C @@ -54,7 +54,7 @@ list(APPEND sources set(thermalSource thermalModel/thermalSource) -list(APPEND sources +list(APPEND SOURCES ${thermalSource}/thermalSource/thermalSource.C ${thermalSource}/thermalSource/newThermalSource.C ${thermalSource}/constantThermalSource/constantThermalSource.C @@ -62,7 +62,7 @@ list(APPEND sources set(BCs fvPatchFields) -list(APPEND sources +list(APPEND SOURCES ${BCs}/controlledParabolicVelocity/controlledParabolicVelocityFvPatchVectorField.C ${BCs}/chtRegionCoupleBase/chtRegionCoupleBase.C ${BCs}/chtRcThermalDiffusivity/chtRcThermalDiffusivityFvPatchScalarField.C @@ -82,13 +82,11 @@ list(APPEND sources set(FOs functionObjects) -list(APPEND sources +list(APPEND SOURCES ${FOs}/heatFlux/heatFlux/heatFlux.C ${FOs}/heatFlux/heatFluxFunctionObject/heatFluxFunctionObject.C ) -add_foam_library(conjugateHeatTransfer SHARED ${sources}) +add_foam_library(conjugateHeatTransfer SHARED ${SOURCES}) -# This is a prototype! Replace second argument with a list of the highest -# dependencies only. Inherited dependencies will be treated automatically. #target_link_libraries(conjugateHeatTransfer finiteVolume) diff --git a/applications/solvers/coupled/pUCoupledFoam/CMakeLists.txt b/applications/solvers/coupled/pUCoupledFoam/CMakeLists.txt index 954f13306..76c480b61 100644 --- a/applications/solvers/coupled/pUCoupledFoam/CMakeLists.txt +++ b/applications/solvers/coupled/pUCoupledFoam/CMakeLists.txt @@ -30,7 +30,7 @@ # # -------------------------------------------------------------------------- -list(APPEND sources +list(APPEND SOURCES pUCoupledFoam.C ) @@ -42,5 +42,5 @@ endif() add_foam_executable(pUCoupledFoam # DEPENDS finiteVolume - SOURCES ${sources} + SOURCES ${SOURCES} ) diff --git a/applications/solvers/discreteMethods/dsmc/dsmcFoam/CMakeLists.txt b/applications/solvers/discreteMethods/dsmc/dsmcFoam/CMakeLists.txt index 32bcebe7d..e8b1c2ce5 100644 --- a/applications/solvers/discreteMethods/dsmc/dsmcFoam/CMakeLists.txt +++ b/applications/solvers/discreteMethods/dsmc/dsmcFoam/CMakeLists.txt @@ -30,7 +30,7 @@ # # -------------------------------------------------------------------------- -list(APPEND sources +list(APPEND SOURCES dsmcFoam.C ) @@ -42,5 +42,5 @@ endif() add_foam_executable(dsmcFoam # DEPENDS finiteVolume - SOURCES ${sources} + SOURCES ${SOURCES} ) diff --git a/applications/solvers/discreteMethods/molecularDynamics/mdEquilibrationFoam/CMakeLists.txt b/applications/solvers/discreteMethods/molecularDynamics/mdEquilibrationFoam/CMakeLists.txt index f88edc19f..1dc638fd6 100644 --- a/applications/solvers/discreteMethods/molecularDynamics/mdEquilibrationFoam/CMakeLists.txt +++ b/applications/solvers/discreteMethods/molecularDynamics/mdEquilibrationFoam/CMakeLists.txt @@ -30,7 +30,7 @@ # # -------------------------------------------------------------------------- -list(APPEND sources +list(APPEND SOURCES mdEquilibrationFoam.C ) @@ -42,5 +42,5 @@ endif() add_foam_executable(mdEquirationFoam # DEPENDS finiteVolume - SOURCES ${sources} + SOURCES ${SOURCES} ) diff --git a/applications/solvers/discreteMethods/molecularDynamics/mdFoam/CMakeLists.txt b/applications/solvers/discreteMethods/molecularDynamics/mdFoam/CMakeLists.txt index a48df4cea..19fc7931c 100644 --- a/applications/solvers/discreteMethods/molecularDynamics/mdFoam/CMakeLists.txt +++ b/applications/solvers/discreteMethods/molecularDynamics/mdFoam/CMakeLists.txt @@ -30,7 +30,7 @@ # # -------------------------------------------------------------------------- -list(APPEND sources +list(APPEND SOURCES mdFoam.C ) @@ -42,5 +42,5 @@ endif() add_foam_executable(mdFoam # DEPENDS finiteVolume - SOURCES ${sources} + SOURCES ${SOURCES} ) diff --git a/applications/solvers/electromagnetics/electrostaticFoam/CMakeLists.txt b/applications/solvers/electromagnetics/electrostaticFoam/CMakeLists.txt index 4b5e851c8..f7639cca3 100644 --- a/applications/solvers/electromagnetics/electrostaticFoam/CMakeLists.txt +++ b/applications/solvers/electromagnetics/electrostaticFoam/CMakeLists.txt @@ -30,7 +30,7 @@ # # -------------------------------------------------------------------------- -list(APPEND sources +list(APPEND SOURCES electrostaticFoam.C ) @@ -42,5 +42,5 @@ endif() add_foam_executable(electrostaticFoam # DEPENDS finiteVolume - SOURCES ${sources} + SOURCES ${SOURCES} ) diff --git a/applications/solvers/electromagnetics/mhdFoam/CMakeLists.txt b/applications/solvers/electromagnetics/mhdFoam/CMakeLists.txt index 6a26c47c1..b4b13e321 100644 --- a/applications/solvers/electromagnetics/mhdFoam/CMakeLists.txt +++ b/applications/solvers/electromagnetics/mhdFoam/CMakeLists.txt @@ -30,7 +30,7 @@ # # -------------------------------------------------------------------------- -list(APPEND sources +list(APPEND SOURCES mhdFoam.C ) @@ -42,5 +42,5 @@ endif() add_foam_executable(mhdFoam # DEPENDS finiteVolume - SOURCES ${sources} + SOURCES ${SOURCES} ) diff --git a/applications/solvers/engine/icoDyMEngineFoam/CMakeLists.txt b/applications/solvers/engine/icoDyMEngineFoam/CMakeLists.txt index 4f6c8169e..fb18a098a 100644 --- a/applications/solvers/engine/icoDyMEngineFoam/CMakeLists.txt +++ b/applications/solvers/engine/icoDyMEngineFoam/CMakeLists.txt @@ -30,7 +30,7 @@ # # -------------------------------------------------------------------------- -list(APPEND sources +list(APPEND SOURCES icoDyMEngineFoam.C ) @@ -42,5 +42,5 @@ endif() add_foam_executable(icoDyMEngineFoam # DEPENDS finiteVolume - SOURCES ${sources} + SOURCES ${SOURCES} ) diff --git a/applications/solvers/engine/sonicTurbDyMEngineFoam/CMakeLists.txt b/applications/solvers/engine/sonicTurbDyMEngineFoam/CMakeLists.txt index 67ef9e821..5e83c7857 100644 --- a/applications/solvers/engine/sonicTurbDyMEngineFoam/CMakeLists.txt +++ b/applications/solvers/engine/sonicTurbDyMEngineFoam/CMakeLists.txt @@ -30,7 +30,7 @@ # # -------------------------------------------------------------------------- -list(APPEND sources +list(APPEND SOURCES sonicTurbDyMEngineFoam.C ) @@ -42,5 +42,5 @@ endif() add_foam_executable(sonicTurbDyMEngineFoam # DEPENDS finiteVolume - SOURCES ${sources} + SOURCES ${SOURCES} ) diff --git a/applications/solvers/engine/turbDyMEngineFoam/CMakeLists.txt b/applications/solvers/engine/turbDyMEngineFoam/CMakeLists.txt index 5bc833845..8b3ceb2d2 100644 --- a/applications/solvers/engine/turbDyMEngineFoam/CMakeLists.txt +++ b/applications/solvers/engine/turbDyMEngineFoam/CMakeLists.txt @@ -30,7 +30,7 @@ # # -------------------------------------------------------------------------- -list(APPEND sources +list(APPEND SOURCES turbDyMEngineFoam.C ) @@ -42,5 +42,5 @@ endif() add_foam_executable(turbDyMEngineFoam # DEPENDS finiteVolume - SOURCES ${sources} + SOURCES ${SOURCES} ) diff --git a/applications/solvers/equationReaderDemo/CMakeLists.txt b/applications/solvers/equationReaderDemo/CMakeLists.txt index 1721b8d7a..fa0838428 100644 --- a/applications/solvers/equationReaderDemo/CMakeLists.txt +++ b/applications/solvers/equationReaderDemo/CMakeLists.txt @@ -30,7 +30,7 @@ # # -------------------------------------------------------------------------- -list(APPEND sources +list(APPEND SOURCES equationReaderDemo.C ) @@ -42,5 +42,5 @@ endif() add_foam_executable(equationReaderDemo # DEPENDS finiteVolume - SOURCES ${sources} + SOURCES ${SOURCES} ) diff --git a/applications/solvers/financial/financialFoam/CMakeLists.txt b/applications/solvers/financial/financialFoam/CMakeLists.txt index 54cb33155..4b78839e9 100644 --- a/applications/solvers/financial/financialFoam/CMakeLists.txt +++ b/applications/solvers/financial/financialFoam/CMakeLists.txt @@ -30,7 +30,7 @@ # # -------------------------------------------------------------------------- -list(APPEND sources +list(APPEND SOURCES financialFoam.C ) @@ -42,5 +42,5 @@ endif() add_foam_executable(financialFoam # DEPENDS finiteVolume - SOURCES ${sources} + SOURCES ${SOURCES} ) diff --git a/applications/solvers/finiteArea/liquidFilmFoam/CMakeLists.txt b/applications/solvers/finiteArea/liquidFilmFoam/CMakeLists.txt index e41330201..ae7dc9265 100644 --- a/applications/solvers/finiteArea/liquidFilmFoam/CMakeLists.txt +++ b/applications/solvers/finiteArea/liquidFilmFoam/CMakeLists.txt @@ -30,7 +30,7 @@ # # -------------------------------------------------------------------------- -list(APPEND sources +list(APPEND SOURCES liquidFilmFoam.C ) @@ -42,5 +42,5 @@ endif() add_foam_executable(liquidFilmFoam # DEPENDS finiteVolume - SOURCES ${sources} + SOURCES ${SOURCES} ) diff --git a/applications/solvers/finiteArea/surfactantFoam/CMakeLists.txt b/applications/solvers/finiteArea/surfactantFoam/CMakeLists.txt index a6d33439e..1769dc04b 100644 --- a/applications/solvers/finiteArea/surfactantFoam/CMakeLists.txt +++ b/applications/solvers/finiteArea/surfactantFoam/CMakeLists.txt @@ -30,7 +30,7 @@ # # -------------------------------------------------------------------------- -list(APPEND sources +list(APPEND SOURCES surfactantFoam.C ) @@ -42,5 +42,5 @@ endif() add_foam_executable(surfactantFoam # DEPENDS finiteVolume - SOURCES ${sources} + SOURCES ${SOURCES} ) diff --git a/applications/solvers/heatTransfer/boussinesqBuoyantFoam/CMakeLists.txt b/applications/solvers/heatTransfer/boussinesqBuoyantFoam/CMakeLists.txt index 3c25228f7..a5988da66 100644 --- a/applications/solvers/heatTransfer/boussinesqBuoyantFoam/CMakeLists.txt +++ b/applications/solvers/heatTransfer/boussinesqBuoyantFoam/CMakeLists.txt @@ -30,7 +30,7 @@ # # -------------------------------------------------------------------------- -list(APPEND sources +list(APPEND SOURCES boussinesqBuoyantFoam.C ) @@ -42,5 +42,5 @@ endif() add_foam_executable(boussinesqBuoyantFoam # DEPENDS finiteVolume - SOURCES ${sources} + SOURCES ${SOURCES} ) diff --git a/applications/solvers/heatTransfer/buoyantBoussinesqPisoFoam/CMakeLists.txt b/applications/solvers/heatTransfer/buoyantBoussinesqPisoFoam/CMakeLists.txt index d3199041a..27c6ff919 100644 --- a/applications/solvers/heatTransfer/buoyantBoussinesqPisoFoam/CMakeLists.txt +++ b/applications/solvers/heatTransfer/buoyantBoussinesqPisoFoam/CMakeLists.txt @@ -30,7 +30,7 @@ # # -------------------------------------------------------------------------- -list(APPEND sources +list(APPEND SOURCES buoyantBoussinesqPisoFoam.C ) @@ -42,5 +42,5 @@ endif() add_foam_executable(buoyantBoussinesqPisoFoam # DEPENDS finiteVolume - SOURCES ${sources} + SOURCES ${SOURCES} ) diff --git a/applications/solvers/heatTransfer/buoyantBoussinesqSimpleFoam/CMakeLists.txt b/applications/solvers/heatTransfer/buoyantBoussinesqSimpleFoam/CMakeLists.txt index ddd97bf76..113baa1bf 100644 --- a/applications/solvers/heatTransfer/buoyantBoussinesqSimpleFoam/CMakeLists.txt +++ b/applications/solvers/heatTransfer/buoyantBoussinesqSimpleFoam/CMakeLists.txt @@ -30,7 +30,7 @@ # # -------------------------------------------------------------------------- -list(APPEND sources +list(APPEND SOURCES buoyantBoussinesqSimpleFoam.C ) @@ -42,5 +42,5 @@ endif() add_foam_executable(buoyantBoussinesqSimpleFoam # DEPENDS finiteVolume - SOURCES ${sources} + SOURCES ${SOURCES} ) diff --git a/applications/solvers/heatTransfer/buoyantPisoFoam/CMakeLists.txt b/applications/solvers/heatTransfer/buoyantPisoFoam/CMakeLists.txt index d339fad84..25f922bdf 100644 --- a/applications/solvers/heatTransfer/buoyantPisoFoam/CMakeLists.txt +++ b/applications/solvers/heatTransfer/buoyantPisoFoam/CMakeLists.txt @@ -30,7 +30,7 @@ # # -------------------------------------------------------------------------- -list(APPEND sources +list(APPEND SOURCES buoyantPisoFoam.C ) @@ -42,5 +42,5 @@ endif() add_foam_executable(buoyantPisoFoam # DEPENDS finiteVolume - SOURCES ${sources} + SOURCES ${SOURCES} ) diff --git a/applications/solvers/heatTransfer/buoyantSimpleFoam/CMakeLists.txt b/applications/solvers/heatTransfer/buoyantSimpleFoam/CMakeLists.txt index 32baa7951..e42430922 100644 --- a/applications/solvers/heatTransfer/buoyantSimpleFoam/CMakeLists.txt +++ b/applications/solvers/heatTransfer/buoyantSimpleFoam/CMakeLists.txt @@ -30,7 +30,7 @@ # # -------------------------------------------------------------------------- -list(APPEND sources +list(APPEND SOURCES buoyantSimpleFoam.C ) @@ -42,5 +42,5 @@ endif() add_foam_executable(buoyantSimpleFoam # DEPENDS finiteVolume - SOURCES ${sources} + SOURCES ${SOURCES} ) diff --git a/applications/solvers/heatTransfer/buoyantSimpleRadiationFoam/CMakeLists.txt b/applications/solvers/heatTransfer/buoyantSimpleRadiationFoam/CMakeLists.txt index e2fe1dc0a..1d2d3eaf3 100644 --- a/applications/solvers/heatTransfer/buoyantSimpleRadiationFoam/CMakeLists.txt +++ b/applications/solvers/heatTransfer/buoyantSimpleRadiationFoam/CMakeLists.txt @@ -30,7 +30,7 @@ # # -------------------------------------------------------------------------- -list(APPEND sources +list(APPEND SOURCES buoyantSimpleRadiationFoam.C ) @@ -42,5 +42,5 @@ endif() add_foam_executable(buoyantSimpleRadiationFoam # DEPENDS finiteVolume - SOURCES ${sources} + SOURCES ${SOURCES} ) diff --git a/applications/solvers/heatTransfer/chtMultiRegionFoam/CMakeLists.txt b/applications/solvers/heatTransfer/chtMultiRegionFoam/CMakeLists.txt index 7c84678ea..894430d35 100644 --- a/applications/solvers/heatTransfer/chtMultiRegionFoam/CMakeLists.txt +++ b/applications/solvers/heatTransfer/chtMultiRegionFoam/CMakeLists.txt @@ -30,7 +30,7 @@ # # -------------------------------------------------------------------------- -list(APPEND sources +list(APPEND SOURCES regionProperties/regionProperties.C derivedFvPatchFields/solidWallHeatFluxTemperature/solidWallHeatFluxTemperatureFvPatchScalarField.C derivedFvPatchFields/solidWallMixedTemperatureCoupled/solidWallMixedTemperatureCoupledFvPatchScalarField.C @@ -47,5 +47,5 @@ endif() add_foam_executable(chtMultiRegionFoam # DEPENDS finiteVolume - SOURCES ${sources} + SOURCES ${SOURCES} ) diff --git a/applications/solvers/heatTransfer/chtMultiRegionSimpleFoam/CMakeLists.txt b/applications/solvers/heatTransfer/chtMultiRegionSimpleFoam/CMakeLists.txt index 63791deeb..3cc3b000a 100644 --- a/applications/solvers/heatTransfer/chtMultiRegionSimpleFoam/CMakeLists.txt +++ b/applications/solvers/heatTransfer/chtMultiRegionSimpleFoam/CMakeLists.txt @@ -30,7 +30,7 @@ # # -------------------------------------------------------------------------- -list(APPEND sources +list(APPEND SOURCES derivedFvPatchFields/solidWallHeatFluxTemperature/solidWallHeatFluxTemperatureFvPatchScalarField.C chtMultiRegionSimpleFoam.C ) @@ -43,5 +43,5 @@ endif() add_foam_executable(chtMultiRegionSimpleFoam # DEPENDS finiteVolume - SOURCES ${sources} + SOURCES ${SOURCES} ) diff --git a/applications/solvers/immersedBoundary/icoDyMIbFoam/CMakeLists.txt b/applications/solvers/immersedBoundary/icoDyMIbFoam/CMakeLists.txt index 9850de6b2..4f08b7e28 100644 --- a/applications/solvers/immersedBoundary/icoDyMIbFoam/CMakeLists.txt +++ b/applications/solvers/immersedBoundary/icoDyMIbFoam/CMakeLists.txt @@ -30,7 +30,7 @@ # # -------------------------------------------------------------------------- -list(APPEND sources +list(APPEND SOURCES icoDyMIbFoam.C ) @@ -42,5 +42,5 @@ endif() add_foam_executable(icoDyMIbFoam # DEPENDS finiteVolume - SOURCES ${sources} + SOURCES ${SOURCES} ) diff --git a/applications/solvers/immersedBoundary/icoIbFoam/CMakeLists.txt b/applications/solvers/immersedBoundary/icoIbFoam/CMakeLists.txt index 3793751ab..627967ea0 100644 --- a/applications/solvers/immersedBoundary/icoIbFoam/CMakeLists.txt +++ b/applications/solvers/immersedBoundary/icoIbFoam/CMakeLists.txt @@ -30,7 +30,7 @@ # # -------------------------------------------------------------------------- -list(APPEND sources +list(APPEND SOURCES icoIbFoam.C ) @@ -42,5 +42,5 @@ endif() add_foam_executable(icoIbFoam # DEPENDS finiteVolume - SOURCES ${sources} + SOURCES ${SOURCES} ) diff --git a/applications/solvers/immersedBoundary/interIbFoam/CMakeLists.txt b/applications/solvers/immersedBoundary/interIbFoam/CMakeLists.txt index 97849df15..43472e250 100644 --- a/applications/solvers/immersedBoundary/interIbFoam/CMakeLists.txt +++ b/applications/solvers/immersedBoundary/interIbFoam/CMakeLists.txt @@ -30,7 +30,7 @@ # # -------------------------------------------------------------------------- -list(APPEND sources +list(APPEND SOURCES interIbFoam.C ) @@ -42,5 +42,5 @@ endif() add_foam_executable(interIbFoam # DEPENDS finiteVolume - SOURCES ${sources} + SOURCES ${SOURCES} ) diff --git a/applications/solvers/immersedBoundary/porousSimpleIbFoam/CMakeLists.txt b/applications/solvers/immersedBoundary/porousSimpleIbFoam/CMakeLists.txt index 6ac1bce83..95cef4f61 100644 --- a/applications/solvers/immersedBoundary/porousSimpleIbFoam/CMakeLists.txt +++ b/applications/solvers/immersedBoundary/porousSimpleIbFoam/CMakeLists.txt @@ -30,7 +30,7 @@ # # -------------------------------------------------------------------------- -list(APPEND sources +list(APPEND SOURCES porousSimpleIbFoam.C ) @@ -42,5 +42,5 @@ endif() add_foam_executable(porousSimpleIbFoam # DEPENDS finiteVolume - SOURCES ${sources} + SOURCES ${SOURCES} ) diff --git a/applications/solvers/immersedBoundary/potentialIbFoam/CMakeLists.txt b/applications/solvers/immersedBoundary/potentialIbFoam/CMakeLists.txt index 772d731d7..17ec20f55 100644 --- a/applications/solvers/immersedBoundary/potentialIbFoam/CMakeLists.txt +++ b/applications/solvers/immersedBoundary/potentialIbFoam/CMakeLists.txt @@ -30,7 +30,7 @@ # # -------------------------------------------------------------------------- -list(APPEND sources +list(APPEND SOURCES potentialIbFoam.C ) @@ -42,5 +42,5 @@ endif() add_foam_executable(potentialIbFoam # DEPENDS finiteVolume - SOURCES ${sources} + SOURCES ${SOURCES} ) diff --git a/applications/solvers/immersedBoundary/simpleIbFoam/CMakeLists.txt b/applications/solvers/immersedBoundary/simpleIbFoam/CMakeLists.txt index ca5e8c6a7..23e449a1f 100644 --- a/applications/solvers/immersedBoundary/simpleIbFoam/CMakeLists.txt +++ b/applications/solvers/immersedBoundary/simpleIbFoam/CMakeLists.txt @@ -30,7 +30,7 @@ # # -------------------------------------------------------------------------- -list(APPEND sources +list(APPEND SOURCES simpleIbFoam.C ) @@ -42,5 +42,5 @@ endif() add_foam_executable(simpleIbFoam # DEPENDS finiteVolume - SOURCES ${sources} + SOURCES ${SOURCES} ) diff --git a/applications/solvers/incompressible/MRFSimpleFoam/CMakeLists.txt b/applications/solvers/incompressible/MRFSimpleFoam/CMakeLists.txt index ddaab2666..faa90212b 100644 --- a/applications/solvers/incompressible/MRFSimpleFoam/CMakeLists.txt +++ b/applications/solvers/incompressible/MRFSimpleFoam/CMakeLists.txt @@ -30,7 +30,7 @@ # # -------------------------------------------------------------------------- -list(APPEND sources +list(APPEND SOURCES MRFSimpleFoam.C ) @@ -42,5 +42,5 @@ endif() add_foam_executable(MRFSimpleFoam DEPENDS incompressibleRASModels - SOURCES ${sources} + SOURCES ${SOURCES} ) diff --git a/applications/solvers/incompressible/boundaryFoam/CMakeLists.txt b/applications/solvers/incompressible/boundaryFoam/CMakeLists.txt index c03739323..cb0a1c631 100644 --- a/applications/solvers/incompressible/boundaryFoam/CMakeLists.txt +++ b/applications/solvers/incompressible/boundaryFoam/CMakeLists.txt @@ -30,7 +30,7 @@ # # -------------------------------------------------------------------------- -list(APPEND sources +list(APPEND SOURCES boundaryFoam.C ) @@ -42,5 +42,5 @@ endif() add_foam_executable(boundaryFoam DEPENDS incompressibleRASModels sampling - SOURCES ${sources} + SOURCES ${SOURCES} ) diff --git a/applications/solvers/incompressible/channelFoam/CMakeLists.txt b/applications/solvers/incompressible/channelFoam/CMakeLists.txt index c6cab4d01..0ae8a9a7f 100644 --- a/applications/solvers/incompressible/channelFoam/CMakeLists.txt +++ b/applications/solvers/incompressible/channelFoam/CMakeLists.txt @@ -30,7 +30,7 @@ # # -------------------------------------------------------------------------- -list(APPEND sources +list(APPEND SOURCES channelFoam.C ) @@ -42,5 +42,5 @@ endif() add_foam_executable(channelFoam DEPENDS incompressibleLESModels - SOURCES ${sources} + SOURCES ${SOURCES} ) diff --git a/applications/solvers/incompressible/icoDyMFoam/CMakeLists.txt b/applications/solvers/incompressible/icoDyMFoam/CMakeLists.txt index 4f814bc13..ddfcaaacf 100644 --- a/applications/solvers/incompressible/icoDyMFoam/CMakeLists.txt +++ b/applications/solvers/incompressible/icoDyMFoam/CMakeLists.txt @@ -30,7 +30,7 @@ # # -------------------------------------------------------------------------- -list(APPEND sources +list(APPEND SOURCES icoDyMFoam.C ) @@ -42,5 +42,5 @@ endif() add_foam_executable(icoDyMFoam DEPENDS dynamicFvMesh - SOURCES ${sources} + SOURCES ${SOURCES} ) diff --git a/applications/solvers/incompressible/icoDyMSimpleFoam/CMakeLists.txt b/applications/solvers/incompressible/icoDyMSimpleFoam/CMakeLists.txt index 7d0d3f5b0..55e5e761d 100644 --- a/applications/solvers/incompressible/icoDyMSimpleFoam/CMakeLists.txt +++ b/applications/solvers/incompressible/icoDyMSimpleFoam/CMakeLists.txt @@ -30,7 +30,7 @@ # # -------------------------------------------------------------------------- -list(APPEND sources +list(APPEND SOURCES icoDyMSimpleFoam.C ) @@ -42,5 +42,5 @@ endif() add_foam_executable(icoDyMSimpleFoam DEPENDS dynamicFvMesh - SOURCES ${sources} + SOURCES ${SOURCES} ) diff --git a/applications/solvers/incompressible/icoFoam/CMakeLists.txt b/applications/solvers/incompressible/icoFoam/CMakeLists.txt index 4d2881bb8..7b061f23b 100644 --- a/applications/solvers/incompressible/icoFoam/CMakeLists.txt +++ b/applications/solvers/incompressible/icoFoam/CMakeLists.txt @@ -30,7 +30,7 @@ # # -------------------------------------------------------------------------- -list(APPEND sources +list(APPEND SOURCES icoFoam.C ) @@ -42,5 +42,5 @@ endif() add_foam_executable(icoFoam DEPENDS finiteVolume - SOURCES ${sources} + SOURCES ${SOURCES} ) diff --git a/applications/solvers/incompressible/nonNewtonianIcoFoam/CMakeLists.txt b/applications/solvers/incompressible/nonNewtonianIcoFoam/CMakeLists.txt index 2677c3fa0..4ac55c9c8 100644 --- a/applications/solvers/incompressible/nonNewtonianIcoFoam/CMakeLists.txt +++ b/applications/solvers/incompressible/nonNewtonianIcoFoam/CMakeLists.txt @@ -30,7 +30,7 @@ # # -------------------------------------------------------------------------- -list(APPEND sources +list(APPEND SOURCES nonNewtonianIcoFoam.C ) @@ -42,5 +42,5 @@ endif() add_foam_executable(nonNewtonianIcoFoam DEPENDS incompressibleTransportModels - SOURCES ${sources} + SOURCES ${SOURCES} ) diff --git a/applications/solvers/incompressible/pimpleDyMFoam/CMakeLists.txt b/applications/solvers/incompressible/pimpleDyMFoam/CMakeLists.txt index dacb029a5..ee04c78fa 100644 --- a/applications/solvers/incompressible/pimpleDyMFoam/CMakeLists.txt +++ b/applications/solvers/incompressible/pimpleDyMFoam/CMakeLists.txt @@ -30,7 +30,7 @@ # # -------------------------------------------------------------------------- -list(APPEND sources +list(APPEND SOURCES pimpleDyMFoam.C ) @@ -42,5 +42,5 @@ endif() add_foam_executable(pimpleDyMFoam DEPENDS dynamicFvMesh incompressibleRASModels incompressibleLESModels - SOURCES ${sources} + SOURCES ${SOURCES} ) diff --git a/applications/solvers/incompressible/pimpleFoam/CMakeLists.txt b/applications/solvers/incompressible/pimpleFoam/CMakeLists.txt index ad6e3719a..573bd5253 100644 --- a/applications/solvers/incompressible/pimpleFoam/CMakeLists.txt +++ b/applications/solvers/incompressible/pimpleFoam/CMakeLists.txt @@ -30,7 +30,7 @@ # # -------------------------------------------------------------------------- -list(APPEND sources +list(APPEND SOURCES pimpleFoam.C ) @@ -42,5 +42,5 @@ endif() add_foam_executable(pimpleFoam DEPENDS incompressibleRASModels incompressibleLESModels - SOURCES ${sources} + SOURCES ${SOURCES} ) diff --git a/applications/solvers/incompressible/pisoFoam/CMakeLists.txt b/applications/solvers/incompressible/pisoFoam/CMakeLists.txt index 4540a3901..2522f644f 100644 --- a/applications/solvers/incompressible/pisoFoam/CMakeLists.txt +++ b/applications/solvers/incompressible/pisoFoam/CMakeLists.txt @@ -30,7 +30,7 @@ # # -------------------------------------------------------------------------- -list(APPEND sources +list(APPEND SOURCES pisoFoam.C ) @@ -42,5 +42,5 @@ endif() add_foam_executable(pisoFoam DEPENDS incompressibleRASModels incompressibleLESModels - SOURCES ${sources} + SOURCES ${SOURCES} ) diff --git a/applications/solvers/incompressible/porousSimpleFoam/CMakeLists.txt b/applications/solvers/incompressible/porousSimpleFoam/CMakeLists.txt index 87ddaca05..093cf1dcb 100644 --- a/applications/solvers/incompressible/porousSimpleFoam/CMakeLists.txt +++ b/applications/solvers/incompressible/porousSimpleFoam/CMakeLists.txt @@ -30,7 +30,7 @@ # # -------------------------------------------------------------------------- -list(APPEND sources +list(APPEND SOURCES porousSimpleFoam.C ) @@ -42,5 +42,5 @@ endif() add_foam_executable(porousSimpleFoam DEPENDS incompressibleRASModels - SOURCES ${sources} + SOURCES ${SOURCES} ) diff --git a/applications/solvers/incompressible/shallowWaterFoam/CMakeLists.txt b/applications/solvers/incompressible/shallowWaterFoam/CMakeLists.txt index 1af199e2c..d524d111e 100644 --- a/applications/solvers/incompressible/shallowWaterFoam/CMakeLists.txt +++ b/applications/solvers/incompressible/shallowWaterFoam/CMakeLists.txt @@ -30,7 +30,7 @@ # # -------------------------------------------------------------------------- -list(APPEND sources +list(APPEND SOURCES shallowWaterFoam.C ) @@ -42,5 +42,5 @@ endif() add_foam_executable(shallowWaterFoam DEPENDS finiteVolume - SOURCES ${sources} + SOURCES ${SOURCES} ) diff --git a/applications/solvers/incompressible/simpleFoam/CMakeLists.txt b/applications/solvers/incompressible/simpleFoam/CMakeLists.txt index 426b83a48..36ebd441b 100644 --- a/applications/solvers/incompressible/simpleFoam/CMakeLists.txt +++ b/applications/solvers/incompressible/simpleFoam/CMakeLists.txt @@ -30,7 +30,7 @@ # # -------------------------------------------------------------------------- -list(APPEND sources +list(APPEND SOURCES simpleFoam.C ) @@ -42,5 +42,5 @@ endif() add_foam_executable(simpleFoam DEPENDS incompressibleRASModels - SOURCES ${sources} + SOURCES ${SOURCES} ) diff --git a/applications/solvers/incompressible/simpleSRFFoam/CMakeLists.txt b/applications/solvers/incompressible/simpleSRFFoam/CMakeLists.txt index fdaba40c5..2f0c47d29 100644 --- a/applications/solvers/incompressible/simpleSRFFoam/CMakeLists.txt +++ b/applications/solvers/incompressible/simpleSRFFoam/CMakeLists.txt @@ -30,7 +30,7 @@ # # -------------------------------------------------------------------------- -list(APPEND sources +list(APPEND SOURCES simpleSRFFoam.C ) @@ -42,5 +42,5 @@ endif() add_foam_executable(simpleSRFFoam DEPENDS incompressibleRASModels - SOURCES ${sources} + SOURCES ${SOURCES} ) diff --git a/applications/solvers/lagrangian/coalChemistryFoam/CMakeLists.txt b/applications/solvers/lagrangian/coalChemistryFoam/CMakeLists.txt index c64c5b365..83b524a4d 100644 --- a/applications/solvers/lagrangian/coalChemistryFoam/CMakeLists.txt +++ b/applications/solvers/lagrangian/coalChemistryFoam/CMakeLists.txt @@ -30,7 +30,7 @@ # # -------------------------------------------------------------------------- -list(APPEND sources +list(APPEND SOURCES coalChemistryFoam.C ) @@ -42,5 +42,5 @@ endif() add_foam_executable(coalChemistryFoam # DEPENDS finiteVolume - SOURCES ${sources} + SOURCES ${SOURCES} ) diff --git a/applications/solvers/lagrangian/porousExplicitSourceReactingParcelFoam/CMakeLists.txt b/applications/solvers/lagrangian/porousExplicitSourceReactingParcelFoam/CMakeLists.txt index 8f12269aa..71f7c48c8 100644 --- a/applications/solvers/lagrangian/porousExplicitSourceReactingParcelFoam/CMakeLists.txt +++ b/applications/solvers/lagrangian/porousExplicitSourceReactingParcelFoam/CMakeLists.txt @@ -30,7 +30,7 @@ # # -------------------------------------------------------------------------- -list(APPEND sources +list(APPEND SOURCES porousExplicitSourceReactingParcelFoam.C ) @@ -42,5 +42,5 @@ endif() add_foam_executable(porousExplicitSourceReactingParcelFoam # DEPENDS finiteVolume - SOURCES ${sources} + SOURCES ${SOURCES} ) diff --git a/applications/solvers/lagrangian/reactingParcelFoam/CMakeLists.txt b/applications/solvers/lagrangian/reactingParcelFoam/CMakeLists.txt index a6136c8e2..2c2636879 100644 --- a/applications/solvers/lagrangian/reactingParcelFoam/CMakeLists.txt +++ b/applications/solvers/lagrangian/reactingParcelFoam/CMakeLists.txt @@ -30,7 +30,7 @@ # # -------------------------------------------------------------------------- -list(APPEND sources +list(APPEND SOURCES reactingParcelFoam.C ) @@ -42,5 +42,5 @@ endif() add_foam_executable(reactingParcelFoam # DEPENDS finiteVolume - SOURCES ${sources} + SOURCES ${SOURCES} ) diff --git a/applications/solvers/lagrangian/uncoupledKinematicParcelFoam/CMakeLists.txt b/applications/solvers/lagrangian/uncoupledKinematicParcelFoam/CMakeLists.txt index bb9feac99..78291584b 100644 --- a/applications/solvers/lagrangian/uncoupledKinematicParcelFoam/CMakeLists.txt +++ b/applications/solvers/lagrangian/uncoupledKinematicParcelFoam/CMakeLists.txt @@ -30,7 +30,7 @@ # # -------------------------------------------------------------------------- -list(APPEND sources +list(APPEND SOURCES uncoupledKinematicParcelFoam.C ) @@ -42,5 +42,5 @@ endif() add_foam_executable(uncoupledKinematicParcelFoam # DEPENDS finiteVolume - SOURCES ${sources} + SOURCES ${SOURCES} ) diff --git a/applications/solvers/multiSolver/multiSolverDemo/CMakeLists.txt b/applications/solvers/multiSolver/multiSolverDemo/CMakeLists.txt index c8c89ca68..1ff23bbd8 100644 --- a/applications/solvers/multiSolver/multiSolverDemo/CMakeLists.txt +++ b/applications/solvers/multiSolver/multiSolverDemo/CMakeLists.txt @@ -30,7 +30,7 @@ # # -------------------------------------------------------------------------- -list(APPEND sources +list(APPEND SOURCES multiSolverDemo.C ) @@ -42,5 +42,5 @@ endif() add_foam_executable(multiSolverDemo # DEPENDS finiteVolume - SOURCES ${sources} + SOURCES ${SOURCES} ) diff --git a/applications/solvers/multiphase/MRFInterFoam/CMakeLists.txt b/applications/solvers/multiphase/MRFInterFoam/CMakeLists.txt index 0a3019c43..45bb31fa6 100644 --- a/applications/solvers/multiphase/MRFInterFoam/CMakeLists.txt +++ b/applications/solvers/multiphase/MRFInterFoam/CMakeLists.txt @@ -30,7 +30,7 @@ # # -------------------------------------------------------------------------- -list(APPEND sources +list(APPEND SOURCES MRFInterFoam.C ) @@ -42,5 +42,5 @@ endif() add_foam_executable(MRFInterFoam # DEPENDS finiteVolume - SOURCES ${sources} + SOURCES ${SOURCES} ) diff --git a/applications/solvers/multiphase/barotropicCavitatingFoam/CMakeLists.txt b/applications/solvers/multiphase/barotropicCavitatingFoam/CMakeLists.txt index 0466f7274..dfae93e0a 100644 --- a/applications/solvers/multiphase/barotropicCavitatingFoam/CMakeLists.txt +++ b/applications/solvers/multiphase/barotropicCavitatingFoam/CMakeLists.txt @@ -30,7 +30,7 @@ # # -------------------------------------------------------------------------- -list(APPEND sources +list(APPEND SOURCES barotropicCavitatingFoam.C ) @@ -42,5 +42,5 @@ endif() add_foam_executable(barotropicCavitatingFoam # DEPENDS finiteVolume - SOURCES ${sources} + SOURCES ${SOURCES} ) diff --git a/applications/solvers/multiphase/bubbleFoam/CMakeLists.txt b/applications/solvers/multiphase/bubbleFoam/CMakeLists.txt index 22f8892f5..3aa131b09 100644 --- a/applications/solvers/multiphase/bubbleFoam/CMakeLists.txt +++ b/applications/solvers/multiphase/bubbleFoam/CMakeLists.txt @@ -30,7 +30,7 @@ # # -------------------------------------------------------------------------- -list(APPEND sources +list(APPEND SOURCES bubbleFoam.C ) @@ -42,5 +42,5 @@ endif() add_foam_executable(bubbleFoam # DEPENDS finiteVolume - SOURCES ${sources} + SOURCES ${SOURCES} ) diff --git a/applications/solvers/multiphase/cavitatingFoam/CMakeLists.txt b/applications/solvers/multiphase/cavitatingFoam/CMakeLists.txt index f74511e9c..2ce310d09 100644 --- a/applications/solvers/multiphase/cavitatingFoam/CMakeLists.txt +++ b/applications/solvers/multiphase/cavitatingFoam/CMakeLists.txt @@ -30,7 +30,7 @@ # # -------------------------------------------------------------------------- -list(APPEND sources +list(APPEND SOURCES cavitatingFoam.C ) @@ -42,5 +42,5 @@ endif() add_foam_executable(cavitatingFoam # DEPENDS finiteVolume - SOURCES ${sources} + SOURCES ${SOURCES} ) diff --git a/applications/solvers/multiphase/compressibleInterDyMFoam/CMakeLists.txt b/applications/solvers/multiphase/compressibleInterDyMFoam/CMakeLists.txt index 9b5b2fbb6..87a91c4c0 100644 --- a/applications/solvers/multiphase/compressibleInterDyMFoam/CMakeLists.txt +++ b/applications/solvers/multiphase/compressibleInterDyMFoam/CMakeLists.txt @@ -30,7 +30,7 @@ # # -------------------------------------------------------------------------- -list(APPEND sources +list(APPEND SOURCES compressibleInterDyMFoam.C ) @@ -42,5 +42,5 @@ endif() add_foam_executable(compressibleInterDyMFoam # DEPENDS finiteVolume - SOURCES ${sources} + SOURCES ${SOURCES} ) diff --git a/applications/solvers/multiphase/compressibleInterFoam/CMakeLists.txt b/applications/solvers/multiphase/compressibleInterFoam/CMakeLists.txt index daf216525..678f237a5 100644 --- a/applications/solvers/multiphase/compressibleInterFoam/CMakeLists.txt +++ b/applications/solvers/multiphase/compressibleInterFoam/CMakeLists.txt @@ -30,7 +30,7 @@ # # -------------------------------------------------------------------------- -list(APPEND sources +list(APPEND SOURCES compressibleInterFoam.C ) @@ -42,5 +42,5 @@ endif() add_foam_executable(compressibleInterFoam # DEPENDS finiteVolume - SOURCES ${sources} + SOURCES ${SOURCES} ) diff --git a/applications/solvers/multiphase/interDyMFoam/CMakeLists.txt b/applications/solvers/multiphase/interDyMFoam/CMakeLists.txt index da8968687..4c1c523c2 100644 --- a/applications/solvers/multiphase/interDyMFoam/CMakeLists.txt +++ b/applications/solvers/multiphase/interDyMFoam/CMakeLists.txt @@ -30,7 +30,7 @@ # # -------------------------------------------------------------------------- -list(APPEND sources +list(APPEND SOURCES interDyMFoam.C ) @@ -42,5 +42,5 @@ endif() add_foam_executable(interDyMFoam # DEPENDS finiteVolume - SOURCES ${sources} + SOURCES ${SOURCES} ) diff --git a/applications/solvers/multiphase/interFoam/CMakeLists.txt b/applications/solvers/multiphase/interFoam/CMakeLists.txt index dd9401100..fd2e0b8b2 100644 --- a/applications/solvers/multiphase/interFoam/CMakeLists.txt +++ b/applications/solvers/multiphase/interFoam/CMakeLists.txt @@ -30,7 +30,7 @@ # # -------------------------------------------------------------------------- -list(APPEND sources +list(APPEND SOURCES interFoam.C ) @@ -42,5 +42,5 @@ endif() add_foam_executable(interFoam # DEPENDS finiteVolume - SOURCES ${sources} + SOURCES ${SOURCES} ) diff --git a/applications/solvers/multiphase/interMixingFoam/CMakeLists.txt b/applications/solvers/multiphase/interMixingFoam/CMakeLists.txt index e7af67713..a6e27125b 100644 --- a/applications/solvers/multiphase/interMixingFoam/CMakeLists.txt +++ b/applications/solvers/multiphase/interMixingFoam/CMakeLists.txt @@ -30,7 +30,7 @@ # # -------------------------------------------------------------------------- -list(APPEND sources +list(APPEND SOURCES incompressibleThreePhaseMixture/threePhaseMixture.C threePhaseInterfaceProperties/threePhaseInterfaceProperties.C interMixingFoam.C @@ -44,5 +44,5 @@ endif() add_foam_executable(interMixingFoam # DEPENDS finiteVolume - SOURCES ${sources} + SOURCES ${SOURCES} ) diff --git a/applications/solvers/multiphase/interPhaseChangeFoam/CMakeLists.txt b/applications/solvers/multiphase/interPhaseChangeFoam/CMakeLists.txt index 9b216435a..a7d80254a 100644 --- a/applications/solvers/multiphase/interPhaseChangeFoam/CMakeLists.txt +++ b/applications/solvers/multiphase/interPhaseChangeFoam/CMakeLists.txt @@ -30,7 +30,7 @@ # # -------------------------------------------------------------------------- -list(APPEND sources +list(APPEND SOURCES interPhaseChangeFoam.C phaseChangeTwoPhaseMixtures/phaseChangeTwoPhaseMixture/phaseChangeTwoPhaseMixture.C phaseChangeTwoPhaseMixtures/phaseChangeTwoPhaseMixture/newPhaseChangeTwoPhaseMixture.C @@ -47,5 +47,5 @@ endif() add_foam_executable(interPhaseChangeFoam # DEPENDS finiteVolume - SOURCES ${sources} + SOURCES ${SOURCES} ) diff --git a/applications/solvers/multiphase/multiphaseInterFoam/CMakeLists.txt b/applications/solvers/multiphase/multiphaseInterFoam/CMakeLists.txt index eddb42816..488b99c71 100644 --- a/applications/solvers/multiphase/multiphaseInterFoam/CMakeLists.txt +++ b/applications/solvers/multiphase/multiphaseInterFoam/CMakeLists.txt @@ -30,7 +30,7 @@ # # -------------------------------------------------------------------------- -list(APPEND sources +list(APPEND SOURCES multiphaseMixture/phase/phase.C multiphaseMixture/multiphaseAlphaContactAngle/multiphaseAlphaContactAngleFvPatchScalarField.C multiphaseMixture/multiphaseMixture.C @@ -45,5 +45,5 @@ endif() add_foam_executable(multiphaseInterFoam # DEPENDS finiteVolume - SOURCES ${sources} + SOURCES ${SOURCES} ) diff --git a/applications/solvers/multiphase/porousInterFoam/CMakeLists.txt b/applications/solvers/multiphase/porousInterFoam/CMakeLists.txt index 48971a1c3..1409915cd 100644 --- a/applications/solvers/multiphase/porousInterFoam/CMakeLists.txt +++ b/applications/solvers/multiphase/porousInterFoam/CMakeLists.txt @@ -30,7 +30,7 @@ # # -------------------------------------------------------------------------- -list(APPEND sources +list(APPEND SOURCES porousInterFoam.C ) @@ -42,5 +42,5 @@ endif() add_foam_executable(porousInterFoam # DEPENDS finiteVolume - SOURCES ${sources} + SOURCES ${SOURCES} ) diff --git a/applications/solvers/multiphase/settlingFoam/CMakeLists.txt b/applications/solvers/multiphase/settlingFoam/CMakeLists.txt index c7c556ed9..f936b5f40 100644 --- a/applications/solvers/multiphase/settlingFoam/CMakeLists.txt +++ b/applications/solvers/multiphase/settlingFoam/CMakeLists.txt @@ -30,7 +30,7 @@ # # -------------------------------------------------------------------------- -list(APPEND sources +list(APPEND SOURCES settlingFoam.C ) @@ -42,5 +42,5 @@ endif() add_foam_executable(settlingFoam # DEPENDS finiteVolume - SOURCES ${sources} + SOURCES ${SOURCES} ) diff --git a/applications/solvers/multiphase/twoLiquidMixingFoam/CMakeLists.txt b/applications/solvers/multiphase/twoLiquidMixingFoam/CMakeLists.txt index 711731760..ac531cd5d 100644 --- a/applications/solvers/multiphase/twoLiquidMixingFoam/CMakeLists.txt +++ b/applications/solvers/multiphase/twoLiquidMixingFoam/CMakeLists.txt @@ -30,7 +30,7 @@ # # -------------------------------------------------------------------------- -list(APPEND sources +list(APPEND SOURCES twoLiquidMixingFoam.C ) @@ -42,5 +42,5 @@ endif() add_foam_executable(twoLiquidMixingFoam # DEPENDS finiteVolume - SOURCES ${sources} + SOURCES ${SOURCES} ) diff --git a/applications/solvers/multiphase/twoPhaseEulerFoam/interfacialModels/CMakeLists.txt b/applications/solvers/multiphase/twoPhaseEulerFoam/interfacialModels/CMakeLists.txt index 247813536..c4619742e 100644 --- a/applications/solvers/multiphase/twoPhaseEulerFoam/interfacialModels/CMakeLists.txt +++ b/applications/solvers/multiphase/twoPhaseEulerFoam/interfacialModels/CMakeLists.txt @@ -30,7 +30,7 @@ # # -------------------------------------------------------------------------- -list(APPEND sources +list(APPEND SOURCES dragModels/dragModel/dragModel.C dragModels/dragModel/newDragModel.C dragModels/Ergun/Ergun.C @@ -42,8 +42,6 @@ list(APPEND sources dragModels/SyamlalOBrien/SyamlalOBrien.C ) -add_foam_library(EulerianInterfacialModels SHARED ${sources}) +add_foam_library(EulerianInterfacialModels SHARED ${SOURCES}) -# This is a prototype! Replace second argument with a list of the highest -# dependencies only. Inherited dependencies will be treated automatically. #target_link_libraries(EulerianInterfacialModels finiteVolume) diff --git a/applications/solvers/multiphase/twoPhaseEulerFoam/kineticTheoryModels/CMakeLists.txt b/applications/solvers/multiphase/twoPhaseEulerFoam/kineticTheoryModels/CMakeLists.txt index b46144113..b609a4c13 100644 --- a/applications/solvers/multiphase/twoPhaseEulerFoam/kineticTheoryModels/CMakeLists.txt +++ b/applications/solvers/multiphase/twoPhaseEulerFoam/kineticTheoryModels/CMakeLists.txt @@ -30,7 +30,7 @@ # # -------------------------------------------------------------------------- -list(APPEND sources +list(APPEND SOURCES kineticTheoryModel/kineticTheoryModel.C viscosityModel/viscosityModel/kineticTheoryViscosityModel.C viscosityModel/viscosityModel/newKineticTheoryViscosityModel.C @@ -59,8 +59,6 @@ list(APPEND sources frictionalStressModel/Schaeffer/SchaefferFrictionalStress.C ) -add_foam_library(kineticTheoryModel SHARED ${sources}) +add_foam_library(kineticTheoryModel SHARED ${SOURCES}) -# This is a prototype! Replace second argument with a list of the highest -# dependencies only. Inherited dependencies will be treated automatically. #target_link_libraries(kineticTheoryModel finiteVolume) diff --git a/applications/solvers/multiphase/twoPhaseEulerFoam/phaseModel/CMakeLists.txt b/applications/solvers/multiphase/twoPhaseEulerFoam/phaseModel/CMakeLists.txt index 2bd5b55ad..db288e4c2 100644 --- a/applications/solvers/multiphase/twoPhaseEulerFoam/phaseModel/CMakeLists.txt +++ b/applications/solvers/multiphase/twoPhaseEulerFoam/phaseModel/CMakeLists.txt @@ -30,12 +30,10 @@ # # -------------------------------------------------------------------------- -list(APPEND sources +list(APPEND SOURCES phaseModel/phaseModel.C ) -add_foam_library(phaseModel SHARED ${sources}) +add_foam_library(phaseModel SHARED ${SOURCES}) -# This is a prototype! Replace second argument with a list of the highest -# dependencies only. Inherited dependencies will be treated automatically. #target_link_libraries(phaseModel finiteVolume) diff --git a/applications/solvers/solidMechanics/deprecatedSolvers/contactStressFoam/CMakeLists.txt b/applications/solvers/solidMechanics/deprecatedSolvers/contactStressFoam/CMakeLists.txt index 21a815cf7..ec3c3b757 100644 --- a/applications/solvers/solidMechanics/deprecatedSolvers/contactStressFoam/CMakeLists.txt +++ b/applications/solvers/solidMechanics/deprecatedSolvers/contactStressFoam/CMakeLists.txt @@ -30,7 +30,7 @@ # # -------------------------------------------------------------------------- -list(APPEND sources +list(APPEND SOURCES contactPatchPair.C contactPatchPairUpdateContact.C contactPatchPairSlavePressure.C @@ -45,5 +45,5 @@ endif() add_foam_executable(contactStressFoam # DEPENDS finiteVolume - SOURCES ${sources} + SOURCES ${SOURCES} ) diff --git a/applications/solvers/solidMechanics/deprecatedSolvers/icoFsiFoam/CMakeLists.txt b/applications/solvers/solidMechanics/deprecatedSolvers/icoFsiFoam/CMakeLists.txt index ff4e0ec22..0ac795db1 100644 --- a/applications/solvers/solidMechanics/deprecatedSolvers/icoFsiFoam/CMakeLists.txt +++ b/applications/solvers/solidMechanics/deprecatedSolvers/icoFsiFoam/CMakeLists.txt @@ -30,7 +30,7 @@ # # -------------------------------------------------------------------------- -list(APPEND sources +list(APPEND SOURCES tractionDisplacement/tractionDisplacementFvPatchVectorField.C icoFsiFoam.C ) @@ -43,5 +43,5 @@ endif() add_foam_executable(icoFsiFoam # DEPENDS finiteVolume - SOURCES ${sources} + SOURCES ${SOURCES} ) diff --git a/applications/solvers/solidMechanics/deprecatedSolvers/materialModels/CMakeLists.txt b/applications/solvers/solidMechanics/deprecatedSolvers/materialModels/CMakeLists.txt index dfacebd02..ad5ec3095 100644 --- a/applications/solvers/solidMechanics/deprecatedSolvers/materialModels/CMakeLists.txt +++ b/applications/solvers/solidMechanics/deprecatedSolvers/materialModels/CMakeLists.txt @@ -30,12 +30,12 @@ # # -------------------------------------------------------------------------- -list(APPEND sources +list(APPEND SOURCES rheologyModel/rheologyModel.C ) set(rheologyLaws rheologyModel/rheologyLaws) -list(APPEND sources +list(APPEND SOURCES ${rheologyLaws}/rheologyLaw/rheologyLaw.C ${rheologyLaws}/rheologyLaw/newRheologyLaw.C ${rheologyLaws}/linearElastic/linearElastic.C @@ -50,7 +50,7 @@ list(APPEND sources ) set(thermalLaws thermalModel/thermalLaws) -list(APPEND sources +list(APPEND SOURCES ${thermalLaws}/thermalLaw/thermalLaw.C ${thermalLaws}/thermalLaw/newThermalLaw.C ${thermalLaws}/constantThermal/constantThermal.C @@ -66,8 +66,6 @@ list(APPEND sources fvPatchFields/cohesiveZone/cohesiveZoneFvPatchVectorField.C ) -add_foam_library(materialModels SHARED ${sources}) +add_foam_library(materialModels SHARED ${SOURCES}) -# This is a prototype! Replace second argument with a list of the highest -# dependencies only. Inherited dependencies will be treated automatically. #target_link_libraries(materialModels finiteVolume) diff --git a/applications/solvers/solidMechanics/deprecatedSolvers/newContactStressFoam/CMakeLists.txt b/applications/solvers/solidMechanics/deprecatedSolvers/newContactStressFoam/CMakeLists.txt index 41f392207..bed60d313 100644 --- a/applications/solvers/solidMechanics/deprecatedSolvers/newContactStressFoam/CMakeLists.txt +++ b/applications/solvers/solidMechanics/deprecatedSolvers/newContactStressFoam/CMakeLists.txt @@ -30,7 +30,7 @@ # # -------------------------------------------------------------------------- -list(APPEND sources +list(APPEND SOURCES contactProblem.C contactPatchPair.C newContactStressFoam.C @@ -44,5 +44,5 @@ endif() add_foam_executable(newContactStressFoam # DEPENDS finiteVolume - SOURCES ${sources} + SOURCES ${SOURCES} ) diff --git a/applications/solvers/solidMechanics/deprecatedSolvers/newStressedFoam/CMakeLists.txt b/applications/solvers/solidMechanics/deprecatedSolvers/newStressedFoam/CMakeLists.txt index 362924442..438787650 100644 --- a/applications/solvers/solidMechanics/deprecatedSolvers/newStressedFoam/CMakeLists.txt +++ b/applications/solvers/solidMechanics/deprecatedSolvers/newStressedFoam/CMakeLists.txt @@ -30,7 +30,7 @@ # # -------------------------------------------------------------------------- -list(APPEND sources +list(APPEND SOURCES newStressedFoam.C ) @@ -42,5 +42,5 @@ endif() add_foam_executable(newStressedFoam # DEPENDS finiteVolume - SOURCES ${sources} + SOURCES ${SOURCES} ) diff --git a/applications/solvers/solidMechanics/deprecatedSolvers/solidDisplacementFoam/CMakeLists.txt b/applications/solvers/solidMechanics/deprecatedSolvers/solidDisplacementFoam/CMakeLists.txt index 2de19658b..22333d16b 100644 --- a/applications/solvers/solidMechanics/deprecatedSolvers/solidDisplacementFoam/CMakeLists.txt +++ b/applications/solvers/solidMechanics/deprecatedSolvers/solidDisplacementFoam/CMakeLists.txt @@ -30,7 +30,7 @@ # # -------------------------------------------------------------------------- -list(APPEND sources +list(APPEND SOURCES tractionDisplacement/tractionDisplacementFvPatchVectorField.C solidDisplacementFoam.C ) @@ -43,5 +43,5 @@ endif() add_foam_executable(solidDisplacementFoam # DEPENDS finiteVolume - SOURCES ${sources} + SOURCES ${SOURCES} ) diff --git a/applications/solvers/solidMechanics/deprecatedSolvers/solidEquilibriumDisplacementFoam/CMakeLists.txt b/applications/solvers/solidMechanics/deprecatedSolvers/solidEquilibriumDisplacementFoam/CMakeLists.txt index c2bf131a6..61bc95f70 100644 --- a/applications/solvers/solidMechanics/deprecatedSolvers/solidEquilibriumDisplacementFoam/CMakeLists.txt +++ b/applications/solvers/solidMechanics/deprecatedSolvers/solidEquilibriumDisplacementFoam/CMakeLists.txt @@ -30,7 +30,7 @@ # # -------------------------------------------------------------------------- -list(APPEND sources +list(APPEND SOURCES tractionDisplacementCorrection/tractionDisplacementCorrectionFvPatchVectorField.C solidEquilibriumDisplacementFoam.C ) @@ -43,5 +43,5 @@ endif() add_foam_executable(solidEquiriumDisplacementFoam # DEPENDS finiteVolume - SOURCES ${sources} + SOURCES ${SOURCES} ) diff --git a/applications/solvers/solidMechanics/deprecatedSolvers/stressedFoam/CMakeLists.txt b/applications/solvers/solidMechanics/deprecatedSolvers/stressedFoam/CMakeLists.txt index b1d3bf8ad..2b7caf2c5 100644 --- a/applications/solvers/solidMechanics/deprecatedSolvers/stressedFoam/CMakeLists.txt +++ b/applications/solvers/solidMechanics/deprecatedSolvers/stressedFoam/CMakeLists.txt @@ -30,7 +30,7 @@ # # -------------------------------------------------------------------------- -list(APPEND sources +list(APPEND SOURCES tractionDisplacement/tractionDisplacementFvPatchVectorField.C stressedFoam.C ) @@ -43,5 +43,5 @@ endif() add_foam_executable(stressedFoam # DEPENDS finiteVolume - SOURCES ${sources} + SOURCES ${SOURCES} ) diff --git a/applications/solvers/solidMechanics/elasticAcpSolidFoam/CMakeLists.txt b/applications/solvers/solidMechanics/elasticAcpSolidFoam/CMakeLists.txt index 38bac0f16..1c1ca746d 100644 --- a/applications/solvers/solidMechanics/elasticAcpSolidFoam/CMakeLists.txt +++ b/applications/solvers/solidMechanics/elasticAcpSolidFoam/CMakeLists.txt @@ -30,7 +30,7 @@ # # -------------------------------------------------------------------------- -list(APPEND sources +list(APPEND SOURCES elasticAcpSolidFoam.C ) @@ -42,5 +42,5 @@ endif() add_foam_executable(elasticAcpSolidFoam # DEPENDS finiteVolume - SOURCES ${sources} + SOURCES ${SOURCES} ) diff --git a/applications/solvers/solidMechanics/elasticIncrAcpSolidFoam/CMakeLists.txt b/applications/solvers/solidMechanics/elasticIncrAcpSolidFoam/CMakeLists.txt index cbe8e5cf1..0bac43415 100644 --- a/applications/solvers/solidMechanics/elasticIncrAcpSolidFoam/CMakeLists.txt +++ b/applications/solvers/solidMechanics/elasticIncrAcpSolidFoam/CMakeLists.txt @@ -30,7 +30,7 @@ # # -------------------------------------------------------------------------- -list(APPEND sources +list(APPEND SOURCES elasticIncrAcpSolidFoam.C ) @@ -42,5 +42,5 @@ endif() add_foam_executable(elasticIncrAcpSolidFoam # DEPENDS finiteVolume - SOURCES ${sources} + SOURCES ${SOURCES} ) diff --git a/applications/solvers/solidMechanics/elasticIncrSolidFoam/CMakeLists.txt b/applications/solvers/solidMechanics/elasticIncrSolidFoam/CMakeLists.txt index 1b424e9ea..e69869502 100644 --- a/applications/solvers/solidMechanics/elasticIncrSolidFoam/CMakeLists.txt +++ b/applications/solvers/solidMechanics/elasticIncrSolidFoam/CMakeLists.txt @@ -30,7 +30,7 @@ # # -------------------------------------------------------------------------- -list(APPEND sources +list(APPEND SOURCES elasticIncrSolidFoam.C ) @@ -42,5 +42,5 @@ endif() add_foam_executable(elasticIncrSolidFoam # DEPENDS finiteVolume - SOURCES ${sources} + SOURCES ${SOURCES} ) diff --git a/applications/solvers/solidMechanics/elasticNonLinIncrTLSolidFoam/CMakeLists.txt b/applications/solvers/solidMechanics/elasticNonLinIncrTLSolidFoam/CMakeLists.txt index 53a86fb1b..5712f2a0a 100644 --- a/applications/solvers/solidMechanics/elasticNonLinIncrTLSolidFoam/CMakeLists.txt +++ b/applications/solvers/solidMechanics/elasticNonLinIncrTLSolidFoam/CMakeLists.txt @@ -30,7 +30,7 @@ # # -------------------------------------------------------------------------- -list(APPEND sources +list(APPEND SOURCES elasticNonLinIncrTLSolidFoam.C ) @@ -42,5 +42,5 @@ endif() add_foam_executable(elasticNonLinIncrTLSolidFoam # DEPENDS finiteVolume - SOURCES ${sources} + SOURCES ${SOURCES} ) diff --git a/applications/solvers/solidMechanics/elasticNonLinTLSolidFoam/CMakeLists.txt b/applications/solvers/solidMechanics/elasticNonLinTLSolidFoam/CMakeLists.txt index 5bf44b6bc..72073b7bb 100644 --- a/applications/solvers/solidMechanics/elasticNonLinTLSolidFoam/CMakeLists.txt +++ b/applications/solvers/solidMechanics/elasticNonLinTLSolidFoam/CMakeLists.txt @@ -30,7 +30,7 @@ # # -------------------------------------------------------------------------- -list(APPEND sources +list(APPEND SOURCES elasticNonLinTLSolidFoam.C ) @@ -42,5 +42,5 @@ endif() add_foam_executable(elasticNonLinTLSolidFoam # DEPENDS finiteVolume - SOURCES ${sources} + SOURCES ${SOURCES} ) diff --git a/applications/solvers/solidMechanics/elasticNonLinULSolidFoam/CMakeLists.txt b/applications/solvers/solidMechanics/elasticNonLinULSolidFoam/CMakeLists.txt index 01873f032..d01e22a7d 100644 --- a/applications/solvers/solidMechanics/elasticNonLinULSolidFoam/CMakeLists.txt +++ b/applications/solvers/solidMechanics/elasticNonLinULSolidFoam/CMakeLists.txt @@ -30,7 +30,7 @@ # # -------------------------------------------------------------------------- -list(APPEND sources +list(APPEND SOURCES elasticNonLinULSolidFoam.C ) @@ -42,5 +42,5 @@ endif() add_foam_executable(elasticNonLinULSolidFoam # DEPENDS finiteVolume - SOURCES ${sources} + SOURCES ${SOURCES} ) diff --git a/applications/solvers/solidMechanics/elasticOrthoAcpSolidFoam/CMakeLists.txt b/applications/solvers/solidMechanics/elasticOrthoAcpSolidFoam/CMakeLists.txt index 89bea1720..7bfddc035 100644 --- a/applications/solvers/solidMechanics/elasticOrthoAcpSolidFoam/CMakeLists.txt +++ b/applications/solvers/solidMechanics/elasticOrthoAcpSolidFoam/CMakeLists.txt @@ -30,7 +30,7 @@ # # -------------------------------------------------------------------------- -list(APPEND sources +list(APPEND SOURCES elasticOrthoAcpSolidFoam.C ) @@ -42,5 +42,5 @@ endif() add_foam_executable(elasticOrthoAcpSolidFoam # DEPENDS finiteVolume - SOURCES ${sources} + SOURCES ${SOURCES} ) diff --git a/applications/solvers/solidMechanics/elasticOrthoNonLinULSolidFoam/CMakeLists.txt b/applications/solvers/solidMechanics/elasticOrthoNonLinULSolidFoam/CMakeLists.txt index 8fecb32ef..5550ba1e1 100644 --- a/applications/solvers/solidMechanics/elasticOrthoNonLinULSolidFoam/CMakeLists.txt +++ b/applications/solvers/solidMechanics/elasticOrthoNonLinULSolidFoam/CMakeLists.txt @@ -30,7 +30,7 @@ # # -------------------------------------------------------------------------- -list(APPEND sources +list(APPEND SOURCES elasticOrthoNonLinULSolidFoam.C ) @@ -42,5 +42,5 @@ endif() add_foam_executable(elasticOrthoNonLinULSolidFoam # DEPENDS finiteVolume - SOURCES ${sources} + SOURCES ${SOURCES} ) diff --git a/applications/solvers/solidMechanics/elasticOrthoSolidFoam/CMakeLists.txt b/applications/solvers/solidMechanics/elasticOrthoSolidFoam/CMakeLists.txt index 1ff5801f0..0eb6a67d2 100644 --- a/applications/solvers/solidMechanics/elasticOrthoSolidFoam/CMakeLists.txt +++ b/applications/solvers/solidMechanics/elasticOrthoSolidFoam/CMakeLists.txt @@ -30,7 +30,7 @@ # # -------------------------------------------------------------------------- -list(APPEND sources +list(APPEND SOURCES elasticOrthoSolidFoam.C ) @@ -42,5 +42,5 @@ endif() add_foam_executable(elasticOrthoSolidFoam # DEPENDS finiteVolume - SOURCES ${sources} + SOURCES ${SOURCES} ) diff --git a/applications/solvers/solidMechanics/elasticPlasticNonLinTLSolidFoam/CMakeLists.txt b/applications/solvers/solidMechanics/elasticPlasticNonLinTLSolidFoam/CMakeLists.txt index 97814f53c..8f89455f7 100644 --- a/applications/solvers/solidMechanics/elasticPlasticNonLinTLSolidFoam/CMakeLists.txt +++ b/applications/solvers/solidMechanics/elasticPlasticNonLinTLSolidFoam/CMakeLists.txt @@ -30,7 +30,7 @@ # # -------------------------------------------------------------------------- -list(APPEND sources +list(APPEND SOURCES elasticPlasticNonLinTLSolidFoam.C ) @@ -42,5 +42,5 @@ endif() add_foam_executable(elasticPlasticNonLinTLSolidFoam # DEPENDS finiteVolume - SOURCES ${sources} + SOURCES ${SOURCES} ) diff --git a/applications/solvers/solidMechanics/elasticPlasticNonLinULSolidFoam/CMakeLists.txt b/applications/solvers/solidMechanics/elasticPlasticNonLinULSolidFoam/CMakeLists.txt index 5321d82fd..68a3e2a87 100644 --- a/applications/solvers/solidMechanics/elasticPlasticNonLinULSolidFoam/CMakeLists.txt +++ b/applications/solvers/solidMechanics/elasticPlasticNonLinULSolidFoam/CMakeLists.txt @@ -30,7 +30,7 @@ # # -------------------------------------------------------------------------- -list(APPEND sources +list(APPEND SOURCES elasticPlasticNonLinULSolidFoam.C ) @@ -42,5 +42,5 @@ endif() add_foam_executable(elasticPlasticNonLinULSolidFoam # DEPENDS finiteVolume - SOURCES ${sources} + SOURCES ${SOURCES} ) diff --git a/applications/solvers/solidMechanics/elasticPlasticSolidFoam/CMakeLists.txt b/applications/solvers/solidMechanics/elasticPlasticSolidFoam/CMakeLists.txt index 224b01c77..208a9cb51 100644 --- a/applications/solvers/solidMechanics/elasticPlasticSolidFoam/CMakeLists.txt +++ b/applications/solvers/solidMechanics/elasticPlasticSolidFoam/CMakeLists.txt @@ -30,7 +30,7 @@ # # -------------------------------------------------------------------------- -list(APPEND sources +list(APPEND SOURCES elasticPlasticSolidFoam.C ) @@ -42,5 +42,5 @@ endif() add_foam_executable(elasticPlasticSolidFoam # DEPENDS finiteVolume - SOURCES ${sources} + SOURCES ${SOURCES} ) diff --git a/applications/solvers/solidMechanics/elasticSolidFoam/CMakeLists.txt b/applications/solvers/solidMechanics/elasticSolidFoam/CMakeLists.txt index d4e4b2fa4..882e9cebb 100644 --- a/applications/solvers/solidMechanics/elasticSolidFoam/CMakeLists.txt +++ b/applications/solvers/solidMechanics/elasticSolidFoam/CMakeLists.txt @@ -30,7 +30,7 @@ # # -------------------------------------------------------------------------- -list(APPEND sources +list(APPEND SOURCES elasticSolidFoam.C ) @@ -42,5 +42,5 @@ endif() add_foam_executable(elasticSolidFoam # DEPENDS finiteVolume - SOURCES ${sources} + SOURCES ${SOURCES} ) diff --git a/applications/solvers/solidMechanics/elasticThermalSolidFoam/CMakeLists.txt b/applications/solvers/solidMechanics/elasticThermalSolidFoam/CMakeLists.txt index 06a8c4791..aefe0ae52 100644 --- a/applications/solvers/solidMechanics/elasticThermalSolidFoam/CMakeLists.txt +++ b/applications/solvers/solidMechanics/elasticThermalSolidFoam/CMakeLists.txt @@ -30,7 +30,7 @@ # # -------------------------------------------------------------------------- -list(APPEND sources +list(APPEND SOURCES elasticThermalSolidFoam.C ) @@ -42,5 +42,5 @@ endif() add_foam_executable(elasticThermalSolidFoam # DEPENDS finiteVolume - SOURCES ${sources} + SOURCES ${SOURCES} ) diff --git a/applications/solvers/solidMechanics/icoFsiElasticNonLinULSolidFoam/CMakeLists.txt b/applications/solvers/solidMechanics/icoFsiElasticNonLinULSolidFoam/CMakeLists.txt index e7e115177..f879d1832 100644 --- a/applications/solvers/solidMechanics/icoFsiElasticNonLinULSolidFoam/CMakeLists.txt +++ b/applications/solvers/solidMechanics/icoFsiElasticNonLinULSolidFoam/CMakeLists.txt @@ -30,7 +30,7 @@ # # -------------------------------------------------------------------------- -list(APPEND sources +list(APPEND SOURCES icoFsiElasticNonLinULSolidFoam.C ) @@ -42,5 +42,5 @@ endif() add_foam_executable(icoFsiElasticNonLinULSolidFoam # DEPENDS finiteVolume - SOURCES ${sources} + SOURCES ${SOURCES} ) diff --git a/applications/solvers/solidMechanics/stressFemFoam/CMakeLists.txt b/applications/solvers/solidMechanics/stressFemFoam/CMakeLists.txt index f6bf7a898..acd231a46 100644 --- a/applications/solvers/solidMechanics/stressFemFoam/CMakeLists.txt +++ b/applications/solvers/solidMechanics/stressFemFoam/CMakeLists.txt @@ -30,7 +30,7 @@ # # -------------------------------------------------------------------------- -list(APPEND sources +list(APPEND SOURCES femStress/tractionTetPolyPatchVectorField.C stressFemFoam.C ) @@ -43,5 +43,5 @@ endif() add_foam_executable(stressFemFoam # DEPENDS finiteVolume - SOURCES ${sources} + SOURCES ${SOURCES} ) diff --git a/applications/solvers/solidMechanics/utilities/calculateCourantNumber/CMakeLists.txt b/applications/solvers/solidMechanics/utilities/calculateCourantNumber/CMakeLists.txt index 3b74e3912..047af9267 100644 --- a/applications/solvers/solidMechanics/utilities/calculateCourantNumber/CMakeLists.txt +++ b/applications/solvers/solidMechanics/utilities/calculateCourantNumber/CMakeLists.txt @@ -30,7 +30,7 @@ # # -------------------------------------------------------------------------- -list(APPEND sources +list(APPEND SOURCES calculateCourantNumber.C ) @@ -42,5 +42,5 @@ endif() add_foam_executable(calculateCourantNumber # DEPENDS finiteVolume - SOURCES ${sources} + SOURCES ${SOURCES} ) diff --git a/applications/solvers/solidMechanics/utilities/forceDisp/CMakeLists.txt b/applications/solvers/solidMechanics/utilities/forceDisp/CMakeLists.txt index 065cd16c4..0ba39540f 100644 --- a/applications/solvers/solidMechanics/utilities/forceDisp/CMakeLists.txt +++ b/applications/solvers/solidMechanics/utilities/forceDisp/CMakeLists.txt @@ -30,7 +30,7 @@ # # -------------------------------------------------------------------------- -list(APPEND sources +list(APPEND SOURCES forceDisp.C ) @@ -42,5 +42,5 @@ endif() add_foam_executable(forceDisp # DEPENDS finiteVolume - SOURCES ${sources} + SOURCES ${SOURCES} ) diff --git a/applications/solvers/solidMechanics/utilities/patchStressIntegrate/CMakeLists.txt b/applications/solvers/solidMechanics/utilities/patchStressIntegrate/CMakeLists.txt index 87ea4d5e6..2897e58f9 100644 --- a/applications/solvers/solidMechanics/utilities/patchStressIntegrate/CMakeLists.txt +++ b/applications/solvers/solidMechanics/utilities/patchStressIntegrate/CMakeLists.txt @@ -30,7 +30,7 @@ # # -------------------------------------------------------------------------- -list(APPEND sources +list(APPEND SOURCES patchStressIntegrate.C ) @@ -42,5 +42,5 @@ endif() add_foam_executable(patchStressIntegrate # DEPENDS finiteVolume - SOURCES ${sources} + SOURCES ${SOURCES} ) diff --git a/applications/solvers/solidMechanics/utilities/smoothMesh/CMakeLists.txt b/applications/solvers/solidMechanics/utilities/smoothMesh/CMakeLists.txt index e6dc49d54..e8919fb6a 100644 --- a/applications/solvers/solidMechanics/utilities/smoothMesh/CMakeLists.txt +++ b/applications/solvers/solidMechanics/utilities/smoothMesh/CMakeLists.txt @@ -30,7 +30,7 @@ # # -------------------------------------------------------------------------- -list(APPEND sources +list(APPEND SOURCES smoothMesh.C ) @@ -42,5 +42,5 @@ endif() add_foam_executable(smoothMesh # DEPENDS finiteVolume - SOURCES ${sources} + SOURCES ${SOURCES} ) diff --git a/applications/solvers/solidMechanics/utilities/surfaceTractions/CMakeLists.txt b/applications/solvers/solidMechanics/utilities/surfaceTractions/CMakeLists.txt index cf2caa259..1c9d604db 100644 --- a/applications/solvers/solidMechanics/utilities/surfaceTractions/CMakeLists.txt +++ b/applications/solvers/solidMechanics/utilities/surfaceTractions/CMakeLists.txt @@ -30,7 +30,7 @@ # # -------------------------------------------------------------------------- -list(APPEND sources +list(APPEND SOURCES surfaceTractions.C ) @@ -42,5 +42,5 @@ endif() add_foam_executable(surfaceTractions # DEPENDS finiteVolume - SOURCES ${sources} + SOURCES ${SOURCES} ) diff --git a/applications/solvers/solidMechanics/viscoElasticSolidFoam/CMakeLists.txt b/applications/solvers/solidMechanics/viscoElasticSolidFoam/CMakeLists.txt index ac3bb6afc..4d48176e4 100644 --- a/applications/solvers/solidMechanics/viscoElasticSolidFoam/CMakeLists.txt +++ b/applications/solvers/solidMechanics/viscoElasticSolidFoam/CMakeLists.txt @@ -30,7 +30,7 @@ # # -------------------------------------------------------------------------- -list(APPEND sources +list(APPEND SOURCES viscoElasticSolidFoam.C ) @@ -42,5 +42,5 @@ endif() add_foam_executable(viscoElasticSolidFoam # DEPENDS finiteVolume - SOURCES ${sources} + SOURCES ${SOURCES} ) diff --git a/applications/solvers/surfaceTracking/bubbleInterTrackFoam/CMakeLists.txt b/applications/solvers/surfaceTracking/bubbleInterTrackFoam/CMakeLists.txt index 17d89d5cf..aa714c49d 100644 --- a/applications/solvers/surfaceTracking/bubbleInterTrackFoam/CMakeLists.txt +++ b/applications/solvers/surfaceTracking/bubbleInterTrackFoam/CMakeLists.txt @@ -30,7 +30,7 @@ # # -------------------------------------------------------------------------- -list(APPEND sources +list(APPEND SOURCES bubbleInterTrackFoam.C ) @@ -42,5 +42,5 @@ endif() add_foam_executable(bubbleInterTrackFoam # DEPENDS finiteVolume - SOURCES ${sources} + SOURCES ${SOURCES} ) diff --git a/applications/solvers/surfaceTracking/freeSurface/CMakeLists.txt b/applications/solvers/surfaceTracking/freeSurface/CMakeLists.txt index 8222a08da..2742c3fd0 100644 --- a/applications/solvers/surfaceTracking/freeSurface/CMakeLists.txt +++ b/applications/solvers/surfaceTracking/freeSurface/CMakeLists.txt @@ -30,7 +30,7 @@ # # -------------------------------------------------------------------------- -list(APPEND sources +list(APPEND SOURCES freeSurface.C makeFreeSurfaceData.C freeSurfacePointDisplacement.C @@ -38,7 +38,7 @@ list(APPEND sources ) set(basicCorrectedFvPatchFields correctedFvPatchFields/basicCorrectedFvPatchFields) -list(APPEND sources +list(APPEND SOURCES ${basicCorrectedFvPatchFields}/fixedGradient/fixedGradientCorrectedFvPatchFields.C ${basicCorrectedFvPatchFields}/fixedValue/fixedValueCorrectedFvPatchFields.C ${basicCorrectedFvPatchFields}/zeroGradient/zeroGradientCorrectedFvPatchFields.C @@ -47,8 +47,6 @@ list(APPEND sources functionObjects/sloshingHistory/sloshingHistory.C ) -add_foam_library(freeSurface SHARED ${sources}) +add_foam_library(freeSurface SHARED ${SOURCES}) -# This is a prototype! Replace second argument with a list of the highest -# dependencies only. Inherited dependencies will be treated automatically. #target_link_libraries(freeSurface finiteVolume) diff --git a/applications/solvers/surfaceTracking/interTrackFoam/CMakeLists.txt b/applications/solvers/surfaceTracking/interTrackFoam/CMakeLists.txt index 2c3d33f4f..25ee05e89 100644 --- a/applications/solvers/surfaceTracking/interTrackFoam/CMakeLists.txt +++ b/applications/solvers/surfaceTracking/interTrackFoam/CMakeLists.txt @@ -30,7 +30,7 @@ # # -------------------------------------------------------------------------- -list(APPEND sources +list(APPEND SOURCES interTrackFoam.C ) @@ -42,5 +42,5 @@ endif() add_foam_executable(interTrackFoam # DEPENDS finiteVolume - SOURCES ${sources} + SOURCES ${SOURCES} ) diff --git a/applications/solvers/surfaceTracking/utilities/setFluidIndicator/CMakeLists.txt b/applications/solvers/surfaceTracking/utilities/setFluidIndicator/CMakeLists.txt index ccf147727..41b6070cb 100644 --- a/applications/solvers/surfaceTracking/utilities/setFluidIndicator/CMakeLists.txt +++ b/applications/solvers/surfaceTracking/utilities/setFluidIndicator/CMakeLists.txt @@ -30,7 +30,7 @@ # # -------------------------------------------------------------------------- -list(APPEND sources +list(APPEND SOURCES setFluidIndicator.C ) @@ -42,5 +42,5 @@ endif() add_foam_executable(setFluidIndicator # DEPENDS finiteVolume - SOURCES ${sources} + SOURCES ${SOURCES} ) diff --git a/applications/solvers/viscoelastic/viscoelasticFluidFoam/CMakeLists.txt b/applications/solvers/viscoelastic/viscoelasticFluidFoam/CMakeLists.txt index 11eca757d..2dc7e5836 100644 --- a/applications/solvers/viscoelastic/viscoelasticFluidFoam/CMakeLists.txt +++ b/applications/solvers/viscoelastic/viscoelasticFluidFoam/CMakeLists.txt @@ -30,7 +30,7 @@ # # -------------------------------------------------------------------------- -list(APPEND sources +list(APPEND SOURCES viscoelasticFluidFoam.C ) @@ -42,5 +42,5 @@ endif() add_foam_executable(viscoelasticFluidFoam # DEPENDS finiteVolume - SOURCES ${sources} + SOURCES ${SOURCES} ) diff --git a/applications/utilities/errorEstimation/estimateScalarError/CMakeLists.txt b/applications/utilities/errorEstimation/estimateScalarError/CMakeLists.txt index 0a64a2ed8..9f417ffda 100644 --- a/applications/utilities/errorEstimation/estimateScalarError/CMakeLists.txt +++ b/applications/utilities/errorEstimation/estimateScalarError/CMakeLists.txt @@ -30,7 +30,7 @@ # # -------------------------------------------------------------------------- -list(APPEND sources +list(APPEND SOURCES estimateScalarError.C ) @@ -42,5 +42,5 @@ endif() add_foam_executable(estimateScalarError DEPENDS errorEstimation - SOURCES ${sources} + SOURCES ${SOURCES} ) diff --git a/applications/utilities/errorEstimation/icoErrorEstimate/CMakeLists.txt b/applications/utilities/errorEstimation/icoErrorEstimate/CMakeLists.txt index 4e69e08b9..ac622737c 100644 --- a/applications/utilities/errorEstimation/icoErrorEstimate/CMakeLists.txt +++ b/applications/utilities/errorEstimation/icoErrorEstimate/CMakeLists.txt @@ -30,7 +30,7 @@ # # -------------------------------------------------------------------------- -list(APPEND sources +list(APPEND SOURCES icoErrorEstimate.C ) @@ -42,5 +42,5 @@ endif() add_foam_executable(icoErrorEstimate DEPENDS errorEstimation - SOURCES ${sources} + SOURCES ${SOURCES} ) diff --git a/applications/utilities/errorEstimation/icoMomentError/CMakeLists.txt b/applications/utilities/errorEstimation/icoMomentError/CMakeLists.txt index bbce8ebd2..ee9466113 100644 --- a/applications/utilities/errorEstimation/icoMomentError/CMakeLists.txt +++ b/applications/utilities/errorEstimation/icoMomentError/CMakeLists.txt @@ -30,7 +30,7 @@ # # -------------------------------------------------------------------------- -list(APPEND sources +list(APPEND SOURCES icoMomentError.C ) @@ -42,5 +42,5 @@ endif() add_foam_executable(icoMomentError DEPENDS errorEstimation - SOURCES ${sources} + SOURCES ${SOURCES} ) diff --git a/applications/utilities/errorEstimation/momentScalarError/CMakeLists.txt b/applications/utilities/errorEstimation/momentScalarError/CMakeLists.txt index dd8bc4030..31d376584 100644 --- a/applications/utilities/errorEstimation/momentScalarError/CMakeLists.txt +++ b/applications/utilities/errorEstimation/momentScalarError/CMakeLists.txt @@ -30,7 +30,7 @@ # # -------------------------------------------------------------------------- -list(APPEND sources +list(APPEND SOURCES momentScalarError.C ) @@ -42,5 +42,5 @@ endif() add_foam_executable(momentScalarError DEPENDS errorEstimation - SOURCES ${sources} + SOURCES ${SOURCES} ) diff --git a/applications/utilities/errorEstimation/simpleFoamResidual/CMakeLists.txt b/applications/utilities/errorEstimation/simpleFoamResidual/CMakeLists.txt index fcf6114a1..614840bf9 100644 --- a/applications/utilities/errorEstimation/simpleFoamResidual/CMakeLists.txt +++ b/applications/utilities/errorEstimation/simpleFoamResidual/CMakeLists.txt @@ -30,7 +30,7 @@ # # -------------------------------------------------------------------------- -list(APPEND sources +list(APPEND SOURCES simpleFoamResidual.C ) @@ -42,5 +42,5 @@ endif() add_foam_executable(simpleFoamResidual DEPENDS errorEstimation incompressibleRASModels incompressibleLESModels - SOURCES ${sources} + SOURCES ${SOURCES} ) diff --git a/applications/utilities/finiteArea/checkFaMesh/CMakeLists.txt b/applications/utilities/finiteArea/checkFaMesh/CMakeLists.txt index dceda9543..0457caa82 100644 --- a/applications/utilities/finiteArea/checkFaMesh/CMakeLists.txt +++ b/applications/utilities/finiteArea/checkFaMesh/CMakeLists.txt @@ -30,7 +30,7 @@ # # -------------------------------------------------------------------------- -list(APPEND sources +list(APPEND SOURCES checkFaMesh.C ) @@ -42,5 +42,5 @@ endif() add_foam_executable(checkFaMesh DEPENDS finiteVolume finiteArea - SOURCES ${sources} + SOURCES ${SOURCES} ) diff --git a/applications/utilities/finiteArea/createFaMeshFromStl/CMakeLists.txt b/applications/utilities/finiteArea/createFaMeshFromStl/CMakeLists.txt index 44ff0bd94..cd8f09fc0 100644 --- a/applications/utilities/finiteArea/createFaMeshFromStl/CMakeLists.txt +++ b/applications/utilities/finiteArea/createFaMeshFromStl/CMakeLists.txt @@ -30,7 +30,7 @@ # # -------------------------------------------------------------------------- -list(APPEND sources +list(APPEND SOURCES createFaMeshFromStl.C ) @@ -42,5 +42,5 @@ endif() add_foam_executable(createFaMeshFromStl DEPENDS finiteArea meshTools - SOURCES ${sources} + SOURCES ${SOURCES} ) diff --git a/applications/utilities/finiteArea/makeFaMesh/CMakeLists.txt b/applications/utilities/finiteArea/makeFaMesh/CMakeLists.txt index 3df65bd7e..9181650be 100644 --- a/applications/utilities/finiteArea/makeFaMesh/CMakeLists.txt +++ b/applications/utilities/finiteArea/makeFaMesh/CMakeLists.txt @@ -30,7 +30,7 @@ # # -------------------------------------------------------------------------- -list(APPEND sources +list(APPEND SOURCES makeFaMesh.C ) @@ -42,5 +42,5 @@ endif() add_foam_executable(makeFaMesh DEPENDS finiteVolume finiteArea - SOURCES ${sources} + SOURCES ${SOURCES} ) diff --git a/applications/utilities/immersedBoundary/ibContinuityError/CMakeLists.txt b/applications/utilities/immersedBoundary/ibContinuityError/CMakeLists.txt index 852727ae2..d7b18ddc7 100644 --- a/applications/utilities/immersedBoundary/ibContinuityError/CMakeLists.txt +++ b/applications/utilities/immersedBoundary/ibContinuityError/CMakeLists.txt @@ -30,7 +30,7 @@ # # -------------------------------------------------------------------------- -list(APPEND sources +list(APPEND SOURCES ibContinuityError.C ) @@ -42,5 +42,5 @@ endif() add_foam_executable(ibContinuityError DEPENDS immersedBoundary postCalc - SOURCES ${sources} + SOURCES ${SOURCES} ) diff --git a/applications/utilities/immersedBoundary/makeTriSurfaceMesh/CMakeLists.txt b/applications/utilities/immersedBoundary/makeTriSurfaceMesh/CMakeLists.txt index 0460c2ee3..b0b6e3c5b 100644 --- a/applications/utilities/immersedBoundary/makeTriSurfaceMesh/CMakeLists.txt +++ b/applications/utilities/immersedBoundary/makeTriSurfaceMesh/CMakeLists.txt @@ -30,7 +30,7 @@ # # -------------------------------------------------------------------------- -list(APPEND sources +list(APPEND SOURCES makeTriSurfaceMesh.C ) @@ -42,5 +42,5 @@ endif() add_foam_executable(makeTriSurfaceMesh DEPENDS immersedBoundary - SOURCES ${sources} + SOURCES ${SOURCES} ) diff --git a/applications/utilities/immersedBoundary/refineImmersedBoundaryMesh/CMakeLists.txt b/applications/utilities/immersedBoundary/refineImmersedBoundaryMesh/CMakeLists.txt index 54ed1658f..4b644f3f0 100644 --- a/applications/utilities/immersedBoundary/refineImmersedBoundaryMesh/CMakeLists.txt +++ b/applications/utilities/immersedBoundary/refineImmersedBoundaryMesh/CMakeLists.txt @@ -30,7 +30,7 @@ # # -------------------------------------------------------------------------- -list(APPEND sources +list(APPEND SOURCES refineImmersedBoundaryMesh.C ) @@ -42,5 +42,5 @@ endif() add_foam_executable(refineImmersedBoundaryMesh DEPENDS immersedBoundary - SOURCES ${sources} + SOURCES ${SOURCES} ) diff --git a/applications/utilities/immersedBoundary/surfaceInvertNormal/CMakeLists.txt b/applications/utilities/immersedBoundary/surfaceInvertNormal/CMakeLists.txt index f40b44cd9..11549e598 100644 --- a/applications/utilities/immersedBoundary/surfaceInvertNormal/CMakeLists.txt +++ b/applications/utilities/immersedBoundary/surfaceInvertNormal/CMakeLists.txt @@ -30,7 +30,7 @@ # # -------------------------------------------------------------------------- -list(APPEND sources +list(APPEND SOURCES surfaceInvertNormal.C ) @@ -42,5 +42,5 @@ endif() add_foam_executable(surfaceInvertNormal DEPENDS immersedBoundary - SOURCES ${sources} + SOURCES ${SOURCES} ) diff --git a/applications/utilities/immersedBoundary/surfaceNormal/CMakeLists.txt b/applications/utilities/immersedBoundary/surfaceNormal/CMakeLists.txt index e1895ccdd..164e062b8 100644 --- a/applications/utilities/immersedBoundary/surfaceNormal/CMakeLists.txt +++ b/applications/utilities/immersedBoundary/surfaceNormal/CMakeLists.txt @@ -30,7 +30,7 @@ # # -------------------------------------------------------------------------- -list(APPEND sources +list(APPEND SOURCES surfaceNormal.C ) @@ -42,5 +42,5 @@ endif() add_foam_executable(surfaceNormal DEPENDS immersedBoundary - SOURCES ${sources} + SOURCES ${SOURCES} ) diff --git a/applications/utilities/immersedBoundary/writeIbMasks/CMakeLists.txt b/applications/utilities/immersedBoundary/writeIbMasks/CMakeLists.txt index b4da50579..26ffdd69f 100644 --- a/applications/utilities/immersedBoundary/writeIbMasks/CMakeLists.txt +++ b/applications/utilities/immersedBoundary/writeIbMasks/CMakeLists.txt @@ -30,7 +30,7 @@ # # -------------------------------------------------------------------------- -list(APPEND sources +list(APPEND SOURCES writeIbMasks.C ) @@ -42,5 +42,5 @@ endif() add_foam_executable(writeIbMasks DEPENDS immersedBoundary - SOURCES ${sources} + SOURCES ${SOURCES} ) diff --git a/applications/utilities/mesh/advanced/autoRefineMesh/CMakeLists.txt b/applications/utilities/mesh/advanced/autoRefineMesh/CMakeLists.txt index 8aac962c8..4d4535d72 100644 --- a/applications/utilities/mesh/advanced/autoRefineMesh/CMakeLists.txt +++ b/applications/utilities/mesh/advanced/autoRefineMesh/CMakeLists.txt @@ -30,7 +30,7 @@ # # -------------------------------------------------------------------------- -list(APPEND sources +list(APPEND SOURCES autoRefineMesh.C ) @@ -42,5 +42,5 @@ endif() add_foam_executable(autoRefineMesh DEPENDS finiteVolume dynamicMesh - SOURCES ${sources} + SOURCES ${SOURCES} ) diff --git a/applications/utilities/mesh/advanced/collapseEdges/CMakeLists.txt b/applications/utilities/mesh/advanced/collapseEdges/CMakeLists.txt index 71668b24c..d20fffe97 100644 --- a/applications/utilities/mesh/advanced/collapseEdges/CMakeLists.txt +++ b/applications/utilities/mesh/advanced/collapseEdges/CMakeLists.txt @@ -30,7 +30,7 @@ # # -------------------------------------------------------------------------- -list(APPEND sources +list(APPEND SOURCES collapseEdges.C ) @@ -42,5 +42,5 @@ endif() add_foam_executable(collapseEdges DEPENDS finiteVolume dynamicMesh - SOURCES ${sources} + SOURCES ${SOURCES} ) diff --git a/applications/utilities/mesh/advanced/combinePatchFaces/CMakeLists.txt b/applications/utilities/mesh/advanced/combinePatchFaces/CMakeLists.txt index 8437a66f9..791fb8450 100644 --- a/applications/utilities/mesh/advanced/combinePatchFaces/CMakeLists.txt +++ b/applications/utilities/mesh/advanced/combinePatchFaces/CMakeLists.txt @@ -30,7 +30,7 @@ # # -------------------------------------------------------------------------- -list(APPEND sources +list(APPEND SOURCES combinePatchFaces.C ) @@ -42,5 +42,5 @@ endif() add_foam_executable(combinePatchFaces DEPENDS finiteVolume dynamicMesh - SOURCES ${sources} + SOURCES ${SOURCES} ) diff --git a/applications/utilities/mesh/advanced/modifyMesh/CMakeLists.txt b/applications/utilities/mesh/advanced/modifyMesh/CMakeLists.txt index 72cea8707..0980ad7f4 100644 --- a/applications/utilities/mesh/advanced/modifyMesh/CMakeLists.txt +++ b/applications/utilities/mesh/advanced/modifyMesh/CMakeLists.txt @@ -30,7 +30,7 @@ # # -------------------------------------------------------------------------- -list(APPEND sources +list(APPEND SOURCES cellSplitter.C modifyMesh.C ) @@ -43,5 +43,5 @@ endif() add_foam_executable(modifyMesh DEPENDS finiteVolume dynamicMesh - SOURCES ${sources} + SOURCES ${SOURCES} ) diff --git a/applications/utilities/mesh/advanced/refineHexMesh/CMakeLists.txt b/applications/utilities/mesh/advanced/refineHexMesh/CMakeLists.txt index e8d44a796..85325d811 100644 --- a/applications/utilities/mesh/advanced/refineHexMesh/CMakeLists.txt +++ b/applications/utilities/mesh/advanced/refineHexMesh/CMakeLists.txt @@ -30,7 +30,7 @@ # # -------------------------------------------------------------------------- -list(APPEND sources +list(APPEND SOURCES refineHexMesh.C ) @@ -42,5 +42,5 @@ endif() add_foam_executable(refineHexMesh DEPENDS finiteVolume dynamicMesh - SOURCES ${sources} + SOURCES ${SOURCES} ) diff --git a/applications/utilities/mesh/advanced/refineWallLayer/CMakeLists.txt b/applications/utilities/mesh/advanced/refineWallLayer/CMakeLists.txt index 86d7a34e0..2e6a4e4a2 100644 --- a/applications/utilities/mesh/advanced/refineWallLayer/CMakeLists.txt +++ b/applications/utilities/mesh/advanced/refineWallLayer/CMakeLists.txt @@ -30,7 +30,7 @@ # # -------------------------------------------------------------------------- -list(APPEND sources +list(APPEND SOURCES refineWallLayer.C ) @@ -42,5 +42,5 @@ endif() add_foam_executable(refineWallLayer DEPENDS finiteVolume dynamicMesh - SOURCES ${sources} + SOURCES ${SOURCES} ) diff --git a/applications/utilities/mesh/advanced/refinementLevel/CMakeLists.txt b/applications/utilities/mesh/advanced/refinementLevel/CMakeLists.txt index 9caf3d21a..7074babef 100644 --- a/applications/utilities/mesh/advanced/refinementLevel/CMakeLists.txt +++ b/applications/utilities/mesh/advanced/refinementLevel/CMakeLists.txt @@ -30,7 +30,7 @@ # # -------------------------------------------------------------------------- -list(APPEND sources +list(APPEND SOURCES refinementLevel.C ) @@ -42,5 +42,5 @@ endif() add_foam_executable(refinementLevel DEPENDS finiteVolume dynamicMesh - SOURCES ${sources} + SOURCES ${SOURCES} ) diff --git a/applications/utilities/mesh/advanced/removeFaces/CMakeLists.txt b/applications/utilities/mesh/advanced/removeFaces/CMakeLists.txt index e84f156cc..89a3d6f47 100644 --- a/applications/utilities/mesh/advanced/removeFaces/CMakeLists.txt +++ b/applications/utilities/mesh/advanced/removeFaces/CMakeLists.txt @@ -30,7 +30,7 @@ # # -------------------------------------------------------------------------- -list(APPEND sources +list(APPEND SOURCES removeFaces.C ) @@ -42,5 +42,5 @@ endif() add_foam_executable(removeFaces DEPENDS finiteVolume dynamicMesh - SOURCES ${sources} + SOURCES ${SOURCES} ) diff --git a/applications/utilities/mesh/advanced/selectCells/CMakeLists.txt b/applications/utilities/mesh/advanced/selectCells/CMakeLists.txt index eda2e26bd..fda700b4d 100644 --- a/applications/utilities/mesh/advanced/selectCells/CMakeLists.txt +++ b/applications/utilities/mesh/advanced/selectCells/CMakeLists.txt @@ -30,7 +30,7 @@ # # -------------------------------------------------------------------------- -list(APPEND sources +list(APPEND SOURCES edgeStats.C selectCells.C ) @@ -43,5 +43,5 @@ endif() add_foam_executable(selectCells DEPENDS finiteVolume - SOURCES ${sources} + SOURCES ${SOURCES} ) diff --git a/applications/utilities/mesh/advanced/splitCells/CMakeLists.txt b/applications/utilities/mesh/advanced/splitCells/CMakeLists.txt index 5ecb4b776..a775e76f2 100644 --- a/applications/utilities/mesh/advanced/splitCells/CMakeLists.txt +++ b/applications/utilities/mesh/advanced/splitCells/CMakeLists.txt @@ -30,7 +30,7 @@ # # -------------------------------------------------------------------------- -list(APPEND sources +list(APPEND SOURCES splitCells.C ) @@ -42,5 +42,5 @@ endif() add_foam_executable(splitCells DEPENDS finiteVolume dynamicMesh - SOURCES ${sources} + SOURCES ${SOURCES} ) diff --git a/applications/utilities/mesh/conversion/Optional/ccm26ToFoam/CMakeLists.txt b/applications/utilities/mesh/conversion/Optional/ccm26ToFoam/CMakeLists.txt index 0e8d1b7a0..7ac61fc6f 100644 --- a/applications/utilities/mesh/conversion/Optional/ccm26ToFoam/CMakeLists.txt +++ b/applications/utilities/mesh/conversion/Optional/ccm26ToFoam/CMakeLists.txt @@ -30,7 +30,7 @@ # # -------------------------------------------------------------------------- -list(APPEND sources +list(APPEND SOURCES ccm26ToFoam.C ) @@ -42,5 +42,5 @@ endif() add_foam_executable(ccm26ToFoam DEPENDS finiteVolume meshTools - SOURCES ${sources} + SOURCES ${SOURCES} ) diff --git a/applications/utilities/mesh/conversion/ansysToFoam/CMakeLists.txt b/applications/utilities/mesh/conversion/ansysToFoam/CMakeLists.txt index 513184b38..a54367317 100644 --- a/applications/utilities/mesh/conversion/ansysToFoam/CMakeLists.txt +++ b/applications/utilities/mesh/conversion/ansysToFoam/CMakeLists.txt @@ -32,7 +32,7 @@ FLEX_TARGET(ansysToFoam ansysToFoam.L ${CMAKE_CURRENT_BINARY_DIR}/ansysToFoam.C COMPILE_FLAGS "-+") -list(APPEND sources ${FLEX_ansysToFoam_OUTPUTS}) +list(APPEND SOURCES ${FLEX_ansysToFoam_OUTPUTS}) # Set minimal environment for external compilation if(NOT FOAM_FOUND) @@ -42,5 +42,5 @@ endif() add_foam_executable(ansysToFoam DEPENDS foam - SOURCES ${sources} + SOURCES ${SOURCES} ) diff --git a/applications/utilities/mesh/conversion/cfx4ToFoam/CMakeLists.txt b/applications/utilities/mesh/conversion/cfx4ToFoam/CMakeLists.txt index 8acef9951..9e4c82853 100644 --- a/applications/utilities/mesh/conversion/cfx4ToFoam/CMakeLists.txt +++ b/applications/utilities/mesh/conversion/cfx4ToFoam/CMakeLists.txt @@ -30,7 +30,7 @@ # # -------------------------------------------------------------------------- -list(APPEND sources +list(APPEND SOURCES hexBlock.C cfx4ToFoam.C ) @@ -43,5 +43,5 @@ endif() add_foam_executable(cfx4ToFoam DEPENDS foam - SOURCES ${sources} + SOURCES ${SOURCES} ) diff --git a/applications/utilities/mesh/conversion/fluent3DMeshToElmer/CMakeLists.txt b/applications/utilities/mesh/conversion/fluent3DMeshToElmer/CMakeLists.txt index d4e795840..2e9beee07 100644 --- a/applications/utilities/mesh/conversion/fluent3DMeshToElmer/CMakeLists.txt +++ b/applications/utilities/mesh/conversion/fluent3DMeshToElmer/CMakeLists.txt @@ -32,7 +32,7 @@ FLEX_TARGET(fluent3DMeshToElmer fluent3DMeshToElmer.L ${CMAKE_CURRENT_BINARY_DIR}/fluent3DMeshToElmer.C COMPILE_FLAGS "-+") -list(APPEND sources ${FLEX_fluent3DMeshToElmer_OUTPUTS}) +list(APPEND SOURCES ${FLEX_fluent3DMeshToElmer_OUTPUTS}) # Set minimal environment for external compilation if(NOT FOAM_FOUND) @@ -42,5 +42,5 @@ endif() add_foam_executable(fluent3DMeshToElmer DEPENDS dynamicMesh conversion - SOURCES ${sources} + SOURCES ${SOURCES} ) diff --git a/applications/utilities/mesh/conversion/fluent3DMeshToFoam/CMakeLists.txt b/applications/utilities/mesh/conversion/fluent3DMeshToFoam/CMakeLists.txt index 6f9b49b09..21392dfe0 100644 --- a/applications/utilities/mesh/conversion/fluent3DMeshToFoam/CMakeLists.txt +++ b/applications/utilities/mesh/conversion/fluent3DMeshToFoam/CMakeLists.txt @@ -32,7 +32,7 @@ FLEX_TARGET(fluent3DMeshToFoam fluent3DMeshToFoam.L ${CMAKE_CURRENT_BINARY_DIR}/fluent3DMeshToFoam.C COMPILE_FLAGS "-+") -list(APPEND sources ${FLEX_fluent3DMeshToFoam_OUTPUTS}) +list(APPEND SOURCES ${FLEX_fluent3DMeshToFoam_OUTPUTS}) # Set minimal environment for external compilation if(NOT FOAM_FOUND) @@ -42,5 +42,5 @@ endif() add_foam_executable(fluent3DMeshToFoam DEPENDS dynamicMesh - SOURCES ${sources} + SOURCES ${SOURCES} ) diff --git a/applications/utilities/mesh/conversion/fluentMeshToFoam/CMakeLists.txt b/applications/utilities/mesh/conversion/fluentMeshToFoam/CMakeLists.txt index 4fa257d2a..a8e831a5e 100644 --- a/applications/utilities/mesh/conversion/fluentMeshToFoam/CMakeLists.txt +++ b/applications/utilities/mesh/conversion/fluentMeshToFoam/CMakeLists.txt @@ -30,14 +30,14 @@ # # -------------------------------------------------------------------------- -list(APPEND sources +list(APPEND SOURCES extrudedTriangleCellShape.C extrudedQuadCellShape.C create3DCellShape.C ) FLEX_TARGET(fluentMeshToFoam fluentMeshToFoam.L ${CMAKE_CURRENT_BINARY_DIR}/fluentMeshToFoam.C COMPILE_FLAGS "-+") -list(APPEND sources ${FLEX_fluentMeshToFoam_OUTPUTS}) +list(APPEND SOURCES ${FLEX_fluentMeshToFoam_OUTPUTS}) # Set minimal environment for external compilation if(NOT FOAM_FOUND) @@ -47,5 +47,9 @@ endif() add_foam_executable(fluentMeshToFoam DEPENDS dynamicMesh - SOURCES ${sources} + SOURCES ${SOURCES} +) +target_include_directories(fluentMeshToFoam PUBLIC + $ +# $ ) diff --git a/applications/utilities/mesh/conversion/foamMeshToAbaqus/CMakeLists.txt b/applications/utilities/mesh/conversion/foamMeshToAbaqus/CMakeLists.txt index b044a1de7..bf76b1704 100644 --- a/applications/utilities/mesh/conversion/foamMeshToAbaqus/CMakeLists.txt +++ b/applications/utilities/mesh/conversion/foamMeshToAbaqus/CMakeLists.txt @@ -30,7 +30,7 @@ # # -------------------------------------------------------------------------- -list(APPEND sources +list(APPEND SOURCES foamMeshToAbaqus.C ) @@ -42,5 +42,5 @@ endif() add_foam_executable(foamMeshToAbaqus DEPENDS finiteVolume - SOURCES ${sources} + SOURCES ${SOURCES} ) diff --git a/applications/utilities/mesh/conversion/foamMeshToElmer/CMakeLists.txt b/applications/utilities/mesh/conversion/foamMeshToElmer/CMakeLists.txt index 85393bd4f..f21925be6 100644 --- a/applications/utilities/mesh/conversion/foamMeshToElmer/CMakeLists.txt +++ b/applications/utilities/mesh/conversion/foamMeshToElmer/CMakeLists.txt @@ -30,7 +30,7 @@ # # -------------------------------------------------------------------------- -list(APPEND sources +list(APPEND SOURCES foamMeshToElmer.C ) @@ -42,5 +42,5 @@ endif() add_foam_executable(foamMeshToElmer DEPENDS conversion - SOURCES ${sources} + SOURCES ${SOURCES} ) diff --git a/applications/utilities/mesh/conversion/foamMeshToFluent/CMakeLists.txt b/applications/utilities/mesh/conversion/foamMeshToFluent/CMakeLists.txt index ab3229c5a..f9f273923 100644 --- a/applications/utilities/mesh/conversion/foamMeshToFluent/CMakeLists.txt +++ b/applications/utilities/mesh/conversion/foamMeshToFluent/CMakeLists.txt @@ -30,7 +30,7 @@ # # -------------------------------------------------------------------------- -list(APPEND sources +list(APPEND SOURCES fluentFvMesh.C foamMeshToFluent.C ) @@ -43,5 +43,5 @@ endif() add_foam_executable(foamMeshToFluent DEPENDS finiteVolume - SOURCES ${sources} + SOURCES ${SOURCES} ) diff --git a/applications/utilities/mesh/conversion/foamToStarMesh/CMakeLists.txt b/applications/utilities/mesh/conversion/foamToStarMesh/CMakeLists.txt index 9a2fb3dc7..ba13835bc 100644 --- a/applications/utilities/mesh/conversion/foamToStarMesh/CMakeLists.txt +++ b/applications/utilities/mesh/conversion/foamToStarMesh/CMakeLists.txt @@ -30,7 +30,7 @@ # # -------------------------------------------------------------------------- -list(APPEND sources +list(APPEND SOURCES foamToStarMesh.C ) @@ -42,5 +42,5 @@ endif() add_foam_executable(foamToStarMesh DEPENDS conversion - SOURCES ${sources} + SOURCES ${SOURCES} ) diff --git a/applications/utilities/mesh/conversion/gambitToFoam/CMakeLists.txt b/applications/utilities/mesh/conversion/gambitToFoam/CMakeLists.txt index 1a8703d88..cd9e835ae 100644 --- a/applications/utilities/mesh/conversion/gambitToFoam/CMakeLists.txt +++ b/applications/utilities/mesh/conversion/gambitToFoam/CMakeLists.txt @@ -32,7 +32,7 @@ FLEX_TARGET(gambitToFoam gambitToFoam.L ${CMAKE_CURRENT_BINARY_DIR}/gambitToFoam.C COMPILE_FLAGS "-+") -list(APPEND sources ${FLEX_gambitToFoam_OUTPUTS}) +list(APPEND SOURCES ${FLEX_gambitToFoam_OUTPUTS}) # Set minimal environment for external compilation if(NOT FOAM_FOUND) @@ -42,5 +42,5 @@ endif() add_foam_executable(gambitToFoam DEPENDS foam - SOURCES ${sources} + SOURCES ${SOURCES} ) diff --git a/applications/utilities/mesh/conversion/gmshToFoam/CMakeLists.txt b/applications/utilities/mesh/conversion/gmshToFoam/CMakeLists.txt index 5338a8503..35b3a701f 100644 --- a/applications/utilities/mesh/conversion/gmshToFoam/CMakeLists.txt +++ b/applications/utilities/mesh/conversion/gmshToFoam/CMakeLists.txt @@ -30,7 +30,7 @@ # # -------------------------------------------------------------------------- -list(APPEND sources +list(APPEND SOURCES gmshToFoam.C ) @@ -42,5 +42,5 @@ endif() add_foam_executable(gmshToFoam DEPENDS dynamicMesh meshTools - SOURCES ${sources} + SOURCES ${SOURCES} ) diff --git a/applications/utilities/mesh/conversion/ideasUnvToFoam/CMakeLists.txt b/applications/utilities/mesh/conversion/ideasUnvToFoam/CMakeLists.txt index d99117286..bb13541e8 100644 --- a/applications/utilities/mesh/conversion/ideasUnvToFoam/CMakeLists.txt +++ b/applications/utilities/mesh/conversion/ideasUnvToFoam/CMakeLists.txt @@ -30,7 +30,7 @@ # # -------------------------------------------------------------------------- -list(APPEND sources +list(APPEND SOURCES ideasUnvToFoam.C ) @@ -42,5 +42,5 @@ endif() add_foam_executable(ideasUnvToFoam DEPENDS meshTools - SOURCES ${sources} + SOURCES ${SOURCES} ) diff --git a/applications/utilities/mesh/conversion/kivaToFoam/CMakeLists.txt b/applications/utilities/mesh/conversion/kivaToFoam/CMakeLists.txt index 9d437c99b..f9fc4bd38 100644 --- a/applications/utilities/mesh/conversion/kivaToFoam/CMakeLists.txt +++ b/applications/utilities/mesh/conversion/kivaToFoam/CMakeLists.txt @@ -30,7 +30,7 @@ # # -------------------------------------------------------------------------- -list(APPEND sources +list(APPEND SOURCES kivaToFoam.C ) @@ -42,5 +42,5 @@ endif() add_foam_executable(kivaToFoam DEPENDS foam - SOURCES ${sources} + SOURCES ${SOURCES} ) diff --git a/applications/utilities/mesh/conversion/mshToFoam/CMakeLists.txt b/applications/utilities/mesh/conversion/mshToFoam/CMakeLists.txt index d84ba0472..90fa22215 100644 --- a/applications/utilities/mesh/conversion/mshToFoam/CMakeLists.txt +++ b/applications/utilities/mesh/conversion/mshToFoam/CMakeLists.txt @@ -30,7 +30,7 @@ # # -------------------------------------------------------------------------- -list(APPEND sources +list(APPEND SOURCES mshToFoam.C ) @@ -42,5 +42,5 @@ endif() add_foam_executable(mshToFoam DEPENDS foam - SOURCES ${sources} + SOURCES ${SOURCES} ) diff --git a/applications/utilities/mesh/conversion/netgenNeutralToFoam/CMakeLists.txt b/applications/utilities/mesh/conversion/netgenNeutralToFoam/CMakeLists.txt index 5ed98fb77..24a7b942e 100644 --- a/applications/utilities/mesh/conversion/netgenNeutralToFoam/CMakeLists.txt +++ b/applications/utilities/mesh/conversion/netgenNeutralToFoam/CMakeLists.txt @@ -30,7 +30,7 @@ # # -------------------------------------------------------------------------- -list(APPEND sources +list(APPEND SOURCES netgenNeutralToFoam.C ) @@ -42,5 +42,5 @@ endif() add_foam_executable(netgenNeutralToFoam DEPENDS foam - SOURCES ${sources} + SOURCES ${SOURCES} ) diff --git a/applications/utilities/mesh/conversion/plot3dToFoam/CMakeLists.txt b/applications/utilities/mesh/conversion/plot3dToFoam/CMakeLists.txt index c604ad3a0..2a06d9521 100644 --- a/applications/utilities/mesh/conversion/plot3dToFoam/CMakeLists.txt +++ b/applications/utilities/mesh/conversion/plot3dToFoam/CMakeLists.txt @@ -30,7 +30,7 @@ # # -------------------------------------------------------------------------- -list(APPEND sources +list(APPEND SOURCES hexBlock.C plot3dToFoam.C ) @@ -43,5 +43,5 @@ endif() add_foam_executable(plot3dToFoam DEPENDS foam - SOURCES ${sources} + SOURCES ${SOURCES} ) diff --git a/applications/utilities/mesh/conversion/polyDualMesh/CMakeLists.txt b/applications/utilities/mesh/conversion/polyDualMesh/CMakeLists.txt index d493223b2..b2a983906 100644 --- a/applications/utilities/mesh/conversion/polyDualMesh/CMakeLists.txt +++ b/applications/utilities/mesh/conversion/polyDualMesh/CMakeLists.txt @@ -30,7 +30,7 @@ # # -------------------------------------------------------------------------- -list(APPEND sources +list(APPEND SOURCES meshDualiser.C polyDualMeshApp.C ) @@ -43,5 +43,5 @@ endif() add_foam_executable(polyDualMesh DEPENDS finiteVolume dynamicMesh - SOURCES ${sources} + SOURCES ${SOURCES} ) diff --git a/applications/utilities/mesh/conversion/sammToFoam/CMakeLists.txt b/applications/utilities/mesh/conversion/sammToFoam/CMakeLists.txt index 2b5df5c26..fe4fd7eeb 100644 --- a/applications/utilities/mesh/conversion/sammToFoam/CMakeLists.txt +++ b/applications/utilities/mesh/conversion/sammToFoam/CMakeLists.txt @@ -30,7 +30,7 @@ # # -------------------------------------------------------------------------- -list(APPEND sources +list(APPEND SOURCES sammMesh.C fillSammCellShapeTable.C fillSammAddressingTable.C @@ -56,5 +56,5 @@ endif() add_foam_executable(sammToFoam DEPENDS foam - SOURCES ${sources} + SOURCES ${SOURCES} ) diff --git a/applications/utilities/mesh/conversion/star4ToFoam/cellZoneToCellTableId/CMakeLists.txt b/applications/utilities/mesh/conversion/star4ToFoam/cellZoneToCellTableId/CMakeLists.txt index 5238976db..0b51cdcd2 100644 --- a/applications/utilities/mesh/conversion/star4ToFoam/cellZoneToCellTableId/CMakeLists.txt +++ b/applications/utilities/mesh/conversion/star4ToFoam/cellZoneToCellTableId/CMakeLists.txt @@ -30,7 +30,7 @@ # # -------------------------------------------------------------------------- -list(APPEND sources +list(APPEND SOURCES cellZoneToCellTableId.C ) @@ -42,5 +42,5 @@ endif() add_foam_executable(cellZoneToCellTableId DEPENDS finiteVolume - SOURCES ${sources} + SOURCES ${SOURCES} ) diff --git a/applications/utilities/mesh/conversion/star4ToFoam/foamMeshToStar/CMakeLists.txt b/applications/utilities/mesh/conversion/star4ToFoam/foamMeshToStar/CMakeLists.txt index 30c0bf731..f4ef49e56 100644 --- a/applications/utilities/mesh/conversion/star4ToFoam/foamMeshToStar/CMakeLists.txt +++ b/applications/utilities/mesh/conversion/star4ToFoam/foamMeshToStar/CMakeLists.txt @@ -30,7 +30,7 @@ # # -------------------------------------------------------------------------- -list(APPEND sources +list(APPEND SOURCES foamMeshToStar.C ) @@ -42,5 +42,5 @@ endif() add_foam_executable(foamMeshToStar DEPENDS conversion meshTools - SOURCES ${sources} + SOURCES ${SOURCES} ) diff --git a/applications/utilities/mesh/conversion/star4ToFoam/star4ToFoam/CMakeLists.txt b/applications/utilities/mesh/conversion/star4ToFoam/star4ToFoam/CMakeLists.txt index f30a4c39d..288b8ab80 100644 --- a/applications/utilities/mesh/conversion/star4ToFoam/star4ToFoam/CMakeLists.txt +++ b/applications/utilities/mesh/conversion/star4ToFoam/star4ToFoam/CMakeLists.txt @@ -30,7 +30,7 @@ # # -------------------------------------------------------------------------- -list(APPEND sources +list(APPEND SOURCES meshReader.C meshReaderAux.C starMeshReader.C @@ -48,5 +48,5 @@ endif() add_foam_executable(star4ToFoam DEPENDS finiteVolume meshTools - SOURCES ${sources} + SOURCES ${SOURCES} ) diff --git a/applications/utilities/mesh/conversion/starToFoam/CMakeLists.txt b/applications/utilities/mesh/conversion/starToFoam/CMakeLists.txt index 4a9bf082f..8109d479d 100644 --- a/applications/utilities/mesh/conversion/starToFoam/CMakeLists.txt +++ b/applications/utilities/mesh/conversion/starToFoam/CMakeLists.txt @@ -30,13 +30,13 @@ # # -------------------------------------------------------------------------- -list(APPEND sources +list(APPEND SOURCES coupledFacePair.C starMesh.C readPoints.C ) # readSeparatedPoints.C -list(APPEND sources +list(APPEND SOURCES readCells.C readBoundary.C fixCollapsedEdges.C @@ -60,5 +60,5 @@ endif() add_foam_executable(starToFoam DEPENDS foam - SOURCES ${sources} + SOURCES ${SOURCES} ) diff --git a/applications/utilities/mesh/conversion/tetgenToFoam/CMakeLists.txt b/applications/utilities/mesh/conversion/tetgenToFoam/CMakeLists.txt index dfe013097..1242a1d41 100644 --- a/applications/utilities/mesh/conversion/tetgenToFoam/CMakeLists.txt +++ b/applications/utilities/mesh/conversion/tetgenToFoam/CMakeLists.txt @@ -30,7 +30,7 @@ # # -------------------------------------------------------------------------- -list(APPEND sources +list(APPEND SOURCES tetgenToFoam.C ) @@ -42,5 +42,5 @@ endif() add_foam_executable(tetgenToFoam DEPENDS foam - SOURCES ${sources} + SOURCES ${SOURCES} ) diff --git a/applications/utilities/mesh/conversion/writeMeshObj/CMakeLists.txt b/applications/utilities/mesh/conversion/writeMeshObj/CMakeLists.txt index 04aba7cfb..5213919ef 100644 --- a/applications/utilities/mesh/conversion/writeMeshObj/CMakeLists.txt +++ b/applications/utilities/mesh/conversion/writeMeshObj/CMakeLists.txt @@ -30,7 +30,7 @@ # # -------------------------------------------------------------------------- -list(APPEND sources +list(APPEND SOURCES writeMeshObj.C ) @@ -42,5 +42,5 @@ endif() add_foam_executable(writeMeshObj DEPENDS foam meshTools - SOURCES ${sources} + SOURCES ${SOURCES} ) diff --git a/applications/utilities/mesh/generation/blockMesh/CMakeLists.txt b/applications/utilities/mesh/generation/blockMesh/CMakeLists.txt index de3485d86..23e6399e4 100644 --- a/applications/utilities/mesh/generation/blockMesh/CMakeLists.txt +++ b/applications/utilities/mesh/generation/blockMesh/CMakeLists.txt @@ -30,7 +30,7 @@ # # -------------------------------------------------------------------------- -list(APPEND sources +list(APPEND SOURCES blockMeshApp.C ) @@ -42,5 +42,5 @@ endif() add_foam_executable(blockMesh DEPENDS blockMeshLib - SOURCES ${sources} + SOURCES ${SOURCES} ) diff --git a/applications/utilities/mesh/generation/cfMesh/FLMAToSurface/CMakeLists.txt b/applications/utilities/mesh/generation/cfMesh/FLMAToSurface/CMakeLists.txt index e5d7f2b59..fed9c58b8 100644 --- a/applications/utilities/mesh/generation/cfMesh/FLMAToSurface/CMakeLists.txt +++ b/applications/utilities/mesh/generation/cfMesh/FLMAToSurface/CMakeLists.txt @@ -30,7 +30,7 @@ # # -------------------------------------------------------------------------- -list(APPEND sources +list(APPEND SOURCES FLMAToSurface.C ) @@ -42,5 +42,5 @@ endif() add_foam_executable(FLMAToSurface DEPENDS cfMesh - SOURCES ${sources} + SOURCES ${SOURCES} ) diff --git a/applications/utilities/mesh/generation/cfMesh/FMSToSurface/CMakeLists.txt b/applications/utilities/mesh/generation/cfMesh/FMSToSurface/CMakeLists.txt index fe491c446..db76a0974 100644 --- a/applications/utilities/mesh/generation/cfMesh/FMSToSurface/CMakeLists.txt +++ b/applications/utilities/mesh/generation/cfMesh/FMSToSurface/CMakeLists.txt @@ -30,7 +30,7 @@ # # -------------------------------------------------------------------------- -list(APPEND sources +list(APPEND SOURCES FMSToSurface.C ) @@ -42,5 +42,5 @@ endif() add_foam_executable(FMSToSurface DEPENDS cfMesh - SOURCES ${sources} + SOURCES ${SOURCES} ) diff --git a/applications/utilities/mesh/generation/cfMesh/FMSToVTK/CMakeLists.txt b/applications/utilities/mesh/generation/cfMesh/FMSToVTK/CMakeLists.txt index ce826120c..1e2d6ad7a 100644 --- a/applications/utilities/mesh/generation/cfMesh/FMSToVTK/CMakeLists.txt +++ b/applications/utilities/mesh/generation/cfMesh/FMSToVTK/CMakeLists.txt @@ -30,7 +30,7 @@ # # -------------------------------------------------------------------------- -list(APPEND sources +list(APPEND SOURCES FMSToVTK.C ) @@ -42,5 +42,5 @@ endif() add_foam_executable(FMSToVTK DEPENDS cfMesh - SOURCES ${sources} + SOURCES ${SOURCES} ) diff --git a/applications/utilities/mesh/generation/cfMesh/cartesian2DMesh/CMakeLists.txt b/applications/utilities/mesh/generation/cfMesh/cartesian2DMesh/CMakeLists.txt index 898041924..c7f2d2481 100644 --- a/applications/utilities/mesh/generation/cfMesh/cartesian2DMesh/CMakeLists.txt +++ b/applications/utilities/mesh/generation/cfMesh/cartesian2DMesh/CMakeLists.txt @@ -30,7 +30,7 @@ # # -------------------------------------------------------------------------- -list(APPEND sources +list(APPEND SOURCES cartesian2DMesh.C ) @@ -42,5 +42,5 @@ endif() add_foam_executable(cartesian2DMesh DEPENDS cfMesh - SOURCES ${sources} + SOURCES ${SOURCES} ) diff --git a/applications/utilities/mesh/generation/cfMesh/cartesianMesh/CMakeLists.txt b/applications/utilities/mesh/generation/cfMesh/cartesianMesh/CMakeLists.txt index 5a8e068e6..950be7c56 100644 --- a/applications/utilities/mesh/generation/cfMesh/cartesianMesh/CMakeLists.txt +++ b/applications/utilities/mesh/generation/cfMesh/cartesianMesh/CMakeLists.txt @@ -30,7 +30,7 @@ # # -------------------------------------------------------------------------- -list(APPEND sources +list(APPEND SOURCES cartesianMesh.C ) @@ -42,5 +42,5 @@ endif() add_foam_executable(cartesianMesh DEPENDS cfMesh - SOURCES ${sources} + SOURCES ${SOURCES} ) diff --git a/applications/utilities/mesh/generation/cfMesh/checkSurfaceMesh/CMakeLists.txt b/applications/utilities/mesh/generation/cfMesh/checkSurfaceMesh/CMakeLists.txt index a22489408..8d31266a4 100644 --- a/applications/utilities/mesh/generation/cfMesh/checkSurfaceMesh/CMakeLists.txt +++ b/applications/utilities/mesh/generation/cfMesh/checkSurfaceMesh/CMakeLists.txt @@ -30,7 +30,7 @@ # # -------------------------------------------------------------------------- -list(APPEND sources +list(APPEND SOURCES checkSurfaceMesh.C ) @@ -42,5 +42,5 @@ endif() add_foam_executable(checkSurfaceMesh DEPENDS cfMesh - SOURCES ${sources} + SOURCES ${SOURCES} ) diff --git a/applications/utilities/mesh/generation/cfMesh/copySurfaceParts/CMakeLists.txt b/applications/utilities/mesh/generation/cfMesh/copySurfaceParts/CMakeLists.txt index 680055aa2..cbb114212 100644 --- a/applications/utilities/mesh/generation/cfMesh/copySurfaceParts/CMakeLists.txt +++ b/applications/utilities/mesh/generation/cfMesh/copySurfaceParts/CMakeLists.txt @@ -30,7 +30,7 @@ # # -------------------------------------------------------------------------- -list(APPEND sources +list(APPEND SOURCES copySurfaceParts.C ) @@ -42,5 +42,5 @@ endif() add_foam_executable(copySurfaceParts DEPENDS cfMesh - SOURCES ${sources} + SOURCES ${SOURCES} ) diff --git a/applications/utilities/mesh/generation/cfMesh/extrudeEdgesInto2DSurface/CMakeLists.txt b/applications/utilities/mesh/generation/cfMesh/extrudeEdgesInto2DSurface/CMakeLists.txt index 7e73ea254..5bf6c038a 100644 --- a/applications/utilities/mesh/generation/cfMesh/extrudeEdgesInto2DSurface/CMakeLists.txt +++ b/applications/utilities/mesh/generation/cfMesh/extrudeEdgesInto2DSurface/CMakeLists.txt @@ -30,7 +30,7 @@ # # -------------------------------------------------------------------------- -list(APPEND sources +list(APPEND SOURCES extrudeEdgesInto2DSurface.C ) @@ -42,5 +42,5 @@ endif() add_foam_executable(extrudeEdgesInto2DSurface DEPENDS cfMesh - SOURCES ${sources} + SOURCES ${SOURCES} ) diff --git a/applications/utilities/mesh/generation/cfMesh/generateBoundaryLayers/CMakeLists.txt b/applications/utilities/mesh/generation/cfMesh/generateBoundaryLayers/CMakeLists.txt index f2eb31930..3bcf8c99d 100644 --- a/applications/utilities/mesh/generation/cfMesh/generateBoundaryLayers/CMakeLists.txt +++ b/applications/utilities/mesh/generation/cfMesh/generateBoundaryLayers/CMakeLists.txt @@ -30,7 +30,7 @@ # # -------------------------------------------------------------------------- -list(APPEND sources +list(APPEND SOURCES generateBoundaryLayers.C ) @@ -42,5 +42,5 @@ endif() add_foam_executable(generateBoundaryLayers DEPENDS cfMesh - SOURCES ${sources} + SOURCES ${SOURCES} ) diff --git a/applications/utilities/mesh/generation/cfMesh/importSurfaceAsSubset/CMakeLists.txt b/applications/utilities/mesh/generation/cfMesh/importSurfaceAsSubset/CMakeLists.txt index 2ec0797a5..a20dec78a 100644 --- a/applications/utilities/mesh/generation/cfMesh/importSurfaceAsSubset/CMakeLists.txt +++ b/applications/utilities/mesh/generation/cfMesh/importSurfaceAsSubset/CMakeLists.txt @@ -30,7 +30,7 @@ # # -------------------------------------------------------------------------- -list(APPEND sources +list(APPEND SOURCES importSurfaceAsSubset.C ) @@ -42,5 +42,5 @@ endif() add_foam_executable(importSurfaceAsSubset DEPENDS cfMesh - SOURCES ${sources} + SOURCES ${SOURCES} ) diff --git a/applications/utilities/mesh/generation/cfMesh/improveMeshQuality/CMakeLists.txt b/applications/utilities/mesh/generation/cfMesh/improveMeshQuality/CMakeLists.txt index ffe2081d9..09e7aa528 100644 --- a/applications/utilities/mesh/generation/cfMesh/improveMeshQuality/CMakeLists.txt +++ b/applications/utilities/mesh/generation/cfMesh/improveMeshQuality/CMakeLists.txt @@ -30,7 +30,7 @@ # # -------------------------------------------------------------------------- -list(APPEND sources +list(APPEND SOURCES improveMeshQuality.C ) @@ -42,5 +42,5 @@ endif() add_foam_executable(improveMeshQuality DEPENDS cfMesh - SOURCES ${sources} + SOURCES ${SOURCES} ) diff --git a/applications/utilities/mesh/generation/cfMesh/improveSymmetryPlanes/CMakeLists.txt b/applications/utilities/mesh/generation/cfMesh/improveSymmetryPlanes/CMakeLists.txt index e44ef0c9c..cafb83308 100644 --- a/applications/utilities/mesh/generation/cfMesh/improveSymmetryPlanes/CMakeLists.txt +++ b/applications/utilities/mesh/generation/cfMesh/improveSymmetryPlanes/CMakeLists.txt @@ -30,7 +30,7 @@ # # -------------------------------------------------------------------------- -list(APPEND sources +list(APPEND SOURCES improveSymmetryPlanes.C ) @@ -42,5 +42,5 @@ endif() add_foam_executable(improveSymmetryPlanes DEPENDS cfMesh - SOURCES ${sources} + SOURCES ${SOURCES} ) diff --git a/applications/utilities/mesh/generation/cfMesh/mergeSurfacePatches/CMakeLists.txt b/applications/utilities/mesh/generation/cfMesh/mergeSurfacePatches/CMakeLists.txt index 9c92e3700..6942afaf0 100644 --- a/applications/utilities/mesh/generation/cfMesh/mergeSurfacePatches/CMakeLists.txt +++ b/applications/utilities/mesh/generation/cfMesh/mergeSurfacePatches/CMakeLists.txt @@ -30,7 +30,7 @@ # # -------------------------------------------------------------------------- -list(APPEND sources +list(APPEND SOURCES mergeSurfacePatches.C ) @@ -42,5 +42,5 @@ endif() add_foam_executable(mergeSurfacePatches DEPENDS cfMesh - SOURCES ${sources} + SOURCES ${SOURCES} ) diff --git a/applications/utilities/mesh/generation/cfMesh/meshToFPMA/CMakeLists.txt b/applications/utilities/mesh/generation/cfMesh/meshToFPMA/CMakeLists.txt index a3948a13f..3669fd594 100644 --- a/applications/utilities/mesh/generation/cfMesh/meshToFPMA/CMakeLists.txt +++ b/applications/utilities/mesh/generation/cfMesh/meshToFPMA/CMakeLists.txt @@ -30,7 +30,7 @@ # # -------------------------------------------------------------------------- -list(APPEND sources +list(APPEND SOURCES meshToFPMA.C ) @@ -42,5 +42,5 @@ endif() add_foam_executable(meshToFPMA DEPENDS cfMesh - SOURCES ${sources} + SOURCES ${SOURCES} ) diff --git a/applications/utilities/mesh/generation/cfMesh/pMesh/CMakeLists.txt b/applications/utilities/mesh/generation/cfMesh/pMesh/CMakeLists.txt index 2a0296f4a..7b65e10f9 100644 --- a/applications/utilities/mesh/generation/cfMesh/pMesh/CMakeLists.txt +++ b/applications/utilities/mesh/generation/cfMesh/pMesh/CMakeLists.txt @@ -30,7 +30,7 @@ # # -------------------------------------------------------------------------- -list(APPEND sources +list(APPEND SOURCES pMesh.C ) @@ -42,5 +42,5 @@ endif() add_foam_executable(pMesh DEPENDS cfMesh - SOURCES ${sources} + SOURCES ${SOURCES} ) diff --git a/applications/utilities/mesh/generation/cfMesh/patchesToSubsets/CMakeLists.txt b/applications/utilities/mesh/generation/cfMesh/patchesToSubsets/CMakeLists.txt index 3e95136c3..84df2ad5f 100644 --- a/applications/utilities/mesh/generation/cfMesh/patchesToSubsets/CMakeLists.txt +++ b/applications/utilities/mesh/generation/cfMesh/patchesToSubsets/CMakeLists.txt @@ -30,7 +30,7 @@ # # -------------------------------------------------------------------------- -list(APPEND sources +list(APPEND SOURCES patchesToSubsets.C ) @@ -42,5 +42,5 @@ endif() add_foam_executable(patchesToSubsets DEPENDS cfMesh - SOURCES ${sources} + SOURCES ${SOURCES} ) diff --git a/applications/utilities/mesh/generation/cfMesh/preparePar/CMakeLists.txt b/applications/utilities/mesh/generation/cfMesh/preparePar/CMakeLists.txt index 5d47c9cef..8f5fff944 100644 --- a/applications/utilities/mesh/generation/cfMesh/preparePar/CMakeLists.txt +++ b/applications/utilities/mesh/generation/cfMesh/preparePar/CMakeLists.txt @@ -30,7 +30,7 @@ # # -------------------------------------------------------------------------- -list(APPEND sources +list(APPEND SOURCES preparePar.C ) @@ -42,5 +42,5 @@ endif() add_foam_executable(preparePar DEPENDS cfMesh - SOURCES ${sources} + SOURCES ${SOURCES} ) diff --git a/applications/utilities/mesh/generation/cfMesh/removeSurfaceFacets/CMakeLists.txt b/applications/utilities/mesh/generation/cfMesh/removeSurfaceFacets/CMakeLists.txt index 87c348f18..00048ed8c 100644 --- a/applications/utilities/mesh/generation/cfMesh/removeSurfaceFacets/CMakeLists.txt +++ b/applications/utilities/mesh/generation/cfMesh/removeSurfaceFacets/CMakeLists.txt @@ -30,7 +30,7 @@ # # -------------------------------------------------------------------------- -list(APPEND sources +list(APPEND SOURCES removeSurfaceFacets.C ) @@ -42,5 +42,5 @@ endif() add_foam_executable(removeSurfaceFacets DEPENDS cfMesh - SOURCES ${sources} + SOURCES ${SOURCES} ) diff --git a/applications/utilities/mesh/generation/cfMesh/scaleMesh/CMakeLists.txt b/applications/utilities/mesh/generation/cfMesh/scaleMesh/CMakeLists.txt index 1e44dfe58..c8eccc6d1 100644 --- a/applications/utilities/mesh/generation/cfMesh/scaleMesh/CMakeLists.txt +++ b/applications/utilities/mesh/generation/cfMesh/scaleMesh/CMakeLists.txt @@ -30,7 +30,7 @@ # # -------------------------------------------------------------------------- -list(APPEND sources +list(APPEND SOURCES scaleMesh.C ) @@ -42,5 +42,5 @@ endif() add_foam_executable(scaleMesh DEPENDS cfMesh - SOURCES ${sources} + SOURCES ${SOURCES} ) diff --git a/applications/utilities/mesh/generation/cfMesh/scaleSurfaceMesh/CMakeLists.txt b/applications/utilities/mesh/generation/cfMesh/scaleSurfaceMesh/CMakeLists.txt index f34b5fc5b..3f70980c7 100644 --- a/applications/utilities/mesh/generation/cfMesh/scaleSurfaceMesh/CMakeLists.txt +++ b/applications/utilities/mesh/generation/cfMesh/scaleSurfaceMesh/CMakeLists.txt @@ -30,7 +30,7 @@ # # -------------------------------------------------------------------------- -list(APPEND sources +list(APPEND SOURCES scaleSurfaceMesh.C ) @@ -42,5 +42,5 @@ endif() add_foam_executable(scaleSurfaceMesh DEPENDS cfMesh - SOURCES ${sources} + SOURCES ${SOURCES} ) diff --git a/applications/utilities/mesh/generation/cfMesh/subsetToPatch/CMakeLists.txt b/applications/utilities/mesh/generation/cfMesh/subsetToPatch/CMakeLists.txt index 2832e2ab6..305e9c2fb 100644 --- a/applications/utilities/mesh/generation/cfMesh/subsetToPatch/CMakeLists.txt +++ b/applications/utilities/mesh/generation/cfMesh/subsetToPatch/CMakeLists.txt @@ -30,7 +30,7 @@ # # -------------------------------------------------------------------------- -list(APPEND sources +list(APPEND SOURCES subsetToPatch.C ) @@ -42,5 +42,5 @@ endif() add_foam_executable(subsetToPatch DEPENDS cfMesh - SOURCES ${sources} + SOURCES ${SOURCES} ) diff --git a/applications/utilities/mesh/generation/cfMesh/surfaceFeatureEdges/CMakeLists.txt b/applications/utilities/mesh/generation/cfMesh/surfaceFeatureEdges/CMakeLists.txt index 755a54f3a..a78345802 100644 --- a/applications/utilities/mesh/generation/cfMesh/surfaceFeatureEdges/CMakeLists.txt +++ b/applications/utilities/mesh/generation/cfMesh/surfaceFeatureEdges/CMakeLists.txt @@ -30,7 +30,7 @@ # # -------------------------------------------------------------------------- -list(APPEND sources +list(APPEND SOURCES surfaceFeatureEdges.C ) @@ -42,5 +42,5 @@ endif() add_foam_executable(surfaceFeatureEdges DEPENDS cfMesh - SOURCES ${sources} + SOURCES ${SOURCES} ) diff --git a/applications/utilities/mesh/generation/cfMesh/surfaceGenerateBoundingBox/CMakeLists.txt b/applications/utilities/mesh/generation/cfMesh/surfaceGenerateBoundingBox/CMakeLists.txt index 483713654..dcc4e8419 100644 --- a/applications/utilities/mesh/generation/cfMesh/surfaceGenerateBoundingBox/CMakeLists.txt +++ b/applications/utilities/mesh/generation/cfMesh/surfaceGenerateBoundingBox/CMakeLists.txt @@ -30,7 +30,7 @@ # # -------------------------------------------------------------------------- -list(APPEND sources +list(APPEND SOURCES surfaceGenerateBoundingBox.C ) @@ -42,5 +42,5 @@ endif() add_foam_executable(surfaceGenerateBoundingBox DEPENDS cfMesh - SOURCES ${sources} + SOURCES ${SOURCES} ) diff --git a/applications/utilities/mesh/generation/cfMesh/surfaceToFMS/CMakeLists.txt b/applications/utilities/mesh/generation/cfMesh/surfaceToFMS/CMakeLists.txt index 126fae5b1..dbc444cc7 100644 --- a/applications/utilities/mesh/generation/cfMesh/surfaceToFMS/CMakeLists.txt +++ b/applications/utilities/mesh/generation/cfMesh/surfaceToFMS/CMakeLists.txt @@ -30,7 +30,7 @@ # # -------------------------------------------------------------------------- -list(APPEND sources +list(APPEND SOURCES surfaceToFMS.C ) @@ -42,5 +42,5 @@ endif() add_foam_executable(surfaceToFMS DEPENDS cfMesh - SOURCES ${sources} + SOURCES ${SOURCES} ) diff --git a/applications/utilities/mesh/generation/cfMesh/tetMesh/CMakeLists.txt b/applications/utilities/mesh/generation/cfMesh/tetMesh/CMakeLists.txt index 2f4ec16d2..b7ecb2c09 100644 --- a/applications/utilities/mesh/generation/cfMesh/tetMesh/CMakeLists.txt +++ b/applications/utilities/mesh/generation/cfMesh/tetMesh/CMakeLists.txt @@ -30,7 +30,7 @@ # # -------------------------------------------------------------------------- -list(APPEND sources +list(APPEND SOURCES tetMesh.C ) @@ -42,5 +42,5 @@ endif() add_foam_executable(tetMesh DEPENDS cfMesh - SOURCES ${sources} + SOURCES ${SOURCES} ) diff --git a/applications/utilities/mesh/generation/extrude2DMesh/CMakeLists.txt b/applications/utilities/mesh/generation/extrude2DMesh/CMakeLists.txt index 4ecf073eb..19e05f091 100644 --- a/applications/utilities/mesh/generation/extrude2DMesh/CMakeLists.txt +++ b/applications/utilities/mesh/generation/extrude2DMesh/CMakeLists.txt @@ -30,7 +30,7 @@ # # -------------------------------------------------------------------------- -list(APPEND sources +list(APPEND SOURCES extrude2DMesh.C doExtrude2DMesh.C ) @@ -43,5 +43,5 @@ endif() add_foam_executable(extrude2DMesh DEPENDS dynamicMesh - SOURCES ${sources} + SOURCES ${SOURCES} ) diff --git a/applications/utilities/mesh/generation/extrudeMesh/CMakeLists.txt b/applications/utilities/mesh/generation/extrudeMesh/CMakeLists.txt index 1a0c0ff80..3468946b9 100644 --- a/applications/utilities/mesh/generation/extrudeMesh/CMakeLists.txt +++ b/applications/utilities/mesh/generation/extrudeMesh/CMakeLists.txt @@ -30,7 +30,7 @@ # # -------------------------------------------------------------------------- -list(APPEND sources +list(APPEND SOURCES extrudeMesh.C ) @@ -42,10 +42,10 @@ endif() add_foam_executable(extrudeMesh DEPENDS extrudeModel - SOURCES ${sources} + SOURCES ${SOURCES} ) target_include_directories(extrudeMesh PUBLIC $ - $ +# $ ) diff --git a/applications/utilities/mesh/generation/snappyHexMesh/CMakeLists.txt b/applications/utilities/mesh/generation/snappyHexMesh/CMakeLists.txt index 232487d28..a125139ce 100644 --- a/applications/utilities/mesh/generation/snappyHexMesh/CMakeLists.txt +++ b/applications/utilities/mesh/generation/snappyHexMesh/CMakeLists.txt @@ -30,7 +30,7 @@ # # -------------------------------------------------------------------------- -list(APPEND sources +list(APPEND SOURCES snappyHexMesh.C ) @@ -42,5 +42,5 @@ endif() add_foam_executable(snappyHexMesh DEPENDS dynamicFvMesh autoMesh - SOURCES ${sources} + SOURCES ${SOURCES} ) diff --git a/applications/utilities/mesh/manipulation/attachMesh/CMakeLists.txt b/applications/utilities/mesh/manipulation/attachMesh/CMakeLists.txt index 79208e8c9..039deb084 100644 --- a/applications/utilities/mesh/manipulation/attachMesh/CMakeLists.txt +++ b/applications/utilities/mesh/manipulation/attachMesh/CMakeLists.txt @@ -30,7 +30,7 @@ # # -------------------------------------------------------------------------- -list(APPEND sources +list(APPEND SOURCES attachPolyTopoChanger.C attachMesh.C ) @@ -43,5 +43,5 @@ endif() add_foam_executable(attachMesh DEPENDS dynamicMesh meshTools - SOURCES ${sources} + SOURCES ${SOURCES} ) diff --git a/applications/utilities/mesh/manipulation/autoPatch/CMakeLists.txt b/applications/utilities/mesh/manipulation/autoPatch/CMakeLists.txt index 36d5a2f95..447ef96b5 100644 --- a/applications/utilities/mesh/manipulation/autoPatch/CMakeLists.txt +++ b/applications/utilities/mesh/manipulation/autoPatch/CMakeLists.txt @@ -30,7 +30,7 @@ # # -------------------------------------------------------------------------- -list(APPEND sources +list(APPEND SOURCES autoPatch.C ) @@ -42,5 +42,5 @@ endif() add_foam_executable(autoPatch DEPENDS dynamicMesh meshTools - SOURCES ${sources} + SOURCES ${SOURCES} ) diff --git a/applications/utilities/mesh/manipulation/cellSet/CMakeLists.txt b/applications/utilities/mesh/manipulation/cellSet/CMakeLists.txt index 91349290e..f7325792a 100644 --- a/applications/utilities/mesh/manipulation/cellSet/CMakeLists.txt +++ b/applications/utilities/mesh/manipulation/cellSet/CMakeLists.txt @@ -30,7 +30,7 @@ # # -------------------------------------------------------------------------- -list(APPEND sources +list(APPEND SOURCES cellSet.C ) @@ -42,5 +42,5 @@ endif() add_foam_executable(cellSet DEPENDS meshTools - SOURCES ${sources} + SOURCES ${SOURCES} ) diff --git a/applications/utilities/mesh/manipulation/checkMesh/CMakeLists.txt b/applications/utilities/mesh/manipulation/checkMesh/CMakeLists.txt index 9ead34e48..5c3e85d6b 100644 --- a/applications/utilities/mesh/manipulation/checkMesh/CMakeLists.txt +++ b/applications/utilities/mesh/manipulation/checkMesh/CMakeLists.txt @@ -30,7 +30,7 @@ # # -------------------------------------------------------------------------- -list(APPEND sources +list(APPEND SOURCES printMeshStats.C checkTopology.C checkGeometry.C @@ -45,5 +45,5 @@ endif() add_foam_executable(checkMesh DEPENDS finiteVolume meshTools - SOURCES ${sources} + SOURCES ${SOURCES} ) diff --git a/applications/utilities/mesh/manipulation/checkSurfaceCurvature/CMakeLists.txt b/applications/utilities/mesh/manipulation/checkSurfaceCurvature/CMakeLists.txt index 33ae64a54..7642a4cb3 100644 --- a/applications/utilities/mesh/manipulation/checkSurfaceCurvature/CMakeLists.txt +++ b/applications/utilities/mesh/manipulation/checkSurfaceCurvature/CMakeLists.txt @@ -30,7 +30,7 @@ # # -------------------------------------------------------------------------- -list(APPEND sources +list(APPEND SOURCES checkSurfaceCurvature.C ) @@ -42,5 +42,5 @@ endif() add_foam_executable(checkSurfaceCurvature DEPENDS finiteVolume finiteArea - SOURCES ${sources} + SOURCES ${SOURCES} ) diff --git a/applications/utilities/mesh/manipulation/createBaffles/CMakeLists.txt b/applications/utilities/mesh/manipulation/createBaffles/CMakeLists.txt index 888e0e53f..ba0764e88 100644 --- a/applications/utilities/mesh/manipulation/createBaffles/CMakeLists.txt +++ b/applications/utilities/mesh/manipulation/createBaffles/CMakeLists.txt @@ -30,7 +30,7 @@ # # -------------------------------------------------------------------------- -list(APPEND sources +list(APPEND SOURCES createBaffles.C ) @@ -42,5 +42,5 @@ endif() add_foam_executable(createBaffles DEPENDS finiteVolume dynamicMesh meshTools - SOURCES ${sources} + SOURCES ${SOURCES} ) diff --git a/applications/utilities/mesh/manipulation/createPatch/CMakeLists.txt b/applications/utilities/mesh/manipulation/createPatch/CMakeLists.txt index 33d87aa0d..52607f66b 100644 --- a/applications/utilities/mesh/manipulation/createPatch/CMakeLists.txt +++ b/applications/utilities/mesh/manipulation/createPatch/CMakeLists.txt @@ -30,7 +30,7 @@ # # -------------------------------------------------------------------------- -list(APPEND sources +list(APPEND SOURCES createPatch.C ) @@ -42,5 +42,5 @@ endif() add_foam_executable(createPatch DEPENDS dynamicMesh - SOURCES ${sources} + SOURCES ${SOURCES} ) diff --git a/applications/utilities/mesh/manipulation/deformedGeom/CMakeLists.txt b/applications/utilities/mesh/manipulation/deformedGeom/CMakeLists.txt index 6fe3ce8fe..dbd025909 100644 --- a/applications/utilities/mesh/manipulation/deformedGeom/CMakeLists.txt +++ b/applications/utilities/mesh/manipulation/deformedGeom/CMakeLists.txt @@ -30,7 +30,7 @@ # # -------------------------------------------------------------------------- -list(APPEND sources +list(APPEND SOURCES deformedGeom.C ) @@ -42,5 +42,5 @@ endif() add_foam_executable(deformedGeom DEPENDS finiteVolume meshTools - SOURCES ${sources} + SOURCES ${SOURCES} ) diff --git a/applications/utilities/mesh/manipulation/deformedTetFemGeom/CMakeLists.txt b/applications/utilities/mesh/manipulation/deformedTetFemGeom/CMakeLists.txt index f7cbdd197..010ffda1e 100644 --- a/applications/utilities/mesh/manipulation/deformedTetFemGeom/CMakeLists.txt +++ b/applications/utilities/mesh/manipulation/deformedTetFemGeom/CMakeLists.txt @@ -30,7 +30,7 @@ # # -------------------------------------------------------------------------- -list(APPEND sources +list(APPEND SOURCES deformedTetFemGeom.C ) @@ -42,5 +42,5 @@ endif() add_foam_executable(deformedTetFemGeom DEPENDS tetFiniteElement - SOURCES ${sources} + SOURCES ${SOURCES} ) diff --git a/applications/utilities/mesh/manipulation/faceSet/CMakeLists.txt b/applications/utilities/mesh/manipulation/faceSet/CMakeLists.txt index f392774d4..8c77bb1ba 100644 --- a/applications/utilities/mesh/manipulation/faceSet/CMakeLists.txt +++ b/applications/utilities/mesh/manipulation/faceSet/CMakeLists.txt @@ -30,7 +30,7 @@ # # -------------------------------------------------------------------------- -list(APPEND sources +list(APPEND SOURCES faceSet.C ) @@ -42,5 +42,5 @@ endif() add_foam_executable(faceSet DEPENDS finiteVolume meshTools - SOURCES ${sources} + SOURCES ${SOURCES} ) diff --git a/applications/utilities/mesh/manipulation/flattenMesh/CMakeLists.txt b/applications/utilities/mesh/manipulation/flattenMesh/CMakeLists.txt index 4763cc21e..f73d39789 100644 --- a/applications/utilities/mesh/manipulation/flattenMesh/CMakeLists.txt +++ b/applications/utilities/mesh/manipulation/flattenMesh/CMakeLists.txt @@ -30,7 +30,7 @@ # # -------------------------------------------------------------------------- -list(APPEND sources +list(APPEND SOURCES flattenMesh.C ) @@ -42,5 +42,5 @@ endif() add_foam_executable(flattenMesh DEPENDS finiteVolume meshTools - SOURCES ${sources} + SOURCES ${SOURCES} ) diff --git a/applications/utilities/mesh/manipulation/insideCells/CMakeLists.txt b/applications/utilities/mesh/manipulation/insideCells/CMakeLists.txt index 808b93ce3..babc14e71 100644 --- a/applications/utilities/mesh/manipulation/insideCells/CMakeLists.txt +++ b/applications/utilities/mesh/manipulation/insideCells/CMakeLists.txt @@ -30,7 +30,7 @@ # # -------------------------------------------------------------------------- -list(APPEND sources +list(APPEND SOURCES insideCells.C ) @@ -42,5 +42,5 @@ endif() add_foam_executable(insideCells DEPENDS meshTools - SOURCES ${sources} + SOURCES ${SOURCES} ) diff --git a/applications/utilities/mesh/manipulation/mergeMeshes/CMakeLists.txt b/applications/utilities/mesh/manipulation/mergeMeshes/CMakeLists.txt index 8a067e1a0..4ce5f7071 100644 --- a/applications/utilities/mesh/manipulation/mergeMeshes/CMakeLists.txt +++ b/applications/utilities/mesh/manipulation/mergeMeshes/CMakeLists.txt @@ -30,7 +30,7 @@ # # -------------------------------------------------------------------------- -list(APPEND sources +list(APPEND SOURCES mergePolyMesh.C mergeMeshes.C ) @@ -43,5 +43,5 @@ endif() add_foam_executable(mergeMeshes DEPENDS dynamicMesh meshTools - SOURCES ${sources} + SOURCES ${SOURCES} ) diff --git a/applications/utilities/mesh/manipulation/mergeOrSplitBaffles/CMakeLists.txt b/applications/utilities/mesh/manipulation/mergeOrSplitBaffles/CMakeLists.txt index 3c237f928..9bfbc33bc 100644 --- a/applications/utilities/mesh/manipulation/mergeOrSplitBaffles/CMakeLists.txt +++ b/applications/utilities/mesh/manipulation/mergeOrSplitBaffles/CMakeLists.txt @@ -30,7 +30,7 @@ # # -------------------------------------------------------------------------- -list(APPEND sources +list(APPEND SOURCES mergeOrSplitBaffles.C ) @@ -42,5 +42,5 @@ endif() add_foam_executable(mergeOrSplitBaffles DEPENDS finiteVolume dynamicMesh meshTools - SOURCES ${sources} + SOURCES ${SOURCES} ) diff --git a/applications/utilities/mesh/manipulation/mirrorMesh/CMakeLists.txt b/applications/utilities/mesh/manipulation/mirrorMesh/CMakeLists.txt index 1ed1963c3..d95e2050f 100644 --- a/applications/utilities/mesh/manipulation/mirrorMesh/CMakeLists.txt +++ b/applications/utilities/mesh/manipulation/mirrorMesh/CMakeLists.txt @@ -30,7 +30,7 @@ # # -------------------------------------------------------------------------- -list(APPEND sources +list(APPEND SOURCES mirrorFvMesh.C mirrorMesh.C ) @@ -43,5 +43,5 @@ endif() add_foam_executable(mirrorMesh DEPENDS finiteVolume - SOURCES ${sources} + SOURCES ${SOURCES} ) diff --git a/applications/utilities/mesh/manipulation/moveDyMEngineMesh/CMakeLists.txt b/applications/utilities/mesh/manipulation/moveDyMEngineMesh/CMakeLists.txt index 7715231dc..81f50a433 100644 --- a/applications/utilities/mesh/manipulation/moveDyMEngineMesh/CMakeLists.txt +++ b/applications/utilities/mesh/manipulation/moveDyMEngineMesh/CMakeLists.txt @@ -30,7 +30,7 @@ # # -------------------------------------------------------------------------- -list(APPEND sources +list(APPEND SOURCES moveDyMEngineMesh.C ) @@ -42,5 +42,5 @@ endif() add_foam_executable(moveDyMEngineMesh DEPENDS engine - SOURCES ${sources} + SOURCES ${SOURCES} ) diff --git a/applications/utilities/mesh/manipulation/moveDynamicMesh/CMakeLists.txt b/applications/utilities/mesh/manipulation/moveDynamicMesh/CMakeLists.txt index 5a1cf9c46..53aa0f67b 100644 --- a/applications/utilities/mesh/manipulation/moveDynamicMesh/CMakeLists.txt +++ b/applications/utilities/mesh/manipulation/moveDynamicMesh/CMakeLists.txt @@ -30,7 +30,7 @@ # # -------------------------------------------------------------------------- -list(APPEND sources +list(APPEND SOURCES moveDynamicMesh.C ) @@ -42,5 +42,5 @@ endif() add_foam_executable(moveDynamicMesh DEPENDS engine - SOURCES ${sources} + SOURCES ${SOURCES} ) diff --git a/applications/utilities/mesh/manipulation/moveEngineMesh/CMakeLists.txt b/applications/utilities/mesh/manipulation/moveEngineMesh/CMakeLists.txt index 8948a2f30..51b8ca32b 100644 --- a/applications/utilities/mesh/manipulation/moveEngineMesh/CMakeLists.txt +++ b/applications/utilities/mesh/manipulation/moveEngineMesh/CMakeLists.txt @@ -30,7 +30,7 @@ # # -------------------------------------------------------------------------- -list(APPEND sources +list(APPEND SOURCES moveEngineMesh.C ) @@ -42,5 +42,5 @@ endif() add_foam_executable(moveEngineMesh DEPENDS engine - SOURCES ${sources} + SOURCES ${SOURCES} ) diff --git a/applications/utilities/mesh/manipulation/moveMesh/CMakeLists.txt b/applications/utilities/mesh/manipulation/moveMesh/CMakeLists.txt index 36590ce62..142e7e990 100644 --- a/applications/utilities/mesh/manipulation/moveMesh/CMakeLists.txt +++ b/applications/utilities/mesh/manipulation/moveMesh/CMakeLists.txt @@ -30,7 +30,7 @@ # # -------------------------------------------------------------------------- -list(APPEND sources +list(APPEND SOURCES moveMesh.C ) @@ -42,5 +42,5 @@ endif() add_foam_executable(moveMesh DEPENDS finiteVolume dynamicMesh - SOURCES ${sources} + SOURCES ${SOURCES} ) diff --git a/applications/utilities/mesh/manipulation/objToVTK/CMakeLists.txt b/applications/utilities/mesh/manipulation/objToVTK/CMakeLists.txt index 1524095d5..b65cc09f8 100644 --- a/applications/utilities/mesh/manipulation/objToVTK/CMakeLists.txt +++ b/applications/utilities/mesh/manipulation/objToVTK/CMakeLists.txt @@ -30,7 +30,7 @@ # # -------------------------------------------------------------------------- -list(APPEND sources +list(APPEND SOURCES objToVTK.C ) @@ -42,5 +42,5 @@ endif() add_foam_executable(objToVTK DEPENDS finiteVolume meshTools - SOURCES ${sources} + SOURCES ${SOURCES} ) diff --git a/applications/utilities/mesh/manipulation/pointSet/CMakeLists.txt b/applications/utilities/mesh/manipulation/pointSet/CMakeLists.txt index 2c058dd55..0d343ba59 100644 --- a/applications/utilities/mesh/manipulation/pointSet/CMakeLists.txt +++ b/applications/utilities/mesh/manipulation/pointSet/CMakeLists.txt @@ -30,7 +30,7 @@ # # -------------------------------------------------------------------------- -list(APPEND sources +list(APPEND SOURCES pointSet.C ) @@ -42,5 +42,5 @@ endif() add_foam_executable(pointSet DEPENDS meshTools - SOURCES ${sources} + SOURCES ${SOURCES} ) diff --git a/applications/utilities/mesh/manipulation/refineMesh/CMakeLists.txt b/applications/utilities/mesh/manipulation/refineMesh/CMakeLists.txt index 00033928f..e94ded0d2 100644 --- a/applications/utilities/mesh/manipulation/refineMesh/CMakeLists.txt +++ b/applications/utilities/mesh/manipulation/refineMesh/CMakeLists.txt @@ -30,7 +30,7 @@ # # -------------------------------------------------------------------------- -list(APPEND sources +list(APPEND SOURCES refineMesh.C ) @@ -42,5 +42,5 @@ endif() add_foam_executable(refineMesh DEPENDS dynamicMesh meshTools - SOURCES ${sources} + SOURCES ${SOURCES} ) diff --git a/applications/utilities/mesh/manipulation/regionCellSets/CMakeLists.txt b/applications/utilities/mesh/manipulation/regionCellSets/CMakeLists.txt index 3a5c4604a..5b1538c8d 100644 --- a/applications/utilities/mesh/manipulation/regionCellSets/CMakeLists.txt +++ b/applications/utilities/mesh/manipulation/regionCellSets/CMakeLists.txt @@ -30,7 +30,7 @@ # # -------------------------------------------------------------------------- -list(APPEND sources +list(APPEND SOURCES regionCellSets.C ) @@ -42,5 +42,5 @@ endif() add_foam_executable(regionCellSets DEPENDS finiteVolume meshTools - SOURCES ${sources} + SOURCES ${SOURCES} ) diff --git a/applications/utilities/mesh/manipulation/renumberMesh/CMakeLists.txt b/applications/utilities/mesh/manipulation/renumberMesh/CMakeLists.txt index 66203bdfe..a18141c34 100644 --- a/applications/utilities/mesh/manipulation/renumberMesh/CMakeLists.txt +++ b/applications/utilities/mesh/manipulation/renumberMesh/CMakeLists.txt @@ -30,7 +30,7 @@ # # -------------------------------------------------------------------------- -list(APPEND sources +list(APPEND SOURCES renumberMesh.C ) @@ -42,5 +42,5 @@ endif() add_foam_executable(renumberMesh DEPENDS finiteVolume dynamicMesh - SOURCES ${sources} + SOURCES ${SOURCES} ) diff --git a/applications/utilities/mesh/manipulation/rotateMesh/CMakeLists.txt b/applications/utilities/mesh/manipulation/rotateMesh/CMakeLists.txt index 3961854f3..22e27534d 100644 --- a/applications/utilities/mesh/manipulation/rotateMesh/CMakeLists.txt +++ b/applications/utilities/mesh/manipulation/rotateMesh/CMakeLists.txt @@ -30,7 +30,7 @@ # # -------------------------------------------------------------------------- -list(APPEND sources +list(APPEND SOURCES rotateMesh.C ) @@ -42,5 +42,5 @@ endif() add_foam_executable(rotateMesh DEPENDS finiteVolume - SOURCES ${sources} + SOURCES ${SOURCES} ) diff --git a/applications/utilities/mesh/manipulation/setSet/CMakeLists.txt b/applications/utilities/mesh/manipulation/setSet/CMakeLists.txt index 507e12671..2f7f25024 100644 --- a/applications/utilities/mesh/manipulation/setSet/CMakeLists.txt +++ b/applications/utilities/mesh/manipulation/setSet/CMakeLists.txt @@ -30,7 +30,7 @@ # # -------------------------------------------------------------------------- -list(APPEND sources +list(APPEND SOURCES writePointSet.C writeFuns.C writePatch.C @@ -45,5 +45,5 @@ endif() add_foam_executable(setSet DEPENDS meshTools - SOURCES ${sources} + SOURCES ${SOURCES} ) diff --git a/applications/utilities/mesh/manipulation/setsToZones/CMakeLists.txt b/applications/utilities/mesh/manipulation/setsToZones/CMakeLists.txt index 4fa1eb1be..aeebb6c70 100644 --- a/applications/utilities/mesh/manipulation/setsToZones/CMakeLists.txt +++ b/applications/utilities/mesh/manipulation/setsToZones/CMakeLists.txt @@ -30,7 +30,7 @@ # # -------------------------------------------------------------------------- -list(APPEND sources +list(APPEND SOURCES setsToZones.C ) @@ -42,5 +42,5 @@ endif() add_foam_executable(setsToZones DEPENDS meshTools - SOURCES ${sources} + SOURCES ${SOURCES} ) diff --git a/applications/utilities/mesh/manipulation/splitMesh/CMakeLists.txt b/applications/utilities/mesh/manipulation/splitMesh/CMakeLists.txt index ecdeb6286..53b731afb 100644 --- a/applications/utilities/mesh/manipulation/splitMesh/CMakeLists.txt +++ b/applications/utilities/mesh/manipulation/splitMesh/CMakeLists.txt @@ -30,7 +30,7 @@ # # -------------------------------------------------------------------------- -list(APPEND sources +list(APPEND SOURCES regionSide.C splitMesh.C ) @@ -43,5 +43,5 @@ endif() add_foam_executable(splitMesh DEPENDS dynamicMesh meshTools - SOURCES ${sources} + SOURCES ${SOURCES} ) diff --git a/applications/utilities/mesh/manipulation/splitMeshRegions/CMakeLists.txt b/applications/utilities/mesh/manipulation/splitMeshRegions/CMakeLists.txt index 9b57ee8f4..ec1a54fef 100644 --- a/applications/utilities/mesh/manipulation/splitMeshRegions/CMakeLists.txt +++ b/applications/utilities/mesh/manipulation/splitMeshRegions/CMakeLists.txt @@ -30,7 +30,7 @@ # # -------------------------------------------------------------------------- -list(APPEND sources +list(APPEND SOURCES splitMeshRegions.C ) @@ -42,5 +42,5 @@ endif() add_foam_executable(splitMeshRegions DEPENDS finiteVolume dynamicMesh - SOURCES ${sources} + SOURCES ${SOURCES} ) diff --git a/applications/utilities/mesh/manipulation/stitchMesh/CMakeLists.txt b/applications/utilities/mesh/manipulation/stitchMesh/CMakeLists.txt index d895bce7f..cf180c197 100644 --- a/applications/utilities/mesh/manipulation/stitchMesh/CMakeLists.txt +++ b/applications/utilities/mesh/manipulation/stitchMesh/CMakeLists.txt @@ -30,7 +30,7 @@ # # -------------------------------------------------------------------------- -list(APPEND sources +list(APPEND SOURCES stitchMesh.C ) @@ -42,5 +42,5 @@ endif() add_foam_executable(stitchMesh DEPENDS finiteVolume dynamicMesh - SOURCES ${sources} + SOURCES ${SOURCES} ) diff --git a/applications/utilities/mesh/manipulation/subsetMesh/CMakeLists.txt b/applications/utilities/mesh/manipulation/subsetMesh/CMakeLists.txt index 03f9d6309..42588de44 100644 --- a/applications/utilities/mesh/manipulation/subsetMesh/CMakeLists.txt +++ b/applications/utilities/mesh/manipulation/subsetMesh/CMakeLists.txt @@ -30,7 +30,7 @@ # # -------------------------------------------------------------------------- -list(APPEND sources +list(APPEND SOURCES subsetMesh.C ) @@ -42,5 +42,5 @@ endif() add_foam_executable(subsetMesh DEPENDS finiteVolume meshTools - SOURCES ${sources} + SOURCES ${SOURCES} ) diff --git a/applications/utilities/mesh/manipulation/tetDecomposition/CMakeLists.txt b/applications/utilities/mesh/manipulation/tetDecomposition/CMakeLists.txt index 056e8ef1f..c03e4180c 100644 --- a/applications/utilities/mesh/manipulation/tetDecomposition/CMakeLists.txt +++ b/applications/utilities/mesh/manipulation/tetDecomposition/CMakeLists.txt @@ -30,7 +30,7 @@ # # -------------------------------------------------------------------------- -list(APPEND sources +list(APPEND SOURCES tetDecomposition.C ) @@ -42,5 +42,5 @@ endif() add_foam_executable(tetDecomposition DEPENDS finiteVolume tetFiniteElement - SOURCES ${sources} + SOURCES ${SOURCES} ) diff --git a/applications/utilities/mesh/manipulation/transformPoints/CMakeLists.txt b/applications/utilities/mesh/manipulation/transformPoints/CMakeLists.txt index f25775e83..83aa04199 100644 --- a/applications/utilities/mesh/manipulation/transformPoints/CMakeLists.txt +++ b/applications/utilities/mesh/manipulation/transformPoints/CMakeLists.txt @@ -30,7 +30,7 @@ # # -------------------------------------------------------------------------- -list(APPEND sources +list(APPEND SOURCES transformPoints.C ) @@ -42,5 +42,5 @@ endif() add_foam_executable(transformPoints DEPENDS finiteVolume - SOURCES ${sources} + SOURCES ${SOURCES} ) diff --git a/applications/utilities/mesh/manipulation/zipUpMesh/CMakeLists.txt b/applications/utilities/mesh/manipulation/zipUpMesh/CMakeLists.txt index 47ec2621d..c9304e7c9 100644 --- a/applications/utilities/mesh/manipulation/zipUpMesh/CMakeLists.txt +++ b/applications/utilities/mesh/manipulation/zipUpMesh/CMakeLists.txt @@ -30,7 +30,7 @@ # # -------------------------------------------------------------------------- -list(APPEND sources +list(APPEND SOURCES zipUpMesh.C ) @@ -42,5 +42,5 @@ endif() add_foam_executable(zipUpMesh DEPENDS finiteVolume meshTools - SOURCES ${sources} + SOURCES ${SOURCES} ) diff --git a/applications/utilities/miscellaneous/autoDerivative/testFad/CMakeLists.txt b/applications/utilities/miscellaneous/autoDerivative/testFad/CMakeLists.txt index 60196aa41..190f55956 100644 --- a/applications/utilities/miscellaneous/autoDerivative/testFad/CMakeLists.txt +++ b/applications/utilities/miscellaneous/autoDerivative/testFad/CMakeLists.txt @@ -30,7 +30,7 @@ # # -------------------------------------------------------------------------- -list(APPEND sources +list(APPEND SOURCES testFad.C ) @@ -42,5 +42,5 @@ endif() add_foam_executable(testFad DEPENDS finiteVolume - SOURCES ${sources} + SOURCES ${SOURCES} ) diff --git a/applications/utilities/miscellaneous/autoDerivative/testFadField/CMakeLists.txt b/applications/utilities/miscellaneous/autoDerivative/testFadField/CMakeLists.txt index 9d7a21c0b..311e4ec77 100644 --- a/applications/utilities/miscellaneous/autoDerivative/testFadField/CMakeLists.txt +++ b/applications/utilities/miscellaneous/autoDerivative/testFadField/CMakeLists.txt @@ -30,7 +30,7 @@ # # -------------------------------------------------------------------------- -list(APPEND sources +list(APPEND SOURCES testFadField.C fadOneFields.C ) @@ -43,5 +43,5 @@ endif() add_foam_executable(testFadField DEPENDS finiteVolume - SOURCES ${sources} + SOURCES ${SOURCES} ) diff --git a/applications/utilities/miscellaneous/expandDictionary/CMakeLists.txt b/applications/utilities/miscellaneous/expandDictionary/CMakeLists.txt index 85d311b65..3e50205ee 100644 --- a/applications/utilities/miscellaneous/expandDictionary/CMakeLists.txt +++ b/applications/utilities/miscellaneous/expandDictionary/CMakeLists.txt @@ -30,7 +30,7 @@ # # -------------------------------------------------------------------------- -list(APPEND sources +list(APPEND SOURCES expandDictionary.C ) @@ -42,5 +42,5 @@ endif() add_foam_executable(expandDictionary DEPENDS foam - SOURCES ${sources} + SOURCES ${SOURCES} ) diff --git a/applications/utilities/miscellaneous/findRoot/CMakeLists.txt b/applications/utilities/miscellaneous/findRoot/CMakeLists.txt index 459579f86..67f8995aa 100644 --- a/applications/utilities/miscellaneous/findRoot/CMakeLists.txt +++ b/applications/utilities/miscellaneous/findRoot/CMakeLists.txt @@ -30,7 +30,7 @@ # # -------------------------------------------------------------------------- -list(APPEND sources +list(APPEND SOURCES findRoot.C ) @@ -42,5 +42,5 @@ endif() add_foam_executable(findRoot DEPENDS finiteVolume ODE - SOURCES ${sources} + SOURCES ${SOURCES} ) diff --git a/applications/utilities/miscellaneous/foamFormatConvert/CMakeLists.txt b/applications/utilities/miscellaneous/foamFormatConvert/CMakeLists.txt index 400797bd2..32a95fffd 100644 --- a/applications/utilities/miscellaneous/foamFormatConvert/CMakeLists.txt +++ b/applications/utilities/miscellaneous/foamFormatConvert/CMakeLists.txt @@ -30,7 +30,7 @@ # # -------------------------------------------------------------------------- -list(APPEND sources +list(APPEND SOURCES foamFormatConvert.C ) @@ -42,5 +42,5 @@ endif() add_foam_executable(foamFormatConvert DEPENDS finiteVolume - SOURCES ${sources} + SOURCES ${SOURCES} ) diff --git a/applications/utilities/miscellaneous/foamInfoExec/CMakeLists.txt b/applications/utilities/miscellaneous/foamInfoExec/CMakeLists.txt index 7808507ac..99df24605 100644 --- a/applications/utilities/miscellaneous/foamInfoExec/CMakeLists.txt +++ b/applications/utilities/miscellaneous/foamInfoExec/CMakeLists.txt @@ -30,7 +30,7 @@ # # -------------------------------------------------------------------------- -list(APPEND sources +list(APPEND SOURCES foamInfoExec.C ) @@ -42,5 +42,5 @@ endif() add_foam_executable(foamInfoExec DEPENDS foam - SOURCES ${sources} + SOURCES ${SOURCES} ) diff --git a/applications/utilities/miscellaneous/patchSummary/CMakeLists.txt b/applications/utilities/miscellaneous/patchSummary/CMakeLists.txt index fd7664edd..3744c2caa 100644 --- a/applications/utilities/miscellaneous/patchSummary/CMakeLists.txt +++ b/applications/utilities/miscellaneous/patchSummary/CMakeLists.txt @@ -30,7 +30,7 @@ # # -------------------------------------------------------------------------- -list(APPEND sources +list(APPEND SOURCES patchSummary.C ) @@ -42,5 +42,5 @@ endif() add_foam_executable(patchSummary DEPENDS finiteVolume - SOURCES ${sources} + SOURCES ${SOURCES} ) diff --git a/applications/utilities/parallelProcessing/decomposePar/CMakeLists.txt b/applications/utilities/parallelProcessing/decomposePar/CMakeLists.txt index 73055d26c..0f78fb247 100644 --- a/applications/utilities/parallelProcessing/decomposePar/CMakeLists.txt +++ b/applications/utilities/parallelProcessing/decomposePar/CMakeLists.txt @@ -30,7 +30,7 @@ # # -------------------------------------------------------------------------- -list(APPEND sources +list(APPEND SOURCES decomposeMesh.C decomposePar.C domainDecomposition.C @@ -51,5 +51,5 @@ endif() add_foam_executable(decomposePar DEPENDS finiteVolume finiteArea tetFiniteElement - SOURCES ${sources} + SOURCES ${SOURCES} ) diff --git a/applications/utilities/parallelProcessing/decomposeSets/CMakeLists.txt b/applications/utilities/parallelProcessing/decomposeSets/CMakeLists.txt index adbf31ac2..f4f65f08f 100644 --- a/applications/utilities/parallelProcessing/decomposeSets/CMakeLists.txt +++ b/applications/utilities/parallelProcessing/decomposeSets/CMakeLists.txt @@ -30,7 +30,7 @@ # # -------------------------------------------------------------------------- -list(APPEND sources +list(APPEND SOURCES processorMeshes.C decomposeSets.C ) @@ -43,5 +43,5 @@ endif() add_foam_executable(decomposeSets DEPENDS finiteVolume meshTools - SOURCES ${sources} + SOURCES ${SOURCES} ) diff --git a/applications/utilities/parallelProcessing/reconstructPar/CMakeLists.txt b/applications/utilities/parallelProcessing/reconstructPar/CMakeLists.txt index 929057cc1..778cf51a6 100644 --- a/applications/utilities/parallelProcessing/reconstructPar/CMakeLists.txt +++ b/applications/utilities/parallelProcessing/reconstructPar/CMakeLists.txt @@ -30,7 +30,7 @@ # # -------------------------------------------------------------------------- -list(APPEND sources +list(APPEND SOURCES processorMeshes.C processorFaMeshes.C fvFieldReconstructor.C @@ -49,5 +49,5 @@ endif() add_foam_executable(reconstructPar DEPENDS finiteVolume finiteArea tetFiniteElement - SOURCES ${sources} + SOURCES ${SOURCES} ) diff --git a/applications/utilities/parallelProcessing/reconstructParMesh/CMakeLists.txt b/applications/utilities/parallelProcessing/reconstructParMesh/CMakeLists.txt index 58de8846e..81fe1e7c3 100644 --- a/applications/utilities/parallelProcessing/reconstructParMesh/CMakeLists.txt +++ b/applications/utilities/parallelProcessing/reconstructParMesh/CMakeLists.txt @@ -30,7 +30,7 @@ # # -------------------------------------------------------------------------- -list(APPEND sources +list(APPEND SOURCES processorMeshesReconstructor.C processorMeshesRebuild.C processorFaMeshes.C @@ -50,5 +50,5 @@ endif() add_foam_executable(reconstructParMesh DEPENDS finiteVolume finiteArea tetFiniteElement - SOURCES ${sources} + SOURCES ${SOURCES} ) diff --git a/applications/utilities/parallelProcessing/redistributeMeshPar/CMakeLists.txt b/applications/utilities/parallelProcessing/redistributeMeshPar/CMakeLists.txt index a84c21a9e..a71531bae 100644 --- a/applications/utilities/parallelProcessing/redistributeMeshPar/CMakeLists.txt +++ b/applications/utilities/parallelProcessing/redistributeMeshPar/CMakeLists.txt @@ -30,7 +30,7 @@ # # -------------------------------------------------------------------------- -list(APPEND sources +list(APPEND SOURCES redistributeMeshPar.C ) @@ -42,5 +42,5 @@ endif() add_foam_executable(redistributeMeshPar DEPENDS dynamicFvMesh - SOURCES ${sources} + SOURCES ${SOURCES} ) diff --git a/applications/utilities/postProcessing/POD/scalarSnapshots/CMakeLists.txt b/applications/utilities/postProcessing/POD/scalarSnapshots/CMakeLists.txt index 2c4307602..32f0c664c 100644 --- a/applications/utilities/postProcessing/POD/scalarSnapshots/CMakeLists.txt +++ b/applications/utilities/postProcessing/POD/scalarSnapshots/CMakeLists.txt @@ -30,7 +30,7 @@ # # -------------------------------------------------------------------------- -list(APPEND sources +list(APPEND SOURCES scalarSnapshots.C ) @@ -42,5 +42,5 @@ endif() add_foam_executable(scalarSnapshots DEPENDS POD - SOURCES ${sources} + SOURCES ${SOURCES} ) diff --git a/applications/utilities/postProcessing/POD/vectorSnapshots/CMakeLists.txt b/applications/utilities/postProcessing/POD/vectorSnapshots/CMakeLists.txt index 18411ddcc..e51ad2447 100644 --- a/applications/utilities/postProcessing/POD/vectorSnapshots/CMakeLists.txt +++ b/applications/utilities/postProcessing/POD/vectorSnapshots/CMakeLists.txt @@ -30,7 +30,7 @@ # # -------------------------------------------------------------------------- -list(APPEND sources +list(APPEND SOURCES vectorSnapshots.C ) @@ -42,5 +42,5 @@ endif() add_foam_executable(vectorSnapshots DEPENDS POD - SOURCES ${sources} + SOURCES ${SOURCES} ) diff --git a/applications/utilities/postProcessing/dataConversion/foamDataToFluent/CMakeLists.txt b/applications/utilities/postProcessing/dataConversion/foamDataToFluent/CMakeLists.txt index 092f502ac..79e1ab65b 100644 --- a/applications/utilities/postProcessing/dataConversion/foamDataToFluent/CMakeLists.txt +++ b/applications/utilities/postProcessing/dataConversion/foamDataToFluent/CMakeLists.txt @@ -30,7 +30,7 @@ # # -------------------------------------------------------------------------- -list(APPEND sources +list(APPEND SOURCES writeFluentScalarField.C writeFluentVectorField.C foamDataToFluent.C @@ -44,5 +44,5 @@ endif() add_foam_executable(foamDataToFluent DEPENDS finiteVolume - SOURCES ${sources} + SOURCES ${SOURCES} ) diff --git a/applications/utilities/postProcessing/dataConversion/foamToEnsight/CMakeLists.txt b/applications/utilities/postProcessing/dataConversion/foamToEnsight/CMakeLists.txt index 24590d63a..5c1387583 100644 --- a/applications/utilities/postProcessing/dataConversion/foamToEnsight/CMakeLists.txt +++ b/applications/utilities/postProcessing/dataConversion/foamToEnsight/CMakeLists.txt @@ -30,7 +30,7 @@ # # -------------------------------------------------------------------------- -list(APPEND sources +list(APPEND SOURCES itoa.C ensightMesh.C ensightParticlePositions.C @@ -46,5 +46,5 @@ endif() add_foam_executable(foamToEnsight DEPENDS finiteVolume - SOURCES ${sources} + SOURCES ${SOURCES} ) diff --git a/applications/utilities/postProcessing/dataConversion/foamToEnsightParts/CMakeLists.txt b/applications/utilities/postProcessing/dataConversion/foamToEnsightParts/CMakeLists.txt index 0d3b24172..4959d0dc2 100644 --- a/applications/utilities/postProcessing/dataConversion/foamToEnsightParts/CMakeLists.txt +++ b/applications/utilities/postProcessing/dataConversion/foamToEnsightParts/CMakeLists.txt @@ -30,7 +30,7 @@ # # -------------------------------------------------------------------------- -list(APPEND sources +list(APPEND SOURCES foamToEnsightParts.C ) @@ -42,5 +42,5 @@ endif() add_foam_executable(foamToEnsightParts DEPENDS finiteVolume conversion - SOURCES ${sources} + SOURCES ${SOURCES} ) diff --git a/applications/utilities/postProcessing/dataConversion/foamToFieldview9/CMakeLists.txt b/applications/utilities/postProcessing/dataConversion/foamToFieldview9/CMakeLists.txt index bee379dc9..64cec83c8 100644 --- a/applications/utilities/postProcessing/dataConversion/foamToFieldview9/CMakeLists.txt +++ b/applications/utilities/postProcessing/dataConversion/foamToFieldview9/CMakeLists.txt @@ -30,7 +30,7 @@ # # -------------------------------------------------------------------------- -list(APPEND sources +list(APPEND SOURCES foamToFieldview9.C fieldviewTopology.C write_binary_uns.c @@ -46,5 +46,5 @@ endif() add_foam_executable(foamToFieldview9 DEPENDS finiteVolume - SOURCES ${sources} + SOURCES ${SOURCES} ) diff --git a/applications/utilities/postProcessing/dataConversion/foamToGMV/CMakeLists.txt b/applications/utilities/postProcessing/dataConversion/foamToGMV/CMakeLists.txt index c99f9faa6..6127cc5b5 100644 --- a/applications/utilities/postProcessing/dataConversion/foamToGMV/CMakeLists.txt +++ b/applications/utilities/postProcessing/dataConversion/foamToGMV/CMakeLists.txt @@ -30,7 +30,7 @@ # # -------------------------------------------------------------------------- -list(APPEND sources +list(APPEND SOURCES foamToGMV.C itoa.C ) @@ -43,5 +43,5 @@ endif() add_foam_executable(foamToGMV DEPENDS finiteVolume - SOURCES ${sources} + SOURCES ${SOURCES} ) diff --git a/applications/utilities/postProcessing/dataConversion/foamToTecplot360/tecio/tecsrc/CMakeLists.txt b/applications/utilities/postProcessing/dataConversion/foamToTecplot360/tecio/tecsrc/CMakeLists.txt index 0efb25cc8..2973e92e0 100644 --- a/applications/utilities/postProcessing/dataConversion/foamToTecplot360/tecio/tecsrc/CMakeLists.txt +++ b/applications/utilities/postProcessing/dataConversion/foamToTecplot360/tecio/tecsrc/CMakeLists.txt @@ -30,7 +30,7 @@ # # -------------------------------------------------------------------------- -list(APPEND sources +list(APPEND SOURCES alloc.cpp arrlist.cpp auxdata.cpp @@ -51,8 +51,6 @@ list(APPEND sources TranslatedString.cpp ) -add_foam_library(tecio SHARED ${sources}) +add_foam_library(tecio SHARED ${SOURCES}) -# This is a prototype! Replace second argument with a list of the highest -# dependencies only. Inherited dependencies will be treated automatically. #target_link_libraries(tecio finiteVolume) diff --git a/applications/utilities/postProcessing/dataConversion/foamToVTK/CMakeLists.txt b/applications/utilities/postProcessing/dataConversion/foamToVTK/CMakeLists.txt index bb894dc61..565b84839 100644 --- a/applications/utilities/postProcessing/dataConversion/foamToVTK/CMakeLists.txt +++ b/applications/utilities/postProcessing/dataConversion/foamToVTK/CMakeLists.txt @@ -30,7 +30,7 @@ # # -------------------------------------------------------------------------- -list(APPEND sources +list(APPEND SOURCES foamToVTK.C internalWriter.C lagrangianWriter.C @@ -53,5 +53,5 @@ endif() add_foam_executable(foamToVTK DEPENDS finiteVolume finiteArea - SOURCES ${sources} + SOURCES ${SOURCES} ) diff --git a/applications/utilities/postProcessing/dataConversion/smapToFoam/CMakeLists.txt b/applications/utilities/postProcessing/dataConversion/smapToFoam/CMakeLists.txt index 890c2172c..2cc08608d 100644 --- a/applications/utilities/postProcessing/dataConversion/smapToFoam/CMakeLists.txt +++ b/applications/utilities/postProcessing/dataConversion/smapToFoam/CMakeLists.txt @@ -30,7 +30,7 @@ # # -------------------------------------------------------------------------- -list(APPEND sources +list(APPEND SOURCES smapToFoam.C ) @@ -42,5 +42,5 @@ endif() add_foam_executable(smapToFoam DEPENDS finiteVolume - SOURCES ${sources} + SOURCES ${SOURCES} ) diff --git a/applications/utilities/postProcessing/foamCalc/CMakeLists.txt b/applications/utilities/postProcessing/foamCalc/CMakeLists.txt index d2fcdc9ae..bbbdbe983 100644 --- a/applications/utilities/postProcessing/foamCalc/CMakeLists.txt +++ b/applications/utilities/postProcessing/foamCalc/CMakeLists.txt @@ -30,7 +30,7 @@ # # -------------------------------------------------------------------------- -list(APPEND sources +list(APPEND SOURCES foamCalc.C ) @@ -42,5 +42,5 @@ endif() add_foam_executable(foamCalc DEPENDS foamCalcFunctions - SOURCES ${sources} + SOURCES ${SOURCES} ) diff --git a/applications/utilities/postProcessing/graphics/CMakeLists.txt b/applications/utilities/postProcessing/graphics/CMakeLists.txt index c4cc4480b..885f85a56 100644 --- a/applications/utilities/postProcessing/graphics/CMakeLists.txt +++ b/applications/utilities/postProcessing/graphics/CMakeLists.txt @@ -32,6 +32,6 @@ add_subdirectory(newEnsightFoamReader) #add_subdirectory(PV3FoamReader) #add_subdirectory(PVFoamReader) -#add_subdirectory(PV4FoamReader) +add_subdirectory(PV4FoamReader) #add_subdirectory(fieldview9Reader) add_subdirectory(ensightFoamReader) diff --git a/applications/utilities/postProcessing/graphics/PV3FoamReader/vtkPV3Foam/CMakeLists.txt b/applications/utilities/postProcessing/graphics/PV3FoamReader/vtkPV3Foam/CMakeLists.txt index 4cd07ea3a..d984281b3 100644 --- a/applications/utilities/postProcessing/graphics/PV3FoamReader/vtkPV3Foam/CMakeLists.txt +++ b/applications/utilities/postProcessing/graphics/PV3FoamReader/vtkPV3Foam/CMakeLists.txt @@ -30,7 +30,7 @@ # # -------------------------------------------------------------------------- -list(APPEND sources +list(APPEND SOURCES vtkPV3Foam.C vtkPV3FoamFields.C vtkPV3FoamMesh.C @@ -43,8 +43,6 @@ list(APPEND sources vtkPV3FoamUtilities.C ) -add_foam_library(vtkPV3Foam SHARED ${sources}) +add_foam_library(vtkPV3Foam SHARED ${SOURCES}) -# This is a prototype! Replace second argument with a list of the highest -# dependencies only. Inherited dependencies will be treated automatically. target_link_libraries(vtkPV3Foam PUBLIC foam) diff --git a/applications/utilities/postProcessing/graphics/PV4FoamReader/CMakeLists.txt b/applications/utilities/postProcessing/graphics/PV4FoamReader/CMakeLists.txt index 91ea5dac0..746fa6ffc 100644 --- a/applications/utilities/postProcessing/graphics/PV4FoamReader/CMakeLists.txt +++ b/applications/utilities/postProcessing/graphics/PV4FoamReader/CMakeLists.txt @@ -1,4 +1,5 @@ -# --------------------------------------------------------------------------# ======== | +# -------------------------------------------------------------------------- +# ======== | # \ / F ield | foam-extend: Open Source CFD # \ / O peration | Version: 4.1 # \ / A nd | Web: http://www.foam-extend.org @@ -29,4 +30,5 @@ # # -------------------------------------------------------------------------- -add_subdirectory(vtkPV4Foam) \ No newline at end of file +add_subdirectory(vtkPV4Foam) +add_subdirectory(PV4FoamReader) diff --git a/applications/utilities/postProcessing/graphics/PV4FoamReader/vtkPV4Foam/CMakeLists.txt b/applications/utilities/postProcessing/graphics/PV4FoamReader/vtkPV4Foam/CMakeLists.txt index aa91849d0..390c417b3 100644 --- a/applications/utilities/postProcessing/graphics/PV4FoamReader/vtkPV4Foam/CMakeLists.txt +++ b/applications/utilities/postProcessing/graphics/PV4FoamReader/vtkPV4Foam/CMakeLists.txt @@ -30,7 +30,9 @@ # # -------------------------------------------------------------------------- -list(APPEND sources +include(${PARAVIEW_USE_FILE}) + +list(APPEND SOURCES vtkPV4Foam.C vtkPV4FoamFields.C vtkPV4FoamMesh.C @@ -43,8 +45,10 @@ list(APPEND sources vtkPV4FoamUtilities.C ) -add_foam_library(vtkPV4Foam SHARED ${sources}) +add_foam_library(vtkPV4Foam SHARED ${SOURCES}) -# This is a prototype! Replace second argument with a list of the highest -# dependencies only. Inherited dependencies will be treated automatically. -#target_link_libraries(vtkPV4Foam finiteVolume) +target_link_libraries(vtkPV4Foam finiteVolume) +target_include_directories(vtkPV4Foam PUBLIC + $ +# $ +) diff --git a/applications/utilities/postProcessing/graphics/PVFoamReader/vtkFoam/CMakeLists.txt b/applications/utilities/postProcessing/graphics/PVFoamReader/vtkFoam/CMakeLists.txt index 8639bf1a5..6a5d8784b 100644 --- a/applications/utilities/postProcessing/graphics/PVFoamReader/vtkFoam/CMakeLists.txt +++ b/applications/utilities/postProcessing/graphics/PVFoamReader/vtkFoam/CMakeLists.txt @@ -30,14 +30,12 @@ # # -------------------------------------------------------------------------- -list(APPEND sources +list(APPEND SOURCES vtkFoam.C vtkFoamAddInternalMesh.C vtkFoamAddPatch.C ) -add_foam_library(vtkFoam SHARED ${sources}) +add_foam_library(vtkFoam SHARED ${SOURCES}) -# This is a prototype! Replace second argument with a list of the highest -# dependencies only. Inherited dependencies will be treated automatically. #target_link_libraries(vtkFoam finiteVolume) diff --git a/applications/utilities/postProcessing/graphics/PVReaders/PVFoamReader/CMakeLists.txt b/applications/utilities/postProcessing/graphics/PVReaders/PVFoamReader/CMakeLists.txt index be60053bd..dcb8f431b 100644 --- a/applications/utilities/postProcessing/graphics/PVReaders/PVFoamReader/CMakeLists.txt +++ b/applications/utilities/postProcessing/graphics/PVReaders/PVFoamReader/CMakeLists.txt @@ -6,51 +6,22 @@ # the pqReader.xml file contains xml defining readers with their # file extensions and descriptions. -cmake_minimum_required(VERSION 2.4) - -if(COMMAND cmake_policy) - cmake_policy(SET CMP0003 NEW) -endif(COMMAND cmake_policy) - -FIND_PACKAGE(ParaView REQUIRED) INCLUDE(${PARAVIEW_USE_FILE}) -LINK_DIRECTORIES( - $ENV{FOAM_LIBBIN} -) - -INCLUDE_DIRECTORIES( - $ENV{WM_PROJECT_DIR}/src/foam/lnInclude - $ENV{WM_PROJECT_DIR}/src/OSspecific/$ENV{WM_OSTYPE}/lnInclude - $ENV{WM_PROJECT_DIR}/src/finiteVolume/lnInclude - ${PROJECT_SOURCE_DIR}/../vtkPVFoam -) - -ADD_DEFINITIONS( - -std=c++11 - -DWM_$ENV{WM_PRECISION_OPTION} - -DWM_LABEL_SIZE=$ENV{WM_LABEL_SIZE} -) - # Set output library destination to plugin folder -SET( - LIBRARY_OUTPUT_PATH $ENV{PV_PLUGIN_PATH} - CACHE INTERNAL - "Single output directory for building all libraries." -) +#SET( +# LIBRARY_OUTPUT_PATH $ENV{PV_PLUGIN_PATH} +# CACHE INTERNAL +# "Single output directory for building all libraries." +#) # Build the server-side plugin ADD_PARAVIEW_PLUGIN( - PVFoamReader_SM "1.0" - SERVER_MANAGER_XML PVFoamReader_SM.xml - SERVER_MANAGER_SOURCES vtkPVFoamReader.cxx + PV4FoamReader_SM "1.0" + SERVER_MANAGER_XML PV4FoamReader_SM.xml + SERVER_MANAGER_SOURCES vtkPV4FoamReader.cxx ) -TARGET_LINK_LIBRARIES( - PVFoamReader_SM - foam - finiteVolume - vtkPVFoam - pqCore -) +TARGET_LINK_LIBRARIES(PV4FoamReader_SM PUBLIC vtkPV4Foam pqCore) + #----------------------------------------------------------------------------- diff --git a/applications/utilities/postProcessing/graphics/PVReaders/PVFoamReader/vtkPVFoamReader.cxx b/applications/utilities/postProcessing/graphics/PVReaders/PVFoamReader/vtkPVFoamReader.cxx index 82a343b20..53ea3b37f 100644 --- a/applications/utilities/postProcessing/graphics/PVReaders/PVFoamReader/vtkPVFoamReader.cxx +++ b/applications/utilities/postProcessing/graphics/PVReaders/PVFoamReader/vtkPVFoamReader.cxx @@ -1,7 +1,7 @@ /*========================================================================= Program: Visualization Toolkit - Module: $RCSfile: vtkPVFoamReader.cxx,v $ + Module: $RCSfile: vtkPV4FoamReader.cxx,v $ Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen All rights reserved. @@ -13,7 +13,10 @@ =========================================================================*/ -#include "vtkPVFoamReader.h" +#include "vtkPV4FoamReader.h" + +// Foam includes +#include "vtkPV4Foam.H" #include "pqApplicationCore.h" #include "pqRenderView.h" @@ -30,14 +33,11 @@ #include "vtkStreamingDemandDrivenPipeline.h" #include "vtkStringArray.h" -// Foam includes -#include "vtkPVFoam.H" - -vtkStandardNewMacro(vtkPVFoamReader); +vtkStandardNewMacro(vtkPV4FoamReader); #undef EXPERIMENTAL_TIME_CACHING -vtkPVFoamReader::vtkPVFoamReader() +vtkPV4FoamReader::vtkPV4FoamReader() { Debug = 0; vtkDebugMacro(<<"Constructor"); @@ -49,7 +49,7 @@ vtkPVFoamReader::vtkPVFoamReader() output0_ = NULL; -#ifdef VTKPVFOAM_DUALPORT +#ifdef VTKPV4FOAM_DUALPORT // Add second output for the Lagrangian this->SetNumberOfOutputPorts(2); vtkMultiBlockDataSet *lagrangian = vtkMultiBlockDataSet::New(); @@ -65,7 +65,6 @@ vtkPVFoamReader::vtkPVFoamReader() CacheMesh = 1; ExtrapolatePatches = 0; - UseVTKPolyhedron = 0; IncludeSets = 0; IncludeZones = 0; ShowPatchNames = 0; @@ -82,7 +81,7 @@ vtkPVFoamReader::vtkPVFoamReader() SelectionObserver = vtkCallbackCommand::New(); SelectionObserver->SetCallback ( - &vtkPVFoamReader::SelectionModifiedCallback + &vtkPV4FoamReader::SelectionModifiedCallback ); SelectionObserver->SetClientData(this); @@ -109,7 +108,7 @@ vtkPVFoamReader::vtkPVFoamReader() } -vtkPVFoamReader::~vtkPVFoamReader() +vtkPV4FoamReader::~vtkPV4FoamReader() { vtkDebugMacro(<<"Deconstructor"); @@ -141,7 +140,7 @@ vtkPVFoamReader::~vtkPVFoamReader() // Do everything except set the output info -int vtkPVFoamReader::RequestInformation +int vtkPV4FoamReader::RequestInformation ( vtkInformation* vtkNotUsed(request), vtkInformationVector** vtkNotUsed(inputVector), @@ -150,7 +149,7 @@ int vtkPVFoamReader::RequestInformation { vtkDebugMacro(<<"RequestInformation"); - if (Foam::vtkPVFoam::debug) + if (Foam::vtkPV4Foam::debug) { cout<<"REQUEST_INFORMATION\n"; } @@ -163,7 +162,7 @@ int vtkPVFoamReader::RequestInformation int nInfo = outputVector->GetNumberOfInformationObjects(); - if (Foam::vtkPVFoam::debug) + if (Foam::vtkPV4Foam::debug) { cout<<"RequestInformation with " << nInfo << " item(s)\n"; for (int infoI = 0; infoI < nInfo; ++infoI) @@ -174,7 +173,7 @@ int vtkPVFoamReader::RequestInformation if (!foamData_) { - foamData_ = new Foam::vtkPVFoam(FileName, this); + foamData_ = new Foam::vtkPV4Foam(FileName, this); } else { @@ -211,7 +210,7 @@ int vtkPVFoamReader::RequestInformation timeRange[0] = timeSteps[0]; timeRange[1] = timeSteps[nTimeSteps-1]; - if (Foam::vtkPVFoam::debug > 1) + if (Foam::vtkPV4Foam::debug > 1) { cout<<"nTimeSteps " << nTimeSteps << "\n" <<"timeRange " << timeRange[0] << " to " << timeRange[1] @@ -241,7 +240,7 @@ int vtkPVFoamReader::RequestInformation // Set the output info -int vtkPVFoamReader::RequestData +int vtkPV4FoamReader::RequestData ( vtkInformation* vtkNotUsed(request), vtkInformationVector** vtkNotUsed(inputVector), @@ -265,7 +264,7 @@ int vtkPVFoamReader::RequestData int nInfo = outputVector->GetNumberOfInformationObjects(); - if (Foam::vtkPVFoam::debug) + if (Foam::vtkPV4Foam::debug) { cout<<"RequestData with " << nInfo << " item(s)\n"; for (int infoI = 0; infoI < nInfo; ++infoI) @@ -283,7 +282,7 @@ int vtkPVFoamReader::RequestData // taking port0 as the lead for other outputs would be nice, but fails when // a filter is added - we need to check everything // but since PREVIOUS_UPDATE_TIME_STEPS() is protected, relay the logic - // to the vtkPVFoam::setTime() method + // to the vtkPV4Foam::setTime() method for (int infoI = 0; infoI < nInfo; ++infoI) { vtkInformation *outInfo = outputVector->GetInformationObject(infoI); @@ -315,7 +314,7 @@ int vtkPVFoamReader::RequestData ) ); - if (Foam::vtkPVFoam::debug) + if (Foam::vtkPV4Foam::debug) { cout<< "update output with " << output->GetNumberOfBlocks() << " blocks\n"; @@ -343,7 +342,7 @@ int vtkPVFoamReader::RequestData output->ShallowCopy(output0_); } - if (Foam::vtkPVFoam::debug) + if (Foam::vtkPV4Foam::debug) { if (needsUpdate) { @@ -363,7 +362,7 @@ int vtkPVFoamReader::RequestData #else -#ifdef VTKPVFOAM_DUALPORT +#ifdef VTKPV4FOAM_DUALPORT foamData_->Update ( output, @@ -397,7 +396,7 @@ int vtkPVFoamReader::RequestData } -void vtkPVFoamReader::addPatchNamesToView() +void vtkPV4FoamReader::addPatchNamesToView() { pqApplicationCore* appCore = pqApplicationCore::instance(); @@ -417,7 +416,7 @@ void vtkPVFoamReader::addPatchNamesToView() } -void vtkPVFoamReader::removePatchNamesFromView() +void vtkPV4FoamReader::removePatchNamesFromView() { pqApplicationCore* appCore = pqApplicationCore::instance(); @@ -437,7 +436,7 @@ void vtkPVFoamReader::removePatchNamesFromView() } -void vtkPVFoamReader::PrintSelf(ostream& os, vtkIndent indent) +void vtkPV4FoamReader::PrintSelf(ostream& os, vtkIndent indent) { vtkDebugMacro(<<"PrintSelf"); @@ -454,7 +453,7 @@ void vtkPVFoamReader::PrintSelf(ostream& os, vtkIndent indent) } -int vtkPVFoamReader::GetTimeStep() +int vtkPV4FoamReader::GetTimeStep() { return foamData_ ? foamData_->timeIndex() : -1; } @@ -463,35 +462,35 @@ int vtkPVFoamReader::GetTimeStep() // ---------------------------------------------------------------------- // Parts selection list control -vtkDataArraySelection* vtkPVFoamReader::GetPartSelection() +vtkDataArraySelection* vtkPV4FoamReader::GetPartSelection() { vtkDebugMacro(<<"GetPartSelection"); return PartSelection; } -int vtkPVFoamReader::GetNumberOfPartArrays() +int vtkPV4FoamReader::GetNumberOfPartArrays() { vtkDebugMacro(<<"GetNumberOfPartArrays"); return PartSelection->GetNumberOfArrays(); } -const char* vtkPVFoamReader::GetPartArrayName(int index) +const char* vtkPV4FoamReader::GetPartArrayName(int index) { vtkDebugMacro(<<"GetPartArrayName"); return PartSelection->GetArrayName(index); } -int vtkPVFoamReader::GetPartArrayStatus(const char* name) +int vtkPV4FoamReader::GetPartArrayStatus(const char* name) { vtkDebugMacro(<<"GetPartArrayStatus"); return PartSelection->ArrayIsEnabled(name); } -void vtkPVFoamReader::SetPartArrayStatus(const char* name, int status) +void vtkPV4FoamReader::SetPartArrayStatus(const char* name, int status) { vtkDebugMacro(<<"SetPartArrayStatus"); if (status) @@ -508,35 +507,35 @@ void vtkPVFoamReader::SetPartArrayStatus(const char* name, int status) // ---------------------------------------------------------------------- // volField selection list control -vtkDataArraySelection* vtkPVFoamReader::GetVolFieldSelection() +vtkDataArraySelection* vtkPV4FoamReader::GetVolFieldSelection() { vtkDebugMacro(<<"GetVolFieldSelection"); return VolFieldSelection; } -int vtkPVFoamReader::GetNumberOfVolFieldArrays() +int vtkPV4FoamReader::GetNumberOfVolFieldArrays() { vtkDebugMacro(<<"GetNumberOfVolFieldArrays"); return VolFieldSelection->GetNumberOfArrays(); } -const char* vtkPVFoamReader::GetVolFieldArrayName(int index) +const char* vtkPV4FoamReader::GetVolFieldArrayName(int index) { vtkDebugMacro(<<"GetVolFieldArrayName"); return VolFieldSelection->GetArrayName(index); } -int vtkPVFoamReader::GetVolFieldArrayStatus(const char* name) +int vtkPV4FoamReader::GetVolFieldArrayStatus(const char* name) { vtkDebugMacro(<<"GetVolFieldArrayStatus"); return VolFieldSelection->ArrayIsEnabled(name); } -void vtkPVFoamReader::SetVolFieldArrayStatus(const char* name, int status) +void vtkPV4FoamReader::SetVolFieldArrayStatus(const char* name, int status) { vtkDebugMacro(<<"SetVolFieldArrayStatus"); if (status) @@ -553,35 +552,35 @@ void vtkPVFoamReader::SetVolFieldArrayStatus(const char* name, int status) // ---------------------------------------------------------------------- // pointField selection list control -vtkDataArraySelection* vtkPVFoamReader::GetPointFieldSelection() +vtkDataArraySelection* vtkPV4FoamReader::GetPointFieldSelection() { vtkDebugMacro(<<"GetPointFieldSelection"); return PointFieldSelection; } -int vtkPVFoamReader::GetNumberOfPointFieldArrays() +int vtkPV4FoamReader::GetNumberOfPointFieldArrays() { vtkDebugMacro(<<"GetNumberOfPointFieldArrays"); return PointFieldSelection->GetNumberOfArrays(); } -const char* vtkPVFoamReader::GetPointFieldArrayName(int index) +const char* vtkPV4FoamReader::GetPointFieldArrayName(int index) { vtkDebugMacro(<<"GetPointFieldArrayName"); return PointFieldSelection->GetArrayName(index); } -int vtkPVFoamReader::GetPointFieldArrayStatus(const char* name) +int vtkPV4FoamReader::GetPointFieldArrayStatus(const char* name) { vtkDebugMacro(<<"GetPointFieldArrayStatus"); return PointFieldSelection->ArrayIsEnabled(name); } -void vtkPVFoamReader::SetPointFieldArrayStatus(const char* name, int status) +void vtkPV4FoamReader::SetPointFieldArrayStatus(const char* name, int status) { vtkDebugMacro(<<"SetPointFieldArrayStatus"); if (status) @@ -598,35 +597,35 @@ void vtkPVFoamReader::SetPointFieldArrayStatus(const char* name, int status) // ---------------------------------------------------------------------- // lagrangianField selection list control -vtkDataArraySelection* vtkPVFoamReader::GetLagrangianFieldSelection() +vtkDataArraySelection* vtkPV4FoamReader::GetLagrangianFieldSelection() { vtkDebugMacro(<<"GetLagrangianFieldSelection"); return LagrangianFieldSelection; } -int vtkPVFoamReader::GetNumberOfLagrangianFieldArrays() +int vtkPV4FoamReader::GetNumberOfLagrangianFieldArrays() { vtkDebugMacro(<<"GetNumberOfLagrangianFieldArrays"); return LagrangianFieldSelection->GetNumberOfArrays(); } -const char* vtkPVFoamReader::GetLagrangianFieldArrayName(int index) +const char* vtkPV4FoamReader::GetLagrangianFieldArrayName(int index) { vtkDebugMacro(<<"GetLagrangianFieldArrayName"); return LagrangianFieldSelection->GetArrayName(index); } -int vtkPVFoamReader::GetLagrangianFieldArrayStatus(const char* name) +int vtkPV4FoamReader::GetLagrangianFieldArrayStatus(const char* name) { vtkDebugMacro(<<"GetLagrangianFieldArrayStatus"); return LagrangianFieldSelection->ArrayIsEnabled(name); } -void vtkPVFoamReader::SetLagrangianFieldArrayStatus +void vtkPV4FoamReader::SetLagrangianFieldArrayStatus ( const char* name, int status @@ -646,7 +645,7 @@ void vtkPVFoamReader::SetLagrangianFieldArrayStatus // ---------------------------------------------------------------------- -void vtkPVFoamReader::SelectionModifiedCallback +void vtkPV4FoamReader::SelectionModifiedCallback ( vtkObject*, unsigned long, @@ -654,18 +653,18 @@ void vtkPVFoamReader::SelectionModifiedCallback void* ) { - static_cast(clientdata)->SelectionModified(); + static_cast(clientdata)->SelectionModified(); } -void vtkPVFoamReader::SelectionModified() +void vtkPV4FoamReader::SelectionModified() { vtkDebugMacro(<<"SelectionModified"); Modified(); } -int vtkPVFoamReader::FillOutputPortInformation +int vtkPV4FoamReader::FillOutputPortInformation ( int port, vtkInformation* info diff --git a/applications/utilities/postProcessing/graphics/ensightFoamReader/CMakeLists.txt b/applications/utilities/postProcessing/graphics/ensightFoamReader/CMakeLists.txt index 6096b9340..2addb8407 100644 --- a/applications/utilities/postProcessing/graphics/ensightFoamReader/CMakeLists.txt +++ b/applications/utilities/postProcessing/graphics/ensightFoamReader/CMakeLists.txt @@ -30,12 +30,10 @@ # # -------------------------------------------------------------------------- -list(APPEND sources +list(APPEND SOURCES libuserd.C ) -add_foam_library(userd-foam SHARED ${sources}) +add_foam_library(userd-foam SHARED ${SOURCES}) -# This is a prototype! Replace second argument with a list of the highest -# dependencies only. Inherited dependencies will be treated automatically. target_link_libraries(userd-foam finiteVolume lagrangianBasic) diff --git a/applications/utilities/postProcessing/graphics/fieldview9Reader/CMakeLists.txt b/applications/utilities/postProcessing/graphics/fieldview9Reader/CMakeLists.txt index 5becc8820..03a5d898f 100644 --- a/applications/utilities/postProcessing/graphics/fieldview9Reader/CMakeLists.txt +++ b/applications/utilities/postProcessing/graphics/fieldview9Reader/CMakeLists.txt @@ -30,7 +30,7 @@ # # -------------------------------------------------------------------------- -list(APPEND sources +list(APPEND SOURCES errno.c readerDatabase.C fieldview9Reader.C @@ -44,5 +44,5 @@ endif() add_foam_executable(fvbinFoam # DEPENDS finiteVolume - SOURCES ${sources} + SOURCES ${SOURCES} ) diff --git a/applications/utilities/postProcessing/graphics/newEnsightFoamReader/CMakeLists.txt b/applications/utilities/postProcessing/graphics/newEnsightFoamReader/CMakeLists.txt index 512bf3a77..389b4474c 100644 --- a/applications/utilities/postProcessing/graphics/newEnsightFoamReader/CMakeLists.txt +++ b/applications/utilities/postProcessing/graphics/newEnsightFoamReader/CMakeLists.txt @@ -30,12 +30,10 @@ # # -------------------------------------------------------------------------- -list(APPEND sources +list(APPEND SOURCES libuserd.C ) -add_foam_library(userd-newFoam SHARED ${sources}) +add_foam_library(userd-newFoam SHARED ${SOURCES}) -# This is a prototype! Replace second argument with a list of the highest -# dependencies only. Inherited dependencies will be treated automatically. target_link_libraries(userd-newFoam PUBLIC finiteVolume finiteArea lagrangianBasic) diff --git a/applications/utilities/postProcessing/lagrangian/particleTracks/CMakeLists.txt b/applications/utilities/postProcessing/lagrangian/particleTracks/CMakeLists.txt index 58676b4d2..c8ea16d41 100644 --- a/applications/utilities/postProcessing/lagrangian/particleTracks/CMakeLists.txt +++ b/applications/utilities/postProcessing/lagrangian/particleTracks/CMakeLists.txt @@ -30,7 +30,7 @@ # # -------------------------------------------------------------------------- -list(APPEND sources +list(APPEND SOURCES particleTracks.C ) @@ -42,5 +42,5 @@ endif() add_foam_executable(particleTracks DEPENDS finiteVolume lagrangianBasic - SOURCES ${sources} + SOURCES ${SOURCES} ) diff --git a/applications/utilities/postProcessing/miscellaneous/calcLevelSet/CMakeLists.txt b/applications/utilities/postProcessing/miscellaneous/calcLevelSet/CMakeLists.txt index 7e8ff2511..843313997 100644 --- a/applications/utilities/postProcessing/miscellaneous/calcLevelSet/CMakeLists.txt +++ b/applications/utilities/postProcessing/miscellaneous/calcLevelSet/CMakeLists.txt @@ -30,7 +30,7 @@ # # -------------------------------------------------------------------------- -list(APPEND sources +list(APPEND SOURCES calcLevelSet.C ) @@ -42,5 +42,5 @@ endif() add_foam_executable(calcLevelSet DEPENDS finiteVolume - SOURCES ${sources} + SOURCES ${SOURCES} ) diff --git a/applications/utilities/postProcessing/miscellaneous/dsmcFieldsCalc/CMakeLists.txt b/applications/utilities/postProcessing/miscellaneous/dsmcFieldsCalc/CMakeLists.txt index 504d076e0..b8ccce56a 100644 --- a/applications/utilities/postProcessing/miscellaneous/dsmcFieldsCalc/CMakeLists.txt +++ b/applications/utilities/postProcessing/miscellaneous/dsmcFieldsCalc/CMakeLists.txt @@ -30,7 +30,7 @@ # # -------------------------------------------------------------------------- -list(APPEND sources +list(APPEND SOURCES dsmcFieldsCalc.C ) @@ -42,5 +42,5 @@ endif() add_foam_executable(dsmcFieldsCalc DEPENDS postCalc utilityFunctionObjects dsmc - SOURCES ${sources} + SOURCES ${SOURCES} ) diff --git a/applications/utilities/postProcessing/miscellaneous/engineCompRatio/CMakeLists.txt b/applications/utilities/postProcessing/miscellaneous/engineCompRatio/CMakeLists.txt index 9c0ccd653..ccea414db 100644 --- a/applications/utilities/postProcessing/miscellaneous/engineCompRatio/CMakeLists.txt +++ b/applications/utilities/postProcessing/miscellaneous/engineCompRatio/CMakeLists.txt @@ -30,7 +30,7 @@ # # -------------------------------------------------------------------------- -list(APPEND sources +list(APPEND SOURCES engineCompRatio.C ) @@ -42,5 +42,5 @@ endif() add_foam_executable(engineCompRatio DEPENDS engine - SOURCES ${sources} + SOURCES ${SOURCES} ) diff --git a/applications/utilities/postProcessing/miscellaneous/execFlowFunctionObjects/CMakeLists.txt b/applications/utilities/postProcessing/miscellaneous/execFlowFunctionObjects/CMakeLists.txt index 491e3dd95..ddb8c56da 100644 --- a/applications/utilities/postProcessing/miscellaneous/execFlowFunctionObjects/CMakeLists.txt +++ b/applications/utilities/postProcessing/miscellaneous/execFlowFunctionObjects/CMakeLists.txt @@ -30,7 +30,7 @@ # # -------------------------------------------------------------------------- -list(APPEND sources +list(APPEND SOURCES execFlowFunctionObjects.C ) @@ -42,5 +42,5 @@ endif() add_foam_executable(execFlowFunctionObjects DEPENDS postCalc incompressibleRASModels incompressibleLESModels compressibleRASModels compressibleLESModels - SOURCES ${sources} + SOURCES ${SOURCES} ) diff --git a/applications/utilities/postProcessing/miscellaneous/pdfPlot/CMakeLists.txt b/applications/utilities/postProcessing/miscellaneous/pdfPlot/CMakeLists.txt index dfb46b661..457ac6f6c 100644 --- a/applications/utilities/postProcessing/miscellaneous/pdfPlot/CMakeLists.txt +++ b/applications/utilities/postProcessing/miscellaneous/pdfPlot/CMakeLists.txt @@ -30,7 +30,7 @@ # # -------------------------------------------------------------------------- -list(APPEND sources +list(APPEND SOURCES pdfPlot.C ) @@ -42,5 +42,5 @@ endif() add_foam_executable(pdfPlot DEPENDS finiteVolume pdf - SOURCES ${sources} + SOURCES ${SOURCES} ) diff --git a/applications/utilities/postProcessing/miscellaneous/postChannel/CMakeLists.txt b/applications/utilities/postProcessing/miscellaneous/postChannel/CMakeLists.txt index 850ba6342..c357d54ed 100644 --- a/applications/utilities/postProcessing/miscellaneous/postChannel/CMakeLists.txt +++ b/applications/utilities/postProcessing/miscellaneous/postChannel/CMakeLists.txt @@ -30,7 +30,7 @@ # # -------------------------------------------------------------------------- -list(APPEND sources +list(APPEND SOURCES postChannel.C channelIndex.C ) @@ -43,5 +43,5 @@ endif() add_foam_executable(postChannel DEPENDS sampling - SOURCES ${sources} + SOURCES ${SOURCES} ) diff --git a/applications/utilities/postProcessing/miscellaneous/ptot/CMakeLists.txt b/applications/utilities/postProcessing/miscellaneous/ptot/CMakeLists.txt index 28f8033ff..86198e6c1 100644 --- a/applications/utilities/postProcessing/miscellaneous/ptot/CMakeLists.txt +++ b/applications/utilities/postProcessing/miscellaneous/ptot/CMakeLists.txt @@ -30,7 +30,7 @@ # # -------------------------------------------------------------------------- -list(APPEND sources +list(APPEND SOURCES ptot.C ) @@ -42,5 +42,5 @@ endif() add_foam_executable(ptot DEPENDS finiteVolume - SOURCES ${sources} + SOURCES ${SOURCES} ) diff --git a/applications/utilities/postProcessing/miscellaneous/wdot/CMakeLists.txt b/applications/utilities/postProcessing/miscellaneous/wdot/CMakeLists.txt index 9dc8e59c4..06e7c5539 100644 --- a/applications/utilities/postProcessing/miscellaneous/wdot/CMakeLists.txt +++ b/applications/utilities/postProcessing/miscellaneous/wdot/CMakeLists.txt @@ -30,7 +30,7 @@ # # -------------------------------------------------------------------------- -list(APPEND sources +list(APPEND SOURCES wdot.C ) @@ -42,5 +42,5 @@ endif() add_foam_executable(wdot DEPENDS finiteVolume - SOURCES ${sources} + SOURCES ${SOURCES} ) diff --git a/applications/utilities/postProcessing/miscellaneous/writeCellCentres/CMakeLists.txt b/applications/utilities/postProcessing/miscellaneous/writeCellCentres/CMakeLists.txt index b672010b8..bb902dde3 100644 --- a/applications/utilities/postProcessing/miscellaneous/writeCellCentres/CMakeLists.txt +++ b/applications/utilities/postProcessing/miscellaneous/writeCellCentres/CMakeLists.txt @@ -30,7 +30,7 @@ # # -------------------------------------------------------------------------- -list(APPEND sources +list(APPEND SOURCES writeCellCentres.C ) @@ -42,5 +42,5 @@ endif() add_foam_executable(writeCellCentres DEPENDS finiteVolume - SOURCES ${sources} + SOURCES ${SOURCES} ) diff --git a/applications/utilities/postProcessing/multiSolver/CMakeLists.txt b/applications/utilities/postProcessing/multiSolver/CMakeLists.txt index 2eee6d38e..cbef3e05a 100644 --- a/applications/utilities/postProcessing/multiSolver/CMakeLists.txt +++ b/applications/utilities/postProcessing/multiSolver/CMakeLists.txt @@ -30,7 +30,7 @@ # # -------------------------------------------------------------------------- -list(APPEND sources +list(APPEND SOURCES multiSolver.C ) @@ -42,5 +42,5 @@ endif() add_foam_executable(multiSolver DEPENDS finiteVolume multiSolverLib - SOURCES ${sources} + SOURCES ${SOURCES} ) diff --git a/applications/utilities/postProcessing/patch/patchAverage/CMakeLists.txt b/applications/utilities/postProcessing/patch/patchAverage/CMakeLists.txt index bc83b9bce..58c1bb4fe 100644 --- a/applications/utilities/postProcessing/patch/patchAverage/CMakeLists.txt +++ b/applications/utilities/postProcessing/patch/patchAverage/CMakeLists.txt @@ -30,7 +30,7 @@ # # -------------------------------------------------------------------------- -list(APPEND sources +list(APPEND SOURCES patchAverage.C ) @@ -42,5 +42,5 @@ endif() add_foam_executable(patchAverage DEPENDS finiteVolume - SOURCES ${sources} + SOURCES ${SOURCES} ) diff --git a/applications/utilities/postProcessing/patch/patchIntegrate/CMakeLists.txt b/applications/utilities/postProcessing/patch/patchIntegrate/CMakeLists.txt index 9c9928f54..85b5c5fd2 100644 --- a/applications/utilities/postProcessing/patch/patchIntegrate/CMakeLists.txt +++ b/applications/utilities/postProcessing/patch/patchIntegrate/CMakeLists.txt @@ -30,7 +30,7 @@ # # -------------------------------------------------------------------------- -list(APPEND sources +list(APPEND SOURCES patchIntegrate.C ) @@ -42,5 +42,5 @@ endif() add_foam_executable(patchIntegrate DEPENDS finiteVolume - SOURCES ${sources} + SOURCES ${SOURCES} ) diff --git a/applications/utilities/postProcessing/sampling/probeLocations/CMakeLists.txt b/applications/utilities/postProcessing/sampling/probeLocations/CMakeLists.txt index f2158ce6e..94f0ad1db 100644 --- a/applications/utilities/postProcessing/sampling/probeLocations/CMakeLists.txt +++ b/applications/utilities/postProcessing/sampling/probeLocations/CMakeLists.txt @@ -30,7 +30,7 @@ # # -------------------------------------------------------------------------- -list(APPEND sources +list(APPEND SOURCES probeLocations.C ) @@ -42,5 +42,5 @@ endif() add_foam_executable(probeLocations DEPENDS sampling - SOURCES ${sources} + SOURCES ${SOURCES} ) diff --git a/applications/utilities/postProcessing/sampling/sample/CMakeLists.txt b/applications/utilities/postProcessing/sampling/sample/CMakeLists.txt index eaac1d4db..8b66c021d 100644 --- a/applications/utilities/postProcessing/sampling/sample/CMakeLists.txt +++ b/applications/utilities/postProcessing/sampling/sample/CMakeLists.txt @@ -30,7 +30,7 @@ # # -------------------------------------------------------------------------- -list(APPEND sources +list(APPEND SOURCES sample.C ) @@ -42,5 +42,5 @@ endif() add_foam_executable(sample DEPENDS sampling - SOURCES ${sources} + SOURCES ${SOURCES} ) diff --git a/applications/utilities/postProcessing/scalarField/pPrime2/CMakeLists.txt b/applications/utilities/postProcessing/scalarField/pPrime2/CMakeLists.txt index 189b734e6..ceb3bf3ca 100644 --- a/applications/utilities/postProcessing/scalarField/pPrime2/CMakeLists.txt +++ b/applications/utilities/postProcessing/scalarField/pPrime2/CMakeLists.txt @@ -30,7 +30,7 @@ # # -------------------------------------------------------------------------- -list(APPEND sources +list(APPEND SOURCES pPrime2.C ) @@ -42,5 +42,5 @@ endif() add_foam_executable(pPrime2 DEPENDS finiteVolume - SOURCES ${sources} + SOURCES ${SOURCES} ) diff --git a/applications/utilities/postProcessing/stressField/calcPTot/CMakeLists.txt b/applications/utilities/postProcessing/stressField/calcPTot/CMakeLists.txt index 7081e2bf3..62eb1b605 100644 --- a/applications/utilities/postProcessing/stressField/calcPTot/CMakeLists.txt +++ b/applications/utilities/postProcessing/stressField/calcPTot/CMakeLists.txt @@ -30,7 +30,7 @@ # # -------------------------------------------------------------------------- -list(APPEND sources +list(APPEND SOURCES calcPTot.C ) @@ -42,5 +42,5 @@ endif() add_foam_executable(calcPTot DEPENDS interfaceProperties incompressibleTransportModels - SOURCES ${sources} + SOURCES ${SOURCES} ) diff --git a/applications/utilities/postProcessing/stressField/interFoamPressure/CMakeLists.txt b/applications/utilities/postProcessing/stressField/interFoamPressure/CMakeLists.txt index b9d23f3bb..4d864a331 100644 --- a/applications/utilities/postProcessing/stressField/interFoamPressure/CMakeLists.txt +++ b/applications/utilities/postProcessing/stressField/interFoamPressure/CMakeLists.txt @@ -30,7 +30,7 @@ # # -------------------------------------------------------------------------- -list(APPEND sources +list(APPEND SOURCES interFoamPressure.C ) @@ -42,5 +42,5 @@ endif() add_foam_executable(interFoamPressure DEPENDS interfaceProperties incompressibleTransportModels - SOURCES ${sources} + SOURCES ${SOURCES} ) diff --git a/applications/utilities/postProcessing/stressField/solidStress/CMakeLists.txt b/applications/utilities/postProcessing/stressField/solidStress/CMakeLists.txt index be2fb10dd..dcdfbfa24 100644 --- a/applications/utilities/postProcessing/stressField/solidStress/CMakeLists.txt +++ b/applications/utilities/postProcessing/stressField/solidStress/CMakeLists.txt @@ -30,7 +30,7 @@ # # -------------------------------------------------------------------------- -list(APPEND sources +list(APPEND SOURCES solidStress.C ) @@ -42,5 +42,5 @@ endif() add_foam_executable(solidStress DEPENDS finiteVolume - SOURCES ${sources} + SOURCES ${SOURCES} ) diff --git a/applications/utilities/postProcessing/stressField/stressComponents/CMakeLists.txt b/applications/utilities/postProcessing/stressField/stressComponents/CMakeLists.txt index fcc467ac9..5bf9455f9 100644 --- a/applications/utilities/postProcessing/stressField/stressComponents/CMakeLists.txt +++ b/applications/utilities/postProcessing/stressField/stressComponents/CMakeLists.txt @@ -30,7 +30,7 @@ # # -------------------------------------------------------------------------- -list(APPEND sources +list(APPEND SOURCES stressComponents.C ) @@ -42,5 +42,5 @@ endif() add_foam_executable(stressComponents DEPENDS incompressibleRASModels incompressibleTransportModels - SOURCES ${sources} + SOURCES ${SOURCES} ) diff --git a/applications/utilities/postProcessing/turbulence/R/CMakeLists.txt b/applications/utilities/postProcessing/turbulence/R/CMakeLists.txt index 45f041004..2f811a95e 100644 --- a/applications/utilities/postProcessing/turbulence/R/CMakeLists.txt +++ b/applications/utilities/postProcessing/turbulence/R/CMakeLists.txt @@ -30,7 +30,7 @@ # # -------------------------------------------------------------------------- -list(APPEND sources +list(APPEND SOURCES R.C ) @@ -42,5 +42,5 @@ endif() add_foam_executable(R DEPENDS incompressibleRASModels - SOURCES ${sources} + SOURCES ${SOURCES} ) diff --git a/applications/utilities/postProcessing/turbulence/createTurbulenceFields/CMakeLists.txt b/applications/utilities/postProcessing/turbulence/createTurbulenceFields/CMakeLists.txt index 8e67cbc59..54f9b4485 100644 --- a/applications/utilities/postProcessing/turbulence/createTurbulenceFields/CMakeLists.txt +++ b/applications/utilities/postProcessing/turbulence/createTurbulenceFields/CMakeLists.txt @@ -30,7 +30,7 @@ # # -------------------------------------------------------------------------- -list(APPEND sources +list(APPEND SOURCES createTurbulenceFields.C ) @@ -42,5 +42,5 @@ endif() add_foam_executable(createTurbulenceFields DEPENDS incompressibleRASModels - SOURCES ${sources} + SOURCES ${SOURCES} ) diff --git a/applications/utilities/postProcessing/velocityField/Co/CMakeLists.txt b/applications/utilities/postProcessing/velocityField/Co/CMakeLists.txt index 25e4032da..5f66467e8 100644 --- a/applications/utilities/postProcessing/velocityField/Co/CMakeLists.txt +++ b/applications/utilities/postProcessing/velocityField/Co/CMakeLists.txt @@ -30,7 +30,7 @@ # # -------------------------------------------------------------------------- -list(APPEND sources +list(APPEND SOURCES Co.C ) @@ -42,5 +42,5 @@ endif() add_foam_executable(Co DEPENDS postCalc - SOURCES ${sources} + SOURCES ${SOURCES} ) diff --git a/applications/utilities/postProcessing/velocityField/Lambda2/CMakeLists.txt b/applications/utilities/postProcessing/velocityField/Lambda2/CMakeLists.txt index 0111a65b0..df8cda3c7 100644 --- a/applications/utilities/postProcessing/velocityField/Lambda2/CMakeLists.txt +++ b/applications/utilities/postProcessing/velocityField/Lambda2/CMakeLists.txt @@ -30,7 +30,7 @@ # # -------------------------------------------------------------------------- -list(APPEND sources +list(APPEND SOURCES Lambda2.C ) @@ -42,5 +42,5 @@ endif() add_foam_executable(Lambda2 DEPENDS postCalc - SOURCES ${sources} + SOURCES ${SOURCES} ) diff --git a/applications/utilities/postProcessing/velocityField/Mach/CMakeLists.txt b/applications/utilities/postProcessing/velocityField/Mach/CMakeLists.txt index 6dcf7d009..bbf0199f3 100644 --- a/applications/utilities/postProcessing/velocityField/Mach/CMakeLists.txt +++ b/applications/utilities/postProcessing/velocityField/Mach/CMakeLists.txt @@ -30,7 +30,7 @@ # # -------------------------------------------------------------------------- -list(APPEND sources +list(APPEND SOURCES Mach.C ) @@ -42,5 +42,5 @@ endif() add_foam_executable(Mach DEPENDS postCalc reactionThermophysicalModels - SOURCES ${sources} + SOURCES ${SOURCES} ) diff --git a/applications/utilities/postProcessing/velocityField/Pe/CMakeLists.txt b/applications/utilities/postProcessing/velocityField/Pe/CMakeLists.txt index d7fb4190f..aee45c43e 100644 --- a/applications/utilities/postProcessing/velocityField/Pe/CMakeLists.txt +++ b/applications/utilities/postProcessing/velocityField/Pe/CMakeLists.txt @@ -30,7 +30,7 @@ # # -------------------------------------------------------------------------- -list(APPEND sources +list(APPEND SOURCES Pe.C ) @@ -42,5 +42,5 @@ endif() add_foam_executable(Pe DEPENDS postCalc incompressibleRASModels incompressibleLESModels compressibleRASModels compressibleLESModels - SOURCES ${sources} + SOURCES ${SOURCES} ) diff --git a/applications/utilities/postProcessing/velocityField/Q/CMakeLists.txt b/applications/utilities/postProcessing/velocityField/Q/CMakeLists.txt index d646ba4d1..fa21a3551 100644 --- a/applications/utilities/postProcessing/velocityField/Q/CMakeLists.txt +++ b/applications/utilities/postProcessing/velocityField/Q/CMakeLists.txt @@ -30,7 +30,7 @@ # # -------------------------------------------------------------------------- -list(APPEND sources +list(APPEND SOURCES Q.C ) @@ -42,5 +42,5 @@ endif() add_foam_executable(Q DEPENDS postCalc - SOURCES ${sources} + SOURCES ${SOURCES} ) diff --git a/applications/utilities/postProcessing/velocityField/enstrophy/CMakeLists.txt b/applications/utilities/postProcessing/velocityField/enstrophy/CMakeLists.txt index 2c20b166e..0fca5cdfa 100644 --- a/applications/utilities/postProcessing/velocityField/enstrophy/CMakeLists.txt +++ b/applications/utilities/postProcessing/velocityField/enstrophy/CMakeLists.txt @@ -30,7 +30,7 @@ # # -------------------------------------------------------------------------- -list(APPEND sources +list(APPEND SOURCES enstrophy.C ) @@ -42,5 +42,5 @@ endif() add_foam_executable(enstrophy DEPENDS postCalc - SOURCES ${sources} + SOURCES ${SOURCES} ) diff --git a/applications/utilities/postProcessing/velocityField/flowType/CMakeLists.txt b/applications/utilities/postProcessing/velocityField/flowType/CMakeLists.txt index acdf74f66..b6f36c465 100644 --- a/applications/utilities/postProcessing/velocityField/flowType/CMakeLists.txt +++ b/applications/utilities/postProcessing/velocityField/flowType/CMakeLists.txt @@ -30,7 +30,7 @@ # # -------------------------------------------------------------------------- -list(APPEND sources +list(APPEND SOURCES flowType.C ) @@ -42,5 +42,5 @@ endif() add_foam_executable(flowType DEPENDS postCalc - SOURCES ${sources} + SOURCES ${SOURCES} ) diff --git a/applications/utilities/postProcessing/velocityField/streamFunction/CMakeLists.txt b/applications/utilities/postProcessing/velocityField/streamFunction/CMakeLists.txt index edad653b4..48fc08b00 100644 --- a/applications/utilities/postProcessing/velocityField/streamFunction/CMakeLists.txt +++ b/applications/utilities/postProcessing/velocityField/streamFunction/CMakeLists.txt @@ -30,7 +30,7 @@ # # -------------------------------------------------------------------------- -list(APPEND sources +list(APPEND SOURCES streamFunction.C ) @@ -42,5 +42,5 @@ endif() add_foam_executable(streamFunction DEPENDS postCalc - SOURCES ${sources} + SOURCES ${SOURCES} ) diff --git a/applications/utilities/postProcessing/velocityField/uprime/CMakeLists.txt b/applications/utilities/postProcessing/velocityField/uprime/CMakeLists.txt index 112e079ef..c031dab1c 100644 --- a/applications/utilities/postProcessing/velocityField/uprime/CMakeLists.txt +++ b/applications/utilities/postProcessing/velocityField/uprime/CMakeLists.txt @@ -30,7 +30,7 @@ # # -------------------------------------------------------------------------- -list(APPEND sources +list(APPEND SOURCES uprime.C ) @@ -42,5 +42,5 @@ endif() add_foam_executable(uprime DEPENDS postCalc - SOURCES ${sources} + SOURCES ${SOURCES} ) diff --git a/applications/utilities/postProcessing/velocityField/vorticity/CMakeLists.txt b/applications/utilities/postProcessing/velocityField/vorticity/CMakeLists.txt index 9ec2fcea1..7edb82ca8 100644 --- a/applications/utilities/postProcessing/velocityField/vorticity/CMakeLists.txt +++ b/applications/utilities/postProcessing/velocityField/vorticity/CMakeLists.txt @@ -30,7 +30,7 @@ # # -------------------------------------------------------------------------- -list(APPEND sources +list(APPEND SOURCES vorticity.C ) @@ -42,5 +42,5 @@ endif() add_foam_executable(vorticity DEPENDS postCalc - SOURCES ${sources} + SOURCES ${SOURCES} ) diff --git a/applications/utilities/postProcessing/viscoelastic/PSD/CMakeLists.txt b/applications/utilities/postProcessing/viscoelastic/PSD/CMakeLists.txt index 6da419ae5..c330f25ea 100644 --- a/applications/utilities/postProcessing/viscoelastic/PSD/CMakeLists.txt +++ b/applications/utilities/postProcessing/viscoelastic/PSD/CMakeLists.txt @@ -30,7 +30,7 @@ # # -------------------------------------------------------------------------- -list(APPEND sources +list(APPEND SOURCES PSD.C ) @@ -42,5 +42,5 @@ endif() add_foam_executable(PSD DEPENDS finiteVolume - SOURCES ${sources} + SOURCES ${SOURCES} ) diff --git a/applications/utilities/postProcessing/viscoelastic/stressDifferences/CMakeLists.txt b/applications/utilities/postProcessing/viscoelastic/stressDifferences/CMakeLists.txt index b5ae8d4ae..8daa8bdd8 100644 --- a/applications/utilities/postProcessing/viscoelastic/stressDifferences/CMakeLists.txt +++ b/applications/utilities/postProcessing/viscoelastic/stressDifferences/CMakeLists.txt @@ -30,7 +30,7 @@ # # -------------------------------------------------------------------------- -list(APPEND sources +list(APPEND SOURCES stressDifferences.C ) @@ -42,5 +42,5 @@ endif() add_foam_executable(stressDifferences DEPENDS finiteVolume - SOURCES ${sources} + SOURCES ${SOURCES} ) diff --git a/applications/utilities/postProcessing/viscoelastic/stressSymmComponents/CMakeLists.txt b/applications/utilities/postProcessing/viscoelastic/stressSymmComponents/CMakeLists.txt index bec312fa1..521f1725e 100644 --- a/applications/utilities/postProcessing/viscoelastic/stressSymmComponents/CMakeLists.txt +++ b/applications/utilities/postProcessing/viscoelastic/stressSymmComponents/CMakeLists.txt @@ -30,7 +30,7 @@ # # -------------------------------------------------------------------------- -list(APPEND sources +list(APPEND SOURCES stressSymmComponents.C ) @@ -42,5 +42,5 @@ endif() add_foam_executable(stressSymmComponents DEPENDS finiteVolume - SOURCES ${sources} + SOURCES ${SOURCES} ) diff --git a/applications/utilities/postProcessing/wall/wallGradU/CMakeLists.txt b/applications/utilities/postProcessing/wall/wallGradU/CMakeLists.txt index 2848cc807..5eb439908 100644 --- a/applications/utilities/postProcessing/wall/wallGradU/CMakeLists.txt +++ b/applications/utilities/postProcessing/wall/wallGradU/CMakeLists.txt @@ -30,7 +30,7 @@ # # -------------------------------------------------------------------------- -list(APPEND sources +list(APPEND SOURCES wallGradU.C ) @@ -42,5 +42,5 @@ endif() add_foam_executable(wallGradU DEPENDS finiteVolume - SOURCES ${sources} + SOURCES ${SOURCES} ) diff --git a/applications/utilities/postProcessing/wall/wallHeatFlux/CMakeLists.txt b/applications/utilities/postProcessing/wall/wallHeatFlux/CMakeLists.txt index a06b9cae4..528726b7c 100644 --- a/applications/utilities/postProcessing/wall/wallHeatFlux/CMakeLists.txt +++ b/applications/utilities/postProcessing/wall/wallHeatFlux/CMakeLists.txt @@ -30,7 +30,7 @@ # # -------------------------------------------------------------------------- -list(APPEND sources +list(APPEND SOURCES wallHeatFlux.C ) @@ -42,5 +42,5 @@ endif() add_foam_executable(wallHeatFlux DEPENDS reactionThermophysicalModels compressibleRASModels - SOURCES ${sources} + SOURCES ${SOURCES} ) diff --git a/applications/utilities/postProcessing/wall/wallShearStress/CMakeLists.txt b/applications/utilities/postProcessing/wall/wallShearStress/CMakeLists.txt index a36a8a949..be75326a3 100644 --- a/applications/utilities/postProcessing/wall/wallShearStress/CMakeLists.txt +++ b/applications/utilities/postProcessing/wall/wallShearStress/CMakeLists.txt @@ -30,7 +30,7 @@ # # -------------------------------------------------------------------------- -list(APPEND sources +list(APPEND SOURCES wallShearStress.C ) @@ -42,5 +42,5 @@ endif() add_foam_executable(wallShearStress DEPENDS incompressibleRASModels compressibleRASModels - SOURCES ${sources} + SOURCES ${SOURCES} ) diff --git a/applications/utilities/postProcessing/wall/yPlusLES/CMakeLists.txt b/applications/utilities/postProcessing/wall/yPlusLES/CMakeLists.txt index 6713d64af..5b3bbc6b5 100644 --- a/applications/utilities/postProcessing/wall/yPlusLES/CMakeLists.txt +++ b/applications/utilities/postProcessing/wall/yPlusLES/CMakeLists.txt @@ -30,7 +30,7 @@ # # -------------------------------------------------------------------------- -list(APPEND sources +list(APPEND SOURCES yPlusLES.C ) @@ -42,5 +42,5 @@ endif() add_foam_executable(yPlusLES DEPENDS incompressibleLESModels - SOURCES ${sources} + SOURCES ${SOURCES} ) diff --git a/applications/utilities/postProcessing/wall/yPlusRAS/CMakeLists.txt b/applications/utilities/postProcessing/wall/yPlusRAS/CMakeLists.txt index 9eb636d1f..6a7c0f8a1 100644 --- a/applications/utilities/postProcessing/wall/yPlusRAS/CMakeLists.txt +++ b/applications/utilities/postProcessing/wall/yPlusRAS/CMakeLists.txt @@ -30,7 +30,7 @@ # # -------------------------------------------------------------------------- -list(APPEND sources +list(APPEND SOURCES yPlusRAS.C ) @@ -42,5 +42,5 @@ endif() add_foam_executable(yPlusRAS DEPENDS incompressibleRASModels compressibleRASModels - SOURCES ${sources} + SOURCES ${SOURCES} ) diff --git a/applications/utilities/preProcessing/applyBoundaryLayer/CMakeLists.txt b/applications/utilities/preProcessing/applyBoundaryLayer/CMakeLists.txt index 7961fcc92..31cd15c05 100644 --- a/applications/utilities/preProcessing/applyBoundaryLayer/CMakeLists.txt +++ b/applications/utilities/preProcessing/applyBoundaryLayer/CMakeLists.txt @@ -30,7 +30,7 @@ # # -------------------------------------------------------------------------- -list(APPEND sources +list(APPEND SOURCES applyBoundaryLayer.C ) @@ -42,5 +42,5 @@ endif() add_foam_executable(applyBoundaryLayer DEPENDS finiteVolume - SOURCES ${sources} + SOURCES ${SOURCES} ) diff --git a/applications/utilities/preProcessing/applyWallFunctionBoundaryConditions/CMakeLists.txt b/applications/utilities/preProcessing/applyWallFunctionBoundaryConditions/CMakeLists.txt index 6155b75f9..1ce0e5909 100644 --- a/applications/utilities/preProcessing/applyWallFunctionBoundaryConditions/CMakeLists.txt +++ b/applications/utilities/preProcessing/applyWallFunctionBoundaryConditions/CMakeLists.txt @@ -30,7 +30,7 @@ # # -------------------------------------------------------------------------- -list(APPEND sources +list(APPEND SOURCES applyWallFunctionBoundaryConditions.C ) @@ -42,5 +42,5 @@ endif() add_foam_executable(applyWallFunctionBoundaryConditions DEPENDS incompressibleRASModels compressibleRASModels - SOURCES ${sources} + SOURCES ${SOURCES} ) diff --git a/applications/utilities/preProcessing/boxTurb/CMakeLists.txt b/applications/utilities/preProcessing/boxTurb/CMakeLists.txt index dcdc26055..3400a7828 100644 --- a/applications/utilities/preProcessing/boxTurb/CMakeLists.txt +++ b/applications/utilities/preProcessing/boxTurb/CMakeLists.txt @@ -30,7 +30,7 @@ # # -------------------------------------------------------------------------- -list(APPEND sources +list(APPEND SOURCES boxTurb.C ) @@ -42,5 +42,5 @@ endif() add_foam_executable(boxTurb DEPENDS finiteVolume randomProcesses - SOURCES ${sources} + SOURCES ${SOURCES} ) diff --git a/applications/utilities/preProcessing/changeDictionary/CMakeLists.txt b/applications/utilities/preProcessing/changeDictionary/CMakeLists.txt index 947ce8630..5ec5764e2 100644 --- a/applications/utilities/preProcessing/changeDictionary/CMakeLists.txt +++ b/applications/utilities/preProcessing/changeDictionary/CMakeLists.txt @@ -30,7 +30,7 @@ # # -------------------------------------------------------------------------- -list(APPEND sources +list(APPEND SOURCES changeDictionary.C ) @@ -42,5 +42,5 @@ endif() add_foam_executable(changeDictionary DEPENDS finiteVolume - SOURCES ${sources} + SOURCES ${SOURCES} ) diff --git a/applications/utilities/preProcessing/convertPhi/CMakeLists.txt b/applications/utilities/preProcessing/convertPhi/CMakeLists.txt index 7d5c97161..af7f9f90e 100644 --- a/applications/utilities/preProcessing/convertPhi/CMakeLists.txt +++ b/applications/utilities/preProcessing/convertPhi/CMakeLists.txt @@ -30,7 +30,7 @@ # # -------------------------------------------------------------------------- -list(APPEND sources +list(APPEND SOURCES convertPhi.C ) @@ -42,5 +42,5 @@ endif() add_foam_executable(convertPhi DEPENDS finiteVolume - SOURCES ${sources} + SOURCES ${SOURCES} ) diff --git a/applications/utilities/preProcessing/dsmcInitialise/CMakeLists.txt b/applications/utilities/preProcessing/dsmcInitialise/CMakeLists.txt index 0b8e13d9e..17cb6c458 100644 --- a/applications/utilities/preProcessing/dsmcInitialise/CMakeLists.txt +++ b/applications/utilities/preProcessing/dsmcInitialise/CMakeLists.txt @@ -30,7 +30,7 @@ # # -------------------------------------------------------------------------- -list(APPEND sources +list(APPEND SOURCES dsmcInitialise.C ) @@ -42,5 +42,5 @@ endif() add_foam_executable(dsmcInitialise DEPENDS dsmc - SOURCES ${sources} + SOURCES ${SOURCES} ) diff --git a/applications/utilities/preProcessing/engineSwirl/CMakeLists.txt b/applications/utilities/preProcessing/engineSwirl/CMakeLists.txt index b5c4009d6..bc7eb070e 100644 --- a/applications/utilities/preProcessing/engineSwirl/CMakeLists.txt +++ b/applications/utilities/preProcessing/engineSwirl/CMakeLists.txt @@ -30,7 +30,7 @@ # # -------------------------------------------------------------------------- -list(APPEND sources +list(APPEND SOURCES engineSwirl.C ) @@ -42,5 +42,5 @@ endif() add_foam_executable(engineSwirl DEPENDS finiteVolume - SOURCES ${sources} + SOURCES ${SOURCES} ) diff --git a/applications/utilities/preProcessing/fluentDataToFoam/CMakeLists.txt b/applications/utilities/preProcessing/fluentDataToFoam/CMakeLists.txt index aa4e73e5b..097085ed0 100644 --- a/applications/utilities/preProcessing/fluentDataToFoam/CMakeLists.txt +++ b/applications/utilities/preProcessing/fluentDataToFoam/CMakeLists.txt @@ -30,12 +30,12 @@ # # -------------------------------------------------------------------------- -list(APPEND sources +list(APPEND SOURCES fluentDataConverter.C ) FLEX_TARGET(fluentDataToFoam fluentDataToFoam.L ${CMAKE_CURRENT_BINARY_DIR}/fluentDataToFoam.C COMPILE_FLAGS "-+") -list(APPEND sources ${FLEX_fluentDataToFoam_OUTPUTS}) +list(APPEND SOURCES ${FLEX_fluentDataToFoam_OUTPUTS}) # Set minimal environment for external compilation if(NOT FOAM_FOUND) @@ -45,5 +45,9 @@ endif() add_foam_executable(fluentDataToFoam DEPENDS finiteVolume - SOURCES ${sources} + SOURCES ${SOURCES} +) +target_include_directories(fluentDataToFoam PUBLIC + $ +# $ ) diff --git a/applications/utilities/preProcessing/mapFields/CMakeLists.txt b/applications/utilities/preProcessing/mapFields/CMakeLists.txt index 7212b8bf2..be8882ac2 100644 --- a/applications/utilities/preProcessing/mapFields/CMakeLists.txt +++ b/applications/utilities/preProcessing/mapFields/CMakeLists.txt @@ -30,7 +30,7 @@ # # -------------------------------------------------------------------------- -list(APPEND sources +list(APPEND SOURCES mapLagrangian.C mapFields.C ) @@ -43,5 +43,5 @@ endif() add_foam_executable(mapFields DEPENDS sampling - SOURCES ${sources} + SOURCES ${SOURCES} ) diff --git a/applications/utilities/preProcessing/mdInitialise/CMakeLists.txt b/applications/utilities/preProcessing/mdInitialise/CMakeLists.txt index 97ec255d4..5f1746a32 100644 --- a/applications/utilities/preProcessing/mdInitialise/CMakeLists.txt +++ b/applications/utilities/preProcessing/mdInitialise/CMakeLists.txt @@ -30,7 +30,7 @@ # # -------------------------------------------------------------------------- -list(APPEND sources +list(APPEND SOURCES mdInitialise.C ) @@ -42,5 +42,5 @@ endif() add_foam_executable(mdInitialise DEPENDS molecule molecularMeasurements - SOURCES ${sources} + SOURCES ${SOURCES} ) diff --git a/applications/utilities/preProcessing/setFields/CMakeLists.txt b/applications/utilities/preProcessing/setFields/CMakeLists.txt index bd8113bce..bd10818ce 100644 --- a/applications/utilities/preProcessing/setFields/CMakeLists.txt +++ b/applications/utilities/preProcessing/setFields/CMakeLists.txt @@ -30,7 +30,7 @@ # # -------------------------------------------------------------------------- -list(APPEND sources +list(APPEND SOURCES setFields.C ) @@ -42,5 +42,5 @@ endif() add_foam_executable(setFields DEPENDS finiteVolume - SOURCES ${sources} + SOURCES ${SOURCES} ) diff --git a/applications/utilities/solidMechanics/setMatFromCellZones/CMakeLists.txt b/applications/utilities/solidMechanics/setMatFromCellZones/CMakeLists.txt index 70325a2d5..b57583c53 100644 --- a/applications/utilities/solidMechanics/setMatFromCellZones/CMakeLists.txt +++ b/applications/utilities/solidMechanics/setMatFromCellZones/CMakeLists.txt @@ -30,7 +30,7 @@ # # -------------------------------------------------------------------------- -list(APPEND sources +list(APPEND SOURCES setMatFromCellZones.C ) @@ -42,5 +42,5 @@ endif() add_foam_executable(setMatFromCellZones DEPENDS finiteVolume - SOURCES ${sources} + SOURCES ${SOURCES} ) diff --git a/applications/utilities/surface/surfaceAdd/CMakeLists.txt b/applications/utilities/surface/surfaceAdd/CMakeLists.txt index 76e705b1b..d60affb89 100644 --- a/applications/utilities/surface/surfaceAdd/CMakeLists.txt +++ b/applications/utilities/surface/surfaceAdd/CMakeLists.txt @@ -30,7 +30,7 @@ # # -------------------------------------------------------------------------- -list(APPEND sources +list(APPEND SOURCES surfaceAdd.C ) @@ -42,5 +42,5 @@ endif() add_foam_executable(surfaceAdd DEPENDS meshTools - SOURCES ${sources} + SOURCES ${SOURCES} ) diff --git a/applications/utilities/surface/surfaceAutoPatch/CMakeLists.txt b/applications/utilities/surface/surfaceAutoPatch/CMakeLists.txt index d4f377f4e..ac34c78bf 100644 --- a/applications/utilities/surface/surfaceAutoPatch/CMakeLists.txt +++ b/applications/utilities/surface/surfaceAutoPatch/CMakeLists.txt @@ -30,7 +30,7 @@ # # -------------------------------------------------------------------------- -list(APPEND sources +list(APPEND SOURCES surfaceAutoPatch.C ) @@ -42,5 +42,5 @@ endif() add_foam_executable(surfaceAutoPatch DEPENDS meshTools - SOURCES ${sources} + SOURCES ${SOURCES} ) diff --git a/applications/utilities/surface/surfaceCheck/CMakeLists.txt b/applications/utilities/surface/surfaceCheck/CMakeLists.txt index b2603067c..1b7ec2110 100644 --- a/applications/utilities/surface/surfaceCheck/CMakeLists.txt +++ b/applications/utilities/surface/surfaceCheck/CMakeLists.txt @@ -30,7 +30,7 @@ # # -------------------------------------------------------------------------- -list(APPEND sources +list(APPEND SOURCES surfaceCheck.C ) @@ -42,5 +42,5 @@ endif() add_foam_executable(surfaceCheck DEPENDS meshTools - SOURCES ${sources} + SOURCES ${SOURCES} ) diff --git a/applications/utilities/surface/surfaceClean/CMakeLists.txt b/applications/utilities/surface/surfaceClean/CMakeLists.txt index a173a5686..9a643f0d7 100644 --- a/applications/utilities/surface/surfaceClean/CMakeLists.txt +++ b/applications/utilities/surface/surfaceClean/CMakeLists.txt @@ -30,7 +30,7 @@ # # -------------------------------------------------------------------------- -list(APPEND sources +list(APPEND SOURCES collapseBase.C collapseEdge.C surfaceClean.C @@ -44,5 +44,5 @@ endif() add_foam_executable(surfaceClean DEPENDS meshTools - SOURCES ${sources} + SOURCES ${SOURCES} ) diff --git a/applications/utilities/surface/surfaceCoarsen/CMakeLists.txt b/applications/utilities/surface/surfaceCoarsen/CMakeLists.txt index 5472722a2..20e922e97 100644 --- a/applications/utilities/surface/surfaceCoarsen/CMakeLists.txt +++ b/applications/utilities/surface/surfaceCoarsen/CMakeLists.txt @@ -30,7 +30,7 @@ # # -------------------------------------------------------------------------- -list(APPEND sources +list(APPEND SOURCES bunnylod/progmesh.C bunnylod/vector.C surfaceCoarsen.C @@ -44,11 +44,10 @@ endif() add_foam_executable(surfaceCoarsen DEPENDS meshTools - SOURCES ${sources} + SOURCES ${SOURCES} ) target_include_directories(surfaceCoarsen PUBLIC $ - $ +# $ ) - diff --git a/applications/utilities/surface/surfaceConvert/CMakeLists.txt b/applications/utilities/surface/surfaceConvert/CMakeLists.txt index ecc42e28c..2ce934692 100644 --- a/applications/utilities/surface/surfaceConvert/CMakeLists.txt +++ b/applications/utilities/surface/surfaceConvert/CMakeLists.txt @@ -30,7 +30,7 @@ # # -------------------------------------------------------------------------- -list(APPEND sources +list(APPEND SOURCES surfaceConvert.C ) @@ -42,5 +42,5 @@ endif() add_foam_executable(surfaceConvert DEPENDS meshTools - SOURCES ${sources} + SOURCES ${SOURCES} ) diff --git a/applications/utilities/surface/surfaceFeatureConvert/CMakeLists.txt b/applications/utilities/surface/surfaceFeatureConvert/CMakeLists.txt index 3e73db52e..9d18c5b2e 100644 --- a/applications/utilities/surface/surfaceFeatureConvert/CMakeLists.txt +++ b/applications/utilities/surface/surfaceFeatureConvert/CMakeLists.txt @@ -30,7 +30,7 @@ # # -------------------------------------------------------------------------- -list(APPEND sources +list(APPEND SOURCES surfaceFeatureConvert.C ) @@ -42,5 +42,5 @@ endif() add_foam_executable(surfaceFeatureConvert DEPENDS meshTools edgeMesh - SOURCES ${sources} + SOURCES ${SOURCES} ) diff --git a/applications/utilities/surface/surfaceFeatureExtract/CMakeLists.txt b/applications/utilities/surface/surfaceFeatureExtract/CMakeLists.txt index 07fef5522..9c7cf1a0e 100644 --- a/applications/utilities/surface/surfaceFeatureExtract/CMakeLists.txt +++ b/applications/utilities/surface/surfaceFeatureExtract/CMakeLists.txt @@ -30,7 +30,7 @@ # # -------------------------------------------------------------------------- -list(APPEND sources +list(APPEND SOURCES surfaceFeatureExtract.C ) @@ -42,5 +42,5 @@ endif() add_foam_executable(surfaceFeatureExtract DEPENDS meshTools - SOURCES ${sources} + SOURCES ${SOURCES} ) diff --git a/applications/utilities/surface/surfaceFind/CMakeLists.txt b/applications/utilities/surface/surfaceFind/CMakeLists.txt index f081891eb..99831952f 100644 --- a/applications/utilities/surface/surfaceFind/CMakeLists.txt +++ b/applications/utilities/surface/surfaceFind/CMakeLists.txt @@ -30,7 +30,7 @@ # # -------------------------------------------------------------------------- -list(APPEND sources +list(APPEND SOURCES surfaceFind.C ) @@ -42,5 +42,5 @@ endif() add_foam_executable(surfaceFind DEPENDS meshTools - SOURCES ${sources} + SOURCES ${SOURCES} ) diff --git a/applications/utilities/surface/surfaceMeshConvert/CMakeLists.txt b/applications/utilities/surface/surfaceMeshConvert/CMakeLists.txt index 6e6084fa7..d2ae4983e 100644 --- a/applications/utilities/surface/surfaceMeshConvert/CMakeLists.txt +++ b/applications/utilities/surface/surfaceMeshConvert/CMakeLists.txt @@ -30,7 +30,7 @@ # # -------------------------------------------------------------------------- -list(APPEND sources +list(APPEND SOURCES surfaceMeshConvert.C ) @@ -42,5 +42,5 @@ endif() add_foam_executable(surfaceMeshConvert DEPENDS meshTools surfMesh - SOURCES ${sources} + SOURCES ${SOURCES} ) diff --git a/applications/utilities/surface/surfaceMeshConvertTesting/CMakeLists.txt b/applications/utilities/surface/surfaceMeshConvertTesting/CMakeLists.txt index c115030b3..90e8b3f33 100644 --- a/applications/utilities/surface/surfaceMeshConvertTesting/CMakeLists.txt +++ b/applications/utilities/surface/surfaceMeshConvertTesting/CMakeLists.txt @@ -30,7 +30,7 @@ # # -------------------------------------------------------------------------- -list(APPEND sources +list(APPEND SOURCES surfaceMeshConvertTesting.C ) @@ -42,5 +42,5 @@ endif() add_foam_executable(surfaceMeshConvertTesting DEPENDS surfMesh meshTools - SOURCES ${sources} + SOURCES ${SOURCES} ) diff --git a/applications/utilities/surface/surfaceMeshExport/CMakeLists.txt b/applications/utilities/surface/surfaceMeshExport/CMakeLists.txt index ee893b140..67f55a0a0 100644 --- a/applications/utilities/surface/surfaceMeshExport/CMakeLists.txt +++ b/applications/utilities/surface/surfaceMeshExport/CMakeLists.txt @@ -30,7 +30,7 @@ # # -------------------------------------------------------------------------- -list(APPEND sources +list(APPEND SOURCES surfaceMeshExport.C ) @@ -42,5 +42,5 @@ endif() add_foam_executable(surfaceMeshExport DEPENDS surfMesh meshTools - SOURCES ${sources} + SOURCES ${SOURCES} ) diff --git a/applications/utilities/surface/surfaceMeshImport/CMakeLists.txt b/applications/utilities/surface/surfaceMeshImport/CMakeLists.txt index 8d82cd6e0..74bc8666f 100644 --- a/applications/utilities/surface/surfaceMeshImport/CMakeLists.txt +++ b/applications/utilities/surface/surfaceMeshImport/CMakeLists.txt @@ -30,7 +30,7 @@ # # -------------------------------------------------------------------------- -list(APPEND sources +list(APPEND SOURCES surfaceMeshImport.C ) @@ -42,5 +42,5 @@ endif() add_foam_executable(surfaceMeshImport DEPENDS surfMesh meshTools - SOURCES ${sources} + SOURCES ${SOURCES} ) diff --git a/applications/utilities/surface/surfaceMeshTriangulate/CMakeLists.txt b/applications/utilities/surface/surfaceMeshTriangulate/CMakeLists.txt index 0aa938ead..b8fee1f32 100644 --- a/applications/utilities/surface/surfaceMeshTriangulate/CMakeLists.txt +++ b/applications/utilities/surface/surfaceMeshTriangulate/CMakeLists.txt @@ -30,7 +30,7 @@ # # -------------------------------------------------------------------------- -list(APPEND sources +list(APPEND SOURCES surfaceMeshTriangulate.C ) @@ -42,5 +42,5 @@ endif() add_foam_executable(surfaceMeshTriangulate DEPENDS meshTools - SOURCES ${sources} + SOURCES ${SOURCES} ) diff --git a/applications/utilities/surface/surfaceOrient/CMakeLists.txt b/applications/utilities/surface/surfaceOrient/CMakeLists.txt index c52b48857..a9ae0ce80 100644 --- a/applications/utilities/surface/surfaceOrient/CMakeLists.txt +++ b/applications/utilities/surface/surfaceOrient/CMakeLists.txt @@ -30,7 +30,7 @@ # # -------------------------------------------------------------------------- -list(APPEND sources +list(APPEND SOURCES surfaceOrient.C ) @@ -42,5 +42,5 @@ endif() add_foam_executable(surfaceOrient DEPENDS finiteVolume meshTools - SOURCES ${sources} + SOURCES ${SOURCES} ) diff --git a/applications/utilities/surface/surfacePointMerge/CMakeLists.txt b/applications/utilities/surface/surfacePointMerge/CMakeLists.txt index 72252a817..175293cf4 100644 --- a/applications/utilities/surface/surfacePointMerge/CMakeLists.txt +++ b/applications/utilities/surface/surfacePointMerge/CMakeLists.txt @@ -30,7 +30,7 @@ # # -------------------------------------------------------------------------- -list(APPEND sources +list(APPEND SOURCES surfacePointMerge.C ) @@ -42,5 +42,5 @@ endif() add_foam_executable(surfacePointMerge DEPENDS meshTools - SOURCES ${sources} + SOURCES ${SOURCES} ) diff --git a/applications/utilities/surface/surfaceRedistributePar/CMakeLists.txt b/applications/utilities/surface/surfaceRedistributePar/CMakeLists.txt index cb77a81b5..45e6895bf 100644 --- a/applications/utilities/surface/surfaceRedistributePar/CMakeLists.txt +++ b/applications/utilities/surface/surfaceRedistributePar/CMakeLists.txt @@ -30,7 +30,7 @@ # # -------------------------------------------------------------------------- -list(APPEND sources +list(APPEND SOURCES surfaceRedistributePar.C ) @@ -42,5 +42,5 @@ endif() add_foam_executable(surfaceRedistributePar DEPENDS meshTools - SOURCES ${sources} + SOURCES ${SOURCES} ) diff --git a/applications/utilities/surface/surfaceRefineRedGreen/CMakeLists.txt b/applications/utilities/surface/surfaceRefineRedGreen/CMakeLists.txt index 6173262c6..400cfed7d 100644 --- a/applications/utilities/surface/surfaceRefineRedGreen/CMakeLists.txt +++ b/applications/utilities/surface/surfaceRefineRedGreen/CMakeLists.txt @@ -30,7 +30,7 @@ # # -------------------------------------------------------------------------- -list(APPEND sources +list(APPEND SOURCES surfaceRefineRedGreen.C ) @@ -42,5 +42,5 @@ endif() add_foam_executable(surfaceRefineRedGreen DEPENDS meshTools - SOURCES ${sources} + SOURCES ${SOURCES} ) diff --git a/applications/utilities/surface/surfaceSmooth/CMakeLists.txt b/applications/utilities/surface/surfaceSmooth/CMakeLists.txt index 997c13483..3514eca6b 100644 --- a/applications/utilities/surface/surfaceSmooth/CMakeLists.txt +++ b/applications/utilities/surface/surfaceSmooth/CMakeLists.txt @@ -30,7 +30,7 @@ # # -------------------------------------------------------------------------- -list(APPEND sources +list(APPEND SOURCES surfaceSmooth.C ) @@ -42,5 +42,5 @@ endif() add_foam_executable(surfaceSmooth DEPENDS meshTools - SOURCES ${sources} + SOURCES ${SOURCES} ) diff --git a/applications/utilities/surface/surfaceSplitByPatch/CMakeLists.txt b/applications/utilities/surface/surfaceSplitByPatch/CMakeLists.txt index bbac1928c..e5b7ee2c4 100644 --- a/applications/utilities/surface/surfaceSplitByPatch/CMakeLists.txt +++ b/applications/utilities/surface/surfaceSplitByPatch/CMakeLists.txt @@ -30,7 +30,7 @@ # # -------------------------------------------------------------------------- -list(APPEND sources +list(APPEND SOURCES surfaceSplitByPatch.C ) @@ -42,5 +42,5 @@ endif() add_foam_executable(surfaceSplitByPatch DEPENDS meshTools - SOURCES ${sources} + SOURCES ${SOURCES} ) diff --git a/applications/utilities/surface/surfaceSplitNonManifolds/CMakeLists.txt b/applications/utilities/surface/surfaceSplitNonManifolds/CMakeLists.txt index 77bda5b79..087f64dc0 100644 --- a/applications/utilities/surface/surfaceSplitNonManifolds/CMakeLists.txt +++ b/applications/utilities/surface/surfaceSplitNonManifolds/CMakeLists.txt @@ -30,7 +30,7 @@ # # -------------------------------------------------------------------------- -list(APPEND sources +list(APPEND SOURCES surfaceSplitNonManifolds.C ) @@ -42,5 +42,5 @@ endif() add_foam_executable(surfaceSplitNonManifolds DEPENDS meshTools - SOURCES ${sources} + SOURCES ${SOURCES} ) diff --git a/applications/utilities/surface/surfaceSubset/CMakeLists.txt b/applications/utilities/surface/surfaceSubset/CMakeLists.txt index 5e3cbc942..0799b42fc 100644 --- a/applications/utilities/surface/surfaceSubset/CMakeLists.txt +++ b/applications/utilities/surface/surfaceSubset/CMakeLists.txt @@ -30,7 +30,7 @@ # # -------------------------------------------------------------------------- -list(APPEND sources +list(APPEND SOURCES surfaceSubset.C ) @@ -42,5 +42,5 @@ endif() add_foam_executable(surfaceSubset DEPENDS meshTools - SOURCES ${sources} + SOURCES ${SOURCES} ) diff --git a/applications/utilities/surface/surfaceToPatch/CMakeLists.txt b/applications/utilities/surface/surfaceToPatch/CMakeLists.txt index ade30c434..e923d1417 100644 --- a/applications/utilities/surface/surfaceToPatch/CMakeLists.txt +++ b/applications/utilities/surface/surfaceToPatch/CMakeLists.txt @@ -30,7 +30,7 @@ # # -------------------------------------------------------------------------- -list(APPEND sources +list(APPEND SOURCES boundaryMesh.C surfaceToPatch.C treeDataPrimitivePatchName.C @@ -44,5 +44,5 @@ endif() add_foam_executable(surfaceToPatch DEPENDS meshTools dynamicMesh - SOURCES ${sources} + SOURCES ${SOURCES} ) diff --git a/applications/utilities/surface/surfaceTransformPoints/CMakeLists.txt b/applications/utilities/surface/surfaceTransformPoints/CMakeLists.txt index 2fea45374..a4d93b1d8 100644 --- a/applications/utilities/surface/surfaceTransformPoints/CMakeLists.txt +++ b/applications/utilities/surface/surfaceTransformPoints/CMakeLists.txt @@ -30,7 +30,7 @@ # # -------------------------------------------------------------------------- -list(APPEND sources +list(APPEND SOURCES surfaceTransformPoints.C ) @@ -42,5 +42,5 @@ endif() add_foam_executable(surfaceTransformPoints DEPENDS meshTools - SOURCES ${sources} + SOURCES ${SOURCES} ) diff --git a/applications/utilities/thermophysical/IFCLookUpTableGen/CMakeLists.txt b/applications/utilities/thermophysical/IFCLookUpTableGen/CMakeLists.txt index 56238b4f9..7e7e58866 100644 --- a/applications/utilities/thermophysical/IFCLookUpTableGen/CMakeLists.txt +++ b/applications/utilities/thermophysical/IFCLookUpTableGen/CMakeLists.txt @@ -30,7 +30,7 @@ # # -------------------------------------------------------------------------- -list(APPEND sources +list(APPEND SOURCES IFCLookUpTableGen.C ) @@ -42,5 +42,5 @@ endif() add_foam_executable(IFCLookUpTableGen DEPENDS specie radiation - SOURCES ${sources} + SOURCES ${SOURCES} ) diff --git a/applications/utilities/thermophysical/adiabaticFlameT/CMakeLists.txt b/applications/utilities/thermophysical/adiabaticFlameT/CMakeLists.txt index 2af0e4a8c..6e3167e0d 100644 --- a/applications/utilities/thermophysical/adiabaticFlameT/CMakeLists.txt +++ b/applications/utilities/thermophysical/adiabaticFlameT/CMakeLists.txt @@ -30,7 +30,7 @@ # # -------------------------------------------------------------------------- -list(APPEND sources +list(APPEND SOURCES adiabaticFlameT.C ) @@ -42,5 +42,5 @@ endif() add_foam_executable(adiabaticFlameT DEPENDS specie - SOURCES ${sources} + SOURCES ${SOURCES} ) diff --git a/applications/utilities/thermophysical/chemkinToFoam/CMakeLists.txt b/applications/utilities/thermophysical/chemkinToFoam/CMakeLists.txt index 1ebaaa13b..0e5bf2a69 100644 --- a/applications/utilities/thermophysical/chemkinToFoam/CMakeLists.txt +++ b/applications/utilities/thermophysical/chemkinToFoam/CMakeLists.txt @@ -30,7 +30,7 @@ # # -------------------------------------------------------------------------- -list(APPEND sources +list(APPEND SOURCES chemkinToFoam.C ) @@ -42,5 +42,5 @@ endif() add_foam_executable(chemkinToFoam DEPENDS reactionThermophysicalModels - SOURCES ${sources} + SOURCES ${SOURCES} ) diff --git a/applications/utilities/thermophysical/equilibriumCO/CMakeLists.txt b/applications/utilities/thermophysical/equilibriumCO/CMakeLists.txt index 07e28259a..ff2fe6db7 100644 --- a/applications/utilities/thermophysical/equilibriumCO/CMakeLists.txt +++ b/applications/utilities/thermophysical/equilibriumCO/CMakeLists.txt @@ -30,7 +30,7 @@ # # -------------------------------------------------------------------------- -list(APPEND sources +list(APPEND SOURCES equilibriumCO.C ) @@ -42,5 +42,5 @@ endif() add_foam_executable(equiriumCO DEPENDS specie - SOURCES ${sources} + SOURCES ${SOURCES} ) diff --git a/applications/utilities/thermophysical/equilibriumFlameT/CMakeLists.txt b/applications/utilities/thermophysical/equilibriumFlameT/CMakeLists.txt index 972b4ef58..e8250cd03 100644 --- a/applications/utilities/thermophysical/equilibriumFlameT/CMakeLists.txt +++ b/applications/utilities/thermophysical/equilibriumFlameT/CMakeLists.txt @@ -30,7 +30,7 @@ # # -------------------------------------------------------------------------- -list(APPEND sources +list(APPEND SOURCES equilibriumFlameT.C ) @@ -42,5 +42,5 @@ endif() add_foam_executable(equiriumFlameT DEPENDS specie - SOURCES ${sources} + SOURCES ${SOURCES} ) diff --git a/applications/utilities/thermophysical/mixtureAdiabaticFlameT/CMakeLists.txt b/applications/utilities/thermophysical/mixtureAdiabaticFlameT/CMakeLists.txt index 77e2f720c..66e03f369 100644 --- a/applications/utilities/thermophysical/mixtureAdiabaticFlameT/CMakeLists.txt +++ b/applications/utilities/thermophysical/mixtureAdiabaticFlameT/CMakeLists.txt @@ -30,7 +30,7 @@ # # -------------------------------------------------------------------------- -list(APPEND sources +list(APPEND SOURCES mixtureAdiabaticFlameT.C ) @@ -42,5 +42,5 @@ endif() add_foam_executable(mixtureAdiabaticFlameT DEPENDS specie - SOURCES ${sources} + SOURCES ${SOURCES} ) diff --git a/cmake/FOAMMacros.cmake b/cmake/FOAMMacros.cmake index d9d7d08e6..c442cb475 100644 --- a/cmake/FOAMMacros.cmake +++ b/cmake/FOAMMacros.cmake @@ -1,3 +1,35 @@ +# -------------------------------------------------------------------------- +# ======== | +# \ / F ield | foam-extend: Open Source CFD +# \ / O peration | Version: 4.1 +# \ / A nd | Web: http://www.foam-extend.org +# \/ M anipulation | For copyright notice see file Copyright +# -------------------------------------------------------------------------- +# License +# This file is part of foam-extend. +# +# foam-extend 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 3 of the License, or {at your +# option} any later version. +# +# foam-extend 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 foam-extend. If not, see . +# +# Description +# CMakeLists.txt file for libraries and applications +# +# Author +# Henrik Rusche, Wikki GmbH, 2017. All rights reserved +# +# +# -------------------------------------------------------------------------- + add_custom_target(ImportMessage ${CMAKE_COMMAND} -E cmake_echo_color --red --bold "Using FOAM ${FOAM_VERSION} in ${CMAKE_CURRENT_LIST_DIR}" @@ -63,5 +95,3 @@ function(add_foam_executable exe) add_dependencies(${exe} ImportMessage) endif() endfunction() - - diff --git a/cmake/FOAMTargets.cmake b/cmake/FOAMTargets.cmake deleted file mode 100644 index 0b241e548..000000000 --- a/cmake/FOAMTargets.cmake +++ /dev/null @@ -1,1406 +0,0 @@ -## Generated by CMake 3.5.1 - -if("${CMAKE_MAJOR_VERSION}.${CMAKE_MINOR_VERSION}" LESS 2.5) - message(FATAL_ERROR "CMake >= 2.6.0 required") -endif() -cmake_policy(PUSH) -cmake_policy(VERSION 2.6) -#---------------------------------------------------------------- -# Generated CMake target import file. -#---------------------------------------------------------------- - -# Commands may need to know the format version. -set(CMAKE_IMPORT_FILE_VERSION 1) - -# Protect against multiple inclusion, which would fail when already imported targets are added once more. -set(_targetsDefined) -set(_targetsNotDefined) -set(_expectedTargets) -foreach(_expectedTarget foam immersedBoundaryForceFunctionObject immersedBoundary immersedBoundaryTurbulence immersedBoundaryDynamicFvMesh molecule potential molecularMeasurements coalCombustion dsmc lagrangianIntermediate solidParticle lagrangianBasic dieselSpray edgeMesh coupledLduMatrix compressibleLESModels compressibleTurbulenceModel compressibleRASModels incompressibleLESModels incompressibleTurbulenceModel incompressibleRASModels LESfilters LESdeltas tetFiniteElement finiteArea errorEstimation randomProcesses decompositionMethods conversion surfMesh incompressibleTransportModels interfaceProperties viscoelasticTransportModels multiSolverLib OSspecific equationReader POD solidModels ODE engine lduSolvers blockMeshLib cfMesh extrudeModel autoMesh IOFunctionObjects systemCall utilityFunctionObjects fieldFunctionObjects forces checkFunctionObjects postCalc foamCalcFunctions finiteVolume sampling meshTools topoChangerFvMesh dynamicMesh dynamicTopoFvMesh dynamicFvMesh solidBodyMotion RBFMotionSolver fvMotionSolver tetMotionSolver laminarFlameSpeedModels liquidMixture radiation barotropicCompressibilityModel specie solids thermophysicalFunctions liquids basicThermophysicalModels pdf reactionThermophysicalModels solidMixture chemistryModel userd-newFoam userd-foam) - list(APPEND _expectedTargets ${_expectedTarget}) - if(NOT TARGET ${_expectedTarget}) - list(APPEND _targetsNotDefined ${_expectedTarget}) - endif() - if(TARGET ${_expectedTarget}) - list(APPEND _targetsDefined ${_expectedTarget}) - endif() -endforeach() -if("${_targetsDefined}" STREQUAL "${_expectedTargets}") - set(CMAKE_IMPORT_FILE_VERSION) - cmake_policy(POP) - return() -endif() -if(NOT "${_targetsDefined}" STREQUAL "") - message(FATAL_ERROR "Some (but not all) targets in this export set were already defined.\nTargets Defined: ${_targetsDefined}\nTargets not yet defined: ${_targetsNotDefined}\n") -endif() -unset(_targetsDefined) -unset(_targetsNotDefined) -unset(_expectedTargets) - - -# Create imported target foam -add_library(foam SHARED IMPORTED) - -set_target_properties(foam PROPERTIES - COMPATIBLE_INTERFACE_STRING "FOAM_MAJOR_VERSION" - INTERFACE_FOAM_MAJOR_VERSION "4" - INTERFACE_INCLUDE_DIRECTORIES "/home/henrus/OpenFOAM/foam-extend-4.0_2/src/foam/lnInclude" -) - -# Create imported target immersedBoundaryForceFunctionObject -add_library(immersedBoundaryForceFunctionObject SHARED IMPORTED) - -set_target_properties(immersedBoundaryForceFunctionObject PROPERTIES - COMPATIBLE_INTERFACE_STRING "FOAM_MAJOR_VERSION" - INTERFACE_FOAM_MAJOR_VERSION "4" - INTERFACE_INCLUDE_DIRECTORIES "/home/henrus/OpenFOAM/foam-extend-4.0_2/src/immersedBoundary/immersedBoundaryForce/lnInclude" -) - -# Create imported target immersedBoundary -add_library(immersedBoundary SHARED IMPORTED) - -set_target_properties(immersedBoundary PROPERTIES - COMPATIBLE_INTERFACE_STRING "FOAM_MAJOR_VERSION" - INTERFACE_FOAM_MAJOR_VERSION "4" - INTERFACE_INCLUDE_DIRECTORIES "/home/henrus/OpenFOAM/foam-extend-4.0_2/src/immersedBoundary/immersedBoundary/lnInclude" -) - -# Create imported target immersedBoundaryTurbulence -add_library(immersedBoundaryTurbulence SHARED IMPORTED) - -set_target_properties(immersedBoundaryTurbulence PROPERTIES - COMPATIBLE_INTERFACE_STRING "FOAM_MAJOR_VERSION" - INTERFACE_FOAM_MAJOR_VERSION "4" - INTERFACE_INCLUDE_DIRECTORIES "/home/henrus/OpenFOAM/foam-extend-4.0_2/src/immersedBoundary/immersedBoundaryTurbulence/lnInclude" -) - -# Create imported target immersedBoundaryDynamicFvMesh -add_library(immersedBoundaryDynamicFvMesh SHARED IMPORTED) - -set_target_properties(immersedBoundaryDynamicFvMesh PROPERTIES - COMPATIBLE_INTERFACE_STRING "FOAM_MAJOR_VERSION" - INTERFACE_FOAM_MAJOR_VERSION "4" - INTERFACE_INCLUDE_DIRECTORIES "/home/henrus/OpenFOAM/foam-extend-4.0_2/src/immersedBoundary/immersedBoundaryDynamicMesh/lnInclude" -) - -# Create imported target molecule -add_library(molecule SHARED IMPORTED) - -set_target_properties(molecule PROPERTIES - COMPATIBLE_INTERFACE_STRING "FOAM_MAJOR_VERSION" - INTERFACE_FOAM_MAJOR_VERSION "4" - INTERFACE_INCLUDE_DIRECTORIES "/home/henrus/OpenFOAM/foam-extend-4.0_2/src/lagrangian/molecularDynamics/molecule/lnInclude" -) - -# Create imported target potential -add_library(potential SHARED IMPORTED) - -set_target_properties(potential PROPERTIES - COMPATIBLE_INTERFACE_STRING "FOAM_MAJOR_VERSION" - INTERFACE_FOAM_MAJOR_VERSION "4" - INTERFACE_INCLUDE_DIRECTORIES "/home/henrus/OpenFOAM/foam-extend-4.0_2/src/lagrangian/molecularDynamics/potential/lnInclude" -) - -# Create imported target molecularMeasurements -add_library(molecularMeasurements SHARED IMPORTED) - -set_target_properties(molecularMeasurements PROPERTIES - COMPATIBLE_INTERFACE_STRING "FOAM_MAJOR_VERSION" - INTERFACE_FOAM_MAJOR_VERSION "4" - INTERFACE_INCLUDE_DIRECTORIES "/home/henrus/OpenFOAM/foam-extend-4.0_2/src/lagrangian/molecularDynamics/molecularMeasurements/lnInclude" -) - -# Create imported target coalCombustion -add_library(coalCombustion SHARED IMPORTED) - -set_target_properties(coalCombustion PROPERTIES - COMPATIBLE_INTERFACE_STRING "FOAM_MAJOR_VERSION" - INTERFACE_FOAM_MAJOR_VERSION "4" - INTERFACE_INCLUDE_DIRECTORIES "/home/henrus/OpenFOAM/foam-extend-4.0_2/src/lagrangian/coalCombustion/lnInclude" -) - -# Create imported target dsmc -add_library(dsmc SHARED IMPORTED) - -set_target_properties(dsmc PROPERTIES - COMPATIBLE_INTERFACE_STRING "FOAM_MAJOR_VERSION" - INTERFACE_FOAM_MAJOR_VERSION "4" - INTERFACE_INCLUDE_DIRECTORIES "/home/henrus/OpenFOAM/foam-extend-4.0_2/src/lagrangian/dsmc/lnInclude" -) - -# Create imported target lagrangianIntermediate -add_library(lagrangianIntermediate SHARED IMPORTED) - -set_target_properties(lagrangianIntermediate PROPERTIES - COMPATIBLE_INTERFACE_STRING "FOAM_MAJOR_VERSION" - INTERFACE_FOAM_MAJOR_VERSION "4" - INTERFACE_INCLUDE_DIRECTORIES "/home/henrus/OpenFOAM/foam-extend-4.0_2/src/lagrangian/intermediate/lnInclude" -) - -# Create imported target solidParticle -add_library(solidParticle SHARED IMPORTED) - -set_target_properties(solidParticle PROPERTIES - COMPATIBLE_INTERFACE_STRING "FOAM_MAJOR_VERSION" - INTERFACE_FOAM_MAJOR_VERSION "4" - INTERFACE_INCLUDE_DIRECTORIES "/home/henrus/OpenFOAM/foam-extend-4.0_2/src/lagrangian/solidParticle/lnInclude" -) - -# Create imported target lagrangianBasic -add_library(lagrangianBasic SHARED IMPORTED) - -set_target_properties(lagrangianBasic PROPERTIES - COMPATIBLE_INTERFACE_STRING "FOAM_MAJOR_VERSION" - INTERFACE_FOAM_MAJOR_VERSION "4" - INTERFACE_INCLUDE_DIRECTORIES "/home/henrus/OpenFOAM/foam-extend-4.0_2/src/lagrangian/basic/lnInclude" -) - -# Create imported target dieselSpray -add_library(dieselSpray SHARED IMPORTED) - -set_target_properties(dieselSpray PROPERTIES - COMPATIBLE_INTERFACE_STRING "FOAM_MAJOR_VERSION" - INTERFACE_FOAM_MAJOR_VERSION "4" - INTERFACE_INCLUDE_DIRECTORIES "/home/henrus/OpenFOAM/foam-extend-4.0_2/src/lagrangian/dieselSpray/lnInclude" -) - -# Create imported target edgeMesh -add_library(edgeMesh SHARED IMPORTED) - -set_target_properties(edgeMesh PROPERTIES - COMPATIBLE_INTERFACE_STRING "FOAM_MAJOR_VERSION" - INTERFACE_FOAM_MAJOR_VERSION "4" - INTERFACE_INCLUDE_DIRECTORIES "/home/henrus/OpenFOAM/foam-extend-4.0_2/src/edgeMesh/lnInclude" -) - -# Create imported target coupledLduMatrix -add_library(coupledLduMatrix SHARED IMPORTED) - -set_target_properties(coupledLduMatrix PROPERTIES - COMPATIBLE_INTERFACE_STRING "FOAM_MAJOR_VERSION" - INTERFACE_FOAM_MAJOR_VERSION "4" - INTERFACE_INCLUDE_DIRECTORIES "/home/henrus/OpenFOAM/foam-extend-4.0_2/src/coupledMatrix/lnInclude" -) - -# Create imported target compressibleLESModels -add_library(compressibleLESModels SHARED IMPORTED) - -set_target_properties(compressibleLESModels PROPERTIES - COMPATIBLE_INTERFACE_STRING "FOAM_MAJOR_VERSION" - INTERFACE_FOAM_MAJOR_VERSION "4" - INTERFACE_INCLUDE_DIRECTORIES "/home/henrus/OpenFOAM/foam-extend-4.0_2/src/turbulenceModels/compressible/LES/lnInclude" -) - -# Create imported target compressibleTurbulenceModel -add_library(compressibleTurbulenceModel SHARED IMPORTED) - -set_target_properties(compressibleTurbulenceModel PROPERTIES - COMPATIBLE_INTERFACE_STRING "FOAM_MAJOR_VERSION" - INTERFACE_FOAM_MAJOR_VERSION "4" - INTERFACE_INCLUDE_DIRECTORIES "/home/henrus/OpenFOAM/foam-extend-4.0_2/src/turbulenceModels/compressible/turbulenceModel/lnInclude;/home/henrus/OpenFOAM/foam-extend-4.0_2/src/turbulenceModels/compressible/turbulenceModel/../.." -) - -# Create imported target compressibleRASModels -add_library(compressibleRASModels SHARED IMPORTED) - -set_target_properties(compressibleRASModels PROPERTIES - COMPATIBLE_INTERFACE_STRING "FOAM_MAJOR_VERSION" - INTERFACE_FOAM_MAJOR_VERSION "4" - INTERFACE_INCLUDE_DIRECTORIES "/home/henrus/OpenFOAM/foam-extend-4.0_2/src/turbulenceModels/compressible/RAS/lnInclude;/home/henrus/OpenFOAM/foam-extend-4.0_2/src/turbulenceModels/compressible/RAS/derivedFvPatchFields/wallFunctions/mutWallFunctions" -) - -# Create imported target incompressibleLESModels -add_library(incompressibleLESModels SHARED IMPORTED) - -set_target_properties(incompressibleLESModels PROPERTIES - COMPATIBLE_INTERFACE_STRING "FOAM_MAJOR_VERSION" - INTERFACE_FOAM_MAJOR_VERSION "4" - INTERFACE_INCLUDE_DIRECTORIES "/home/henrus/OpenFOAM/foam-extend-4.0_2/src/turbulenceModels/incompressible/LES/lnInclude" -) - -# Create imported target incompressibleTurbulenceModel -add_library(incompressibleTurbulenceModel SHARED IMPORTED) - -set_target_properties(incompressibleTurbulenceModel PROPERTIES - COMPATIBLE_INTERFACE_STRING "FOAM_MAJOR_VERSION" - INTERFACE_FOAM_MAJOR_VERSION "4" - INTERFACE_INCLUDE_DIRECTORIES "/home/henrus/OpenFOAM/foam-extend-4.0_2/src/turbulenceModels/incompressible/turbulenceModel/lnInclude;/home/henrus/OpenFOAM/foam-extend-4.0_2/src/turbulenceModels/incompressible/turbulenceModel/../.." -) - -# Create imported target incompressibleRASModels -add_library(incompressibleRASModels SHARED IMPORTED) - -set_target_properties(incompressibleRASModels PROPERTIES - COMPATIBLE_INTERFACE_STRING "FOAM_MAJOR_VERSION" - INTERFACE_FOAM_MAJOR_VERSION "4" - INTERFACE_INCLUDE_DIRECTORIES "/home/henrus/OpenFOAM/foam-extend-4.0_2/src/turbulenceModels/incompressible/RAS/lnInclude;/home/henrus/OpenFOAM/foam-extend-4.0_2/src/turbulenceModels/incompressible/RAS/derivedFvPatchFields/wallFunctions/nutWallFunctions" -) - -# Create imported target LESfilters -add_library(LESfilters SHARED IMPORTED) - -set_target_properties(LESfilters PROPERTIES - COMPATIBLE_INTERFACE_STRING "FOAM_MAJOR_VERSION" - INTERFACE_FOAM_MAJOR_VERSION "4" - INTERFACE_INCLUDE_DIRECTORIES "/home/henrus/OpenFOAM/foam-extend-4.0_2/src/turbulenceModels/LES/LESfilters/lnInclude" -) - -# Create imported target LESdeltas -add_library(LESdeltas SHARED IMPORTED) - -set_target_properties(LESdeltas PROPERTIES - COMPATIBLE_INTERFACE_STRING "FOAM_MAJOR_VERSION" - INTERFACE_FOAM_MAJOR_VERSION "4" - INTERFACE_INCLUDE_DIRECTORIES "/home/henrus/OpenFOAM/foam-extend-4.0_2/src/turbulenceModels/LES/LESdeltas/lnInclude" -) - -# Create imported target tetFiniteElement -add_library(tetFiniteElement SHARED IMPORTED) - -set_target_properties(tetFiniteElement PROPERTIES - COMPATIBLE_INTERFACE_STRING "FOAM_MAJOR_VERSION" - INTERFACE_FOAM_MAJOR_VERSION "4" - INTERFACE_INCLUDE_DIRECTORIES "/home/henrus/OpenFOAM/foam-extend-4.0_2/src/tetFiniteElement/lnInclude" -) - -# Create imported target finiteArea -add_library(finiteArea SHARED IMPORTED) - -set_target_properties(finiteArea PROPERTIES - COMPATIBLE_INTERFACE_STRING "FOAM_MAJOR_VERSION" - INTERFACE_FOAM_MAJOR_VERSION "4" - INTERFACE_INCLUDE_DIRECTORIES "/home/henrus/OpenFOAM/foam-extend-4.0_2/src/finiteArea/lnInclude" -) - -# Create imported target errorEstimation -add_library(errorEstimation SHARED IMPORTED) - -set_target_properties(errorEstimation PROPERTIES - COMPATIBLE_INTERFACE_STRING "FOAM_MAJOR_VERSION" - INTERFACE_FOAM_MAJOR_VERSION "4" - INTERFACE_INCLUDE_DIRECTORIES "/home/henrus/OpenFOAM/foam-extend-4.0_2/src/errorEstimation/lnInclude" -) - -# Create imported target randomProcesses -add_library(randomProcesses SHARED IMPORTED) - -set_target_properties(randomProcesses PROPERTIES - COMPATIBLE_INTERFACE_STRING "FOAM_MAJOR_VERSION" - INTERFACE_FOAM_MAJOR_VERSION "4" - INTERFACE_INCLUDE_DIRECTORIES "/home/henrus/OpenFOAM/foam-extend-4.0_2/src/randomProcesses/lnInclude" -) - -# Create imported target decompositionMethods -add_library(decompositionMethods SHARED IMPORTED) - -set_target_properties(decompositionMethods PROPERTIES - COMPATIBLE_INTERFACE_STRING "FOAM_MAJOR_VERSION" - INTERFACE_FOAM_MAJOR_VERSION "4" - INTERFACE_INCLUDE_DIRECTORIES "/home/henrus/OpenFOAM/foam-extend-4.0_2/src/decompositionMethods/decompositionMethods/lnInclude" -) - -# Create imported target conversion -add_library(conversion SHARED IMPORTED) - -set_target_properties(conversion PROPERTIES - COMPATIBLE_INTERFACE_STRING "FOAM_MAJOR_VERSION" - INTERFACE_FOAM_MAJOR_VERSION "4" - INTERFACE_INCLUDE_DIRECTORIES "/home/henrus/OpenFOAM/foam-extend-4.0_2/src/conversion/lnInclude" -) - -# Create imported target surfMesh -add_library(surfMesh SHARED IMPORTED) - -set_target_properties(surfMesh PROPERTIES - COMPATIBLE_INTERFACE_STRING "FOAM_MAJOR_VERSION" - INTERFACE_FOAM_MAJOR_VERSION "4" - INTERFACE_INCLUDE_DIRECTORIES "/home/henrus/OpenFOAM/foam-extend-4.0_2/src/surfMesh/lnInclude" -) - -# Create imported target incompressibleTransportModels -add_library(incompressibleTransportModels SHARED IMPORTED) - -set_target_properties(incompressibleTransportModels PROPERTIES - COMPATIBLE_INTERFACE_STRING "FOAM_MAJOR_VERSION" - INTERFACE_FOAM_MAJOR_VERSION "4" - INTERFACE_INCLUDE_DIRECTORIES "/home/henrus/OpenFOAM/foam-extend-4.0_2/src/transportModels/incompressible/lnInclude;/home/henrus/OpenFOAM/foam-extend-4.0_2/src/transportModels/incompressible/.." -) - -# Create imported target interfaceProperties -add_library(interfaceProperties SHARED IMPORTED) - -set_target_properties(interfaceProperties PROPERTIES - COMPATIBLE_INTERFACE_STRING "FOAM_MAJOR_VERSION" - INTERFACE_FOAM_MAJOR_VERSION "4" - INTERFACE_INCLUDE_DIRECTORIES "/home/henrus/OpenFOAM/foam-extend-4.0_2/src/transportModels/interfaceProperties/lnInclude" -) - -# Create imported target viscoelasticTransportModels -add_library(viscoelasticTransportModels SHARED IMPORTED) - -set_target_properties(viscoelasticTransportModels PROPERTIES - COMPATIBLE_INTERFACE_STRING "FOAM_MAJOR_VERSION" - INTERFACE_FOAM_MAJOR_VERSION "4" - INTERFACE_INCLUDE_DIRECTORIES "/home/henrus/OpenFOAM/foam-extend-4.0_2/src/transportModels/viscoelastic/lnInclude" -) - -# Create imported target multiSolverLib -add_library(multiSolverLib SHARED IMPORTED) - -set_target_properties(multiSolverLib PROPERTIES - COMPATIBLE_INTERFACE_STRING "FOAM_MAJOR_VERSION" - INTERFACE_FOAM_MAJOR_VERSION "4" - INTERFACE_INCLUDE_DIRECTORIES "/home/henrus/OpenFOAM/foam-extend-4.0_2/src/multiSolver/lnInclude" -) - -# Create imported target OSspecific -add_library(OSspecific SHARED IMPORTED) - -set_target_properties(OSspecific PROPERTIES - COMPATIBLE_INTERFACE_STRING "FOAM_MAJOR_VERSION" - INTERFACE_COMPILE_DEFINITIONS "WM_SP;NoRepository" - INTERFACE_FOAM_MAJOR_VERSION "4" - INTERFACE_INCLUDE_DIRECTORIES "/home/henrus/OpenFOAM/foam-extend-4.0_2/src/OSspecific/POSIX/lnInclude" -) - -# Create imported target equationReader -add_library(equationReader SHARED IMPORTED) - -set_target_properties(equationReader PROPERTIES - COMPATIBLE_INTERFACE_STRING "FOAM_MAJOR_VERSION" - INTERFACE_FOAM_MAJOR_VERSION "4" - INTERFACE_INCLUDE_DIRECTORIES "/home/henrus/OpenFOAM/foam-extend-4.0_2/src/equationReader/lnInclude" -) - -# Create imported target POD -add_library(POD SHARED IMPORTED) - -set_target_properties(POD PROPERTIES - COMPATIBLE_INTERFACE_STRING "FOAM_MAJOR_VERSION" - INTERFACE_FOAM_MAJOR_VERSION "4" - INTERFACE_INCLUDE_DIRECTORIES "/home/henrus/OpenFOAM/foam-extend-4.0_2/src/POD/lnInclude" -) - -# Create imported target solidModels -add_library(solidModels SHARED IMPORTED) - -set_target_properties(solidModels PROPERTIES - COMPATIBLE_INTERFACE_STRING "FOAM_MAJOR_VERSION" - INTERFACE_FOAM_MAJOR_VERSION "4" - INTERFACE_INCLUDE_DIRECTORIES "/home/henrus/OpenFOAM/foam-extend-4.0_2/src/solidModels/lnInclude" -) - -# Create imported target ODE -add_library(ODE SHARED IMPORTED) - -set_target_properties(ODE PROPERTIES - COMPATIBLE_INTERFACE_STRING "FOAM_MAJOR_VERSION" - INTERFACE_FOAM_MAJOR_VERSION "4" - INTERFACE_INCLUDE_DIRECTORIES "/home/henrus/OpenFOAM/foam-extend-4.0_2/src/ODE/lnInclude" -) - -# Create imported target engine -add_library(engine SHARED IMPORTED) - -set_target_properties(engine PROPERTIES - COMPATIBLE_INTERFACE_STRING "FOAM_MAJOR_VERSION" - INTERFACE_FOAM_MAJOR_VERSION "4" - INTERFACE_INCLUDE_DIRECTORIES "/home/henrus/OpenFOAM/foam-extend-4.0_2/src/engine/lnInclude" -) - -# Create imported target lduSolvers -add_library(lduSolvers SHARED IMPORTED) - -set_target_properties(lduSolvers PROPERTIES - COMPATIBLE_INTERFACE_STRING "FOAM_MAJOR_VERSION" - INTERFACE_FOAM_MAJOR_VERSION "4" - INTERFACE_INCLUDE_DIRECTORIES "/home/henrus/OpenFOAM/foam-extend-4.0_2/src/lduSolvers/lnInclude" -) - -# Create imported target blockMeshLib -add_library(blockMeshLib SHARED IMPORTED) - -set_target_properties(blockMeshLib PROPERTIES - COMPATIBLE_INTERFACE_STRING "FOAM_MAJOR_VERSION" - INTERFACE_FOAM_MAJOR_VERSION "4" - INTERFACE_INCLUDE_DIRECTORIES "/home/henrus/OpenFOAM/foam-extend-4.0_2/src/mesh/blockMesh/lnInclude" -) - -# Create imported target cfMesh -add_library(cfMesh SHARED IMPORTED) - -set_target_properties(cfMesh PROPERTIES - COMPATIBLE_INTERFACE_STRING "FOAM_MAJOR_VERSION" - INTERFACE_FOAM_MAJOR_VERSION "4" - INTERFACE_INCLUDE_DIRECTORIES "/home/henrus/OpenFOAM/foam-extend-4.0_2/src/mesh/cfMesh/lnInclude" -) - -# Create imported target extrudeModel -add_library(extrudeModel SHARED IMPORTED) - -set_target_properties(extrudeModel PROPERTIES - COMPATIBLE_INTERFACE_STRING "FOAM_MAJOR_VERSION" - INTERFACE_FOAM_MAJOR_VERSION "4" - INTERFACE_INCLUDE_DIRECTORIES "/home/henrus/OpenFOAM/foam-extend-4.0_2/src/mesh/extrudeModel/lnInclude" -) - -# Create imported target autoMesh -add_library(autoMesh SHARED IMPORTED) - -set_target_properties(autoMesh PROPERTIES - COMPATIBLE_INTERFACE_STRING "FOAM_MAJOR_VERSION" - INTERFACE_FOAM_MAJOR_VERSION "4" - INTERFACE_INCLUDE_DIRECTORIES "/home/henrus/OpenFOAM/foam-extend-4.0_2/src/mesh/autoMesh/lnInclude" -) - -# Create imported target IOFunctionObjects -add_library(IOFunctionObjects SHARED IMPORTED) - -set_target_properties(IOFunctionObjects PROPERTIES - COMPATIBLE_INTERFACE_STRING "FOAM_MAJOR_VERSION" - INTERFACE_FOAM_MAJOR_VERSION "4" - INTERFACE_INCLUDE_DIRECTORIES "/home/henrus/OpenFOAM/foam-extend-4.0_2/src/postProcessing/functionObjects/IO/lnInclude" -) - -# Create imported target systemCall -add_library(systemCall SHARED IMPORTED) - -set_target_properties(systemCall PROPERTIES - COMPATIBLE_INTERFACE_STRING "FOAM_MAJOR_VERSION" - INTERFACE_FOAM_MAJOR_VERSION "4" - INTERFACE_INCLUDE_DIRECTORIES "/home/henrus/OpenFOAM/foam-extend-4.0_2/src/postProcessing/functionObjects/systemCall/lnInclude" -) - -# Create imported target utilityFunctionObjects -add_library(utilityFunctionObjects SHARED IMPORTED) - -set_target_properties(utilityFunctionObjects PROPERTIES - COMPATIBLE_INTERFACE_STRING "FOAM_MAJOR_VERSION" - INTERFACE_FOAM_MAJOR_VERSION "4" - INTERFACE_INCLUDE_DIRECTORIES "/home/henrus/OpenFOAM/foam-extend-4.0_2/src/postProcessing/functionObjects/utilities/lnInclude" -) - -# Create imported target fieldFunctionObjects -add_library(fieldFunctionObjects SHARED IMPORTED) - -set_target_properties(fieldFunctionObjects PROPERTIES - COMPATIBLE_INTERFACE_STRING "FOAM_MAJOR_VERSION" - INTERFACE_FOAM_MAJOR_VERSION "4" - INTERFACE_INCLUDE_DIRECTORIES "/home/henrus/OpenFOAM/foam-extend-4.0_2/src/postProcessing/functionObjects/field/lnInclude" -) - -# Create imported target forces -add_library(forces SHARED IMPORTED) - -set_target_properties(forces PROPERTIES - COMPATIBLE_INTERFACE_STRING "FOAM_MAJOR_VERSION" - INTERFACE_FOAM_MAJOR_VERSION "4" - INTERFACE_INCLUDE_DIRECTORIES "/home/henrus/OpenFOAM/foam-extend-4.0_2/src/postProcessing/functionObjects/forces/lnInclude" -) - -# Create imported target checkFunctionObjects -add_library(checkFunctionObjects SHARED IMPORTED) - -set_target_properties(checkFunctionObjects PROPERTIES - COMPATIBLE_INTERFACE_STRING "FOAM_MAJOR_VERSION" - INTERFACE_FOAM_MAJOR_VERSION "4" - INTERFACE_INCLUDE_DIRECTORIES "/home/henrus/OpenFOAM/foam-extend-4.0_2/src/postProcessing/functionObjects/check/lnInclude" -) - -# Create imported target postCalc -add_library(postCalc SHARED IMPORTED) - -set_target_properties(postCalc PROPERTIES - COMPATIBLE_INTERFACE_STRING "FOAM_MAJOR_VERSION" - INTERFACE_FOAM_MAJOR_VERSION "4" - INTERFACE_INCLUDE_DIRECTORIES "/home/henrus/OpenFOAM/foam-extend-4.0_2/src/postProcessing/postCalc/lnInclude" -) - -# Create imported target foamCalcFunctions -add_library(foamCalcFunctions SHARED IMPORTED) - -set_target_properties(foamCalcFunctions PROPERTIES - COMPATIBLE_INTERFACE_STRING "FOAM_MAJOR_VERSION" - INTERFACE_FOAM_MAJOR_VERSION "4" - INTERFACE_INCLUDE_DIRECTORIES "/home/henrus/OpenFOAM/foam-extend-4.0_2/src/postProcessing/foamCalcFunctions/lnInclude" -) - -# Create imported target finiteVolume -add_library(finiteVolume SHARED IMPORTED) - -set_target_properties(finiteVolume PROPERTIES - COMPATIBLE_INTERFACE_STRING "FOAM_MAJOR_VERSION" - INTERFACE_FOAM_MAJOR_VERSION "4" - INTERFACE_INCLUDE_DIRECTORIES "/home/henrus/OpenFOAM/foam-extend-4.0_2/src/finiteVolume/lnInclude" -) - -# Create imported target sampling -add_library(sampling SHARED IMPORTED) - -set_target_properties(sampling PROPERTIES - COMPATIBLE_INTERFACE_STRING "FOAM_MAJOR_VERSION" - INTERFACE_FOAM_MAJOR_VERSION "4" - INTERFACE_INCLUDE_DIRECTORIES "/home/henrus/OpenFOAM/foam-extend-4.0_2/src/sampling/lnInclude" -) - -# Create imported target meshTools -add_library(meshTools SHARED IMPORTED) - -set_target_properties(meshTools PROPERTIES - COMPATIBLE_INTERFACE_STRING "FOAM_MAJOR_VERSION" - INTERFACE_FOAM_MAJOR_VERSION "4" - INTERFACE_INCLUDE_DIRECTORIES "/home/henrus/OpenFOAM/foam-extend-4.0_2/src/meshTools/lnInclude" -) - -# Create imported target topoChangerFvMesh -add_library(topoChangerFvMesh SHARED IMPORTED) - -set_target_properties(topoChangerFvMesh PROPERTIES - COMPATIBLE_INTERFACE_STRING "FOAM_MAJOR_VERSION" - INTERFACE_FOAM_MAJOR_VERSION "4" - INTERFACE_INCLUDE_DIRECTORIES "/home/henrus/OpenFOAM/foam-extend-4.0_2/src/dynamicMesh/topoChangerFvMesh/lnInclude" -) - -# Create imported target dynamicMesh -add_library(dynamicMesh SHARED IMPORTED) - -set_target_properties(dynamicMesh PROPERTIES - COMPATIBLE_INTERFACE_STRING "FOAM_MAJOR_VERSION" - INTERFACE_FOAM_MAJOR_VERSION "4" - INTERFACE_INCLUDE_DIRECTORIES "/home/henrus/OpenFOAM/foam-extend-4.0_2/src/dynamicMesh/dynamicMesh/lnInclude" -) - -# Create imported target dynamicTopoFvMesh -add_library(dynamicTopoFvMesh SHARED IMPORTED) - -set_target_properties(dynamicTopoFvMesh PROPERTIES - COMPATIBLE_INTERFACE_STRING "FOAM_MAJOR_VERSION" - INTERFACE_FOAM_MAJOR_VERSION "4" - INTERFACE_INCLUDE_DIRECTORIES "/home/henrus/OpenFOAM/foam-extend-4.0_2/src/dynamicMesh/dynamicTopoFvMesh/lnInclude" -) - -# Create imported target dynamicFvMesh -add_library(dynamicFvMesh SHARED IMPORTED) - -set_target_properties(dynamicFvMesh PROPERTIES - COMPATIBLE_INTERFACE_STRING "FOAM_MAJOR_VERSION" - INTERFACE_FOAM_MAJOR_VERSION "4" - INTERFACE_INCLUDE_DIRECTORIES "/home/henrus/OpenFOAM/foam-extend-4.0_2/src/dynamicMesh/dynamicFvMesh/lnInclude" -) - -# Create imported target solidBodyMotion -add_library(solidBodyMotion SHARED IMPORTED) - -set_target_properties(solidBodyMotion PROPERTIES - COMPATIBLE_INTERFACE_STRING "FOAM_MAJOR_VERSION" - INTERFACE_FOAM_MAJOR_VERSION "4" - INTERFACE_INCLUDE_DIRECTORIES "/home/henrus/OpenFOAM/foam-extend-4.0_2/src/dynamicMesh/meshMotion/solidBodyMotion/lnInclude" -) - -# Create imported target RBFMotionSolver -add_library(RBFMotionSolver SHARED IMPORTED) - -set_target_properties(RBFMotionSolver PROPERTIES - COMPATIBLE_INTERFACE_STRING "FOAM_MAJOR_VERSION" - INTERFACE_FOAM_MAJOR_VERSION "4" - INTERFACE_INCLUDE_DIRECTORIES "/home/henrus/OpenFOAM/foam-extend-4.0_2/src/dynamicMesh/meshMotion/RBFMotionSolver/lnInclude" -) - -# Create imported target fvMotionSolver -add_library(fvMotionSolver SHARED IMPORTED) - -set_target_properties(fvMotionSolver PROPERTIES - COMPATIBLE_INTERFACE_STRING "FOAM_MAJOR_VERSION" - INTERFACE_FOAM_MAJOR_VERSION "4" - INTERFACE_INCLUDE_DIRECTORIES "/home/henrus/OpenFOAM/foam-extend-4.0_2/src/dynamicMesh/meshMotion/fvMotionSolver/lnInclude" -) - -# Create imported target tetMotionSolver -add_library(tetMotionSolver SHARED IMPORTED) - -set_target_properties(tetMotionSolver PROPERTIES - COMPATIBLE_INTERFACE_STRING "FOAM_MAJOR_VERSION" - INTERFACE_FOAM_MAJOR_VERSION "4" - INTERFACE_INCLUDE_DIRECTORIES "/home/henrus/OpenFOAM/foam-extend-4.0_2/src/dynamicMesh/meshMotion/tetMotionSolver/lnInclude" -) - -# Create imported target laminarFlameSpeedModels -add_library(laminarFlameSpeedModels SHARED IMPORTED) - -set_target_properties(laminarFlameSpeedModels PROPERTIES - COMPATIBLE_INTERFACE_STRING "FOAM_MAJOR_VERSION" - INTERFACE_FOAM_MAJOR_VERSION "4" - INTERFACE_INCLUDE_DIRECTORIES "/home/henrus/OpenFOAM/foam-extend-4.0_2/src/thermophysicalModels/laminarFlameSpeed/lnInclude" -) - -# Create imported target liquidMixture -add_library(liquidMixture SHARED IMPORTED) - -set_target_properties(liquidMixture PROPERTIES - COMPATIBLE_INTERFACE_STRING "FOAM_MAJOR_VERSION" - INTERFACE_FOAM_MAJOR_VERSION "4" - INTERFACE_INCLUDE_DIRECTORIES "/home/henrus/OpenFOAM/foam-extend-4.0_2/src/thermophysicalModels/liquidMixture/lnInclude" -) - -# Create imported target radiation -add_library(radiation SHARED IMPORTED) - -set_target_properties(radiation PROPERTIES - COMPATIBLE_INTERFACE_STRING "FOAM_MAJOR_VERSION" - INTERFACE_FOAM_MAJOR_VERSION "4" - INTERFACE_INCLUDE_DIRECTORIES "/home/henrus/OpenFOAM/foam-extend-4.0_2/src/thermophysicalModels/radiation/lnInclude" -) - -# Create imported target barotropicCompressibilityModel -add_library(barotropicCompressibilityModel SHARED IMPORTED) - -set_target_properties(barotropicCompressibilityModel PROPERTIES - COMPATIBLE_INTERFACE_STRING "FOAM_MAJOR_VERSION" - INTERFACE_FOAM_MAJOR_VERSION "4" - INTERFACE_INCLUDE_DIRECTORIES "/home/henrus/OpenFOAM/foam-extend-4.0_2/src/thermophysicalModels/barotropicCompressibilityModel/lnInclude" -) - -# Create imported target specie -add_library(specie SHARED IMPORTED) - -set_target_properties(specie PROPERTIES - COMPATIBLE_INTERFACE_STRING "FOAM_MAJOR_VERSION" - INTERFACE_FOAM_MAJOR_VERSION "4" - INTERFACE_INCLUDE_DIRECTORIES "/home/henrus/OpenFOAM/foam-extend-4.0_2/src/thermophysicalModels/specie/lnInclude" -) - -# Create imported target solids -add_library(solids SHARED IMPORTED) - -set_target_properties(solids PROPERTIES - COMPATIBLE_INTERFACE_STRING "FOAM_MAJOR_VERSION" - INTERFACE_FOAM_MAJOR_VERSION "4" - INTERFACE_INCLUDE_DIRECTORIES "/home/henrus/OpenFOAM/foam-extend-4.0_2/src/thermophysicalModels/solids/lnInclude" -) - -# Create imported target thermophysicalFunctions -add_library(thermophysicalFunctions SHARED IMPORTED) - -set_target_properties(thermophysicalFunctions PROPERTIES - COMPATIBLE_INTERFACE_STRING "FOAM_MAJOR_VERSION" - INTERFACE_FOAM_MAJOR_VERSION "4" - INTERFACE_INCLUDE_DIRECTORIES "/home/henrus/OpenFOAM/foam-extend-4.0_2/src/thermophysicalModels/thermophysicalFunctions/lnInclude" -) - -# Create imported target liquids -add_library(liquids SHARED IMPORTED) - -set_target_properties(liquids PROPERTIES - COMPATIBLE_INTERFACE_STRING "FOAM_MAJOR_VERSION" - INTERFACE_FOAM_MAJOR_VERSION "4" - INTERFACE_INCLUDE_DIRECTORIES "/home/henrus/OpenFOAM/foam-extend-4.0_2/src/thermophysicalModels/liquids/lnInclude" -) - -# Create imported target basicThermophysicalModels -add_library(basicThermophysicalModels SHARED IMPORTED) - -set_target_properties(basicThermophysicalModels PROPERTIES - COMPATIBLE_INTERFACE_STRING "FOAM_MAJOR_VERSION" - INTERFACE_FOAM_MAJOR_VERSION "4" - INTERFACE_INCLUDE_DIRECTORIES "/home/henrus/OpenFOAM/foam-extend-4.0_2/src/thermophysicalModels/basic/lnInclude" -) - -# Create imported target pdf -add_library(pdf SHARED IMPORTED) - -set_target_properties(pdf PROPERTIES - COMPATIBLE_INTERFACE_STRING "FOAM_MAJOR_VERSION" - INTERFACE_FOAM_MAJOR_VERSION "4" - INTERFACE_INCLUDE_DIRECTORIES "/home/henrus/OpenFOAM/foam-extend-4.0_2/src/thermophysicalModels/pdfs/lnInclude" -) - -# Create imported target reactionThermophysicalModels -add_library(reactionThermophysicalModels SHARED IMPORTED) - -set_target_properties(reactionThermophysicalModels PROPERTIES - COMPATIBLE_INTERFACE_STRING "FOAM_MAJOR_VERSION" - INTERFACE_FOAM_MAJOR_VERSION "4" - INTERFACE_INCLUDE_DIRECTORIES "/home/henrus/OpenFOAM/foam-extend-4.0_2/src/thermophysicalModels/reactionThermo/lnInclude" -) - -# Create imported target solidMixture -add_library(solidMixture SHARED IMPORTED) - -set_target_properties(solidMixture PROPERTIES - COMPATIBLE_INTERFACE_STRING "FOAM_MAJOR_VERSION" - INTERFACE_FOAM_MAJOR_VERSION "4" - INTERFACE_INCLUDE_DIRECTORIES "/home/henrus/OpenFOAM/foam-extend-4.0_2/src/thermophysicalModels/solidMixture/lnInclude" -) - -# Create imported target chemistryModel -add_library(chemistryModel SHARED IMPORTED) - -set_target_properties(chemistryModel PROPERTIES - COMPATIBLE_INTERFACE_STRING "FOAM_MAJOR_VERSION" - INTERFACE_FOAM_MAJOR_VERSION "4" - INTERFACE_INCLUDE_DIRECTORIES "/home/henrus/OpenFOAM/foam-extend-4.0_2/src/thermophysicalModels/chemistryModel/lnInclude" -) - -# Create imported target userd-newFoam -add_library(userd-newFoam SHARED IMPORTED) - -set_target_properties(userd-newFoam PROPERTIES - COMPATIBLE_INTERFACE_STRING "FOAM_MAJOR_VERSION" - INTERFACE_FOAM_MAJOR_VERSION "4" - INTERFACE_INCLUDE_DIRECTORIES "/home/henrus/OpenFOAM/foam-extend-4.0_2/applications/utilities/postProcessing/graphics/newEnsightFoamReader/lnInclude" -) - -# Create imported target userd-foam -add_library(userd-foam SHARED IMPORTED) - -set_target_properties(userd-foam PROPERTIES - COMPATIBLE_INTERFACE_STRING "FOAM_MAJOR_VERSION" - INTERFACE_FOAM_MAJOR_VERSION "4" - INTERFACE_INCLUDE_DIRECTORIES "/home/henrus/OpenFOAM/foam-extend-4.0_2/applications/utilities/postProcessing/graphics/ensightFoamReader/lnInclude" -) - -# Import target "foam" for configuration "" -set_property(TARGET foam APPEND PROPERTY IMPORTED_CONFIGURATIONS NOCONFIG) -set_target_properties(foam PROPERTIES - IMPORTED_LINK_INTERFACE_LIBRARIES_NOCONFIG "OSspecific;mpi;ZLIB::ZLIB" - IMPORTED_LOCATION_NOCONFIG "/home/henrus/OpenFOAM/foam-extend-4.0_2/lib/libfoam.so.4.0" - IMPORTED_SONAME_NOCONFIG "libfoam.so.3" - ) - -# Import target "immersedBoundaryForceFunctionObject" for configuration "" -set_property(TARGET immersedBoundaryForceFunctionObject APPEND PROPERTY IMPORTED_CONFIGURATIONS NOCONFIG) -set_target_properties(immersedBoundaryForceFunctionObject PROPERTIES - IMPORTED_LINK_INTERFACE_LIBRARIES_NOCONFIG "immersedBoundaryTurbulence;forces" - IMPORTED_LOCATION_NOCONFIG "/home/henrus/OpenFOAM/foam-extend-4.0_2/lib/libimmersedBoundaryForceFunctionObject.so.4.0" - IMPORTED_SONAME_NOCONFIG "libimmersedBoundaryForceFunctionObject.so.3" - ) - -# Import target "immersedBoundary" for configuration "" -set_property(TARGET immersedBoundary APPEND PROPERTY IMPORTED_CONFIGURATIONS NOCONFIG) -set_target_properties(immersedBoundary PROPERTIES - IMPORTED_LINK_INTERFACE_LIBRARIES_NOCONFIG "finiteVolume;sampling;surfMesh;dynamicMesh" - IMPORTED_LOCATION_NOCONFIG "/home/henrus/OpenFOAM/foam-extend-4.0_2/lib/libimmersedBoundary.so.4.0" - IMPORTED_SONAME_NOCONFIG "libimmersedBoundary.so.3" - ) - -# Import target "immersedBoundaryTurbulence" for configuration "" -set_property(TARGET immersedBoundaryTurbulence APPEND PROPERTY IMPORTED_CONFIGURATIONS NOCONFIG) -set_target_properties(immersedBoundaryTurbulence PROPERTIES - IMPORTED_LINK_INTERFACE_LIBRARIES_NOCONFIG "immersedBoundary;incompressibleRASModels;incompressibleLESModels" - IMPORTED_LOCATION_NOCONFIG "/home/henrus/OpenFOAM/foam-extend-4.0_2/lib/libimmersedBoundaryTurbulence.so.4.0" - IMPORTED_SONAME_NOCONFIG "libimmersedBoundaryTurbulence.so.3" - ) - -# Import target "immersedBoundaryDynamicFvMesh" for configuration "" -set_property(TARGET immersedBoundaryDynamicFvMesh APPEND PROPERTY IMPORTED_CONFIGURATIONS NOCONFIG) -set_target_properties(immersedBoundaryDynamicFvMesh PROPERTIES - IMPORTED_LINK_INTERFACE_LIBRARIES_NOCONFIG "immersedBoundary;dynamicFvMesh;solidBodyMotion" - IMPORTED_LOCATION_NOCONFIG "/home/henrus/OpenFOAM/foam-extend-4.0_2/lib/libimmersedBoundaryDynamicFvMesh.so.4.0" - IMPORTED_SONAME_NOCONFIG "libimmersedBoundaryDynamicFvMesh.so.3" - ) - -# Import target "molecule" for configuration "" -set_property(TARGET molecule APPEND PROPERTY IMPORTED_CONFIGURATIONS NOCONFIG) -set_target_properties(molecule PROPERTIES - IMPORTED_LINK_INTERFACE_LIBRARIES_NOCONFIG "potential" - IMPORTED_LOCATION_NOCONFIG "/home/henrus/OpenFOAM/foam-extend-4.0_2/lib/libmolecule.so.4.0" - IMPORTED_SONAME_NOCONFIG "libmolecule.so.3" - ) - -# Import target "potential" for configuration "" -set_property(TARGET potential APPEND PROPERTY IMPORTED_CONFIGURATIONS NOCONFIG) -set_target_properties(potential PROPERTIES - IMPORTED_LINK_INTERFACE_LIBRARIES_NOCONFIG "finiteVolume" - IMPORTED_LOCATION_NOCONFIG "/home/henrus/OpenFOAM/foam-extend-4.0_2/lib/libpotential.so.4.0" - IMPORTED_SONAME_NOCONFIG "libpotential.so.3" - ) - -# Import target "molecularMeasurements" for configuration "" -set_property(TARGET molecularMeasurements APPEND PROPERTY IMPORTED_CONFIGURATIONS NOCONFIG) -set_target_properties(molecularMeasurements PROPERTIES - IMPORTED_LINK_INTERFACE_LIBRARIES_NOCONFIG "foam" - IMPORTED_LOCATION_NOCONFIG "/home/henrus/OpenFOAM/foam-extend-4.0_2/lib/libmolecularMeasurements.so.4.0" - IMPORTED_SONAME_NOCONFIG "libmolecularMeasurements.so.3" - ) - -# Import target "coalCombustion" for configuration "" -set_property(TARGET coalCombustion APPEND PROPERTY IMPORTED_CONFIGURATIONS NOCONFIG) -set_target_properties(coalCombustion PROPERTIES - IMPORTED_LINK_INTERFACE_LIBRARIES_NOCONFIG "lagrangianBasic;lagrangianIntermediate;basicThermophysicalModels" - IMPORTED_LOCATION_NOCONFIG "/home/henrus/OpenFOAM/foam-extend-4.0_2/lib/libcoalCombustion.so.4.0" - IMPORTED_SONAME_NOCONFIG "libcoalCombustion.so.3" - ) - -# Import target "dsmc" for configuration "" -set_property(TARGET dsmc APPEND PROPERTY IMPORTED_CONFIGURATIONS NOCONFIG) -set_target_properties(dsmc PROPERTIES - IMPORTED_LINK_INTERFACE_LIBRARIES_NOCONFIG "finiteVolume;lagrangianBasic" - IMPORTED_LOCATION_NOCONFIG "/home/henrus/OpenFOAM/foam-extend-4.0_2/lib/libdsmc.so.4.0" - IMPORTED_SONAME_NOCONFIG "libdsmc.so.3" - ) - -# Import target "lagrangianIntermediate" for configuration "" -set_property(TARGET lagrangianIntermediate APPEND PROPERTY IMPORTED_CONFIGURATIONS NOCONFIG) -set_target_properties(lagrangianIntermediate PROPERTIES - IMPORTED_LINK_INTERFACE_LIBRARIES_NOCONFIG "reactionThermophysicalModels;radiation;compressibleRASModels;compressibleLESModels;pdf;liquidMixture;solidMixture" - IMPORTED_LOCATION_NOCONFIG "/home/henrus/OpenFOAM/foam-extend-4.0_2/lib/liblagrangianIntermediate.so.4.0" - IMPORTED_SONAME_NOCONFIG "liblagrangianIntermediate.so.3" - ) - -# Import target "solidParticle" for configuration "" -set_property(TARGET solidParticle APPEND PROPERTY IMPORTED_CONFIGURATIONS NOCONFIG) -set_target_properties(solidParticle PROPERTIES - IMPORTED_LINK_INTERFACE_LIBRARIES_NOCONFIG "finiteVolume;lagrangianBasic" - IMPORTED_LOCATION_NOCONFIG "/home/henrus/OpenFOAM/foam-extend-4.0_2/lib/libsolidParticle.so.4.0" - IMPORTED_SONAME_NOCONFIG "libsolidParticle.so.3" - ) - -# Import target "lagrangianBasic" for configuration "" -set_property(TARGET lagrangianBasic APPEND PROPERTY IMPORTED_CONFIGURATIONS NOCONFIG) -set_target_properties(lagrangianBasic PROPERTIES - IMPORTED_LINK_INTERFACE_LIBRARIES_NOCONFIG "decompositionMethods;foam" - IMPORTED_LOCATION_NOCONFIG "/home/henrus/OpenFOAM/foam-extend-4.0_2/lib/liblagrangianBasic.so.4.0" - IMPORTED_SONAME_NOCONFIG "liblagrangianBasic.so.3" - ) - -# Import target "dieselSpray" for configuration "" -set_property(TARGET dieselSpray APPEND PROPERTY IMPORTED_CONFIGURATIONS NOCONFIG) -set_target_properties(dieselSpray PROPERTIES - IMPORTED_LINK_INTERFACE_LIBRARIES_NOCONFIG "lagrangianBasic;lagrangianIntermediate;basicThermophysicalModels" - IMPORTED_LOCATION_NOCONFIG "/home/henrus/OpenFOAM/foam-extend-4.0_2/lib/libdieselSpray.so.4.0" - IMPORTED_SONAME_NOCONFIG "libdieselSpray.so.3" - ) - -# Import target "edgeMesh" for configuration "" -set_property(TARGET edgeMesh APPEND PROPERTY IMPORTED_CONFIGURATIONS NOCONFIG) -set_target_properties(edgeMesh PROPERTIES - IMPORTED_LINK_INTERFACE_LIBRARIES_NOCONFIG "foam" - IMPORTED_LOCATION_NOCONFIG "/home/henrus/OpenFOAM/foam-extend-4.0_2/lib/libedgeMesh.so.4.0" - IMPORTED_SONAME_NOCONFIG "libedgeMesh.so.3" - ) - -# Import target "coupledLduMatrix" for configuration "" -set_property(TARGET coupledLduMatrix APPEND PROPERTY IMPORTED_CONFIGURATIONS NOCONFIG) -set_target_properties(coupledLduMatrix PROPERTIES - IMPORTED_LINK_INTERFACE_LIBRARIES_NOCONFIG "finiteVolume" - IMPORTED_LOCATION_NOCONFIG "/home/henrus/OpenFOAM/foam-extend-4.0_2/lib/libcoupledLduMatrix.so.4.0" - IMPORTED_SONAME_NOCONFIG "libcoupledLduMatrix.so.3" - ) - -# Import target "compressibleLESModels" for configuration "" -set_property(TARGET compressibleLESModels APPEND PROPERTY IMPORTED_CONFIGURATIONS NOCONFIG) -set_target_properties(compressibleLESModels PROPERTIES - IMPORTED_LINK_INTERFACE_LIBRARIES_NOCONFIG "compressibleTurbulenceModel;LESdeltas;LESfilters" - IMPORTED_LOCATION_NOCONFIG "/home/henrus/OpenFOAM/foam-extend-4.0_2/lib/libcompressibleLESModels.so.4.0" - IMPORTED_SONAME_NOCONFIG "libcompressibleLESModels.so.3" - ) - -# Import target "compressibleTurbulenceModel" for configuration "" -set_property(TARGET compressibleTurbulenceModel APPEND PROPERTY IMPORTED_CONFIGURATIONS NOCONFIG) -set_target_properties(compressibleTurbulenceModel PROPERTIES - IMPORTED_LINK_INTERFACE_LIBRARIES_NOCONFIG "basicThermophysicalModels" - IMPORTED_LOCATION_NOCONFIG "/home/henrus/OpenFOAM/foam-extend-4.0_2/lib/libcompressibleTurbulenceModel.so.4.0" - IMPORTED_SONAME_NOCONFIG "libcompressibleTurbulenceModel.so.3" - ) - -# Import target "compressibleRASModels" for configuration "" -set_property(TARGET compressibleRASModels APPEND PROPERTY IMPORTED_CONFIGURATIONS NOCONFIG) -set_target_properties(compressibleRASModels PROPERTIES - IMPORTED_LINK_INTERFACE_LIBRARIES_NOCONFIG "compressibleTurbulenceModel" - IMPORTED_LOCATION_NOCONFIG "/home/henrus/OpenFOAM/foam-extend-4.0_2/lib/libcompressibleRASModels.so.4.0" - IMPORTED_SONAME_NOCONFIG "libcompressibleRASModels.so.3" - ) - -# Import target "incompressibleLESModels" for configuration "" -set_property(TARGET incompressibleLESModels APPEND PROPERTY IMPORTED_CONFIGURATIONS NOCONFIG) -set_target_properties(incompressibleLESModels PROPERTIES - IMPORTED_LINK_INTERFACE_LIBRARIES_NOCONFIG "incompressibleTurbulenceModel;LESdeltas;LESfilters" - IMPORTED_LOCATION_NOCONFIG "/home/henrus/OpenFOAM/foam-extend-4.0_2/lib/libincompressibleLESModels.so.4.0" - IMPORTED_SONAME_NOCONFIG "libincompressibleLESModels.so.3" - ) - -# Import target "incompressibleTurbulenceModel" for configuration "" -set_property(TARGET incompressibleTurbulenceModel APPEND PROPERTY IMPORTED_CONFIGURATIONS NOCONFIG) -set_target_properties(incompressibleTurbulenceModel PROPERTIES - IMPORTED_LINK_INTERFACE_LIBRARIES_NOCONFIG "incompressibleTransportModels" - IMPORTED_LOCATION_NOCONFIG "/home/henrus/OpenFOAM/foam-extend-4.0_2/lib/libincompressibleTurbulenceModel.so.4.0" - IMPORTED_SONAME_NOCONFIG "libincompressibleTurbulenceModel.so.3" - ) - -# Import target "incompressibleRASModels" for configuration "" -set_property(TARGET incompressibleRASModels APPEND PROPERTY IMPORTED_CONFIGURATIONS NOCONFIG) -set_target_properties(incompressibleRASModels PROPERTIES - IMPORTED_LINK_INTERFACE_LIBRARIES_NOCONFIG "incompressibleTurbulenceModel" - IMPORTED_LOCATION_NOCONFIG "/home/henrus/OpenFOAM/foam-extend-4.0_2/lib/libincompressibleRASModels.so.4.0" - IMPORTED_SONAME_NOCONFIG "libincompressibleRASModels.so.3" - ) - -# Import target "LESfilters" for configuration "" -set_property(TARGET LESfilters APPEND PROPERTY IMPORTED_CONFIGURATIONS NOCONFIG) -set_target_properties(LESfilters PROPERTIES - IMPORTED_LINK_INTERFACE_LIBRARIES_NOCONFIG "finiteVolume" - IMPORTED_LOCATION_NOCONFIG "/home/henrus/OpenFOAM/foam-extend-4.0_2/lib/libLESfilters.so.4.0" - IMPORTED_SONAME_NOCONFIG "libLESfilters.so.3" - ) - -# Import target "LESdeltas" for configuration "" -set_property(TARGET LESdeltas APPEND PROPERTY IMPORTED_CONFIGURATIONS NOCONFIG) -set_target_properties(LESdeltas PROPERTIES - IMPORTED_LINK_INTERFACE_LIBRARIES_NOCONFIG "finiteVolume" - IMPORTED_LOCATION_NOCONFIG "/home/henrus/OpenFOAM/foam-extend-4.0_2/lib/libLESdeltas.so.4.0" - IMPORTED_SONAME_NOCONFIG "libLESdeltas.so.3" - ) - -# Import target "tetFiniteElement" for configuration "" -set_property(TARGET tetFiniteElement APPEND PROPERTY IMPORTED_CONFIGURATIONS NOCONFIG) -set_target_properties(tetFiniteElement PROPERTIES - IMPORTED_LINK_INTERFACE_LIBRARIES_NOCONFIG "meshTools" - IMPORTED_LOCATION_NOCONFIG "/home/henrus/OpenFOAM/foam-extend-4.0_2/lib/libtetFiniteElement.so.4.0" - IMPORTED_SONAME_NOCONFIG "libtetFiniteElement.so.3" - ) - -# Import target "finiteArea" for configuration "" -set_property(TARGET finiteArea APPEND PROPERTY IMPORTED_CONFIGURATIONS NOCONFIG) -set_target_properties(finiteArea PROPERTIES - IMPORTED_LINK_INTERFACE_LIBRARIES_NOCONFIG "foam" - IMPORTED_LOCATION_NOCONFIG "/home/henrus/OpenFOAM/foam-extend-4.0_2/lib/libfiniteArea.so.4.0" - IMPORTED_SONAME_NOCONFIG "libfiniteArea.so.3" - ) - -# Import target "errorEstimation" for configuration "" -set_property(TARGET errorEstimation APPEND PROPERTY IMPORTED_CONFIGURATIONS NOCONFIG) -set_target_properties(errorEstimation PROPERTIES - IMPORTED_LINK_INTERFACE_LIBRARIES_NOCONFIG "finiteVolume" - IMPORTED_LOCATION_NOCONFIG "/home/henrus/OpenFOAM/foam-extend-4.0_2/lib/liberrorEstimation.so.4.0" - IMPORTED_SONAME_NOCONFIG "liberrorEstimation.so.3" - ) - -# Import target "randomProcesses" for configuration "" -set_property(TARGET randomProcesses APPEND PROPERTY IMPORTED_CONFIGURATIONS NOCONFIG) -set_target_properties(randomProcesses PROPERTIES - IMPORTED_LINK_INTERFACE_LIBRARIES_NOCONFIG "finiteVolume" - IMPORTED_LOCATION_NOCONFIG "/home/henrus/OpenFOAM/foam-extend-4.0_2/lib/librandomProcesses.so.4.0" - IMPORTED_SONAME_NOCONFIG "librandomProcesses.so.3" - ) - -# Import target "decompositionMethods" for configuration "" -set_property(TARGET decompositionMethods APPEND PROPERTY IMPORTED_CONFIGURATIONS NOCONFIG) -set_target_properties(decompositionMethods PROPERTIES - IMPORTED_LINK_INTERFACE_LIBRARIES_NOCONFIG "foam" - IMPORTED_LOCATION_NOCONFIG "/home/henrus/OpenFOAM/foam-extend-4.0_2/lib/libdecompositionMethods.so.4.0" - IMPORTED_SONAME_NOCONFIG "libdecompositionMethods.so.3" - ) - -# Import target "conversion" for configuration "" -set_property(TARGET conversion APPEND PROPERTY IMPORTED_CONFIGURATIONS NOCONFIG) -set_target_properties(conversion PROPERTIES - IMPORTED_LINK_INTERFACE_LIBRARIES_NOCONFIG "finiteVolume" - IMPORTED_LOCATION_NOCONFIG "/home/henrus/OpenFOAM/foam-extend-4.0_2/lib/libconversion.so.4.0" - IMPORTED_SONAME_NOCONFIG "libconversion.so.3" - ) - -# Import target "surfMesh" for configuration "" -set_property(TARGET surfMesh APPEND PROPERTY IMPORTED_CONFIGURATIONS NOCONFIG) -set_target_properties(surfMesh PROPERTIES - IMPORTED_LINK_INTERFACE_LIBRARIES_NOCONFIG "foam" - IMPORTED_LOCATION_NOCONFIG "/home/henrus/OpenFOAM/foam-extend-4.0_2/lib/libsurfMesh.so.4.0" - IMPORTED_SONAME_NOCONFIG "libsurfMesh.so.3" - ) - -# Import target "incompressibleTransportModels" for configuration "" -set_property(TARGET incompressibleTransportModels APPEND PROPERTY IMPORTED_CONFIGURATIONS NOCONFIG) -set_target_properties(incompressibleTransportModels PROPERTIES - IMPORTED_LINK_INTERFACE_LIBRARIES_NOCONFIG "finiteVolume" - IMPORTED_LOCATION_NOCONFIG "/home/henrus/OpenFOAM/foam-extend-4.0_2/lib/libincompressibleTransportModels.so.4.0" - IMPORTED_SONAME_NOCONFIG "libincompressibleTransportModels.so.3" - ) - -# Import target "interfaceProperties" for configuration "" -set_property(TARGET interfaceProperties APPEND PROPERTY IMPORTED_CONFIGURATIONS NOCONFIG) -set_target_properties(interfaceProperties PROPERTIES - IMPORTED_LINK_INTERFACE_LIBRARIES_NOCONFIG "finiteVolume" - IMPORTED_LOCATION_NOCONFIG "/home/henrus/OpenFOAM/foam-extend-4.0_2/lib/libinterfaceProperties.so.4.0" - IMPORTED_SONAME_NOCONFIG "libinterfaceProperties.so.3" - ) - -# Import target "viscoelasticTransportModels" for configuration "" -set_property(TARGET viscoelasticTransportModels APPEND PROPERTY IMPORTED_CONFIGURATIONS NOCONFIG) -set_target_properties(viscoelasticTransportModels PROPERTIES - IMPORTED_LINK_INTERFACE_LIBRARIES_NOCONFIG "finiteVolume" - IMPORTED_LOCATION_NOCONFIG "/home/henrus/OpenFOAM/foam-extend-4.0_2/lib/libviscoelasticTransportModels.so.4.0" - IMPORTED_SONAME_NOCONFIG "libviscoelasticTransportModels.so.3" - ) - -# Import target "multiSolverLib" for configuration "" -set_property(TARGET multiSolverLib APPEND PROPERTY IMPORTED_CONFIGURATIONS NOCONFIG) -set_target_properties(multiSolverLib PROPERTIES - IMPORTED_LINK_INTERFACE_LIBRARIES_NOCONFIG "foam" - IMPORTED_LOCATION_NOCONFIG "/home/henrus/OpenFOAM/foam-extend-4.0_2/lib/libmultiSolverLib.so.4.0" - IMPORTED_SONAME_NOCONFIG "libmultiSolverLib.so.3" - ) - -# Import target "OSspecific" for configuration "" -set_property(TARGET OSspecific APPEND PROPERTY IMPORTED_CONFIGURATIONS NOCONFIG) -set_target_properties(OSspecific PROPERTIES - IMPORTED_LOCATION_NOCONFIG "/home/henrus/OpenFOAM/foam-extend-4.0_2/lib/libOSspecific.so.4.0" - IMPORTED_SONAME_NOCONFIG "libOSspecific.so.3" - ) - -# Import target "equationReader" for configuration "" -set_property(TARGET equationReader APPEND PROPERTY IMPORTED_CONFIGURATIONS NOCONFIG) -set_target_properties(equationReader PROPERTIES - IMPORTED_LINK_INTERFACE_LIBRARIES_NOCONFIG "foam" - IMPORTED_LOCATION_NOCONFIG "/home/henrus/OpenFOAM/foam-extend-4.0_2/lib/libequationReader.so.4.0" - IMPORTED_SONAME_NOCONFIG "libequationReader.so.3" - ) - -# Import target "POD" for configuration "" -set_property(TARGET POD APPEND PROPERTY IMPORTED_CONFIGURATIONS NOCONFIG) -set_target_properties(POD PROPERTIES - IMPORTED_LINK_INTERFACE_LIBRARIES_NOCONFIG "finiteVolume;ODE" - IMPORTED_LOCATION_NOCONFIG "/home/henrus/OpenFOAM/foam-extend-4.0_2/lib/libPOD.so.4.0" - IMPORTED_SONAME_NOCONFIG "libPOD.so.3" - ) - -# Import target "solidModels" for configuration "" -set_property(TARGET solidModels APPEND PROPERTY IMPORTED_CONFIGURATIONS NOCONFIG) -set_target_properties(solidModels PROPERTIES - IMPORTED_LINK_INTERFACE_LIBRARIES_NOCONFIG "topoChangerFvMesh;finiteArea" - IMPORTED_LOCATION_NOCONFIG "/home/henrus/OpenFOAM/foam-extend-4.0_2/lib/libsolidModels.so.4.0" - IMPORTED_SONAME_NOCONFIG "libsolidModels.so.3" - ) - -# Import target "ODE" for configuration "" -set_property(TARGET ODE APPEND PROPERTY IMPORTED_CONFIGURATIONS NOCONFIG) -set_target_properties(ODE PROPERTIES - IMPORTED_LINK_INTERFACE_LIBRARIES_NOCONFIG "meshTools" - IMPORTED_LOCATION_NOCONFIG "/home/henrus/OpenFOAM/foam-extend-4.0_2/lib/libODE.so.4.0" - IMPORTED_SONAME_NOCONFIG "libODE.so.3" - ) - -# Import target "engine" for configuration "" -set_property(TARGET engine APPEND PROPERTY IMPORTED_CONFIGURATIONS NOCONFIG) -set_target_properties(engine PROPERTIES - IMPORTED_LINK_INTERFACE_LIBRARIES_NOCONFIG "dynamicFvMesh;fvMotionSolver" - IMPORTED_LOCATION_NOCONFIG "/home/henrus/OpenFOAM/foam-extend-4.0_2/lib/libengine.so.4.0" - IMPORTED_SONAME_NOCONFIG "libengine.so.3" - ) - -# Import target "lduSolvers" for configuration "" -set_property(TARGET lduSolvers APPEND PROPERTY IMPORTED_CONFIGURATIONS NOCONFIG) -set_target_properties(lduSolvers PROPERTIES - IMPORTED_LINK_INTERFACE_LIBRARIES_NOCONFIG "foam" - IMPORTED_LOCATION_NOCONFIG "/home/henrus/OpenFOAM/foam-extend-4.0_2/lib/liblduSolvers.so.4.0" - IMPORTED_SONAME_NOCONFIG "liblduSolvers.so.3" - ) - -# Import target "blockMeshLib" for configuration "" -set_property(TARGET blockMeshLib APPEND PROPERTY IMPORTED_CONFIGURATIONS NOCONFIG) -set_target_properties(blockMeshLib PROPERTIES - IMPORTED_LINK_INTERFACE_LIBRARIES_NOCONFIG "ODE;dynamicMesh;finiteVolume;meshTools" - IMPORTED_LOCATION_NOCONFIG "/home/henrus/OpenFOAM/foam-extend-4.0_2/lib/libblockMeshLib.so.4.0" - IMPORTED_SONAME_NOCONFIG "libblockMeshLib.so.3" - ) - -# Import target "cfMesh" for configuration "" -set_property(TARGET cfMesh APPEND PROPERTY IMPORTED_CONFIGURATIONS NOCONFIG) -set_target_properties(cfMesh PROPERTIES - IMPORTED_LINK_INTERFACE_LIBRARIES_NOCONFIG "meshTools;edgeMesh" - IMPORTED_LOCATION_NOCONFIG "/home/henrus/OpenFOAM/foam-extend-4.0_2/lib/libcfMesh.so.4.0" - IMPORTED_SONAME_NOCONFIG "libcfMesh.so.3" - ) - -# Import target "extrudeModel" for configuration "" -set_property(TARGET extrudeModel APPEND PROPERTY IMPORTED_CONFIGURATIONS NOCONFIG) -set_target_properties(extrudeModel PROPERTIES - IMPORTED_LINK_INTERFACE_LIBRARIES_NOCONFIG "dynamicMesh" - IMPORTED_LOCATION_NOCONFIG "/home/henrus/OpenFOAM/foam-extend-4.0_2/lib/libextrudeModel.so.4.0" - IMPORTED_SONAME_NOCONFIG "libextrudeModel.so.3" - ) - -# Import target "autoMesh" for configuration "" -set_property(TARGET autoMesh APPEND PROPERTY IMPORTED_CONFIGURATIONS NOCONFIG) -set_target_properties(autoMesh PROPERTIES - IMPORTED_LINK_INTERFACE_LIBRARIES_NOCONFIG "dynamicFvMesh;edgeMesh" - IMPORTED_LOCATION_NOCONFIG "/home/henrus/OpenFOAM/foam-extend-4.0_2/lib/libautoMesh.so.4.0" - IMPORTED_SONAME_NOCONFIG "libautoMesh.so.3" - ) - -# Import target "IOFunctionObjects" for configuration "" -set_property(TARGET IOFunctionObjects APPEND PROPERTY IMPORTED_CONFIGURATIONS NOCONFIG) -set_target_properties(IOFunctionObjects PROPERTIES - IMPORTED_LINK_INTERFACE_LIBRARIES_NOCONFIG "foam" - IMPORTED_LOCATION_NOCONFIG "/home/henrus/OpenFOAM/foam-extend-4.0_2/lib/libIOFunctionObjects.so.4.0" - IMPORTED_SONAME_NOCONFIG "libIOFunctionObjects.so.3" - ) - -# Import target "systemCall" for configuration "" -set_property(TARGET systemCall APPEND PROPERTY IMPORTED_CONFIGURATIONS NOCONFIG) -set_target_properties(systemCall PROPERTIES - IMPORTED_LINK_INTERFACE_LIBRARIES_NOCONFIG "foam" - IMPORTED_LOCATION_NOCONFIG "/home/henrus/OpenFOAM/foam-extend-4.0_2/lib/libsystemCall.so.4.0" - IMPORTED_SONAME_NOCONFIG "libsystemCall.so.3" - ) - -# Import target "utilityFunctionObjects" for configuration "" -set_property(TARGET utilityFunctionObjects APPEND PROPERTY IMPORTED_CONFIGURATIONS NOCONFIG) -set_target_properties(utilityFunctionObjects PROPERTIES - IMPORTED_LINK_INTERFACE_LIBRARIES_NOCONFIG "basicThermophysicalModels;sampling;dsmc" - IMPORTED_LOCATION_NOCONFIG "/home/henrus/OpenFOAM/foam-extend-4.0_2/lib/libutilityFunctionObjects.so.4.0" - IMPORTED_SONAME_NOCONFIG "libutilityFunctionObjects.so.3" - ) - -# Import target "fieldFunctionObjects" for configuration "" -set_property(TARGET fieldFunctionObjects APPEND PROPERTY IMPORTED_CONFIGURATIONS NOCONFIG) -set_target_properties(fieldFunctionObjects PROPERTIES - IMPORTED_LINK_INTERFACE_LIBRARIES_NOCONFIG "finiteVolume" - IMPORTED_LOCATION_NOCONFIG "/home/henrus/OpenFOAM/foam-extend-4.0_2/lib/libfieldFunctionObjects.so.4.0" - IMPORTED_SONAME_NOCONFIG "libfieldFunctionObjects.so.3" - ) - -# Import target "forces" for configuration "" -set_property(TARGET forces APPEND PROPERTY IMPORTED_CONFIGURATIONS NOCONFIG) -set_target_properties(forces PROPERTIES - IMPORTED_LINK_INTERFACE_LIBRARIES_NOCONFIG "incompressibleRASModels;incompressibleLESModels;compressibleRASModels;compressibleLESModels" - IMPORTED_LOCATION_NOCONFIG "/home/henrus/OpenFOAM/foam-extend-4.0_2/lib/libforces.so.4.0" - IMPORTED_SONAME_NOCONFIG "libforces.so.3" - ) - -# Import target "checkFunctionObjects" for configuration "" -set_property(TARGET checkFunctionObjects APPEND PROPERTY IMPORTED_CONFIGURATIONS NOCONFIG) -set_target_properties(checkFunctionObjects PROPERTIES - IMPORTED_LINK_INTERFACE_LIBRARIES_NOCONFIG "finiteVolume" - IMPORTED_LOCATION_NOCONFIG "/home/henrus/OpenFOAM/foam-extend-4.0_2/lib/libcheckFunctionObjects.so.4.0" - IMPORTED_SONAME_NOCONFIG "libcheckFunctionObjects.so.3" - ) - -# Import target "postCalc" for configuration "" -set_property(TARGET postCalc APPEND PROPERTY IMPORTED_CONFIGURATIONS NOCONFIG) -set_target_properties(postCalc PROPERTIES - IMPORTED_LINK_INTERFACE_LIBRARIES_NOCONFIG "finiteVolume" - IMPORTED_LOCATION_NOCONFIG "/home/henrus/OpenFOAM/foam-extend-4.0_2/lib/libpostCalc.so.4.0" - IMPORTED_SONAME_NOCONFIG "libpostCalc.so.3" - ) - -# Import target "foamCalcFunctions" for configuration "" -set_property(TARGET foamCalcFunctions APPEND PROPERTY IMPORTED_CONFIGURATIONS NOCONFIG) -set_target_properties(foamCalcFunctions PROPERTIES - IMPORTED_LINK_INTERFACE_LIBRARIES_NOCONFIG "finiteVolume" - IMPORTED_LOCATION_NOCONFIG "/home/henrus/OpenFOAM/foam-extend-4.0_2/lib/libfoamCalcFunctions.so.4.0" - IMPORTED_SONAME_NOCONFIG "libfoamCalcFunctions.so.3" - ) - -# Import target "finiteVolume" for configuration "" -set_property(TARGET finiteVolume APPEND PROPERTY IMPORTED_CONFIGURATIONS NOCONFIG) -set_target_properties(finiteVolume PROPERTIES - IMPORTED_LINK_INTERFACE_LIBRARIES_NOCONFIG "meshTools" - IMPORTED_LOCATION_NOCONFIG "/home/henrus/OpenFOAM/foam-extend-4.0_2/lib/libfiniteVolume.so.4.0" - IMPORTED_SONAME_NOCONFIG "libfiniteVolume.so.3" - ) - -# Import target "sampling" for configuration "" -set_property(TARGET sampling APPEND PROPERTY IMPORTED_CONFIGURATIONS NOCONFIG) -set_target_properties(sampling PROPERTIES - IMPORTED_LINK_INTERFACE_LIBRARIES_NOCONFIG "finiteVolume;surfMesh" - IMPORTED_LOCATION_NOCONFIG "/home/henrus/OpenFOAM/foam-extend-4.0_2/lib/libsampling.so.4.0" - IMPORTED_SONAME_NOCONFIG "libsampling.so.3" - ) - -# Import target "meshTools" for configuration "" -set_property(TARGET meshTools APPEND PROPERTY IMPORTED_CONFIGURATIONS NOCONFIG) -set_target_properties(meshTools PROPERTIES - IMPORTED_LINK_INTERFACE_LIBRARIES_NOCONFIG "lagrangianBasic;decompositionMethods" - IMPORTED_LOCATION_NOCONFIG "/home/henrus/OpenFOAM/foam-extend-4.0_2/lib/libmeshTools.so.4.0" - IMPORTED_SONAME_NOCONFIG "libmeshTools.so.3" - ) - -# Import target "topoChangerFvMesh" for configuration "" -set_property(TARGET topoChangerFvMesh APPEND PROPERTY IMPORTED_CONFIGURATIONS NOCONFIG) -set_target_properties(topoChangerFvMesh PROPERTIES - IMPORTED_LINK_INTERFACE_LIBRARIES_NOCONFIG "dynamicFvMesh" - IMPORTED_LOCATION_NOCONFIG "/home/henrus/OpenFOAM/foam-extend-4.0_2/lib/libtopoChangerFvMesh.so.4.0" - IMPORTED_SONAME_NOCONFIG "libtopoChangerFvMesh.so.3" - ) - -# Import target "dynamicMesh" for configuration "" -set_property(TARGET dynamicMesh APPEND PROPERTY IMPORTED_CONFIGURATIONS NOCONFIG) -set_target_properties(dynamicMesh PROPERTIES - IMPORTED_LINK_INTERFACE_LIBRARIES_NOCONFIG "meshTools" - IMPORTED_LOCATION_NOCONFIG "/home/henrus/OpenFOAM/foam-extend-4.0_2/lib/libdynamicMesh.so.4.0" - IMPORTED_SONAME_NOCONFIG "libdynamicMesh.so.3" - ) - -# Import target "dynamicTopoFvMesh" for configuration "" -set_property(TARGET dynamicTopoFvMesh APPEND PROPERTY IMPORTED_CONFIGURATIONS NOCONFIG) -set_target_properties(dynamicTopoFvMesh PROPERTIES - IMPORTED_LINK_INTERFACE_LIBRARIES_NOCONFIG "dynamicFvMesh" - IMPORTED_LOCATION_NOCONFIG "/home/henrus/OpenFOAM/foam-extend-4.0_2/lib/libdynamicTopoFvMesh.so.4.0" - IMPORTED_SONAME_NOCONFIG "libdynamicTopoFvMesh.so.3" - ) - -# Import target "dynamicFvMesh" for configuration "" -set_property(TARGET dynamicFvMesh APPEND PROPERTY IMPORTED_CONFIGURATIONS NOCONFIG) -set_target_properties(dynamicFvMesh PROPERTIES - IMPORTED_LINK_INTERFACE_LIBRARIES_NOCONFIG "dynamicMesh;finiteVolume;RBFMotionSolver;solidBodyMotion;tetMotionSolver" - IMPORTED_LOCATION_NOCONFIG "/home/henrus/OpenFOAM/foam-extend-4.0_2/lib/libdynamicFvMesh.so.4.0" - IMPORTED_SONAME_NOCONFIG "libdynamicFvMesh.so.3" - ) - -# Import target "solidBodyMotion" for configuration "" -set_property(TARGET solidBodyMotion APPEND PROPERTY IMPORTED_CONFIGURATIONS NOCONFIG) -set_target_properties(solidBodyMotion PROPERTIES - IMPORTED_LINK_INTERFACE_LIBRARIES_NOCONFIG "foam" - IMPORTED_LOCATION_NOCONFIG "/home/henrus/OpenFOAM/foam-extend-4.0_2/lib/libsolidBodyMotion.so.4.0" - IMPORTED_SONAME_NOCONFIG "libsolidBodyMotion.so.3" - ) - -# Import target "RBFMotionSolver" for configuration "" -set_property(TARGET RBFMotionSolver APPEND PROPERTY IMPORTED_CONFIGURATIONS NOCONFIG) -set_target_properties(RBFMotionSolver PROPERTIES - IMPORTED_LINK_INTERFACE_LIBRARIES_NOCONFIG "dynamicMesh" - IMPORTED_LOCATION_NOCONFIG "/home/henrus/OpenFOAM/foam-extend-4.0_2/lib/libRBFMotionSolver.so.4.0" - IMPORTED_SONAME_NOCONFIG "libRBFMotionSolver.so.3" - ) - -# Import target "fvMotionSolver" for configuration "" -set_property(TARGET fvMotionSolver APPEND PROPERTY IMPORTED_CONFIGURATIONS NOCONFIG) -set_target_properties(fvMotionSolver PROPERTIES - IMPORTED_LINK_INTERFACE_LIBRARIES_NOCONFIG "finiteVolume;dynamicMesh" - IMPORTED_LOCATION_NOCONFIG "/home/henrus/OpenFOAM/foam-extend-4.0_2/lib/libfvMotionSolver.so.4.0" - IMPORTED_SONAME_NOCONFIG "libfvMotionSolver.so.3" - ) - -# Import target "tetMotionSolver" for configuration "" -set_property(TARGET tetMotionSolver APPEND PROPERTY IMPORTED_CONFIGURATIONS NOCONFIG) -set_target_properties(tetMotionSolver PROPERTIES - IMPORTED_LINK_INTERFACE_LIBRARIES_NOCONFIG "tetFiniteElement;dynamicMesh" - IMPORTED_LOCATION_NOCONFIG "/home/henrus/OpenFOAM/foam-extend-4.0_2/lib/libtetMotionSolver.so.4.0" - IMPORTED_SONAME_NOCONFIG "libtetMotionSolver.so.3" - ) - -# Import target "laminarFlameSpeedModels" for configuration "" -set_property(TARGET laminarFlameSpeedModels APPEND PROPERTY IMPORTED_CONFIGURATIONS NOCONFIG) -set_target_properties(laminarFlameSpeedModels PROPERTIES - IMPORTED_LINK_INTERFACE_LIBRARIES_NOCONFIG "reactionThermophysicalModels" - IMPORTED_LOCATION_NOCONFIG "/home/henrus/OpenFOAM/foam-extend-4.0_2/lib/liblaminarFlameSpeedModels.so.4.0" - IMPORTED_SONAME_NOCONFIG "liblaminarFlameSpeedModels.so.3" - ) - -# Import target "liquidMixture" for configuration "" -set_property(TARGET liquidMixture APPEND PROPERTY IMPORTED_CONFIGURATIONS NOCONFIG) -set_target_properties(liquidMixture PROPERTIES - IMPORTED_LINK_INTERFACE_LIBRARIES_NOCONFIG "liquids;specie" - IMPORTED_LOCATION_NOCONFIG "/home/henrus/OpenFOAM/foam-extend-4.0_2/lib/libliquidMixture.so.4.0" - IMPORTED_SONAME_NOCONFIG "libliquidMixture.so.3" - ) - -# Import target "radiation" for configuration "" -set_property(TARGET radiation APPEND PROPERTY IMPORTED_CONFIGURATIONS NOCONFIG) -set_target_properties(radiation PROPERTIES - IMPORTED_LINK_INTERFACE_LIBRARIES_NOCONFIG "basicThermophysicalModels" - IMPORTED_LOCATION_NOCONFIG "/home/henrus/OpenFOAM/foam-extend-4.0_2/lib/libradiation.so.4.0" - IMPORTED_SONAME_NOCONFIG "libradiation.so.3" - ) - -# Import target "barotropicCompressibilityModel" for configuration "" -set_property(TARGET barotropicCompressibilityModel APPEND PROPERTY IMPORTED_CONFIGURATIONS NOCONFIG) -set_target_properties(barotropicCompressibilityModel PROPERTIES - IMPORTED_LINK_INTERFACE_LIBRARIES_NOCONFIG "finiteVolume" - IMPORTED_LOCATION_NOCONFIG "/home/henrus/OpenFOAM/foam-extend-4.0_2/lib/libbarotropicCompressibilityModel.so.4.0" - IMPORTED_SONAME_NOCONFIG "libbarotropicCompressibilityModel.so.3" - ) - -# Import target "specie" for configuration "" -set_property(TARGET specie APPEND PROPERTY IMPORTED_CONFIGURATIONS NOCONFIG) -set_target_properties(specie PROPERTIES - IMPORTED_LINK_INTERFACE_LIBRARIES_NOCONFIG "foam" - IMPORTED_LOCATION_NOCONFIG "/home/henrus/OpenFOAM/foam-extend-4.0_2/lib/libspecie.so.4.0" - IMPORTED_SONAME_NOCONFIG "libspecie.so.3" - ) - -# Import target "solids" for configuration "" -set_property(TARGET solids APPEND PROPERTY IMPORTED_CONFIGURATIONS NOCONFIG) -set_target_properties(solids PROPERTIES - IMPORTED_LINK_INTERFACE_LIBRARIES_NOCONFIG "foam" - IMPORTED_LOCATION_NOCONFIG "/home/henrus/OpenFOAM/foam-extend-4.0_2/lib/libsolids.so.4.0" - IMPORTED_SONAME_NOCONFIG "libsolids.so.3" - ) - -# Import target "thermophysicalFunctions" for configuration "" -set_property(TARGET thermophysicalFunctions APPEND PROPERTY IMPORTED_CONFIGURATIONS NOCONFIG) -set_target_properties(thermophysicalFunctions PROPERTIES - IMPORTED_LINK_INTERFACE_LIBRARIES_NOCONFIG "foam" - IMPORTED_LOCATION_NOCONFIG "/home/henrus/OpenFOAM/foam-extend-4.0_2/lib/libthermophysicalFunctions.so.4.0" - IMPORTED_SONAME_NOCONFIG "libthermophysicalFunctions.so.3" - ) - -# Import target "liquids" for configuration "" -set_property(TARGET liquids APPEND PROPERTY IMPORTED_CONFIGURATIONS NOCONFIG) -set_target_properties(liquids PROPERTIES - IMPORTED_LINK_INTERFACE_LIBRARIES_NOCONFIG "thermophysicalFunctions" - IMPORTED_LOCATION_NOCONFIG "/home/henrus/OpenFOAM/foam-extend-4.0_2/lib/libliquids.so.4.0" - IMPORTED_SONAME_NOCONFIG "libliquids.so.3" - ) - -# Import target "basicThermophysicalModels" for configuration "" -set_property(TARGET basicThermophysicalModels APPEND PROPERTY IMPORTED_CONFIGURATIONS NOCONFIG) -set_target_properties(basicThermophysicalModels PROPERTIES - IMPORTED_LINK_INTERFACE_LIBRARIES_NOCONFIG "finiteVolume;specie;thermophysicalFunctions" - IMPORTED_LOCATION_NOCONFIG "/home/henrus/OpenFOAM/foam-extend-4.0_2/lib/libbasicThermophysicalModels.so.4.0" - IMPORTED_SONAME_NOCONFIG "libbasicThermophysicalModels.so.3" - ) - -# Import target "pdf" for configuration "" -set_property(TARGET pdf APPEND PROPERTY IMPORTED_CONFIGURATIONS NOCONFIG) -set_target_properties(pdf PROPERTIES - IMPORTED_LINK_INTERFACE_LIBRARIES_NOCONFIG "foam" - IMPORTED_LOCATION_NOCONFIG "/home/henrus/OpenFOAM/foam-extend-4.0_2/lib/libpdf.so.4.0" - IMPORTED_SONAME_NOCONFIG "libpdf.so.3" - ) - -# Import target "reactionThermophysicalModels" for configuration "" -set_property(TARGET reactionThermophysicalModels APPEND PROPERTY IMPORTED_CONFIGURATIONS NOCONFIG) -set_target_properties(reactionThermophysicalModels PROPERTIES - IMPORTED_LINK_INTERFACE_LIBRARIES_NOCONFIG "basicThermophysicalModels" - IMPORTED_LOCATION_NOCONFIG "/home/henrus/OpenFOAM/foam-extend-4.0_2/lib/libreactionThermophysicalModels.so.4.0" - IMPORTED_SONAME_NOCONFIG "libreactionThermophysicalModels.so.3" - ) - -# Import target "solidMixture" for configuration "" -set_property(TARGET solidMixture APPEND PROPERTY IMPORTED_CONFIGURATIONS NOCONFIG) -set_target_properties(solidMixture PROPERTIES - IMPORTED_LINK_INTERFACE_LIBRARIES_NOCONFIG "solids" - IMPORTED_LOCATION_NOCONFIG "/home/henrus/OpenFOAM/foam-extend-4.0_2/lib/libsolidMixture.so.4.0" - IMPORTED_SONAME_NOCONFIG "libsolidMixture.so.3" - ) - -# Import target "chemistryModel" for configuration "" -set_property(TARGET chemistryModel APPEND PROPERTY IMPORTED_CONFIGURATIONS NOCONFIG) -set_target_properties(chemistryModel PROPERTIES - IMPORTED_LINK_INTERFACE_LIBRARIES_NOCONFIG "reactionThermophysicalModels;ODE" - IMPORTED_LOCATION_NOCONFIG "/home/henrus/OpenFOAM/foam-extend-4.0_2/lib/libchemistryModel.so.4.0" - IMPORTED_SONAME_NOCONFIG "libchemistryModel.so.3" - ) - -# Import target "userd-newFoam" for configuration "" -set_property(TARGET userd-newFoam APPEND PROPERTY IMPORTED_CONFIGURATIONS NOCONFIG) -set_target_properties(userd-newFoam PROPERTIES - IMPORTED_LINK_INTERFACE_LIBRARIES_NOCONFIG "finiteVolume;finiteArea;lagrangianBasic" - IMPORTED_LOCATION_NOCONFIG "/home/henrus/OpenFOAM/foam-extend-4.0_2/lib/libuserd-newFoam.so.4.0" - IMPORTED_SONAME_NOCONFIG "libuserd-newFoam.so.3" - ) - -# Import target "userd-foam" for configuration "" -set_property(TARGET userd-foam APPEND PROPERTY IMPORTED_CONFIGURATIONS NOCONFIG) -set_target_properties(userd-foam PROPERTIES - IMPORTED_LINK_INTERFACE_LIBRARIES_NOCONFIG "finiteVolume;lagrangianBasic" - IMPORTED_LOCATION_NOCONFIG "/home/henrus/OpenFOAM/foam-extend-4.0_2/lib/libuserd-foam.so.4.0" - IMPORTED_SONAME_NOCONFIG "libuserd-foam.so.3" - ) - -# This file does not depend on other imported targets which have -# been exported from the same project but in a separate export set. - -# Commands beyond this point should not need to know the version. -set(CMAKE_IMPORT_FILE_VERSION) -cmake_policy(POP) diff --git a/cmake/getGitVersion.cmake b/cmake/getGitVersion.cmake index ad9d53b05..216adcf48 100644 --- a/cmake/getGitVersion.cmake +++ b/cmake/getGitVersion.cmake @@ -1,3 +1,34 @@ +# -------------------------------------------------------------------------- +# ======== | +# \ / F ield | foam-extend: Open Source CFD +# \ / O peration | Version: 4.1 +# \ / A nd | Web: http://www.foam-extend.org +# \/ M anipulation | For copyright notice see file Copyright +# -------------------------------------------------------------------------- +# License +# This file is part of foam-extend. +# +# foam-extend 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 3 of the License, or {at your +# option} any later version. +# +# foam-extend 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 foam-extend. If not, see . +# +# Description +# CMakeLists.txt file for libraries and applications +# +# Author +# Henrik Rusche, Wikki GmbH, 2017. All rights reserved +# +# +# -------------------------------------------------------------------------- if(NOT GIT_FOUND) find_package(Git QUIET) @@ -37,7 +68,7 @@ configure_file(cmake/storedVersion.cmake.in ) # Configure global.C -configure_file(src/foam/global/global.C.in +configure_file(${CMAKE_SOURCE_DIR}/src/foam/global/global.C.in src/foam/global/global.C ) diff --git a/cmake/storedVersion.cmake b/cmake/storedVersion.cmake deleted file mode 100644 index dab22f1ec..000000000 --- a/cmake/storedVersion.cmake +++ /dev/null @@ -1,2 +0,0 @@ -set(GIT_VERSION "v4.0-dirty") -set(FOAM_VERSION "4.0") diff --git a/src/ODE/CMakeLists.txt b/src/ODE/CMakeLists.txt index 65c1d981e..6c5e809df 100644 --- a/src/ODE/CMakeLists.txt +++ b/src/ODE/CMakeLists.txt @@ -31,7 +31,7 @@ # -------------------------------------------------------------------------- set(ODESolvers ODESolvers) -list(APPEND sources +list(APPEND SOURCES ${ODESolvers}/ODESolver/ODESolver.C ${ODESolvers}/ODESolver/newODESolver.C ${ODESolvers}/Euler/Euler.C @@ -43,19 +43,17 @@ list(APPEND sources ) set(translationODE translationODE) -list(APPEND sources +list(APPEND SOURCES ${translationODE}/translationODE.C ) set(sixDOF sixDOF) -list(APPEND sources +list(APPEND SOURCES ${sixDOF}/finiteRotation/finiteRotation.C ${sixDOF}/sixDOFqODE/sixDOFqODE.C ${sixDOF}/sixDOFbodies/sixDOFbodies.C ) -add_foam_library(ODE SHARED ${sources}) +add_foam_library(ODE SHARED ${SOURCES}) -# This is a prototype! Replace second argument with a list of the highest -# dependencies only. Inherited dependencies will be treated automatically. target_link_libraries(ODE PUBLIC meshTools) diff --git a/src/OSspecific/MSWindows/CMakeLists.txt b/src/OSspecific/MSWindows/CMakeLists.txt index 7da1f8fe8..87e2c8c5a 100644 --- a/src/OSspecific/MSWindows/CMakeLists.txt +++ b/src/OSspecific/MSWindows/CMakeLists.txt @@ -30,7 +30,7 @@ # # -------------------------------------------------------------------------- -list(APPEND sources +list(APPEND SOURCES signals/sigFpe.C signals/sigSegv.C signals/sigInt.C @@ -45,8 +45,6 @@ list(APPEND sources printStack.C ) -add_foam_library(OSspecific SHARED ${sources}) +add_foam_library(OSspecific SHARED ${SOURCES}) -# This is a prototype! Replace second argument with a list of the highest -# dependencies only. Inherited dependencies will be treated automatically. #target_link_libraries(OSspecific finiteVolume) diff --git a/src/OSspecific/POSIX/CMakeLists.txt b/src/OSspecific/POSIX/CMakeLists.txt index 6fe7394ae..1033f3313 100644 --- a/src/OSspecific/POSIX/CMakeLists.txt +++ b/src/OSspecific/POSIX/CMakeLists.txt @@ -33,7 +33,7 @@ get_property(inc TARGET foam PROPERTY INCLUDE_DIRECTORIES) include_directories(${inc}) -list(APPEND sources +list(APPEND SOURCES signals/sigFpe.C signals/sigSegv.C signals/sigInt.C @@ -48,17 +48,16 @@ list(APPEND sources ) #ifdef SunOS64 -#list(APPEND sources +#list(APPEND SOURCES # dummyPrintStack.C #) #else -list(APPEND sources +list(APPEND SOURCES printStack.C ) #endif -add_foam_library(OSspecific SHARED ${sources}) +add_foam_library(OSspecific SHARED ${SOURCES}) -# This is a prototype! Replace second argument with a list of the highest -# dependencies only. Inherited dependencies will be treated automatically. -#target_link_libraries(OSspecific finiteVolume) +target_link_libraries(OSspecific) +add_dependencies(OSspecific foam_lnInclude) diff --git a/src/POD/CMakeLists.txt b/src/POD/CMakeLists.txt index 3c8570180..6b35ad4a5 100644 --- a/src/POD/CMakeLists.txt +++ b/src/POD/CMakeLists.txt @@ -30,15 +30,13 @@ # # -------------------------------------------------------------------------- -list(APPEND sources +list(APPEND SOURCES PODEigenBase/PODEigenBase.C PODOrthoNormalBase/scalarPODOrthoNormalBase.C PODODE/PODODE.C scalarTransportPOD/scalarTransportPOD.C ) -add_foam_library(POD SHARED ${sources}) +add_foam_library(POD SHARED ${SOURCES}) -# This is a prototype! Replace second argument with a list of the highest -# dependencies only. Inherited dependencies will be treated automatically. target_link_libraries(POD PUBLIC finiteVolume ODE) diff --git a/src/conversion/CMakeLists.txt b/src/conversion/CMakeLists.txt index 0113a52c8..511f5d895 100644 --- a/src/conversion/CMakeLists.txt +++ b/src/conversion/CMakeLists.txt @@ -30,7 +30,7 @@ # # -------------------------------------------------------------------------- -list(APPEND sources +list(APPEND SOURCES ensight/file/ensightFile.C ensight/file/ensightGeoFile.C ensight/part/ensightPart.C @@ -52,8 +52,6 @@ list(APPEND sources polyDualMesh/polyDualMesh.C ) -add_foam_library(conversion SHARED ${sources}) +add_foam_library(conversion SHARED ${SOURCES}) -# This is a prototype! Replace second argument with a list of the highest -# dependencies only. Inherited dependencies will be treated automatically. target_link_libraries(conversion PUBLIC finiteVolume) diff --git a/src/coupledMatrix/CMakeLists.txt b/src/coupledMatrix/CMakeLists.txt index b3bd1fbe5..061dea019 100644 --- a/src/coupledMatrix/CMakeLists.txt +++ b/src/coupledMatrix/CMakeLists.txt @@ -30,7 +30,7 @@ # # -------------------------------------------------------------------------- -list(APPEND sources +list(APPEND SOURCES coupledLduMatrix/coupledLduMatrix.C coupledLduPrecon/coupledLduPrecon/coupledLduPrecon.C coupledLduPrecon/noPrecon/coupledNoPrecon.C @@ -52,8 +52,6 @@ list(APPEND sources coupledFvMatrices/coupledFvScalarMatrix/coupledFvScalarMatrix.C ) -add_foam_library(coupledLduMatrix SHARED ${sources}) +add_foam_library(coupledLduMatrix SHARED ${SOURCES}) -# This is a prototype! Replace second argument with a list of the highest -# dependencies only. Inherited dependencies will be treated automatically. target_link_libraries(coupledLduMatrix finiteVolume) diff --git a/src/cudaSolvers/CMakeLists.txt b/src/cudaSolvers/CMakeLists.txt index 9ae9b2f39..c8042c2e0 100644 --- a/src/cudaSolvers/CMakeLists.txt +++ b/src/cudaSolvers/CMakeLists.txt @@ -30,7 +30,7 @@ # # -------------------------------------------------------------------------- -list(APPEND sources +list(APPEND SOURCES cudaSolver/cudaSolver.C cudaCG/cgDiag.cu cudaCG/cgAmg.cu @@ -41,8 +41,6 @@ list(APPEND sources cudaBiCGStab/cudaBiCGStab.C ) -add_foam_library(cudaSolvers SHARED ${sources}) +add_foam_library(cudaSolvers SHARED ${SOURCES}) -# This is a prototype! Replace second argument with a list of the highest -# dependencies only. Inherited dependencies will be treated automatically. #target_link_libraries(cudaSolvers finiteVolume) diff --git a/src/dbns/CMakeLists.txt b/src/dbns/CMakeLists.txt index 1beae1630..0c38550fd 100644 --- a/src/dbns/CMakeLists.txt +++ b/src/dbns/CMakeLists.txt @@ -30,7 +30,7 @@ # # -------------------------------------------------------------------------- -list(APPEND sources +list(APPEND SOURCES dbnsFlux/roeFlux/roeFlux.C dbnsFlux/rusanovFlux/rusanovFlux.C dbnsFlux/betaFlux/betaFlux.C @@ -50,8 +50,6 @@ list(APPEND sources timeStepping/EulerLocalDdtScheme/EulerLocalDdtSchemes.C ) -add_foam_library(dbns SHARED ${sources}) +add_foam_library(dbns SHARED ${SOURCES}) -# This is a prototype! Replace second argument with a list of the highest -# dependencies only. Inherited dependencies will be treated automatically. target_link_libraries(dbns PUBLIC finiteVolume meshTools basicThermophysicalModels) diff --git a/src/decompositionMethods/decompositionMethods/CMakeLists.txt b/src/decompositionMethods/decompositionMethods/CMakeLists.txt index 7e6abb4ae..bb701ac55 100644 --- a/src/decompositionMethods/decompositionMethods/CMakeLists.txt +++ b/src/decompositionMethods/decompositionMethods/CMakeLists.txt @@ -30,7 +30,7 @@ # # -------------------------------------------------------------------------- -list(APPEND sources +list(APPEND SOURCES decompositionMethod/decompositionMethod.C manualDecomp/manualDecomp.C geomDecomp/geomDecomp.C @@ -39,8 +39,6 @@ list(APPEND sources patchConstrainedDecomp/patchConstrainedDecomp.C ) -add_foam_library(decompositionMethods SHARED ${sources}) +add_foam_library(decompositionMethods SHARED ${SOURCES}) -# This is a prototype! Replace second argument with a list of the highest -# dependencies only. Inherited dependencies will be treated automatically. target_link_libraries(decompositionMethods PUBLIC foam) diff --git a/src/decompositionMethods/metisDecomp/CMakeLists.txt b/src/decompositionMethods/metisDecomp/CMakeLists.txt index e6f16483e..1af0d996f 100644 --- a/src/decompositionMethods/metisDecomp/CMakeLists.txt +++ b/src/decompositionMethods/metisDecomp/CMakeLists.txt @@ -30,12 +30,10 @@ # # -------------------------------------------------------------------------- -list(APPEND sources +list(APPEND SOURCES metisDecomp.C ) -add_foam_library(metisDecomp SHARED ${sources}) +add_foam_library(metisDecomp SHARED ${SOURCES}) -# This is a prototype! Replace second argument with a list of the highest -# dependencies only. Inherited dependencies will be treated automatically. #target_link_libraries(metisDecomp finiteVolume) diff --git a/src/decompositionMethods/parMetisDecomp/CMakeLists.txt b/src/decompositionMethods/parMetisDecomp/CMakeLists.txt index c06921b99..89614e5cb 100644 --- a/src/decompositionMethods/parMetisDecomp/CMakeLists.txt +++ b/src/decompositionMethods/parMetisDecomp/CMakeLists.txt @@ -30,12 +30,10 @@ # # -------------------------------------------------------------------------- -list(APPEND sources +list(APPEND SOURCES parMetisDecomp.C ) -add_foam_library(parMetisDecomp SHARED ${sources}) +add_foam_library(parMetisDecomp SHARED ${SOURCES}) -# This is a prototype! Replace second argument with a list of the highest -# dependencies only. Inherited dependencies will be treated automatically. #target_link_libraries(parMetisDecomp finiteVolume) diff --git a/src/decompositionMethods/scotchDecomp/CMakeLists.txt b/src/decompositionMethods/scotchDecomp/CMakeLists.txt index 2451d9309..44e36f8a9 100644 --- a/src/decompositionMethods/scotchDecomp/CMakeLists.txt +++ b/src/decompositionMethods/scotchDecomp/CMakeLists.txt @@ -30,13 +30,11 @@ # # -------------------------------------------------------------------------- -list(APPEND sources +list(APPEND SOURCES scotchDecomp/scotchDecomp.C engineScotchDecomp/engineScotchDecomp.C ) -add_foam_library(scotchDecomp SHARED ${sources}) +add_foam_library(scotchDecomp SHARED ${SOURCES}) -# This is a prototype! Replace second argument with a list of the highest -# dependencies only. Inherited dependencies will be treated automatically. #target_link_libraries(scotchDecomp finiteVolume) diff --git a/src/dynamicMesh/dynamicFvMesh/CMakeLists.txt b/src/dynamicMesh/dynamicFvMesh/CMakeLists.txt index 83dcab24b..fbeec613d 100644 --- a/src/dynamicMesh/dynamicFvMesh/CMakeLists.txt +++ b/src/dynamicMesh/dynamicFvMesh/CMakeLists.txt @@ -30,7 +30,7 @@ # # -------------------------------------------------------------------------- -list(APPEND sources +list(APPEND SOURCES dynamicFvMesh/dynamicFvMesh.C dynamicFvMesh/newDynamicFvMesh.C staticFvMesh/staticFvMesh.C @@ -48,8 +48,6 @@ list(APPEND sources fvMeshDistribute/fvMeshDistribute.C ) -add_foam_library(dynamicFvMesh SHARED ${sources}) +add_foam_library(dynamicFvMesh SHARED ${SOURCES}) -# This is a prototype! Replace second argument with a list of the highest -# dependencies only. Inherited dependencies will be treated automatically. target_link_libraries(dynamicFvMesh PUBLIC dynamicMesh finiteVolume RBFMotionSolver solidBodyMotion tetMotionSolver) diff --git a/src/dynamicMesh/dynamicMesh/CMakeLists.txt b/src/dynamicMesh/dynamicMesh/CMakeLists.txt index 1bcd3b1bc..401fb4c6a 100644 --- a/src/dynamicMesh/dynamicMesh/CMakeLists.txt +++ b/src/dynamicMesh/dynamicMesh/CMakeLists.txt @@ -32,13 +32,13 @@ set(polyMeshModifiers polyMeshModifiers) -list(APPEND sources +list(APPEND SOURCES ${polyMeshModifiers}/polyMeshModifier/polyMeshModifier.C ${polyMeshModifiers}/polyMeshModifier/newPolyMeshModifier.C ) set(attachDetach ${polyMeshModifiers}/attachDetach) -list(APPEND sources +list(APPEND SOURCES ${attachDetach}/attachDetach.C ${attachDetach}/attachInterface.C ${attachDetach}/detachInterface.C @@ -46,7 +46,7 @@ list(APPEND sources ) set(layerAdditionRemoval ${polyMeshModifiers}/layerAdditionRemoval) -list(APPEND sources +list(APPEND SOURCES ${layerAdditionRemoval}/layerAdditionRemoval.C ${layerAdditionRemoval}/setLayerPairing.C ${layerAdditionRemoval}/addCellLayer.C @@ -57,7 +57,7 @@ list(APPEND sources set(slidingInterface ${polyMeshModifiers}/slidingInterface) set(enrichedPatch ${slidingInterface}/enrichedPatch) -list(APPEND sources +list(APPEND SOURCES ${enrichedPatch}/enrichedPatch.C ${enrichedPatch}/enrichedPatchPointMap.C ${enrichedPatch}/enrichedPatchFaces.C @@ -73,7 +73,7 @@ list(APPEND sources ) set(repatchCoverage ${polyMeshModifiers}/repatchCoverage) -list(APPEND sources +list(APPEND SOURCES ${repatchCoverage}/repatchCoverage.C polyTopoChange/polyTopoChange/polyTopoChange.C polyTopoChange/polyTopoChange/actions/topoAction/topoActions.C @@ -90,7 +90,7 @@ list(APPEND sources ) set(directActions directTopoChange/directTopoChange/directActions) -list(APPEND sources +list(APPEND SOURCES ${directActions}/addPatchCellLayer.C ${directActions}/edgeCollapser.C ${directActions}/faceCollapser.C @@ -104,7 +104,7 @@ list(APPEND sources ) set(meshCut directTopoChange/meshCut) -list(APPEND sources +list(APPEND SOURCES ${meshCut}/cellLooper/cellLooper.C ${meshCut}/cellLooper/topoCellLooper.C ${meshCut}/cellLooper/geomCellLooper.C @@ -120,7 +120,7 @@ list(APPEND sources ) set(modifiers ${meshCut}/modifiers) -list(APPEND sources +list(APPEND SOURCES ${modifiers}/boundaryCutter/boundaryCutter.C ${modifiers}/meshCutter/meshCutter.C ${modifiers}/meshCutAndRemove/meshCutAndRemove.C @@ -135,8 +135,6 @@ list(APPEND sources directTopoChange/repatchPolyTopoChanger/repatchPolyTopoChanger.C ) -add_foam_library(dynamicMesh SHARED ${sources}) +add_foam_library(dynamicMesh SHARED ${SOURCES}) -# This is a prototype! Replace second argument with a list of the highest -# dependencies only. Inherited dependencies will be treated automatically. target_link_libraries(dynamicMesh PUBLIC meshTools) diff --git a/src/dynamicMesh/dynamicTopoFvMesh/CMakeLists.txt b/src/dynamicMesh/dynamicTopoFvMesh/CMakeLists.txt index cf58f1004..c66c437d3 100644 --- a/src/dynamicMesh/dynamicTopoFvMesh/CMakeLists.txt +++ b/src/dynamicMesh/dynamicTopoFvMesh/CMakeLists.txt @@ -30,14 +30,14 @@ # # -------------------------------------------------------------------------- -list(APPEND sources +list(APPEND SOURCES eMesh/eMesh.C eMesh/eMeshDemandDrivenData.C eMesh/eBoundaryMesh/eBoundaryMesh.C ) set(ePatches eMesh/ePatches) -list(APPEND sources +list(APPEND SOURCES ${ePatches}/ePatch/ePatch.C ${ePatches}/ePatch/newEPatch.C dynamicTopoFvMesh.C @@ -62,18 +62,16 @@ list(APPEND sources ) set(tetMetrics tetMetrics) -list(APPEND sources +list(APPEND SOURCES ${tetMetrics}/tetMetric.C ${tetMetrics}/tetMetrics.C ) set(lengthScaleEstimator lengthScaleEstimator) -list(APPEND sources +list(APPEND SOURCES ${lengthScaleEstimator}/lengthScaleEstimator.C ) -add_foam_library(dynamicTopoFvMesh SHARED ${sources}) +add_foam_library(dynamicTopoFvMesh SHARED ${SOURCES}) -# This is a prototype! Replace second argument with a list of the highest -# dependencies only. Inherited dependencies will be treated automatically. target_link_libraries(dynamicTopoFvMesh PUBLIC dynamicFvMesh) diff --git a/src/dynamicMesh/meshMotion/RBFMotionSolver/CMakeLists.txt b/src/dynamicMesh/meshMotion/RBFMotionSolver/CMakeLists.txt index 76725921f..fec3c1bfd 100644 --- a/src/dynamicMesh/meshMotion/RBFMotionSolver/CMakeLists.txt +++ b/src/dynamicMesh/meshMotion/RBFMotionSolver/CMakeLists.txt @@ -30,12 +30,10 @@ # # -------------------------------------------------------------------------- -list(APPEND sources +list(APPEND SOURCES RBFMotionSolver.C ) -add_foam_library(RBFMotionSolver SHARED ${sources}) +add_foam_library(RBFMotionSolver SHARED ${SOURCES}) -# This is a prototype! Replace second argument with a list of the highest -# dependencies only. Inherited dependencies will be treated automatically. target_link_libraries(RBFMotionSolver PUBLIC dynamicMesh) diff --git a/src/dynamicMesh/meshMotion/fvMotionSolver/CMakeLists.txt b/src/dynamicMesh/meshMotion/fvMotionSolver/CMakeLists.txt index 43c62e3d4..554326386 100644 --- a/src/dynamicMesh/meshMotion/fvMotionSolver/CMakeLists.txt +++ b/src/dynamicMesh/meshMotion/fvMotionSolver/CMakeLists.txt @@ -30,7 +30,7 @@ # # -------------------------------------------------------------------------- -list(APPEND sources +list(APPEND SOURCES fvMotionSolvers/fvMotionSolver/fvMotionSolver.C fvMotionSolvers/velocity/laplacian/velocityLaplacianFvMotionSolver.C fvMotionSolvers/velocity/refLaplacian/refVelocityLaplacianFvMotionSolver.C @@ -61,8 +61,6 @@ list(APPEND sources pointPatchFields/derived/surfaceDisplacement/surfaceDisplacementPointPatchVectorField.C ) -add_foam_library(fvMotionSolver SHARED ${sources}) +add_foam_library(fvMotionSolver SHARED ${SOURCES}) -# This is a prototype! Replace second argument with a list of the highest -# dependencies only. Inherited dependencies will be treated automatically. target_link_libraries(fvMotionSolver PUBLIC finiteVolume dynamicMesh) diff --git a/src/dynamicMesh/meshMotion/mesquiteMotionSolver/CMakeLists.txt b/src/dynamicMesh/meshMotion/mesquiteMotionSolver/CMakeLists.txt index a964e9961..3bf4e684d 100644 --- a/src/dynamicMesh/meshMotion/mesquiteMotionSolver/CMakeLists.txt +++ b/src/dynamicMesh/meshMotion/mesquiteMotionSolver/CMakeLists.txt @@ -30,12 +30,10 @@ # # -------------------------------------------------------------------------- -list(APPEND sources +list(APPEND SOURCES mesquiteMotionSolver.C ) -add_foam_library(mesquiteMotionSolver SHARED ${sources}) +add_foam_library(mesquiteMotionSolver SHARED ${SOURCES}) -# This is a prototype! Replace second argument with a list of the highest -# dependencies only. Inherited dependencies will be treated automatically. target_link_libraries(mesquiteMotionSolver PUBLIC dynamicMesh) diff --git a/src/dynamicMesh/meshMotion/solidBodyMotion/CMakeLists.txt b/src/dynamicMesh/meshMotion/solidBodyMotion/CMakeLists.txt index b9a1ce4fb..37340bd20 100644 --- a/src/dynamicMesh/meshMotion/solidBodyMotion/CMakeLists.txt +++ b/src/dynamicMesh/meshMotion/solidBodyMotion/CMakeLists.txt @@ -30,7 +30,7 @@ # # -------------------------------------------------------------------------- -list(APPEND sources +list(APPEND SOURCES solidBodyMotionFunction/solidBodyMotionFunction.C solidBodyMotionFunction/newSolidBodyMotionFunction.C noMotion/noMotion.C @@ -45,8 +45,6 @@ list(APPEND sources graphVelocity/graphVelocity.C ) -add_foam_library(solidBodyMotion SHARED ${sources}) +add_foam_library(solidBodyMotion SHARED ${SOURCES}) -# This is a prototype! Replace second argument with a list of the highest -# dependencies only. Inherited dependencies will be treated automatically. target_link_libraries(solidBodyMotion PUBLIC foam) diff --git a/src/dynamicMesh/meshMotion/tetMotionSolver/CMakeLists.txt b/src/dynamicMesh/meshMotion/tetMotionSolver/CMakeLists.txt index 358a607b3..5c6b37b49 100644 --- a/src/dynamicMesh/meshMotion/tetMotionSolver/CMakeLists.txt +++ b/src/dynamicMesh/meshMotion/tetMotionSolver/CMakeLists.txt @@ -30,7 +30,7 @@ # # -------------------------------------------------------------------------- -list(APPEND sources +list(APPEND SOURCES tetMotionSolver/tetMotionSolver.C tetMotionSolver/laplace/laplaceTetMotionSolver.C tetMotionSolver/pseudoSolid/pseudoSolidTetMotionSolver.C @@ -46,8 +46,6 @@ list(APPEND sources motionDiffs/file/fileDiff.C ) -add_foam_library(tetMotionSolver SHARED ${sources}) +add_foam_library(tetMotionSolver SHARED ${SOURCES}) -# This is a prototype! Replace second argument with a list of the highest -# dependencies only. Inherited dependencies will be treated automatically. target_link_libraries(tetMotionSolver PUBLIC tetFiniteElement dynamicMesh) diff --git a/src/dynamicMesh/topoChangerFvMesh/CMakeLists.txt b/src/dynamicMesh/topoChangerFvMesh/CMakeLists.txt index 64b343e5e..b3f28d2de 100644 --- a/src/dynamicMesh/topoChangerFvMesh/CMakeLists.txt +++ b/src/dynamicMesh/topoChangerFvMesh/CMakeLists.txt @@ -30,7 +30,7 @@ # # -------------------------------------------------------------------------- -list(APPEND sources +list(APPEND SOURCES topoChangerFvMesh/topoChangerFvMesh.C attachDetachFvMesh/attachDetachFvMesh.C linearValveFvMesh/linearValveFvMesh.C @@ -43,8 +43,6 @@ list(APPEND sources multiMixerFvMesh/multiMixerFvMesh.C ) -add_foam_library(topoChangerFvMesh SHARED ${sources}) +add_foam_library(topoChangerFvMesh SHARED ${SOURCES}) -# This is a prototype! Replace second argument with a list of the highest -# dependencies only. Inherited dependencies will be treated automatically. target_link_libraries(topoChangerFvMesh PUBLIC dynamicFvMesh) diff --git a/src/edgeMesh/CMakeLists.txt b/src/edgeMesh/CMakeLists.txt index f6f362b4d..a3365972a 100644 --- a/src/edgeMesh/CMakeLists.txt +++ b/src/edgeMesh/CMakeLists.txt @@ -30,14 +30,12 @@ # # -------------------------------------------------------------------------- -list(APPEND sources +list(APPEND SOURCES edgeMesh.C edgeMeshIO.C featureEdgeMesh.C ) -add_foam_library(edgeMesh SHARED ${sources}) +add_foam_library(edgeMesh SHARED ${SOURCES}) -# This is a prototype! Replace second argument with a list of the highest -# dependencies only. Inherited dependencies will be treated automatically. target_link_libraries(edgeMesh PUBLIC foam) diff --git a/src/engine/CMakeLists.txt b/src/engine/CMakeLists.txt index a74c343f1..25bd1200c 100644 --- a/src/engine/CMakeLists.txt +++ b/src/engine/CMakeLists.txt @@ -30,7 +30,7 @@ # # -------------------------------------------------------------------------- -list(APPEND sources +list(APPEND SOURCES engineTime/engineTime.C ignition/ignition.C ignition/ignitionIO.C @@ -110,14 +110,12 @@ list(APPEND sources ) # derivedFvPatchFields/engineTimeVaryingUniformFixedValue/engineTimeVaryingUniformFixedValueFvPatchField.C -list(APPEND sources +list(APPEND SOURCES derivedFvPatchFields/engineTimeVaryingUniformFixedValue/engineTimeVaryingUniformFixedValueFvPatchFields.C derivedFvPatchFields/engineMassFlowRateInletVelocity/engineMassFlowRateInletVelocityFvPatchVectorField.C derivedFvPatchFields/engineTimeVaryingTotalPressureFvPatchScalarField/engineTimeVaryingTotalPressureFvPatchScalarField.C ) -add_foam_library(engine SHARED ${sources}) +add_foam_library(engine SHARED ${SOURCES}) -# This is a prototype! Replace second argument with a list of the highest -# dependencies only. Inherited dependencies will be treated automatically. target_link_libraries(engine PUBLIC dynamicFvMesh fvMotionSolver) diff --git a/src/equationReader/CMakeLists.txt b/src/equationReader/CMakeLists.txt index f8c9b730f..e3dbf97b8 100644 --- a/src/equationReader/CMakeLists.txt +++ b/src/equationReader/CMakeLists.txt @@ -30,7 +30,7 @@ # # -------------------------------------------------------------------------- -list(APPEND sources +list(APPEND SOURCES equationSource/equationSources.C equation/equation.C equation/equationIO.C @@ -42,8 +42,6 @@ list(APPEND sources IOEquationReader/IOEquationReaderIO.C ) -add_foam_library(equationReader SHARED ${sources}) +add_foam_library(equationReader SHARED ${SOURCES}) -# This is a prototype! Replace second argument with a list of the highest -# dependencies only. Inherited dependencies will be treated automatically. target_link_libraries(equationReader PUBLIC foam) diff --git a/src/errorEstimation/CMakeLists.txt b/src/errorEstimation/CMakeLists.txt index 3c563d596..509e38f37 100644 --- a/src/errorEstimation/CMakeLists.txt +++ b/src/errorEstimation/CMakeLists.txt @@ -32,12 +32,10 @@ -list(APPEND sources errorEstimate/errorEstimate.H) +list(APPEND SOURCES errorEstimate/errorEstimate.H) -add_foam_library(errorEstimation SHARED ${sources}) +add_foam_library(errorEstimation SHARED ${SOURCES}) -# This is a prototype! Replace second argument with a list of the highest -# dependencies only. Inherited dependencies will be treated automatically. target_link_libraries(errorEstimation PUBLIC finiteVolume) set_target_properties(errorEstimation PROPERTIES LINKER_LANGUAGE CXX) diff --git a/src/finiteArea/CMakeLists.txt b/src/finiteArea/CMakeLists.txt index 78d000a8b..ff5932da3 100644 --- a/src/finiteArea/CMakeLists.txt +++ b/src/finiteArea/CMakeLists.txt @@ -30,7 +30,7 @@ # # -------------------------------------------------------------------------- -list(APPEND sources +list(APPEND SOURCES faMesh/faGlobalMeshData/faGlobalMeshData.C faMesh/faMesh.C faMesh/faMeshDemandDrivenData.C @@ -39,7 +39,7 @@ list(APPEND sources ) set(faPatches faMesh/faPatches) -list(APPEND sources +list(APPEND SOURCES ${faPatches}/faPatch/faPatch.C ${faPatches}/faPatch/newFaPatch.C ${faPatches}/basic/coupled/coupledFaPatch.C @@ -51,7 +51,7 @@ list(APPEND sources ) set(faMeshMapper faMesh/faMeshMapper) -list(APPEND sources +list(APPEND SOURCES ${faMeshMapper}/faMeshMapper.C ${faMeshMapper}/faAreaMapper.C ${faMeshMapper}/faEdgeMapper.C @@ -59,12 +59,12 @@ list(APPEND sources ) set(faPatchFields fields/faPatchFields) -list(APPEND sources +list(APPEND SOURCES ${faPatchFields}/faPatchField/faPatchFields.C ) set(basicFaPatchFields ${faPatchFields}/basic) -list(APPEND sources +list(APPEND SOURCES ${basicFaPatchFields}/basicSymmetry/basicSymmetryFaPatchFields.C ${basicFaPatchFields}/basicSymmetry/basicSymmetryFaPatchScalarField.C ${basicFaPatchFields}/calculated/calculatedFaPatchFields.C @@ -78,7 +78,7 @@ list(APPEND sources ) set(constraintFaPatchFields ${faPatchFields}/constraint) -list(APPEND sources +list(APPEND SOURCES ${constraintFaPatchFields}/empty/emptyFaPatchFields.C ${constraintFaPatchFields}/processor/processorFaPatchFields.C ${constraintFaPatchFields}/processor/processorFaPatchScalarField.C @@ -89,26 +89,26 @@ list(APPEND sources ) set(derivedFaPatchFields ${faPatchFields}/derived) -list(APPEND sources +list(APPEND SOURCES ${derivedFaPatchFields}/fixedValueOutflow/fixedValueOutflowFaPatchFields.C ${derivedFaPatchFields}/inletOutlet/inletOutletFaPatchFields.C ${derivedFaPatchFields}/slip/slipFaPatchFields.C ) set(faePatchFields fields/faePatchFields) -list(APPEND sources +list(APPEND SOURCES ${faePatchFields}/faePatchField/faePatchFields.C ) set(basicFaePatchFields ${faePatchFields}/basic) -list(APPEND sources +list(APPEND SOURCES ${basicFaePatchFields}/calculated/calculatedFaePatchFields.C ${basicFaePatchFields}/coupled/coupledFaePatchFields.C ${basicFaePatchFields}/fixedValue/fixedValueFaePatchFields.C ) set(constraintFaePatchFields ${faePatchFields}/constraint) -list(APPEND sources +list(APPEND SOURCES ${constraintFaePatchFields}/empty/emptyFaePatchFields.C ${constraintFaePatchFields}/processor/processorFaePatchFields.C ${constraintFaePatchFields}/wedge/wedgeFaePatchFields.C @@ -121,13 +121,13 @@ list(APPEND sources ) set(edgeInterpolation interpolation/edgeInterpolation) -list(APPEND sources +list(APPEND SOURCES ${edgeInterpolation}/edgeInterpolation.C ${edgeInterpolation}/edgeInterpolationScheme/edgeInterpolationSchemes.C ) set(schemes ${edgeInterpolation}/schemes) -list(APPEND sources +list(APPEND SOURCES ${schemes}/linear/linearEdgeInterpolationMake.C ${schemes}/upwind/upwindEdgeInterpolationMake.C ${schemes}/linearUpwind/linearUpwindEdgeInterpolationMake.C @@ -138,7 +138,7 @@ list(APPEND sources ) set(ddtSchemes finiteArea/ddtSchemes) -list(APPEND sources +list(APPEND SOURCES ${ddtSchemes}/faDdtScheme/faDdtSchemes.C ${ddtSchemes}/steadyStateFaDdtScheme/steadyStateFaDdtSchemes.C ${ddtSchemes}/EulerFaDdtScheme/EulerFaDdtSchemes.C @@ -147,13 +147,13 @@ list(APPEND sources ) set(divSchemes finiteArea/divSchemes) -list(APPEND sources +list(APPEND SOURCES ${divSchemes}/faDivScheme/faDivSchemes.C ${divSchemes}/gaussFaDivScheme/gaussFaDivSchemes.C ) set(gradSchemes finiteArea/gradSchemes) -list(APPEND sources +list(APPEND SOURCES ${gradSchemes}/faGradScheme/faGradSchemes.C ${gradSchemes}/gaussFaGrad/gaussFaGrads.C ${gradSchemes}/leastSquaresFaGrad/leastSquaresFaVectors.C @@ -161,13 +161,13 @@ list(APPEND sources ) set(limitedGradSchemes ${gradSchemes}/limitedGradSchemes) -list(APPEND sources +list(APPEND SOURCES ${limitedGradSchemes}/faceLimitedFaGrad/faceLimitedFaGrads.C ${limitedGradSchemes}/edgeLimitedFaGrad/edgeLimitedFaGrads.C ) set(lnGradSchemes finiteArea/lnGradSchemes) -list(APPEND sources +list(APPEND SOURCES ${lnGradSchemes}/lnGradScheme/lnGradSchemes.C ${lnGradSchemes}/correctedLnGrad/correctedLnGrads.C ${lnGradSchemes}/limitedLnGrad/limitedLnGrads.C @@ -175,19 +175,17 @@ list(APPEND sources ) set(laplacianSchemes finiteArea/laplacianSchemes) -list(APPEND sources +list(APPEND SOURCES ${laplacianSchemes}/faLaplacianScheme/faLaplacianSchemes.C ${laplacianSchemes}/gaussFaLaplacianScheme/gaussFaLaplacianSchemes.C ) set(convectionSchemes finiteArea/convectionSchemes) -list(APPEND sources +list(APPEND SOURCES ${convectionSchemes}/faConvectionScheme/faConvectionSchemes.C ${convectionSchemes}/gaussFaConvectionScheme/gaussFaConvectionSchemes.C ) -add_foam_library(finiteArea SHARED ${sources}) +add_foam_library(finiteArea SHARED ${SOURCES}) -# This is a prototype! Replace second argument with a list of the highest -# dependencies only. Inherited dependencies will be treated automatically. target_link_libraries(finiteArea PUBLIC foam) diff --git a/src/finiteVolume/CMakeLists.txt b/src/finiteVolume/CMakeLists.txt index cc12f2f9e..cef1ac55f 100644 --- a/src/finiteVolume/CMakeLists.txt +++ b/src/finiteVolume/CMakeLists.txt @@ -30,7 +30,7 @@ # # -------------------------------------------------------------------------- -list(APPEND sources +list(APPEND SOURCES fvMesh/fvMeshGeometry.C fvMesh/fvMesh.C fvMesh/singleCellFvMesh/singleCellFvMesh.C @@ -38,24 +38,24 @@ list(APPEND sources ) set(fvBoundaryMesh fvMesh/fvBoundaryMesh) -list(APPEND sources +list(APPEND SOURCES ${fvBoundaryMesh}/fvBoundaryMesh.C ) set(fvPatches fvMesh/fvPatches) -list(APPEND sources +list(APPEND SOURCES ${fvPatches}/fvPatch/fvPatch.C ${fvPatches}/fvPatch/newFvPatch.C ) set(basicFvPatches ${fvPatches}/basic) -list(APPEND sources +list(APPEND SOURCES ${basicFvPatches}/coupled/coupledFvPatch.C ${basicFvPatches}/generic/genericFvPatch.C ) set(constraintFvPatches ${fvPatches}/constraint) -list(APPEND sources +list(APPEND SOURCES ${constraintFvPatches}/empty/emptyFvPatch.C ${constraintFvPatches}/symmetry/symmetryFvPatch.C ${constraintFvPatches}/wedge/wedgeFvPatch.C @@ -69,7 +69,7 @@ list(APPEND sources ) set(derivedFvPatches ${fvPatches}/derived) -list(APPEND sources +list(APPEND SOURCES ${derivedFvPatches}/wall/wallFvPatch.C ${derivedFvPatches}/directMapped/directMappedFvPatch.C ${derivedFvPatches}/cohesive/cohesiveFvPatch.C @@ -77,7 +77,7 @@ list(APPEND sources ) set(wallDist fvMesh/wallDist) -list(APPEND sources +list(APPEND SOURCES ${wallDist}/wallPointYPlus/wallPointYPlus.C ${wallDist}/nearWallDistNoSearch.C ${wallDist}/nearWallDist.C @@ -88,7 +88,7 @@ list(APPEND sources set(fvMeshMapper fvMesh/fvMeshMapper) -list(APPEND sources +list(APPEND SOURCES ${fvMeshMapper}/fvPatchMapper.C ${fvMeshMapper}/fvSurfaceMapper.C ) @@ -96,7 +96,7 @@ list(APPEND sources set(extendedStencil fvMesh/extendedStencil) set(cellToCell ${extendedStencil}/cellToCell) -list(APPEND sources +list(APPEND SOURCES ${cellToCell}/fullStencils/cellToCellStencil.C ${cellToCell}/fullStencils/CFCCellToCellStencil.C ${cellToCell}/fullStencils/CPCCellToCellStencil.C @@ -104,7 +104,7 @@ list(APPEND sources ) set(cellToFace ${extendedStencil}/cellToFace) -list(APPEND sources +list(APPEND SOURCES ${cellToFace}/fullStencils/cellToFaceStencil.C ${cellToFace}/fullStencils/CFCCellToFaceStencil.C ${cellToFace}/fullStencils/CECCellToFaceStencil.C @@ -125,7 +125,7 @@ list(APPEND sources ) set(faceToCell ${extendedStencil}/faceToCell) -list(APPEND sources +list(APPEND SOURCES ${faceToCell}/fullStencils/faceToCellStencil.C ${faceToCell}/fullStencils/CFCFaceToCellStencil.C ${faceToCell}/extendedFaceToCellStencil.C @@ -135,13 +135,13 @@ list(APPEND sources set(fvPatchFields fields/fvPatchFields) -list(APPEND sources +list(APPEND SOURCES ${fvPatchFields}/fvPatchField/fvPatchFields.C ${fvPatchFields}/fvPatchField/fvPatchVectorNFields.C ) set(basicFvPatchFields ${fvPatchFields}/basic) -list(APPEND sources +list(APPEND SOURCES ${basicFvPatchFields}/basicSymmetry/basicSymmetryFvPatchFields.C ${basicFvPatchFields}/basicSymmetry/basicSymmetryFvPatchScalarField.C ${basicFvPatchFields}/calculated/calculatedFvPatchFields.C @@ -165,7 +165,7 @@ list(APPEND sources ) set(constraintFvPatchFields ${fvPatchFields}/constraint) -list(APPEND sources +list(APPEND SOURCES ${constraintFvPatchFields}/cyclic/cyclicFvPatchFields.C ${constraintFvPatchFields}/cyclic/cyclicFvPatchVectorNFields.C ${constraintFvPatchFields}/empty/emptyFvPatchFields.C @@ -189,7 +189,7 @@ list(APPEND sources ) set(derivedFvPatchFields ${fvPatchFields}/derived) -list(APPEND sources +list(APPEND SOURCES ${derivedFvPatchFields}/activeBaffleVelocity/activeBaffleVelocityFvPatchVectorField.C ${derivedFvPatchFields}/advective/advectiveFvPatchFields.C ${derivedFvPatchFields}/directMappedFixedValue/directMappedFixedValueFvPatchFields.C @@ -248,12 +248,12 @@ list(APPEND sources ) set(fvsPatchFields fields/fvsPatchFields) -list(APPEND sources +list(APPEND SOURCES ${fvsPatchFields}/fvsPatchField/fvsPatchFields.C ) set(basicFvsPatchFields ${fvsPatchFields}/basic) -list(APPEND sources +list(APPEND SOURCES ${basicFvsPatchFields}/calculated/calculatedFvsPatchFields.C ${basicFvsPatchFields}/coupled/coupledFvsPatchFields.C ${basicFvsPatchFields}/fixedValue/fixedValueFvsPatchFields.C @@ -261,7 +261,7 @@ list(APPEND sources ) set(constraintFvsPatchFields ${fvsPatchFields}/constraint) -list(APPEND sources +list(APPEND SOURCES ${constraintFvsPatchFields}/cyclic/cyclicFvsPatchFields.C ${constraintFvsPatchFields}/empty/emptyFvsPatchFields.C ${constraintFvsPatchFields}/processor/processorFvsPatchFields.C @@ -275,7 +275,7 @@ list(APPEND sources ) set(fvsPatchVectorNFields ${fvsPatchFields}/fvsPatchVectorNFields) -list(APPEND sources +list(APPEND SOURCES ${fvsPatchVectorNFields}/fvsPatchVectorNFields.C ${fvsPatchVectorNFields}/calculatedFvsPatchVectorNFields.C ${fvsPatchVectorNFields}/emptyFvsPatchVectorNFields.C @@ -293,7 +293,7 @@ list(APPEND sources ) set(interpolation interpolation/interpolation) -list(APPEND sources +list(APPEND SOURCES ${interpolation}/interpolation/interpolations.C ${interpolation}/interpolationCell/makeInterpolationCell.C ${interpolation}/interpolationCellPoint/cellPointWeight/cellPointWeight.C @@ -304,26 +304,26 @@ list(APPEND sources ) set(volPointInterpolation interpolation/volPointInterpolation) -list(APPEND sources +list(APPEND SOURCES ${volPointInterpolation}/pointPatchInterpolation/pointPatchInterpolation.C ${volPointInterpolation}/volPointInterpolation.C ${volPointInterpolation}/leastSquaresVolPointInterpolation/leastSquaresVolPointInterpolation.C ) set(pointVolInterpolation interpolation/pointVolInterpolation) -list(APPEND sources +list(APPEND SOURCES ${pointVolInterpolation}/pointVolInterpolation.C ) set(surfaceInterpolation interpolation/surfaceInterpolation) -list(APPEND sources +list(APPEND SOURCES ${surfaceInterpolation}/surfaceInterpolation/surfaceInterpolation.C ${surfaceInterpolation}/surfaceInterpolationScheme/surfaceInterpolationSchemes.C ${surfaceInterpolation}/VectorNSurfaceInterpolationSchemes/VectorNSurfaceInterpolationSchemes.C ) set(schemes ${surfaceInterpolation}/schemes) -list(APPEND sources +list(APPEND SOURCES ${schemes}/linear/linear.C ${schemes}/midPoint/midPoint.C ${schemes}/downwind/downwind.C @@ -351,12 +351,12 @@ list(APPEND sources ) # # $(schemes)/quadraticLinearPureUpwindFit/quadraticLinearPureUpwindFit.C -list(APPEND sources +list(APPEND SOURCES ${schemes}/linearPureUpwindFit/linearPureUpwindFit.C ) set(limitedSchemes ${surfaceInterpolation}/limitedSchemes) -list(APPEND sources +list(APPEND SOURCES ${limitedSchemes}/limitedSurfaceInterpolationScheme/limitedSurfaceInterpolationSchemes.C ${limitedSchemes}/upwind/upwind.C ${limitedSchemes}/blended/blended.C @@ -383,7 +383,7 @@ list(APPEND sources ) set(multivariateSchemes ${surfaceInterpolation}/multivariateSchemes) -list(APPEND sources +list(APPEND SOURCES ${multivariateSchemes}/multivariateSurfaceInterpolationScheme/multivariateSurfaceInterpolationSchemes.C ${multivariateSchemes}/multivariateSelectionScheme/multivariateSelectionSchemes.C ${multivariateSchemes}/upwind/multivariateUpwind.C @@ -399,7 +399,7 @@ list(APPEND sources ) set(ddtSchemes finiteVolume/ddtSchemes) -list(APPEND sources +list(APPEND SOURCES ${ddtSchemes}/ddtScheme/ddtSchemes.C ${ddtSchemes}/steadyStateDdtScheme/steadyStateDdtSchemes.C ${ddtSchemes}/EulerDdtScheme/EulerDdtSchemes.C @@ -413,7 +413,7 @@ list(APPEND sources ) set(d2dt2Schemes finiteVolume/d2dt2Schemes) -list(APPEND sources +list(APPEND SOURCES ${d2dt2Schemes}/d2dt2Scheme/d2dt2Schemes.C ${d2dt2Schemes}/steadyStateD2dt2Scheme/steadyStateD2dt2Schemes.C ${d2dt2Schemes}/EulerD2dt2Scheme/EulerD2dt2Schemes.C @@ -421,14 +421,14 @@ list(APPEND sources ) set(divSchemes finiteVolume/divSchemes) -list(APPEND sources +list(APPEND SOURCES ${divSchemes}/divScheme/divSchemes.C ${divSchemes}/gaussDivScheme/gaussDivSchemes.C ${divSchemes}/gaussDivScheme/vectorGaussDivScheme.C ) set(gradSchemes finiteVolume/gradSchemes) -list(APPEND sources +list(APPEND SOURCES ${gradSchemes}/gradScheme/gradSchemes.C ${gradSchemes}/gaussGrad/scalarGaussGrad.C ${gradSchemes}/gaussGrad/gaussGrads.C @@ -442,7 +442,7 @@ list(APPEND sources ) set(limitedGradSchemes ${gradSchemes}/limitedGradSchemes) -list(APPEND sources +list(APPEND SOURCES ${limitedGradSchemes}/faceLimitedGrad/faceLimitedGrads.C ${limitedGradSchemes}/cellLimitedGrad/cellLimitedGrads.C ${limitedGradSchemes}/faceMDLimitedGrad/faceMDLimitedGrads.C @@ -450,7 +450,7 @@ list(APPEND sources ) set(snGradSchemes finiteVolume/snGradSchemes) -list(APPEND sources +list(APPEND SOURCES ${snGradSchemes}/snGradScheme/snGradSchemes.C ${snGradSchemes}/correctedSnGrad/correctedSnGrads.C ${snGradSchemes}/limitedSnGrad/limitedSnGrads.C @@ -464,7 +464,7 @@ list(APPEND sources # $(snGradSchemes)/quadraticFitSnGrad/quadraticFitSnGrads.C set(convectionSchemes finiteVolume/convectionSchemes) -list(APPEND sources +list(APPEND SOURCES ${convectionSchemes}/convectionScheme/convectionSchemes.C ${convectionSchemes}/gaussConvectionScheme/gaussConvectionSchemes.C ${convectionSchemes}/noConvectionScheme/noConvectionSchemes.C @@ -473,14 +473,14 @@ list(APPEND sources ) set(adjConvectionSchemes finiteVolume/adjConvectionSchemes) -list(APPEND sources +list(APPEND SOURCES ${adjConvectionSchemes}/adjConvectionScheme/adjConvectionSchemes.C ${adjConvectionSchemes}/noAdjConvectionScheme/noAdjConvectionSchemes.C ${adjConvectionSchemes}/explicitAdjConvectionScheme/explicitAdjConvectionSchemes.C ) set(laplacianSchemes finiteVolume/laplacianSchemes) -list(APPEND sources +list(APPEND SOURCES ${laplacianSchemes}/laplacianScheme/laplacianSchemes.C ${laplacianSchemes}/gaussLaplacianScheme/gaussLaplacianSchemes.C ${laplacianSchemes}/noLaplacianScheme/noLaplacianSchemes.C @@ -488,14 +488,14 @@ list(APPEND sources ) set(general cfdTools/general) -list(APPEND sources +list(APPEND SOURCES ${general}/findRefCell/findRefCell.C ${general}/adjustPhi/adjustPhi.C ${general}/bound/bound.C ) set(solutionControl ${general}/solutionControl) -list(APPEND sources +list(APPEND SOURCES ${solutionControl}/solutionControl/solutionControl.C ${solutionControl}/simpleControl/simpleControl.C ${solutionControl}/pimpleControl/pimpleControl.C @@ -503,19 +503,19 @@ list(APPEND sources ) set(porousMedia ${general}/porousMedia) -list(APPEND sources +list(APPEND SOURCES ${porousMedia}/porousZone.C ${porousMedia}/porousZones.C ) set(MRF ${general}/MRF) -list(APPEND sources +list(APPEND SOURCES ${MRF}/MRFZone.C ${MRF}/MRFZones.C ) set(SRF ${general}/SRF) -list(APPEND sources +list(APPEND SOURCES ${SRF}/SRFModel/SRFModel/SRFModel.C ${SRF}/SRFModel/SRFModel/newSRFModel.C ${SRF}/SRFModel/rpm/rpm.C @@ -527,13 +527,11 @@ list(APPEND sources ) set(fieldSources ${general}/fieldSources) -list(APPEND sources +list(APPEND SOURCES ${fieldSources}/pressureGradientExplicitSource/pressureGradientExplicitSource.C ${fieldSources}/timeActivatedExplicitSource/timeActivatedExplicitSource.C ) -add_foam_library(finiteVolume SHARED ${sources}) +add_foam_library(finiteVolume SHARED ${SOURCES}) -# This is a prototype! Replace second argument with a list of the highest -# dependencies only. Inherited dependencies will be treated automatically. target_link_libraries(finiteVolume PUBLIC meshTools) diff --git a/src/foam/CMakeLists.txt b/src/foam/CMakeLists.txt index fb42e269b..b893d1858 100644 --- a/src/foam/CMakeLists.txt +++ b/src/foam/CMakeLists.txt @@ -30,7 +30,7 @@ # # -------------------------------------------------------------------------- -list(APPEND sources +list(APPEND SOURCES global/global.C global/dimensionedConstants/dimensionedConstants.C global/argList/argList.C @@ -47,7 +47,7 @@ list(APPEND sources ) set(bools primitives/bools) -list(APPEND sources +list(APPEND SOURCES ${bools}/bool/bool.C ${bools}/bool/boolIO.C ${bools}/Switch/Switch.C @@ -56,7 +56,7 @@ list(APPEND sources ) set(ints primitives/ints) -list(APPEND sources +list(APPEND SOURCES ${ints}/int/intIO.C ${ints}/uint/uintIO.C ${ints}/long/longIO.C @@ -91,7 +91,7 @@ list(APPEND sources ) set(strings primitives/strings) -list(APPEND sources +list(APPEND SOURCES ${strings}/string/foamString.C ${strings}/string/foamStringIO.C ${strings}/word/word.C @@ -104,7 +104,7 @@ list(APPEND sources ) set(sha1 primitives/hashes/SHA1) -list(APPEND sources +list(APPEND SOURCES ${sha1}/SHA1.C ${sha1}/SHA1Digest.C coordinateSystems/coordinateSystem.C @@ -130,7 +130,7 @@ list(APPEND sources ) set(primitiveLists primitives/Lists) -list(APPEND sources +list(APPEND SOURCES ${primitiveLists}/boolList.C ${primitiveLists}/diagTensorList.C ${primitiveLists}/labelIOList.C @@ -146,19 +146,19 @@ list(APPEND sources ) set(Streams db/IOstreams) -list(APPEND sources +list(APPEND SOURCES ${Streams}/token/tokenIO.C ) set(IOstreams ${Streams}/IOstreams) -list(APPEND sources +list(APPEND SOURCES ${IOstreams}/IOstream.C ${IOstreams}/Istream.C ${IOstreams}/Ostream.C ) set(Sstreams ${Streams}/Sstreams) -list(APPEND sources +list(APPEND SOURCES ${Sstreams}/ISstream.C ${Sstreams}/OSstream.C ${Sstreams}/SstreamsPrint.C @@ -167,28 +167,28 @@ list(APPEND sources ) set(gzstream ${Streams}/gzstream) -list(APPEND sources +list(APPEND SOURCES ${gzstream}/gzstream.C ) set(Fstreams ${Streams}/Fstreams) -list(APPEND sources +list(APPEND SOURCES ${Fstreams}/IFstream.C ${Fstreams}/OFstream.C ) set(Tstreams ${Streams}/Tstreams) -list(APPEND sources +list(APPEND SOURCES ${Tstreams}/ITstream.C ) set(StringStreams ${Streams}/StringStreams) -list(APPEND sources +list(APPEND SOURCES ${StringStreams}/StringStreamsPrint.C ) set(Pstreams ${Streams}/Pstreams) -list(APPEND sources +list(APPEND SOURCES ${Pstreams}/Pstream.C ${Pstreams}/PstreamCommsStruct.C ${Pstreams}/PstreamGlobals.C @@ -200,31 +200,31 @@ list(APPEND sources ) set(dictionary db/dictionary) -list(APPEND sources +list(APPEND SOURCES ${dictionary}/dictionary.C ${dictionary}/dictionaryIO.C ) set(entry ${dictionary}/entry) -list(APPEND sources +list(APPEND SOURCES ${entry}/entry.C ${entry}/entryIO.C ) set(primitiveEntry ${dictionary}/primitiveEntry) -list(APPEND sources +list(APPEND SOURCES ${primitiveEntry}/primitiveEntry.C ${primitiveEntry}/primitiveEntryIO.C ) set(dictionaryEntry ${dictionary}/dictionaryEntry) -list(APPEND sources +list(APPEND SOURCES ${dictionaryEntry}/dictionaryEntry.C ${dictionaryEntry}/dictionaryEntryIO.C ) set(functionEntries ${dictionary}/functionEntries) -list(APPEND sources +list(APPEND SOURCES ${functionEntries}/functionEntry/functionEntry.C ${functionEntries}/includeEntry/includeEntry.C ${functionEntries}/includeIfPresentEntry/includeIfPresentEntry.C @@ -233,14 +233,14 @@ list(APPEND sources ) set(IOdictionary db/IOobjects/IOdictionary) -list(APPEND sources +list(APPEND SOURCES ${IOdictionary}/IOdictionary.C ${IOdictionary}/IOdictionaryIO.C db/IOobjects/IOMap/IOMapName.C ) set(IOobject db/IOobject) -list(APPEND sources +list(APPEND SOURCES ${IOobject}/IOobject.C ${IOobject}/IOobjectIO.C ${IOobject}/IOobjectReadHeader.C @@ -248,7 +248,7 @@ list(APPEND sources ) set(regIOobject db/regIOobject) -list(APPEND sources +list(APPEND SOURCES ${regIOobject}/regIOobject.C ${regIOobject}/regIOobjectRead.C ${regIOobject}/regIOobjectWrite.C @@ -263,7 +263,7 @@ list(APPEND sources ) set(Time db/Time) -list(APPEND sources +list(APPEND SOURCES ${Time}/TimePaths.C ${Time}/TimeState.C ${Time}/foamTime.C @@ -290,21 +290,21 @@ list(APPEND sources ) set(scalarMatrices matrices/scalarMatrices) -list(APPEND sources +list(APPEND SOURCES ${scalarMatrices}/scalarMatrices.C ${scalarMatrices}/scalarSquareMatrix.C ${scalarMatrices}/SVD/SVD.C ) set(LUscalarMatrix matrices/LUscalarMatrix) -list(APPEND sources +list(APPEND SOURCES ${LUscalarMatrix}/LUscalarMatrix.C ${LUscalarMatrix}/procLduMatrix.C ${LUscalarMatrix}/procLduInterface.C ) set(lduMatrix matrices/lduMatrix) -list(APPEND sources +list(APPEND SOURCES ${lduMatrix}/lduMatrix/lduMatrix.C ${lduMatrix}/lduMatrix/lduMatrixOperations.C ${lduMatrix}/lduMatrix/lduMatrixATmul.C @@ -333,13 +333,13 @@ list(APPEND sources ) set(lduAddressing ${lduMatrix}/lduAddressing) -list(APPEND sources +list(APPEND SOURCES ${lduAddressing}/lduAddressing.C ${lduAddressing}/extendedLduAddressing/extendedLduAddressing.C ) set(lduInterfaces ${lduAddressing}/lduInterfaces) -list(APPEND sources +list(APPEND SOURCES ${lduInterfaces}/lduInterface/lduInterface.C ${lduInterfaces}/processorLduInterface/processorLduInterface.C ${lduInterfaces}/cyclicLduInterface/cyclicLduInterface.C @@ -350,7 +350,7 @@ list(APPEND sources ) set(lduInterfaceFields ${lduAddressing}/lduInterfaceFields) -list(APPEND sources +list(APPEND SOURCES ${lduInterfaceFields}/lduInterfaceField/lduInterfaceField.C ${lduInterfaceFields}/processorLduInterfaceField/processorLduInterfaceField.C ${lduInterfaceFields}/cyclicLduInterfaceField/cyclicLduInterfaceField.C @@ -361,7 +361,7 @@ list(APPEND sources ) set(AMG ${lduMatrix}/solvers/AMG) -list(APPEND sources +list(APPEND SOURCES ${AMG}/GAMGSolver.C ${AMG}/GAMGSolverAgglomerateMatrix.C ${AMG}/GAMGSolverScalingFactor.C @@ -369,7 +369,7 @@ list(APPEND sources ) set(AMGInterfaces ${AMG}/interfaces) -list(APPEND sources +list(APPEND SOURCES ${AMGInterfaces}/AMGInterface/AMGInterface.C ${AMGInterfaces}/AMGInterface/newAMGInterface.C ${AMGInterfaces}/processorAMGInterface/processorAMGInterface.C @@ -381,7 +381,7 @@ list(APPEND sources ) set(AMGInterfaceFields ${AMG}/interfaceFields) -list(APPEND sources +list(APPEND SOURCES ${AMGInterfaceFields}/AMGInterfaceField/AMGInterfaceField.C ${AMGInterfaceFields}/AMGInterfaceField/newAMGInterfaceField.C ${AMGInterfaceFields}/processorAMGInterfaceField/processorAMGInterfaceField.C @@ -395,20 +395,20 @@ list(APPEND sources set(AMGAgglomerations ${AMG}/AMGAgglomerations) set(GAMGAgglomeration ${AMGAgglomerations}/GAMGAgglomeration) -list(APPEND sources +list(APPEND SOURCES ${GAMGAgglomeration}/GAMGAgglomeration.C ${GAMGAgglomeration}/GAMGAgglomerateLduAddressing.C ) set(pairGAMGAgglomeration ${AMGAgglomerations}/pairGAMGAgglomeration) -list(APPEND sources +list(APPEND SOURCES ${pairGAMGAgglomeration}/pairGAMGAgglomeration.C ${pairGAMGAgglomeration}/pairGAMGAgglomerate.C ${pairGAMGAgglomeration}/pairGAMGAgglomerationCombineLevels.C ) set(algebraicPairGAMGAgglomeration ${AMGAgglomerations}/algebraicPairGAMGAgglomeration) -list(APPEND sources +list(APPEND SOURCES ${algebraicPairGAMGAgglomeration}/algebraicPairGAMGAgglomeration.C meshes/lduMesh/lduMesh.C meshes/MeshObject/meshObjectBase.C @@ -416,7 +416,7 @@ list(APPEND sources set(primitiveShapes meshes/primitiveShapes) -list(APPEND sources +list(APPEND SOURCES ${primitiveShapes}/line/line.C ${primitiveShapes}/plane/plane.C ${primitiveShapes}/triangle/triangleFuncs.C @@ -424,13 +424,13 @@ list(APPEND sources ) set(meshShapes meshes/meshShapes) -list(APPEND sources +list(APPEND SOURCES ${meshShapes}/edge/edge.C ${meshShapes}/edge/edgeIOList.C ) set(face ${meshShapes}/face) -list(APPEND sources +list(APPEND SOURCES ${face}/face.C ${face}/faceIntersection.C ${face}/faceContactSphere.C @@ -439,30 +439,30 @@ list(APPEND sources ) set(cell ${meshShapes}/cell) -list(APPEND sources +list(APPEND SOURCES ${cell}/cell.C ${cell}/oppositeCellFace.C ${cell}/cellIOList.C ) set(tetCell ${meshShapes}/tetCell) -list(APPEND sources +list(APPEND SOURCES ${tetCell}/tetCell.C ) set(cellModeller ${meshShapes}/cellModeller) -list(APPEND sources +list(APPEND SOURCES ${cellModeller}/cellModeller.C ) set(cellModel ${meshShapes}/cellModel) -list(APPEND sources +list(APPEND SOURCES ${cellModel}/cellModel.C ${cellModel}/cellModelIO.C ) set(cellShape ${meshShapes}/cellShape) -list(APPEND sources +list(APPEND SOURCES ${cellShape}/cellShape.C ${cellShape}/cellShapeEqual.C ${cellShape}/cellShapeIO.C @@ -473,19 +473,19 @@ list(APPEND sources set(polyMesh meshes/polyMesh) set(polyPatches ${polyMesh}/polyPatches) -list(APPEND sources +list(APPEND SOURCES ${polyPatches}/polyPatch/polyPatch.C ${polyPatches}/polyPatch/newPolyPatch.C ) set(basicPolyPatches ${polyPatches}/basic) -list(APPEND sources +list(APPEND SOURCES ${basicPolyPatches}/coupled/coupledPolyPatch.C ${basicPolyPatches}/generic/genericPolyPatch.C ) set(constraintPolyPatches ${polyPatches}/constraint) -list(APPEND sources +list(APPEND SOURCES ${constraintPolyPatches}/empty/emptyPolyPatch.C ${constraintPolyPatches}/symmetry/symmetryPolyPatch.C ${constraintPolyPatches}/wedge/wedgePolyPatch.C @@ -500,20 +500,20 @@ list(APPEND sources ) set(derivedPolyPatches ${polyPatches}/derived) -list(APPEND sources +list(APPEND SOURCES ${derivedPolyPatches}/wall/wallPolyPatch.C ${derivedPolyPatches}/cohesive/cohesivePolyPatch.C ) set(polyBoundaryMesh ${polyMesh}/polyBoundaryMesh) -list(APPEND sources +list(APPEND SOURCES ${polyBoundaryMesh}/polyBoundaryMesh.C ${polyBoundaryMesh}/polyBoundaryMeshEntries.C meshes/ProcessorTopology/commSchedule.C ) set(globalMeshData ${polyMesh}/globalMeshData) -list(APPEND sources +list(APPEND SOURCES ${globalMeshData}/globalMeshData.C ${globalMeshData}/globalPoints.C ${globalMeshData}/globalIndex.C @@ -523,19 +523,19 @@ list(APPEND sources set(zones ${polyMesh}/zones) set(cellZone ${zones}/cellZone) -list(APPEND sources +list(APPEND SOURCES ${cellZone}/cellZone.C ${cellZone}/newCellZone.C ) set(faceZone ${zones}/faceZone) -list(APPEND sources +list(APPEND SOURCES ${faceZone}/faceZone.C ${faceZone}/newFaceZone.C ) set(pointZone ${polyMesh}/zones/pointZone) -list(APPEND sources +list(APPEND SOURCES ${pointZone}/pointZone.C ${pointZone}/newPointZone.C ${polyMesh}/polyMesh.C @@ -547,7 +547,7 @@ list(APPEND sources ) set(primitiveMesh meshes/primitiveMesh) -list(APPEND sources +list(APPEND SOURCES ${primitiveMesh}/primitiveMesh.C ${primitiveMesh}/primitiveMeshCellCells.C ${primitiveMesh}/primitiveMeshCellCentresAndVols.C @@ -568,7 +568,7 @@ list(APPEND sources ) set(primitiveMeshCheck ${primitiveMesh}/primitiveMeshCheck) -list(APPEND sources +list(APPEND SOURCES ${primitiveMeshCheck}/primitiveMeshCheck.C ${primitiveMeshCheck}/primitiveMeshCheckMotion.C ${primitiveMeshCheck}/primitiveMeshCheckPointNearness.C @@ -576,13 +576,13 @@ list(APPEND sources ) set(primitivePatch ${primitiveMesh}/primitivePatch) -list(APPEND sources +list(APPEND SOURCES ${primitivePatch}/patchZones.C ${primitivePatch}/walkPatch.C ) set(cellMatcher ${meshShapes}/cellMatcher) -list(APPEND sources +list(APPEND SOURCES ${cellMatcher}/cellMatcher.C ${cellMatcher}/hexMatcher.C ${cellMatcher}/wedgeMatcher.C @@ -594,7 +594,7 @@ list(APPEND sources ) set(mapPolyMesh ${polyMesh}/mapPolyMesh) -list(APPEND sources +list(APPEND SOURCES ${mapPolyMesh}/mapPolyMesh.C ${mapPolyMesh}/pointMapper/pointMapper.C ${mapPolyMesh}/faceMapper/faceMapper.C @@ -605,35 +605,35 @@ list(APPEND sources ) set(PrimitivePatch ${primitiveMesh}/PrimitivePatchTemplate) -list(APPEND sources +list(APPEND SOURCES ${PrimitivePatch}/PrimitivePatchName.C ) set(pointMesh meshes/pointMesh) -list(APPEND sources +list(APPEND SOURCES ${pointMesh}/pointMesh.C ) set(pointMeshMapper ${pointMesh}/pointMeshMapper) -list(APPEND sources +list(APPEND SOURCES ${pointMeshMapper}/pointPatchMapper.C ) set(pointPatches ${pointMesh}/pointPatches) -list(APPEND sources +list(APPEND SOURCES ${pointPatches}/pointPatch/pointPatch.C ${pointPatches}/facePointPatch/facePointPatch.C ${pointPatches}/facePointPatch/newFacePointPatch.C ) set(basicPointPatches ${pointPatches}/basic) -list(APPEND sources +list(APPEND SOURCES ${basicPointPatches}/coupled/coupledPointPatch.C ${basicPointPatches}/generic/genericPointPatch.C ) set(constraintPointPatches ${pointPatches}/constraint) -list(APPEND sources +list(APPEND SOURCES ${constraintPointPatches}/empty/emptyPointPatch.C ${constraintPointPatches}/symmetry/symmetryPointPatch.C ${constraintPointPatches}/wedge/wedgePointPatch.C @@ -647,7 +647,7 @@ list(APPEND sources ) set(derivedPointPatches ${pointPatches}/derived) -list(APPEND sources +list(APPEND SOURCES ${derivedPointPatches}/coupled/coupledFacePointPatch.C ${derivedPointPatches}/global/globalPointPatch.C ${derivedPointPatches}/wall/wallPointPatch.C @@ -655,13 +655,13 @@ list(APPEND sources ) set(pointBoundaryMesh ${pointMesh}/pointBoundaryMesh) -list(APPEND sources +list(APPEND SOURCES ${pointBoundaryMesh}/pointBoundaryMesh.C meshes/boundBox/boundBox.C ) set(meshTools meshes/meshTools) -list(APPEND sources +list(APPEND SOURCES ${meshTools}/meshTools.C ${meshTools}/matchPoints.C ${meshTools}/mergePoints.C @@ -670,7 +670,7 @@ list(APPEND sources ) set(Fields fields/Fields) -list(APPEND sources +list(APPEND SOURCES ${Fields}/labelField/labelField.C ${Fields}/scalarField/scalarField.C ${Fields}/vectorField/vectorField.C @@ -698,12 +698,12 @@ list(APPEND sources ) set(pointPatchFields fields/pointPatchFields) -list(APPEND sources +list(APPEND SOURCES ${pointPatchFields}/pointPatchField/pointPatchFields.C ) set(basicPointPatchFields ${pointPatchFields}/basic) -list(APPEND sources +list(APPEND SOURCES ${basicPointPatchFields}/calculated/calculatedPointPatchFields.C ${basicPointPatchFields}/generic/genericPointPatchFields.C ${basicPointPatchFields}/coupled/coupledPointPatchFields.C @@ -714,7 +714,7 @@ list(APPEND sources ) set(constraintPointPatchFields ${pointPatchFields}/constraint) -list(APPEND sources +list(APPEND SOURCES ${constraintPointPatchFields}/empty/emptyPointPatchFields.C ${constraintPointPatchFields}/symmetry/symmetryPointPatchFields.C ${constraintPointPatchFields}/wedge/wedgePointPatchFields.C @@ -723,7 +723,7 @@ list(APPEND sources ) set(derivedPointPatchFields ${pointPatchFields}/derived) -list(APPEND sources +list(APPEND SOURCES ${derivedPointPatchFields}/slip/slipPointPatchFields.C ${derivedPointPatchFields}/global/globalPointPatchFields.C ${derivedPointPatchFields}/uniformFixedValue/uniformFixedValuePointPatchFields.C @@ -736,7 +736,7 @@ list(APPEND sources set(interpolations interpolations) set(interpolation ${interpolations}/interpolation) -list(APPEND sources +list(APPEND SOURCES ${interpolations}/splineInterpolateXY/splineInterpolateXY.C ${interpolations}/patchToPatchInterpolation/PatchToPatchInterpolationName.C ${interpolations}/GGIInterpolation/GGIInterpolationName.C @@ -756,7 +756,7 @@ list(APPEND sources ) set(octree algorithms/octree/octree) -list(APPEND sources +list(APPEND SOURCES ${octree}/octreeName.C ${octree}/octreeDataPoint.C ${octree}/octreeDataPointTreeLeaf.C @@ -771,7 +771,7 @@ list(APPEND sources ) set(indexedOctree algorithms/octree/indexedOctree) -list(APPEND sources +list(APPEND SOURCES ${indexedOctree}/indexedOctreeName.C ${indexedOctree}/treeDataCell.C ${indexedOctree}/treeDataEdge.C @@ -782,7 +782,7 @@ list(APPEND sources ) set(writers graph/writers) -list(APPEND sources +list(APPEND SOURCES ${writers}/rawGraph/rawGraph.C ${writers}/gnuplotGraph/gnuplotGraph.C ${writers}/xmgrGraph/xmgrGraph.C @@ -796,7 +796,7 @@ list(APPEND sources ) set(BlockCoeffNorm primitives/BlockCoeff/BlockCoeffNorm) -list(APPEND sources +list(APPEND SOURCES ${BlockCoeffNorm}/BlockCoeffNorm/blockCoeffNorms.C ${BlockCoeffNorm}/BlockCoeffTwoNorm/blockCoeffTwoNorms.C ${BlockCoeffNorm}/BlockCoeffMaxNorm/blockCoeffMaxNorms.C @@ -811,7 +811,7 @@ list(APPEND sources ) set(BlockLduMatrix matrices/blockLduMatrix/BlockLduMatrix) -list(APPEND sources +list(APPEND SOURCES ${BlockLduMatrix}/blockLduMatrixName.C ${BlockLduMatrix}/scalarBlockLduMatrix.C ${BlockLduMatrix}/sphericalTensorBlockLduMatrix.C @@ -826,7 +826,7 @@ list(APPEND sources ) set(BlockLduInterfaceFields ${BlockLduMatrix}/BlockLduInterfaceFields) -list(APPEND sources +list(APPEND SOURCES ${BlockLduInterfaceFields}/BlockLduInterfaceField/BlockLduInterfaceFields.C ${BlockLduInterfaceFields}/BlockLduInterfaceField/blockVectorNLduInterfaceFields.C ${BlockLduInterfaceFields}/GGIBlockLduInterfaceField/GGIBlockLduInterfaceFields.C @@ -836,13 +836,13 @@ list(APPEND sources ) set(BlockAMG matrices/blockLduMatrix/BlockAMG) -list(APPEND sources +list(APPEND SOURCES ${BlockAMG}/blockAMGCycles.C ${BlockAMG}/blockAMGLevels.C ) set(BlockAMGInterfaceFields ${BlockAMG}/BlockAMGInterfaceFields) -list(APPEND sources +list(APPEND SOURCES ${BlockAMGInterfaceFields}/BlockAMGInterfaceField/blockAMGInterfaceFields.C ${BlockAMGInterfaceFields}/BlockAMGInterfaceField/blockVectorNAMGInterfaceFields.C ${BlockAMGInterfaceFields}/ProcessorBlockAMGInterfaceField/ProcessorBlockAMGInterfaceFields.C @@ -850,13 +850,13 @@ list(APPEND sources ) set(BlockMatrixCoarsening ${BlockAMG}/BlockMatrixCoarsening) -list(APPEND sources +list(APPEND SOURCES ${BlockMatrixCoarsening}/BlockMatrixCoarsening/blockMatrixCoarsenings.C ${BlockMatrixCoarsening}/BlockMatrixAgglomeration/blockMatrixAgglomerations.C ) set(BlockLduPrecons matrices/blockLduMatrix/BlockLduPrecons) -list(APPEND sources +list(APPEND SOURCES ${BlockLduPrecons}/BlockLduPrecon/blockLduPrecons.C ${BlockLduPrecons}/BlockNoPrecon/blockNoPrecons.C ${BlockLduPrecons}/BlockDiagonalPrecon/scalarBlockDiagonalPrecon.C @@ -875,7 +875,7 @@ list(APPEND sources ) set(BlockLduSmoothers matrices/blockLduMatrix/BlockLduSmoothers) -list(APPEND sources +list(APPEND SOURCES ${BlockLduSmoothers}/BlockLduSmoother/blockLduSmoothers.C ${BlockLduSmoothers}/BlockGaussSeidelSmoother/blockGaussSeidelSmoothers.C ${BlockLduSmoothers}/BlockILUSmoother/blockILUSmoothers.C @@ -883,7 +883,7 @@ list(APPEND sources ) set(BlockLduSolvers matrices/blockLduMatrix/BlockLduSolvers) -list(APPEND sources +list(APPEND SOURCES ${BlockLduSolvers}/blockVectorNSolvers.C ${BlockLduSolvers}/BlockLduSolver/blockLduSolvers.C ${BlockLduSolvers}/BlockDiagonal/blockDiagonalSolvers.C @@ -895,9 +895,7 @@ list(APPEND sources ${BlockLduSolvers}/Segregated/segregatedSolvers.C ) -add_foam_library(foam SHARED ${sources}) +add_foam_library(foam SHARED ${SOURCES}) -# This is a prototype! Replace second argument with a list of the highest -# dependencies only. Inherited dependencies will be treated automatically. target_link_libraries(foam OSspecific mpi ZLIB::ZLIB) add_dependencies(foam getGitVersion) diff --git a/src/foam/global/global.C b/src/foam/global/global.C index e69de29bb..8ebb26dfe 100644 --- a/src/foam/global/global.C +++ b/src/foam/global/global.C @@ -0,0 +1,80 @@ +/*-------------------------------*- C++ -*-----------------------------------*\ + ========= | + \\ / F ield | foam-extend: Open Source CFD + \\ / O peration | Version: 3.2 + \\ / A nd | Web: http://www.foam-extend.org + \\/ M anipulation | For copyright notice see file Copyright +------------------------------------------------------------------------------- +License + This file is part of foam-extend. + + foam-extend 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 3 of the License, or (at your + option) any later version. + + foam-extend 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 foam-extend. If not, see . + +Description + Define the globals used in the OpenFOAM library. + It is important that these are constructed in the appropriate order to + avoid the use of unconstructed data in the global namespace. + + This file has the extension .Cver to trigger a Makefile rule that converts + 'VERSION\_STRING' and 'BUILD\_STRING' into the appropriate strings. + +\*---------------------------------------------------------------------------*/ + +// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // + +#include "foamVersion.H" + +const char* const Foam::FOAMversion = "v4.0-4-a743de9-dirty"; +const char* const Foam::FOAMbuild = "4.0"; + + +// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // +// Setup an error handler for the global new operator + +#include "new.C" + +// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // +// Global IO streams + +#include "IOstreams.C" + +// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // + +#include "JobInfo.H" +bool Foam::JobInfo::constructed = false; + +// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // +// Global error definitions (initialised by construction) + +#include "messageStream.C" +#include "error.C" +#include "IOerror.C" +#include "token.C" + +// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // +// Read the debug and info switches + +#include "debug.C" + +// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // +// Read and set cell models + +#include "globalCellModeller.C" + +// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // +// Create the jobInfo file in the $FOAM_JOB_DIR/runningJobs directory + +#include "JobInfo.C" + +// ************************************************************************* // diff --git a/src/fvAgglomerationMethods/MGridGenGamgAgglomeration/CMakeLists.txt b/src/fvAgglomerationMethods/MGridGenGamgAgglomeration/CMakeLists.txt index 7c66b3d12..0bb5427b1 100644 --- a/src/fvAgglomerationMethods/MGridGenGamgAgglomeration/CMakeLists.txt +++ b/src/fvAgglomerationMethods/MGridGenGamgAgglomeration/CMakeLists.txt @@ -30,13 +30,11 @@ # # -------------------------------------------------------------------------- -list(APPEND sources +list(APPEND SOURCES MGridGenGAMGAgglomeration.C MGridGenGAMGAgglomerate.C ) -add_foam_library(MGridGenGAMGAgglomeration SHARED ${sources}) +add_foam_library(MGridGenGAMGAgglomeration SHARED ${SOURCES}) -# This is a prototype! Replace second argument with a list of the highest -# dependencies only. Inherited dependencies will be treated automatically. #target_link_libraries(MGridGenGAMGAgglomeration finiteVolume) diff --git a/src/immersedBoundary/immersedBoundary/CMakeLists.txt b/src/immersedBoundary/immersedBoundary/CMakeLists.txt index 082e04eed..08aa07ccc 100644 --- a/src/immersedBoundary/immersedBoundary/CMakeLists.txt +++ b/src/immersedBoundary/immersedBoundary/CMakeLists.txt @@ -30,7 +30,7 @@ # # -------------------------------------------------------------------------- -list(APPEND sources +list(APPEND SOURCES immersedBoundaryPolyPatch/immersedBoundaryPolyPatch.C immersedBoundaryPointPatch/immersedBoundaryPointPatch.C immersedBoundaryFvPatch/immersedBoundaryFvPatch.C @@ -44,8 +44,6 @@ list(APPEND sources ibSwirlFlowRateInletVelocity/ibSwirlFlowRateInletVelocityFvPatchVectorField.C ) -add_foam_library(immersedBoundary SHARED ${sources}) +add_foam_library(immersedBoundary SHARED ${SOURCES}) -# This is a prototype! Replace second argument with a list of the highest -# dependencies only. Inherited dependencies will be treated automatically. target_link_libraries(immersedBoundary PUBLIC finiteVolume sampling surfMesh dynamicMesh) diff --git a/src/immersedBoundary/immersedBoundaryDynamicMesh/CMakeLists.txt b/src/immersedBoundary/immersedBoundaryDynamicMesh/CMakeLists.txt index c397bc7de..8664bacf8 100644 --- a/src/immersedBoundary/immersedBoundaryDynamicMesh/CMakeLists.txt +++ b/src/immersedBoundary/immersedBoundaryDynamicMesh/CMakeLists.txt @@ -30,13 +30,11 @@ # # -------------------------------------------------------------------------- -list(APPEND sources +list(APPEND SOURCES movingImmersedBoundary/movingImmersedBoundary.C immersedBoundarySolidBodyMotionFvMesh/immersedBoundarySolidBodyMotionFvMesh.C ) -add_foam_library(immersedBoundaryDynamicFvMesh SHARED ${sources}) +add_foam_library(immersedBoundaryDynamicFvMesh SHARED ${SOURCES}) -# This is a prototype! Replace second argument with a list of the highest -# dependencies only. Inherited dependencies will be treated automatically. target_link_libraries(immersedBoundaryDynamicFvMesh PUBLIC immersedBoundary dynamicFvMesh solidBodyMotion) diff --git a/src/immersedBoundary/immersedBoundaryForce/CMakeLists.txt b/src/immersedBoundary/immersedBoundaryForce/CMakeLists.txt index a7289993d..34b9a3b02 100644 --- a/src/immersedBoundary/immersedBoundaryForce/CMakeLists.txt +++ b/src/immersedBoundary/immersedBoundaryForce/CMakeLists.txt @@ -30,13 +30,11 @@ # # -------------------------------------------------------------------------- -list(APPEND sources +list(APPEND SOURCES immersedBoundaryForces.C immersedBoundaryForcesFunctionObject.C ) -add_foam_library(immersedBoundaryForceFunctionObject SHARED ${sources}) +add_foam_library(immersedBoundaryForceFunctionObject SHARED ${SOURCES}) -# This is a prototype! Replace second argument with a list of the highest -# dependencies only. Inherited dependencies will be treated automatically. target_link_libraries(immersedBoundaryForceFunctionObject immersedBoundaryTurbulence forces) diff --git a/src/immersedBoundary/immersedBoundaryTurbulence/CMakeLists.txt b/src/immersedBoundary/immersedBoundaryTurbulence/CMakeLists.txt index 53a41eb68..0fe49dfb0 100644 --- a/src/immersedBoundary/immersedBoundaryTurbulence/CMakeLists.txt +++ b/src/immersedBoundary/immersedBoundaryTurbulence/CMakeLists.txt @@ -30,15 +30,13 @@ # # -------------------------------------------------------------------------- -list(APPEND sources +list(APPEND SOURCES wallFunctions/immersedBoundaryWallFunctions/immersedBoundaryWallFunctionFvPatchFields.C wallFunctions/immersedBoundaryEpsilonWallFunctions/immersedBoundaryEpsilonWallFunctionFvPatchScalarField.C wallFunctions/immersedBoundaryOmegaWallFunctions/immersedBoundaryOmegaWallFunctionFvPatchScalarField.C wallFunctions/immersedBoundaryVelocityWallFunctions/immersedBoundaryVelocityWallFunctionFvPatchVectorField.C ) -add_foam_library(immersedBoundaryTurbulence SHARED ${sources}) +add_foam_library(immersedBoundaryTurbulence SHARED ${SOURCES}) -# This is a prototype! Replace second argument with a list of the highest -# dependencies only. Inherited dependencies will be treated automatically. target_link_libraries(immersedBoundaryTurbulence immersedBoundary incompressibleRASModels incompressibleLESModels) diff --git a/src/lagrangian/basic/CMakeLists.txt b/src/lagrangian/basic/CMakeLists.txt index ea0cb8778..8fcd61953 100644 --- a/src/lagrangian/basic/CMakeLists.txt +++ b/src/lagrangian/basic/CMakeLists.txt @@ -35,13 +35,11 @@ set(particle particle) set(passiveParticle passiveParticle) set(indexedParticle indexedParticle) -list(APPEND sources +list(APPEND SOURCES ${passiveParticle}/passiveParticleCloud.C ${indexedParticle}/indexedParticleCloud.C ) -add_foam_library(lagrangianBasic SHARED ${sources}) +add_foam_library(lagrangianBasic SHARED ${SOURCES}) -# This is a prototype! Replace second argument with a list of the highest -# dependencies only. Inherited dependencies will be treated automatically. target_link_libraries(lagrangianBasic PUBLIC decompositionMethods foam) diff --git a/src/lagrangian/coalCombustion/CMakeLists.txt b/src/lagrangian/coalCombustion/CMakeLists.txt index f9d94bce8..8632e339d 100644 --- a/src/lagrangian/coalCombustion/CMakeLists.txt +++ b/src/lagrangian/coalCombustion/CMakeLists.txt @@ -31,13 +31,11 @@ # -------------------------------------------------------------------------- # Coal parcel and sub-models -list(APPEND sources +list(APPEND SOURCES CoalParcel/defineCoalParcel.C CoalParcel/makeCoalParcelSubmodels.C ) -add_foam_library(coalCombustion SHARED ${sources}) +add_foam_library(coalCombustion SHARED ${SOURCES}) -# This is a prototype! Replace second argument with a list of the highest -# dependencies only. Inherited dependencies will be treated automatically. target_link_libraries(coalCombustion PUBLIC lagrangianBasic lagrangianIntermediate basicThermophysicalModels) diff --git a/src/lagrangian/dieselSpray/CMakeLists.txt b/src/lagrangian/dieselSpray/CMakeLists.txt index efab47550..bbd5c0ef0 100644 --- a/src/lagrangian/dieselSpray/CMakeLists.txt +++ b/src/lagrangian/dieselSpray/CMakeLists.txt @@ -44,7 +44,7 @@ set(collisionModels spraySubModels/collisionModel) set(dispersionModels spraySubModels/dispersionModel) set(injectorModels spraySubModels/injectorModel) -list(APPEND sources +list(APPEND SOURCES ${parcel}/parcel.C ${parcel}/parcelFunctions.C ${parcel}/parcelIO.C @@ -115,8 +115,6 @@ list(APPEND sources ${dispersionModels}/stochasticDispersionRAS/stochasticDispersionRAS.C ) -add_foam_library(dieselSpray SHARED ${sources}) +add_foam_library(dieselSpray SHARED ${SOURCES}) -# This is a prototype! Replace second argument with a list of the highest -# dependencies only. Inherited dependencies will be treated automatically. target_link_libraries(dieselSpray PUBLIC lagrangianBasic lagrangianIntermediate basicThermophysicalModels) diff --git a/src/lagrangian/dsmc/CMakeLists.txt b/src/lagrangian/dsmc/CMakeLists.txt index 60f742bee..b86810741 100644 --- a/src/lagrangian/dsmc/CMakeLists.txt +++ b/src/lagrangian/dsmc/CMakeLists.txt @@ -31,25 +31,23 @@ # -------------------------------------------------------------------------- # Parcels -list(APPEND sources +list(APPEND SOURCES parcels/derived/dsmcParcel/dsmcParcel.C ) # Cloud base classes -list(APPEND sources +list(APPEND SOURCES clouds/baseClasses/DsmcBaseCloud/DsmcBaseCloud.C ) # submodels -list(APPEND sources +list(APPEND SOURCES parcels/derived/dsmcParcel/defineDsmcParcel.C parcels/derived/dsmcParcel/makeDsmcParcelBinaryCollisionModels.C parcels/derived/dsmcParcel/makeDsmcParcelWallInteractionModels.C parcels/derived/dsmcParcel/makeDsmcParcelInflowBoundaryModels.C ) -add_foam_library(dsmc SHARED ${sources}) +add_foam_library(dsmc SHARED ${SOURCES}) -# This is a prototype! Replace second argument with a list of the highest -# dependencies only. Inherited dependencies will be treated automatically. target_link_libraries(dsmc finiteVolume lagrangianBasic) diff --git a/src/lagrangian/intermediate/CMakeLists.txt b/src/lagrangian/intermediate/CMakeLists.txt index 0c6365b37..7e3913416 100644 --- a/src/lagrangian/intermediate/CMakeLists.txt +++ b/src/lagrangian/intermediate/CMakeLists.txt @@ -40,13 +40,13 @@ set(DERIVEDCLOUDS ${CLOUDS}/derived) # Parcels -list(APPEND sources +list(APPEND SOURCES ${BASEPARCELS}/reactingParcel/reactingParcel.C ) # Cloud base classes -list(APPEND sources +list(APPEND SOURCES ${BASECLOUDS}/kinematicCloud/kinematicCloud.C ${BASECLOUDS}/thermoCloud/thermoCloud.C ${BASECLOUDS}/reactingCloud/reactingCloud.C @@ -56,7 +56,7 @@ list(APPEND sources # kinematic parcel sub-models set(KINEMATICPARCEL ${DERIVEDPARCELS}/basicKinematicParcel) -list(APPEND sources +list(APPEND SOURCES ${KINEMATICPARCEL}/basicKinematicParcel.C ${KINEMATICPARCEL}/defineBasicKinematicParcel.C ${KINEMATICPARCEL}/makeBasicKinematicParcelSubmodels.C @@ -65,7 +65,7 @@ list(APPEND sources # thermo parcel sub-models set(THERMOPARCEL ${DERIVEDPARCELS}/basicThermoParcel) -list(APPEND sources +list(APPEND SOURCES ${THERMOPARCEL}/basicThermoParcel.C ${THERMOPARCEL}/defineBasicThermoParcel.C ${THERMOPARCEL}/makeBasicThermoParcelSubmodels.C @@ -74,7 +74,7 @@ list(APPEND sources # reacting parcel sub-models set(REACTINGPARCEL ${DERIVEDPARCELS}/BasicReactingParcel) -list(APPEND sources +list(APPEND SOURCES ${REACTINGPARCEL}/defineBasicReactingParcel.C ${REACTINGPARCEL}/makeBasicReactingParcelSubmodels.C ) @@ -82,7 +82,7 @@ list(APPEND sources # reacting multiphase parcel sub-models set(REACTINGMPPARCEL ${DERIVEDPARCELS}/BasicReactingMultiphaseParcel) -list(APPEND sources +list(APPEND SOURCES ${REACTINGMPPARCEL}/defineBasicReactingMultiphaseParcel.C ${REACTINGMPPARCEL}/makeBasicReactingMultiphaseParcelSubmodels.C ) @@ -90,35 +90,35 @@ list(APPEND sources # bolt-on models set(RADIATION submodels/addOns/radiation) -list(APPEND sources +list(APPEND SOURCES ${RADIATION}/absorptionEmission/cloudAbsorptionEmission/cloudAbsorptionEmission.C ${RADIATION}/scatter/cloudScatter/cloudScatter.C submodels/Kinematic/PatchInteractionModel/LocalInteraction/patchInteractionData.C ) set(KINEMATICINJECTION submodels/Kinematic/InjectionModel) -list(APPEND sources +list(APPEND SOURCES ${KINEMATICINJECTION}/KinematicLookupTableInjection/kinematicParcelInjectionData.C ${KINEMATICINJECTION}/KinematicLookupTableInjection/kinematicParcelInjectionDataIO.C ${KINEMATICINJECTION}/KinematicLookupTableInjection/kinematicParcelInjectionDataIOList.C ) set(THERMOINJECTION submodels/Thermodynamic/InjectionModel) -list(APPEND sources +list(APPEND SOURCES ${THERMOINJECTION}/ThermoLookupTableInjection/thermoParcelInjectionData.C ${THERMOINJECTION}/ThermoLookupTableInjection/thermoParcelInjectionDataIO.C ${THERMOINJECTION}/ThermoLookupTableInjection/thermoParcelInjectionDataIOList.C ) set(REACTINGINJECTION submodels/Reacting/InjectionModel) -list(APPEND sources +list(APPEND SOURCES ${REACTINGINJECTION}/ReactingLookupTableInjection/reactingParcelInjectionData.C ${REACTINGINJECTION}/ReactingLookupTableInjection/reactingParcelInjectionDataIO.C ${REACTINGINJECTION}/ReactingLookupTableInjection/reactingParcelInjectionDataIOList.C ) set(REACTINGMPINJECTION submodels/ReactingMultiphase/InjectionModel) -list(APPEND sources +list(APPEND SOURCES ${REACTINGMPINJECTION}/ReactingMultiphaseLookupTableInjection/reactingMultiphaseParcelInjectionData.C ${REACTINGMPINJECTION}/ReactingMultiphaseLookupTableInjection/reactingMultiphaseParcelInjectionDataIO.C ${REACTINGMPINJECTION}/ReactingMultiphaseLookupTableInjection/reactingMultiphaseParcelInjectionDataIOList.C @@ -126,7 +126,7 @@ list(APPEND sources # data entries -list(APPEND sources +list(APPEND SOURCES submodels/IO/DataEntry/makeDataEntries.C submodels/IO/DataEntry/polynomial/polynomial.C submodels/IO/DataEntry/polynomial/polynomialIO.C @@ -134,26 +134,24 @@ list(APPEND sources # integration schemes -list(APPEND sources +list(APPEND SOURCES IntegrationScheme/makeIntegrationSchemes.C ) # particle forces -list(APPEND sources +list(APPEND SOURCES particleForces/particleForces.C ) # phase properties -list(APPEND sources +list(APPEND SOURCES phaseProperties/phaseProperties/phaseProperties.C phaseProperties/phaseProperties/phasePropertiesIO.C phaseProperties/phasePropertiesList/phasePropertiesList.C ) -add_foam_library(lagrangianIntermediate SHARED ${sources}) +add_foam_library(lagrangianIntermediate SHARED ${SOURCES}) -# This is a prototype! Replace second argument with a list of the highest -# dependencies only. Inherited dependencies will be treated automatically. target_link_libraries(lagrangianIntermediate PUBLIC reactionThermophysicalModels radiation compressibleRASModels compressibleLESModels pdf liquidMixture solidMixture) diff --git a/src/lagrangian/molecularDynamics/molecularMeasurements/CMakeLists.txt b/src/lagrangian/molecularDynamics/molecularMeasurements/CMakeLists.txt index 21a7bd6bf..b4856f2e1 100644 --- a/src/lagrangian/molecularDynamics/molecularMeasurements/CMakeLists.txt +++ b/src/lagrangian/molecularDynamics/molecularMeasurements/CMakeLists.txt @@ -30,12 +30,10 @@ # # -------------------------------------------------------------------------- -list(APPEND sources +list(APPEND SOURCES distribution/distribution.C ) -add_foam_library(molecularMeasurements SHARED ${sources}) +add_foam_library(molecularMeasurements SHARED ${SOURCES}) -# This is a prototype! Replace second argument with a list of the highest -# dependencies only. Inherited dependencies will be treated automatically. target_link_libraries(molecularMeasurements PUBLIC foam) diff --git a/src/lagrangian/molecularDynamics/molecule/CMakeLists.txt b/src/lagrangian/molecularDynamics/molecule/CMakeLists.txt index beced323d..d4544c032 100644 --- a/src/lagrangian/molecularDynamics/molecule/CMakeLists.txt +++ b/src/lagrangian/molecularDynamics/molecule/CMakeLists.txt @@ -37,7 +37,7 @@ set(referredCell ${interactionLists}/referredCell) set(referralLists ${interactionLists}/referralLists) set(directInteractionList ${interactionLists}/directInteractionList) -list(APPEND sources +list(APPEND SOURCES ${referralLists}/sendingReferralList.C ${referralLists}/receivingReferralList.C ${referredCellList}/referredCellList.C @@ -48,24 +48,22 @@ list(APPEND sources ) set(reducedUnits reducedUnits) -list(APPEND sources +list(APPEND SOURCES ${reducedUnits}/reducedUnits.C ${reducedUnits}/reducedUnitsIO.C ) set(molecule molecule) -list(APPEND sources +list(APPEND SOURCES ${molecule}/molecule.C ${molecule}/moleculeIO.C ) set(moleculeCloud moleculeCloud) -list(APPEND sources +list(APPEND SOURCES ${moleculeCloud}/moleculeCloud.C ) -add_foam_library(molecule SHARED ${sources}) +add_foam_library(molecule SHARED ${SOURCES}) -# This is a prototype! Replace second argument with a list of the highest -# dependencies only. Inherited dependencies will be treated automatically. target_link_libraries(molecule PUBLIC potential) diff --git a/src/lagrangian/molecularDynamics/potential/CMakeLists.txt b/src/lagrangian/molecularDynamics/potential/CMakeLists.txt index 2e526b2a5..72d0664e7 100644 --- a/src/lagrangian/molecularDynamics/potential/CMakeLists.txt +++ b/src/lagrangian/molecularDynamics/potential/CMakeLists.txt @@ -32,13 +32,13 @@ set(potential potential) -list(APPEND sources +list(APPEND SOURCES ${potential}/potential.C ) set(pairPotential pairPotential) -list(APPEND sources +list(APPEND SOURCES ${pairPotential}/pairPotentialList/pairPotentialList.C ${pairPotential}/basic/pairPotential.C ${pairPotential}/basic/pairPotentialIO.C @@ -54,7 +54,7 @@ list(APPEND sources set(energyScalingFunction energyScalingFunction) -list(APPEND sources +list(APPEND SOURCES ${energyScalingFunction}/basic/energyScalingFunction.C ${energyScalingFunction}/basic/newEnergyScalingFunction.C ${energyScalingFunction}/derived/shifted/shifted.C @@ -66,7 +66,7 @@ list(APPEND sources set(tetherPotential tetherPotential) -list(APPEND sources +list(APPEND SOURCES ${tetherPotential}/tetherPotentialList/tetherPotentialList.C ${tetherPotential}/basic/tetherPotential.C ${tetherPotential}/basic/newTetherPotential.C @@ -77,12 +77,10 @@ list(APPEND sources set(electrostaticPotential electrostaticPotential) -list(APPEND sources +list(APPEND SOURCES ${electrostaticPotential}/electrostaticPotential.C ) -add_foam_library(potential SHARED ${sources}) +add_foam_library(potential SHARED ${SOURCES}) -# This is a prototype! Replace second argument with a list of the highest -# dependencies only. Inherited dependencies will be treated automatically. target_link_libraries(potential PUBLIC finiteVolume) diff --git a/src/lagrangian/solidParticle/CMakeLists.txt b/src/lagrangian/solidParticle/CMakeLists.txt index 0f5452971..6088b39c0 100644 --- a/src/lagrangian/solidParticle/CMakeLists.txt +++ b/src/lagrangian/solidParticle/CMakeLists.txt @@ -30,14 +30,12 @@ # # -------------------------------------------------------------------------- -list(APPEND sources +list(APPEND SOURCES solidParticle.C solidParticleIO.C solidParticleCloud.C ) -add_foam_library(solidParticle SHARED ${sources}) +add_foam_library(solidParticle SHARED ${SOURCES}) -# This is a prototype! Replace second argument with a list of the highest -# dependencies only. Inherited dependencies will be treated automatically. target_link_libraries(solidParticle PUBLIC finiteVolume lagrangianBasic) diff --git a/src/lduSolvers/CMakeLists.txt b/src/lduSolvers/CMakeLists.txt index 1bcee23de..e6350938f 100644 --- a/src/lduSolvers/CMakeLists.txt +++ b/src/lduSolvers/CMakeLists.txt @@ -30,13 +30,13 @@ # # -------------------------------------------------------------------------- -list(APPEND sources +list(APPEND SOURCES crMatrix/crAddressing.C crMatrix/crMatrix.C ) set(lduPrecon lduPrecon) -list(APPEND sources +list(APPEND SOURCES ${lduPrecon}/CholeskyPrecon/CholeskyPrecon.C ${lduPrecon}/ILU0/ILU0.C ${lduPrecon}/ILUC0/ILUC0.C @@ -46,13 +46,13 @@ list(APPEND sources ) set(lduSmoother lduSmoother) -list(APPEND sources +list(APPEND SOURCES ${lduSmoother}/symGaussSeidelSmoother/symGaussSeidelSmoother.C ${lduSmoother}/iluSmoother/iluSmoother.C ) set(lduSolver lduSolver) -list(APPEND sources +list(APPEND SOURCES ${lduSolver}/cgSolver/cgSolver.C ${lduSolver}/bicgSolver/bicgSolver.C ${lduSolver}/bicgStabSolver/bicgStabSolver.C @@ -65,20 +65,18 @@ list(APPEND sources ) set(amg amg) -list(APPEND sources +list(APPEND SOURCES ${amg}/amgCycle.C ${amg}/fineAmgLevel.C ${amg}/coarseAmgLevel.C ) set(amgPolicy ${amg}/amgPolicy) -list(APPEND sources +list(APPEND SOURCES ${amgPolicy}/amgPolicy.C ${amgPolicy}/pamgPolicy.C ) -add_foam_library(lduSolvers SHARED ${sources}) +add_foam_library(lduSolvers SHARED ${SOURCES}) -# This is a prototype! Replace second argument with a list of the highest -# dependencies only. Inherited dependencies will be treated automatically. target_link_libraries(lduSolvers PUBLIC foam) diff --git a/src/mesh/autoMesh/CMakeLists.txt b/src/mesh/autoMesh/CMakeLists.txt index cd9653042..300cd32bc 100644 --- a/src/mesh/autoMesh/CMakeLists.txt +++ b/src/mesh/autoMesh/CMakeLists.txt @@ -33,7 +33,7 @@ set(autoHexMesh autoHexMesh) set(autoHexMeshDriver ${autoHexMesh}/autoHexMeshDriver) -list(APPEND sources +list(APPEND SOURCES ${autoHexMeshDriver}/autoLayerDriver.C ${autoHexMeshDriver}/autoLayerDriverShrink.C ${autoHexMeshDriver}/autoSnapDriver.C @@ -54,8 +54,6 @@ list(APPEND sources ${autoHexMesh}/trackedParticle/trackedParticleCloud.C ) -add_foam_library(autoMesh SHARED ${sources}) +add_foam_library(autoMesh SHARED ${SOURCES}) -# This is a prototype! Replace second argument with a list of the highest -# dependencies only. Inherited dependencies will be treated automatically. target_link_libraries(autoMesh PUBLIC dynamicFvMesh edgeMesh) diff --git a/src/mesh/blockMesh/CMakeLists.txt b/src/mesh/blockMesh/CMakeLists.txt index a08320fd5..8846be105 100644 --- a/src/mesh/blockMesh/CMakeLists.txt +++ b/src/mesh/blockMesh/CMakeLists.txt @@ -30,7 +30,7 @@ # # -------------------------------------------------------------------------- -list(APPEND sources +list(APPEND SOURCES curvedEdges/BSpline.C curvedEdges/CatmullRomSpline.C curvedEdges/polyLine.C @@ -52,8 +52,6 @@ list(APPEND sources blockMesh/blockMeshMerge.C ) -add_foam_library(blockMeshLib SHARED ${sources}) +add_foam_library(blockMeshLib SHARED ${SOURCES}) -# This is a prototype! Replace second argument with a list of the highest -# dependencies only. Inherited dependencies will be treated automatically. target_link_libraries(blockMeshLib PUBLIC ODE dynamicMesh finiteVolume meshTools) diff --git a/src/mesh/cfMesh/CMakeLists.txt b/src/mesh/cfMesh/CMakeLists.txt index 48ce556ae..897797a62 100644 --- a/src/mesh/cfMesh/CMakeLists.txt +++ b/src/mesh/cfMesh/CMakeLists.txt @@ -173,7 +173,7 @@ set(voronoiMeshGenerator voronoiMesh/voronoiMeshGenerator) set(workflowControls utilities/workflowControls) -list(APPEND sources +list(APPEND SOURCES ${checkMeshDict}/checkMeshDict.C ${lists}/pointFieldPMG.C ${lists}/faceListPMG.C @@ -421,8 +421,6 @@ list(APPEND sources ${workflowControls}/workflowControls.C ) -add_foam_library(cfMesh SHARED ${sources}) +add_foam_library(cfMesh SHARED ${SOURCES}) -# This is a prototype! Replace second argument with a list of the highest -# dependencies only. Inherited dependencies will be treated automatically. target_link_libraries(cfMesh PUBLIC meshTools edgeMesh) diff --git a/src/mesh/extrudeModel/CMakeLists.txt b/src/mesh/extrudeModel/CMakeLists.txt index a02c10bf9..e7c237ad3 100644 --- a/src/mesh/extrudeModel/CMakeLists.txt +++ b/src/mesh/extrudeModel/CMakeLists.txt @@ -30,7 +30,7 @@ # # -------------------------------------------------------------------------- -list(APPEND sources +list(APPEND SOURCES extrudeModel/extrudeModel.C extrudeModel/newExtrudeModel.C linearNormal/linearNormal.C @@ -39,8 +39,6 @@ list(APPEND sources wedge/wedge.C ) -add_foam_library(extrudeModel SHARED ${sources}) +add_foam_library(extrudeModel SHARED ${SOURCES}) -# This is a prototype! Replace second argument with a list of the highest -# dependencies only. Inherited dependencies will be treated automatically. target_link_libraries(extrudeModel PUBLIC dynamicMesh) diff --git a/src/meshTools/CMakeLists.txt b/src/meshTools/CMakeLists.txt index ea7f51f3c..abdbd8925 100644 --- a/src/meshTools/CMakeLists.txt +++ b/src/meshTools/CMakeLists.txt @@ -30,7 +30,7 @@ # # -------------------------------------------------------------------------- -list(APPEND sources +list(APPEND SOURCES cellClassification/cellClassification.C cellClassification/cellInfo.C cellQuality/cellQuality.C @@ -48,7 +48,7 @@ list(APPEND sources ) set(searchableSurface searchableSurface) -list(APPEND sources +list(APPEND SOURCES ${searchableSurface}/distributedTriSurfaceMesh.C ${searchableSurface}/searchableBox.C ${searchableSurface}/searchableCylinder.C @@ -64,7 +64,7 @@ list(APPEND sources ) set(topoSets sets/topoSets) -list(APPEND sources +list(APPEND SOURCES ${topoSets}/cellSet.C ${topoSets}/topoSet.C ${topoSets}/faceSet.C @@ -73,7 +73,7 @@ list(APPEND sources ) set(cellSources sets/cellSources) -list(APPEND sources +list(APPEND SOURCES ${cellSources}/faceToCell/faceToCell.C ${cellSources}/fieldToCell/fieldToCell.C ${cellSources}/pointToCell/pointToCell.C @@ -94,7 +94,7 @@ list(APPEND sources ) set(faceSources sets/faceSources) -list(APPEND sources +list(APPEND SOURCES ${faceSources}/faceToFace/faceToFace.C ${faceSources}/labelToFace/labelToFace.C ${faceSources}/cellToFace/cellToFace.C @@ -109,7 +109,7 @@ list(APPEND sources ) set(pointSources sets/pointSources) -list(APPEND sources +list(APPEND SOURCES ${pointSources}/labelToPoint/labelToPoint.C ${pointSources}/pointToPoint/pointToPoint.C ${pointSources}/cellToPoint/cellToPoint.C @@ -123,7 +123,7 @@ list(APPEND sources ) set(triSurfaceInterfaces triSurface/triSurface/interfaces) -list(APPEND sources +list(APPEND SOURCES triSurface/triSurface/triSurface.C triSurface/triSurface/triSurfaceAddressing.C triSurface/triSurface/stitchTriangles.C @@ -143,8 +143,8 @@ list(APPEND sources ) FLEX_TARGET(readSTLASCII ${triSurfaceInterfaces}/STL/readSTLASCII.L ${CMAKE_CURRENT_BINARY_DIR}/readSTLASCII.C COMPILE_FLAGS "-+") -list(APPEND sources ${FLEX_readSTLASCII_OUTPUTS}) -list(APPEND sources +list(APPEND SOURCES ${FLEX_readSTLASCII_OUTPUTS}) +list(APPEND SOURCES ${triSurfaceInterfaces}/STL/readSTLBINARY.C ${triSurfaceInterfaces}/GTS/writeGTS.C ${triSurfaceInterfaces}/GTS/readGTS.C @@ -166,19 +166,19 @@ list(APPEND sources set(booleanOps triSurface/booleanOps) set(surfaceIntersection ${booleanOps}/surfaceIntersection) -list(APPEND sources +list(APPEND SOURCES ${surfaceIntersection}/surfaceIntersection.C ${surfaceIntersection}/surfaceIntersectionFuncs.C ${surfaceIntersection}/edgeIntersections.C ) set(booleanSurface ${booleanOps}/booleanSurface) -list(APPEND sources +list(APPEND SOURCES ${booleanSurface}/booleanSurface.C ) set(intersectedSurface ${booleanOps}/intersectedSurface) -list(APPEND sources +list(APPEND SOURCES ${intersectedSurface}/intersectedSurface.C ${intersectedSurface}/edgeSurface.C triSurface/triSurfaceSearch/triSurfaceSearch.C @@ -195,8 +195,6 @@ list(APPEND sources directMapped/directMappedPointPatch/directMappedWallPointPatch.C ) -add_foam_library(meshTools SHARED ${sources}) +add_foam_library(meshTools SHARED ${SOURCES}) -# This is a prototype! Replace second argument with a list of the highest -# dependencies only. Inherited dependencies will be treated automatically. target_link_libraries(meshTools PUBLIC lagrangianBasic decompositionMethods) diff --git a/src/multiSolver/CMakeLists.txt b/src/multiSolver/CMakeLists.txt index 5c7470f83..fefccc1be 100644 --- a/src/multiSolver/CMakeLists.txt +++ b/src/multiSolver/CMakeLists.txt @@ -30,7 +30,7 @@ # # -------------------------------------------------------------------------- -list(APPEND sources +list(APPEND SOURCES dummyControlDict/dummyControlDict.C multiTime/multiTime.C multiSolver/multiSolver.C @@ -38,8 +38,6 @@ list(APPEND sources timeCluster/timeClusterList.C ) -add_foam_library(multiSolverLib SHARED ${sources}) +add_foam_library(multiSolverLib SHARED ${SOURCES}) -# This is a prototype! Replace second argument with a list of the highest -# dependencies only. Inherited dependencies will be treated automatically. target_link_libraries(multiSolverLib PUBLIC foam) diff --git a/src/postProcessing/foamCalcFunctions/CMakeLists.txt b/src/postProcessing/foamCalcFunctions/CMakeLists.txt index ef1e097ff..7a7bc16fd 100644 --- a/src/postProcessing/foamCalcFunctions/CMakeLists.txt +++ b/src/postProcessing/foamCalcFunctions/CMakeLists.txt @@ -30,7 +30,7 @@ # # -------------------------------------------------------------------------- -list(APPEND sources +list(APPEND SOURCES calcType/calcType.C calcType/newCalcType.C field/domainIntegrate/domainIntegrate.C @@ -46,8 +46,6 @@ list(APPEND sources basic/scalarMult/scalarMult.C ) -add_foam_library(foamCalcFunctions SHARED ${sources}) +add_foam_library(foamCalcFunctions SHARED ${SOURCES}) -# This is a prototype! Replace second argument with a list of the highest -# dependencies only. Inherited dependencies will be treated automatically. target_link_libraries(foamCalcFunctions PUBLIC finiteVolume) diff --git a/src/postProcessing/functionObjects/IO/CMakeLists.txt b/src/postProcessing/functionObjects/IO/CMakeLists.txt index ad793ace6..e784b6c5e 100644 --- a/src/postProcessing/functionObjects/IO/CMakeLists.txt +++ b/src/postProcessing/functionObjects/IO/CMakeLists.txt @@ -30,13 +30,11 @@ # # -------------------------------------------------------------------------- -list(APPEND sources +list(APPEND SOURCES writeRegisteredObject/writeRegisteredObject.C writeRegisteredObject/writeRegisteredObjectFunctionObject.C ) -add_foam_library(IOFunctionObjects SHARED ${sources}) +add_foam_library(IOFunctionObjects SHARED ${SOURCES}) -# This is a prototype! Replace second argument with a list of the highest -# dependencies only. Inherited dependencies will be treated automatically. target_link_libraries(IOFunctionObjects PUBLIC foam) diff --git a/src/postProcessing/functionObjects/check/CMakeLists.txt b/src/postProcessing/functionObjects/check/CMakeLists.txt index f61c13408..2cb77dac6 100644 --- a/src/postProcessing/functionObjects/check/CMakeLists.txt +++ b/src/postProcessing/functionObjects/check/CMakeLists.txt @@ -30,14 +30,12 @@ # # -------------------------------------------------------------------------- -list(APPEND sources +list(APPEND SOURCES ggiCheck/ggiCheckFunctionObject.C meshCheck/meshCheckFunctionObject.C mixingPlaneCheck/mixingPlaneCheckFunctionObject.C ) -add_foam_library(checkFunctionObjects SHARED ${sources}) +add_foam_library(checkFunctionObjects SHARED ${SOURCES}) -# This is a prototype! Replace second argument with a list of the highest -# dependencies only. Inherited dependencies will be treated automatically. target_link_libraries(checkFunctionObjects PUBLIC finiteVolume) diff --git a/src/postProcessing/functionObjects/field/CMakeLists.txt b/src/postProcessing/functionObjects/field/CMakeLists.txt index 591142028..456b63e5a 100644 --- a/src/postProcessing/functionObjects/field/CMakeLists.txt +++ b/src/postProcessing/functionObjects/field/CMakeLists.txt @@ -30,7 +30,7 @@ # # -------------------------------------------------------------------------- -list(APPEND sources +list(APPEND SOURCES fieldAverage/fieldAverage/fieldAverage.C fieldAverage/fieldAverageItem/fieldAverageItem.C fieldAverage/fieldAverageItem/fieldAverageItemIO.C @@ -50,8 +50,6 @@ list(APPEND sources surfaceInterpolateFields/surfaceInterpolateFields.C ) -add_foam_library(fieldFunctionObjects SHARED ${sources}) +add_foam_library(fieldFunctionObjects SHARED ${SOURCES}) -# This is a prototype! Replace second argument with a list of the highest -# dependencies only. Inherited dependencies will be treated automatically. target_link_libraries(fieldFunctionObjects PUBLIC finiteVolume) diff --git a/src/postProcessing/functionObjects/forces/CMakeLists.txt b/src/postProcessing/functionObjects/forces/CMakeLists.txt index 8853a7d5e..8baa1907a 100644 --- a/src/postProcessing/functionObjects/forces/CMakeLists.txt +++ b/src/postProcessing/functionObjects/forces/CMakeLists.txt @@ -30,7 +30,7 @@ # # -------------------------------------------------------------------------- -list(APPEND sources +list(APPEND SOURCES forces/forces.C forces/forcesFunctionObject.C forceCoeffs/forceCoeffs.C @@ -39,7 +39,7 @@ list(APPEND sources set(sDoFRBM pointPatchFields/derived/sixDoFRigidBodyMotion) -list(APPEND sources +list(APPEND SOURCES ${sDoFRBM}/sixDoFRigidBodyMotion.C ${sDoFRBM}/sixDoFRigidBodyMotionIO.C ${sDoFRBM}/sixDoFRigidBodyMotionState.C @@ -48,7 +48,7 @@ list(APPEND sources set(sDoFRBMR ${sDoFRBM}/sixDoFRigidBodyMotionRestraint) -list(APPEND sources +list(APPEND SOURCES ${sDoFRBMR}/sixDoFRigidBodyMotionRestraint/sixDoFRigidBodyMotionRestraint.C ${sDoFRBMR}/sixDoFRigidBodyMotionRestraint/newSixDoFRigidBodyMotionRestraint.C ${sDoFRBMR}/linearAxialAngularSpring/linearAxialAngularSpring.C @@ -59,7 +59,7 @@ list(APPEND sources set(sDoFRBMC ${sDoFRBM}/sixDoFRigidBodyMotionConstraint) -list(APPEND sources +list(APPEND SOURCES ${sDoFRBMC}/sixDoFRigidBodyMotionConstraint/sixDoFRigidBodyMotionConstraint.C ${sDoFRBMC}/sixDoFRigidBodyMotionConstraint/newSixDoFRigidBodyMotionConstraint.C ${sDoFRBMC}/fixedAxis/fixedAxis.C @@ -71,8 +71,6 @@ list(APPEND sources pointPatchFields/derived/uncoupledSixDoFRigidBodyDisplacement/uncoupledSixDoFRigidBodyDisplacementPointPatchVectorField.C ) -add_foam_library(forces SHARED ${sources}) +add_foam_library(forces SHARED ${SOURCES}) -# This is a prototype! Replace second argument with a list of the highest -# dependencies only. Inherited dependencies will be treated automatically. target_link_libraries(forces PUBLIC incompressibleRASModels incompressibleLESModels compressibleRASModels compressibleLESModels) diff --git a/src/postProcessing/functionObjects/systemCall/CMakeLists.txt b/src/postProcessing/functionObjects/systemCall/CMakeLists.txt index a97d2cbfb..1a9f39aee 100644 --- a/src/postProcessing/functionObjects/systemCall/CMakeLists.txt +++ b/src/postProcessing/functionObjects/systemCall/CMakeLists.txt @@ -30,13 +30,11 @@ # # -------------------------------------------------------------------------- -list(APPEND sources +list(APPEND SOURCES systemCall.C systemCallFunctionObject.C ) -add_foam_library(systemCall SHARED ${sources}) +add_foam_library(systemCall SHARED ${SOURCES}) -# This is a prototype! Replace second argument with a list of the highest -# dependencies only. Inherited dependencies will be treated automatically. target_link_libraries(systemCall PUBLIC foam) diff --git a/src/postProcessing/functionObjects/utilities/CMakeLists.txt b/src/postProcessing/functionObjects/utilities/CMakeLists.txt index 202d7b281..d4fe277e4 100644 --- a/src/postProcessing/functionObjects/utilities/CMakeLists.txt +++ b/src/postProcessing/functionObjects/utilities/CMakeLists.txt @@ -30,7 +30,7 @@ # # -------------------------------------------------------------------------- -list(APPEND sources +list(APPEND SOURCES staticPressure/staticPressure.C staticPressure/staticPressureFunctionObject.C dsmcFields/dsmcFields.C @@ -39,8 +39,6 @@ list(APPEND sources divFlux/divFlux.C ) -add_foam_library(utilityFunctionObjects SHARED ${sources}) +add_foam_library(utilityFunctionObjects SHARED ${SOURCES}) -# This is a prototype! Replace second argument with a list of the highest -# dependencies only. Inherited dependencies will be treated automatically. target_link_libraries(utilityFunctionObjects PUBLIC basicThermophysicalModels sampling dsmc) diff --git a/src/postProcessing/postCalc/CMakeLists.txt b/src/postProcessing/postCalc/CMakeLists.txt index fa68d7a4f..38ca43219 100644 --- a/src/postProcessing/postCalc/CMakeLists.txt +++ b/src/postProcessing/postCalc/CMakeLists.txt @@ -30,12 +30,10 @@ # # -------------------------------------------------------------------------- -list(APPEND sources +list(APPEND SOURCES postCalc.C ) -add_foam_library(postCalc SHARED ${sources}) +add_foam_library(postCalc SHARED ${SOURCES}) -# This is a prototype! Replace second argument with a list of the highest -# dependencies only. Inherited dependencies will be treated automatically. target_link_libraries(postCalc PUBLIC finiteVolume) diff --git a/src/randomProcesses/CMakeLists.txt b/src/randomProcesses/CMakeLists.txt index d8544e9da..2a7e511f6 100644 --- a/src/randomProcesses/CMakeLists.txt +++ b/src/randomProcesses/CMakeLists.txt @@ -41,7 +41,7 @@ set(turbulence turbulence) set(noise noise) -list(APPEND sources +list(APPEND SOURCES ${Kmesh}/Kmesh.C ${fft}/fft.C ${fft}/fftRenumber.C @@ -52,8 +52,6 @@ list(APPEND sources ${noise}/noiseFFT.C ) -add_foam_library(randomProcesses SHARED ${sources}) +add_foam_library(randomProcesses SHARED ${SOURCES}) -# This is a prototype! Replace second argument with a list of the highest -# dependencies only. Inherited dependencies will be treated automatically. target_link_libraries(randomProcesses PUBLIC finiteVolume) diff --git a/src/sampling/CMakeLists.txt b/src/sampling/CMakeLists.txt index 987300483..c478e7357 100644 --- a/src/sampling/CMakeLists.txt +++ b/src/sampling/CMakeLists.txt @@ -30,7 +30,7 @@ # # -------------------------------------------------------------------------- -list(APPEND sources +list(APPEND SOURCES probes/probes.C probes/probesFunctionObject.C sampledSet/coordSet/coordSet.C @@ -47,7 +47,7 @@ list(APPEND sources set(setWriters sampledSet/writers) -list(APPEND sources +list(APPEND SOURCES ${setWriters}/writers.C ${setWriters}/gnuplot/gnuplotSetWriterRunTime.C ${setWriters}/jplot/jplotSetWriterRunTime.C @@ -72,7 +72,7 @@ list(APPEND sources set(surfWriters sampledSurface/writers) -list(APPEND sources +list(APPEND SOURCES ${surfWriters}/surfaceWriters.C ${surfWriters}/dx/dxSurfaceWriterRunTime.C ${surfWriters}/foamFile/foamFileSurfaceWriterRunTime.C @@ -86,14 +86,12 @@ list(APPEND sources ) set(meshToMesh meshToMeshInterpolation/meshToMesh) -list(APPEND sources +list(APPEND SOURCES ${meshToMesh}/meshToMesh.C ${meshToMesh}/calculateMeshToMeshAddressing.C ${meshToMesh}/calculateMeshToMeshWeights.C ) -add_foam_library(sampling SHARED ${sources}) +add_foam_library(sampling SHARED ${SOURCES}) -# This is a prototype! Replace second argument with a list of the highest -# dependencies only. Inherited dependencies will be treated automatically. target_link_libraries(sampling PUBLIC finiteVolume surfMesh) diff --git a/src/solidModels/CMakeLists.txt b/src/solidModels/CMakeLists.txt index 4f5261d9b..9ed6d7acb 100644 --- a/src/solidModels/CMakeLists.txt +++ b/src/solidModels/CMakeLists.txt @@ -31,7 +31,7 @@ # -------------------------------------------------------------------------- set(arbitraryCrack arbitraryCrack) -list(APPEND sources +list(APPEND SOURCES ${arbitraryCrack}/faceCracker/faceCracker.C ${arbitraryCrack}/faceCracker/detachFaceCracker.C ${arbitraryCrack}/crackerFvMesh/crackerFvMesh.C @@ -41,7 +41,7 @@ list(APPEND sources ) set(boundaryConditions fvPatchFields) -list(APPEND sources +list(APPEND SOURCES ${boundaryConditions}/analyticalPlateHoleTraction/analyticalPlateHoleTractionFvPatchVectorField.C ${boundaryConditions}/fixedDisplacement/fixedDisplacementFvPatchVectorField.C ${boundaryConditions}/fixedDisplacementFixedRotation/fixedDisplacementFixedRotationFvPatchVectorField.C @@ -60,7 +60,7 @@ list(APPEND sources ) set(contactModels contactModels) -list(APPEND sources +list(APPEND SOURCES ${contactModels}/normalContactModels/normalContactModel/normalContactModel.C ${contactModels}/normalContactModels/normalContactModel/newNormalContactModel.C ${contactModels}/normalContactModels/iterativePenalty/iterativePenalty.C @@ -78,7 +78,7 @@ list(APPEND sources ) set(constitutiveModel constitutiveModel) -list(APPEND sources +list(APPEND SOURCES ${constitutiveModel}/constitutiveModel.C ${constitutiveModel}/plasticityStressReturnMethods/plasticityStressReturn/plasticityStressReturn.C ${constitutiveModel}/plasticityStressReturnMethods/plasticityStressReturn/newPlasticityStressReturn.C @@ -97,7 +97,7 @@ list(APPEND sources ) set(cohesiveLaws ${constitutiveModel}/cohesiveLaws) -list(APPEND sources +list(APPEND SOURCES ${cohesiveLaws}/cohesiveLaw/cohesiveLaw.C ${cohesiveLaws}/cohesiveLaw/newCohesiveLaw.C ${cohesiveLaws}/multiMaterialCohesiveLaw/multiMaterialCohesiveLaw.C @@ -106,14 +106,14 @@ list(APPEND sources ) set(finiteVolume finiteVolume) -list(APPEND sources +list(APPEND SOURCES ${finiteVolume}/gradSchemes/leastSquaresSolidInterfaceGrad/leastSquaresSolidInterfaceGrads.C ${finiteVolume}/gradSchemes/leastSquaresSolidInterfaceGrad/leastSquaresSolidInterfaceVectors.C nonLinearGeometry/nonLinearGeometry.C ) set(rheologyLaws ${constitutiveModel}/rheologyLaws) -list(APPEND sources +list(APPEND SOURCES ${rheologyLaws}/rheologyLaw/rheologyLaw.C ${rheologyLaws}/rheologyLaw/newRheologyLaw.C ${rheologyLaws}/linearElastic/linearElastic.C @@ -125,15 +125,13 @@ list(APPEND sources thermalModel/thermalModel.C ) set(thermalLaws thermalModel/thermalLaws) -list(APPEND sources +list(APPEND SOURCES ${thermalLaws}/thermalLaw/thermalLaw.C ${thermalLaws}/thermalLaw/newThermalLaw.C ${thermalLaws}/constantThermal/constantThermal.C ${thermalLaws}/multiMaterialThermal/multiMaterialThermal.C ) -add_foam_library(solidModels SHARED ${sources}) +add_foam_library(solidModels SHARED ${SOURCES}) -# This is a prototype! Replace second argument with a list of the highest -# dependencies only. Inherited dependencies will be treated automatically. target_link_libraries(solidModels PUBLIC topoChangerFvMesh finiteArea) diff --git a/src/surfMesh/CMakeLists.txt b/src/surfMesh/CMakeLists.txt index 5ca73201a..3155ce35c 100644 --- a/src/surfMesh/CMakeLists.txt +++ b/src/surfMesh/CMakeLists.txt @@ -30,7 +30,7 @@ # # -------------------------------------------------------------------------- -list(APPEND sources +list(APPEND SOURCES surfZone/surfZone/surfZone.C surfZone/surfZone/surfZoneIOList.C surfZone/surfZoneIdentifier/surfZoneIdentifier.C @@ -48,7 +48,7 @@ list(APPEND sources ) set(surfaceFormats surfaceFormats) -list(APPEND sources +list(APPEND SOURCES ${surfaceFormats}/surfaceFormatsCore.C ${surfaceFormats}/ac3d/AC3DsurfaceFormatCore.C ${surfaceFormats}/ac3d/AC3DsurfaceFormatRunTime.C @@ -68,8 +68,8 @@ list(APPEND sources ) FLEX_TARGET(STLsurfaceFormatASCII ${surfaceFormats}/stl/STLsurfaceFormatASCII.L ${CMAKE_CURRENT_BINARY_DIR}/STLsurfaceFormatASCII.C COMPILE_FLAGS "-+") -list(APPEND sources ${FLEX_STLsurfaceFormatASCII_OUTPUTS}) -list(APPEND sources +list(APPEND SOURCES ${FLEX_STLsurfaceFormatASCII_OUTPUTS}) +list(APPEND SOURCES ${surfaceFormats}/tri/TRIsurfaceFormatCore.C ${surfaceFormats}/tri/TRIsurfaceFormatRunTime.C ${surfaceFormats}/vtk/VTKsurfaceFormatCore.C @@ -80,8 +80,6 @@ list(APPEND sources ${surfaceFormats}/x3d/X3DsurfaceFormatRunTime.C ) -add_foam_library(surfMesh SHARED ${sources}) +add_foam_library(surfMesh SHARED ${SOURCES}) -# This is a prototype! Replace second argument with a list of the highest -# dependencies only. Inherited dependencies will be treated automatically. target_link_libraries(surfMesh foam) diff --git a/src/tetFiniteElement/CMakeLists.txt b/src/tetFiniteElement/CMakeLists.txt index 433d7790d..d62828ced 100644 --- a/src/tetFiniteElement/CMakeLists.txt +++ b/src/tetFiniteElement/CMakeLists.txt @@ -55,7 +55,7 @@ set(MapTetFemFields ${tetPolyMesh}/MapTetFemFields) set(tetPolyPatchInterpolation tetPolyPatchInterpolation) -list(APPEND sources +list(APPEND SOURCES ${tetPolyPatch}/tetPolyPatch.C ${faceTetPolyPatch}/faceTetPolyPatch.C ${faceTetPolyPatch}/newFaceTetPolyPatch.C @@ -88,12 +88,12 @@ list(APPEND sources ) set(tetPolyPatchFields fields/tetPolyPatchFields) -list(APPEND sources +list(APPEND SOURCES ${tetPolyPatchFields}/tetPolyPatchField/tetPolyPatchFields.C ) set(basicTetPolyPatchFields ${tetPolyPatchFields}/basic) -list(APPEND sources +list(APPEND SOURCES ${basicTetPolyPatchFields}/calculated/calculatedTetPolyPatchFields.C ${basicTetPolyPatchFields}/coupled/coupledTetPolyPatchFields.C ${basicTetPolyPatchFields}/coupledFace/coupledFaceTetPolyPatchFields.C @@ -105,7 +105,7 @@ list(APPEND sources ) set(constraintTetPolyPatchFields ${tetPolyPatchFields}/constraint) -list(APPEND sources +list(APPEND SOURCES ${constraintTetPolyPatchFields}/empty/emptyTetPolyPatchFields.C ${constraintTetPolyPatchFields}/wedge/wedgeTetPolyPatchFields.C ${constraintTetPolyPatchFields}/symmetry/symmetryTetPolyPatchFields.C @@ -113,7 +113,7 @@ list(APPEND sources ) set(derivedTetPolyPatchFields ${tetPolyPatchFields}/derived) -list(APPEND sources +list(APPEND SOURCES ${derivedTetPolyPatchFields}/global/globalTetPolyPatchFields.C ${derivedTetPolyPatchFields}/componentMixed/componentMixedTetPolyPatchVectorField.C ${derivedTetPolyPatchFields}/oscillatingFixedValue/oscillatingFixedValueTetPolyPatchFields.C @@ -122,12 +122,12 @@ list(APPEND sources ) set(elementPatchFields fields/elementPatchFields) -list(APPEND sources +list(APPEND SOURCES ${elementPatchFields}/elementPatchField/elementPatchFields.C ) set(basicElementPatchFields ${elementPatchFields}/basic) -list(APPEND sources +list(APPEND SOURCES ${basicElementPatchFields}/calculated/calculatedElementPatchFields.C ${basicElementPatchFields}/coupled/coupledElementPatchFields.C ${basicElementPatchFields}/coupledFace/coupledFaceElementPatchFields.C @@ -135,7 +135,7 @@ list(APPEND sources ) set(constraintElementPatchFields ${elementPatchFields}/constraint) -list(APPEND sources +list(APPEND SOURCES ${constraintElementPatchFields}/empty/emptyElementPatchFields.C ${constraintElementPatchFields}/wedge/wedgeElementPatchFields.C ${constraintElementPatchFields}/symmetry/symmetryElementPatchFields.C @@ -147,8 +147,6 @@ list(APPEND sources tetFemMatrix/tetFemMatrices.C ) -add_foam_library(tetFiniteElement SHARED ${sources}) +add_foam_library(tetFiniteElement SHARED ${SOURCES}) -# This is a prototype! Replace second argument with a list of the highest -# dependencies only. Inherited dependencies will be treated automatically. target_link_libraries(tetFiniteElement PUBLIC meshTools) diff --git a/src/thermophysicalModels/barotropicCompressibilityModel/CMakeLists.txt b/src/thermophysicalModels/barotropicCompressibilityModel/CMakeLists.txt index 4bf6a48e1..1f2babe29 100644 --- a/src/thermophysicalModels/barotropicCompressibilityModel/CMakeLists.txt +++ b/src/thermophysicalModels/barotropicCompressibilityModel/CMakeLists.txt @@ -30,7 +30,7 @@ # # -------------------------------------------------------------------------- -list(APPEND sources +list(APPEND SOURCES barotropicCompressibilityModel/barotropicCompressibilityModel.C barotropicCompressibilityModel/newBarotropicCompressibilityModel.C linear/linear.C @@ -38,8 +38,6 @@ list(APPEND sources Chung/Chung.C ) -add_foam_library(barotropicCompressibilityModel SHARED ${sources}) +add_foam_library(barotropicCompressibilityModel SHARED ${SOURCES}) -# This is a prototype! Replace second argument with a list of the highest -# dependencies only. Inherited dependencies will be treated automatically. target_link_libraries(barotropicCompressibilityModel finiteVolume) diff --git a/src/thermophysicalModels/basic/CMakeLists.txt b/src/thermophysicalModels/basic/CMakeLists.txt index d966c9d0e..a2480a3b8 100644 --- a/src/thermophysicalModels/basic/CMakeLists.txt +++ b/src/thermophysicalModels/basic/CMakeLists.txt @@ -30,7 +30,7 @@ # # -------------------------------------------------------------------------- -list(APPEND sources +list(APPEND SOURCES mixtures/basicMixture/basicMixture.C mixtures/basicMixture/basicMixtures.C basicThermo/basicThermo.C @@ -61,8 +61,6 @@ list(APPEND sources derivedFvPatchFields/isentropicTotalTemperature/isentropicTotalTemperatureFvPatchScalarField.C ) -add_foam_library(basicThermophysicalModels SHARED ${sources}) +add_foam_library(basicThermophysicalModels SHARED ${SOURCES}) -# This is a prototype! Replace second argument with a list of the highest -# dependencies only. Inherited dependencies will be treated automatically. target_link_libraries(basicThermophysicalModels PUBLIC finiteVolume specie thermophysicalFunctions) diff --git a/src/thermophysicalModels/chemistryModel/CMakeLists.txt b/src/thermophysicalModels/chemistryModel/CMakeLists.txt index ea2f1706e..7d9e6b35e 100644 --- a/src/thermophysicalModels/chemistryModel/CMakeLists.txt +++ b/src/thermophysicalModels/chemistryModel/CMakeLists.txt @@ -30,7 +30,7 @@ # # -------------------------------------------------------------------------- -list(APPEND sources +list(APPEND SOURCES chemistryModel/basicChemistryModel/basicChemistryModel.C chemistryModel/psiChemistryModel/psiChemistryModel.C chemistryModel/psiChemistryModel/newPsiChemistryModel.C @@ -41,8 +41,6 @@ list(APPEND sources chemistrySolver/chemistrySolver/makeChemistrySolvers.C ) -add_foam_library(chemistryModel SHARED ${sources}) +add_foam_library(chemistryModel SHARED ${SOURCES}) -# This is a prototype! Replace second argument with a list of the highest -# dependencies only. Inherited dependencies will be treated automatically. target_link_libraries(chemistryModel PUBLIC reactionThermophysicalModels ODE) diff --git a/src/thermophysicalModels/laminarFlameSpeed/CMakeLists.txt b/src/thermophysicalModels/laminarFlameSpeed/CMakeLists.txt index 915e41288..69334331f 100644 --- a/src/thermophysicalModels/laminarFlameSpeed/CMakeLists.txt +++ b/src/thermophysicalModels/laminarFlameSpeed/CMakeLists.txt @@ -30,7 +30,7 @@ # # -------------------------------------------------------------------------- -list(APPEND sources +list(APPEND SOURCES laminarFlameSpeed/laminarFlameSpeed.C laminarFlameSpeed/newLaminarFlameSpeed.C constant/constant.C @@ -38,8 +38,6 @@ list(APPEND sources GuldersEGR/GuldersEGR.C ) -add_foam_library(laminarFlameSpeedModels SHARED ${sources}) +add_foam_library(laminarFlameSpeedModels SHARED ${SOURCES}) -# This is a prototype! Replace second argument with a list of the highest -# dependencies only. Inherited dependencies will be treated automatically. target_link_libraries(laminarFlameSpeedModels PUBLIC reactionThermophysicalModels) diff --git a/src/thermophysicalModels/liquidMixture/CMakeLists.txt b/src/thermophysicalModels/liquidMixture/CMakeLists.txt index a3d90bdf4..998124371 100644 --- a/src/thermophysicalModels/liquidMixture/CMakeLists.txt +++ b/src/thermophysicalModels/liquidMixture/CMakeLists.txt @@ -32,13 +32,11 @@ set(liquidMixture liquidMixture) -list(APPEND sources +list(APPEND SOURCES ${liquidMixture}/liquidMixture.C ${liquidMixture}/liquidMixtureIO.C ) -add_foam_library(liquidMixture SHARED ${sources}) +add_foam_library(liquidMixture SHARED ${SOURCES}) -# This is a prototype! Replace second argument with a list of the highest -# dependencies only. Inherited dependencies will be treated automatically. target_link_libraries(liquidMixture liquids specie) diff --git a/src/thermophysicalModels/liquids/CMakeLists.txt b/src/thermophysicalModels/liquids/CMakeLists.txt index ec4e2af30..d4c3f68f8 100644 --- a/src/thermophysicalModels/liquids/CMakeLists.txt +++ b/src/thermophysicalModels/liquids/CMakeLists.txt @@ -30,7 +30,7 @@ # # -------------------------------------------------------------------------- -list(APPEND sources +list(APPEND SOURCES liquid/liquid.C H2O/H2O.C C7H16/C7H16.C @@ -64,8 +64,6 @@ list(APPEND sources iC3H8O/iC3H8O.C ) -add_foam_library(liquids SHARED ${sources}) +add_foam_library(liquids SHARED ${SOURCES}) -# This is a prototype! Replace second argument with a list of the highest -# dependencies only. Inherited dependencies will be treated automatically. target_link_libraries(liquids thermophysicalFunctions) diff --git a/src/thermophysicalModels/pdfs/CMakeLists.txt b/src/thermophysicalModels/pdfs/CMakeLists.txt index e9a280d29..9d91965f5 100644 --- a/src/thermophysicalModels/pdfs/CMakeLists.txt +++ b/src/thermophysicalModels/pdfs/CMakeLists.txt @@ -37,7 +37,7 @@ set(general general) set(exponential exponential) set(RosinRammler RosinRammler) -list(APPEND sources +list(APPEND SOURCES ${pdf}/pdf.C ${pdf}/newPdf.C ${uniform}/uniform.C @@ -47,8 +47,6 @@ list(APPEND sources ${RosinRammler}/RosinRammler.C ) -add_foam_library(pdf SHARED ${sources}) +add_foam_library(pdf SHARED ${SOURCES}) -# This is a prototype! Replace second argument with a list of the highest -# dependencies only. Inherited dependencies will be treated automatically. target_link_libraries(pdf PUBLIC foam) diff --git a/src/thermophysicalModels/radiation/CMakeLists.txt b/src/thermophysicalModels/radiation/CMakeLists.txt index e46c7f464..4dcb93705 100644 --- a/src/thermophysicalModels/radiation/CMakeLists.txt +++ b/src/thermophysicalModels/radiation/CMakeLists.txt @@ -31,12 +31,12 @@ # -------------------------------------------------------------------------- # Radiation constants -list(APPEND sources +list(APPEND SOURCES radiationConstants/radiationConstants.C ) # Radiation model -list(APPEND sources +list(APPEND SOURCES radiationModel/radiationModel/radiationModel.C radiationModel/radiationModel/newRadiationModel.C radiationModel/noRadiation/noRadiation.C @@ -49,7 +49,7 @@ list(APPEND sources ) # Scatter model -list(APPEND sources +list(APPEND SOURCES submodels/scatterModel/scatterModel/scatterModel.C submodels/scatterModel/scatterModel/newScatterModel.C submodels/scatterModel/constantScatter/constantScatter.C @@ -57,7 +57,7 @@ list(APPEND sources # Absorption/Emission model -list(APPEND sources +list(APPEND SOURCES submodels/absorptionEmissionModel/absorptionEmissionModel/absorptionEmissionModel.C submodels/absorptionEmissionModel/absorptionEmissionModel/newAbsorptionEmissionModel.C submodels/absorptionEmissionModel/noAbsorptionEmission/noAbsorptionEmission.C @@ -69,7 +69,7 @@ list(APPEND sources # Boundary conditions -list(APPEND sources +list(APPEND SOURCES derivedFvPatchFields/MarshakRadiation/MarshakRadiationMixedFvPatchScalarField.C derivedFvPatchFields/MarshakRadiationFixedT/MarshakRadiationFixedTMixedFvPatchScalarField.C derivedFvPatchFields/greyDiffusiveRadiation/greyDiffusiveRadiationMixedFvPatchScalarField.C @@ -78,8 +78,6 @@ list(APPEND sources derivedFvPatchFields/greyDiffusiveViewFactor/greyDiffusiveViewFactorFixedValueFvPatchScalarField.C ) -add_foam_library(radiation SHARED ${sources}) +add_foam_library(radiation SHARED ${SOURCES}) -# This is a prototype! Replace second argument with a list of the highest -# dependencies only. Inherited dependencies will be treated automatically. target_link_libraries(radiation PUBLIC basicThermophysicalModels) diff --git a/src/thermophysicalModels/reactionThermo/CMakeLists.txt b/src/thermophysicalModels/reactionThermo/CMakeLists.txt index 126c5e6a0..32b7e8194 100644 --- a/src/thermophysicalModels/reactionThermo/CMakeLists.txt +++ b/src/thermophysicalModels/reactionThermo/CMakeLists.txt @@ -30,13 +30,13 @@ # # -------------------------------------------------------------------------- -list(APPEND sources +list(APPEND SOURCES chemistryReaders/chemkinReader/chemkinReader.C ) FLEX_TARGET(chemkinLexer chemistryReaders/chemkinReader/chemkinLexer.L ${CMAKE_CURRENT_BINARY_DIR}/chemkinLexer.C COMPILE_FLAGS "-+") -list(APPEND sources ${FLEX_chemkinLexer_OUTPUTS}) -list(APPEND sources +list(APPEND SOURCES ${FLEX_chemkinLexer_OUTPUTS}) +list(APPEND SOURCES chemistryReaders/chemistryReader/makeChemistryReaders.C mixtures/basicMultiComponentMixture/basicMultiComponentMixture.C combustionThermo/hCombustionThermo/hCombustionThermo.C @@ -59,8 +59,6 @@ list(APPEND sources derivedFvPatchFields/mixedUnburntEnthalpy/mixedUnburntEnthalpyFvPatchScalarField.C ) -add_foam_library(reactionThermophysicalModels SHARED ${sources}) +add_foam_library(reactionThermophysicalModels SHARED ${SOURCES}) -# This is a prototype! Replace second argument with a list of the highest -# dependencies only. Inherited dependencies will be treated automatically. target_link_libraries(reactionThermophysicalModels PUBLIC basicThermophysicalModels) diff --git a/src/thermophysicalModels/solidMixture/CMakeLists.txt b/src/thermophysicalModels/solidMixture/CMakeLists.txt index 30720316b..1b75aa222 100644 --- a/src/thermophysicalModels/solidMixture/CMakeLists.txt +++ b/src/thermophysicalModels/solidMixture/CMakeLists.txt @@ -30,12 +30,10 @@ # # -------------------------------------------------------------------------- -list(APPEND sources +list(APPEND SOURCES solidMixture/solidMixture.C ) -add_foam_library(solidMixture SHARED ${sources}) +add_foam_library(solidMixture SHARED ${SOURCES}) -# This is a prototype! Replace second argument with a list of the highest -# dependencies only. Inherited dependencies will be treated automatically. target_link_libraries(solidMixture PUBLIC solids) diff --git a/src/thermophysicalModels/solids/CMakeLists.txt b/src/thermophysicalModels/solids/CMakeLists.txt index 3b19d5f53..4567bf613 100644 --- a/src/thermophysicalModels/solids/CMakeLists.txt +++ b/src/thermophysicalModels/solids/CMakeLists.txt @@ -30,7 +30,7 @@ # # -------------------------------------------------------------------------- -list(APPEND sources +list(APPEND SOURCES solid/solid.C solid/newSolid.C ash/ash.C @@ -38,8 +38,6 @@ list(APPEND sources CaCO3/CaCO3.C ) -add_foam_library(solids SHARED ${sources}) +add_foam_library(solids SHARED ${SOURCES}) -# This is a prototype! Replace second argument with a list of the highest -# dependencies only. Inherited dependencies will be treated automatically. target_link_libraries(solids PUBLIC foam) diff --git a/src/thermophysicalModels/specie/CMakeLists.txt b/src/thermophysicalModels/specie/CMakeLists.txt index 47d15192e..a01be5dbb 100644 --- a/src/thermophysicalModels/specie/CMakeLists.txt +++ b/src/thermophysicalModels/specie/CMakeLists.txt @@ -36,7 +36,7 @@ set(speciesTable speciesTable) set(equationOfState equationOfState) set(reactions reaction/reactions) -list(APPEND sources +list(APPEND SOURCES ${atomicWeights}/atomicWeights.C ${specie}/specie.C ${speciesTable}/speciesTable.C @@ -50,8 +50,6 @@ list(APPEND sources ${reactions}/makeLangmuirHinshelwoodReactions.C ) -add_foam_library(specie SHARED ${sources}) +add_foam_library(specie SHARED ${SOURCES}) -# This is a prototype! Replace second argument with a list of the highest -# dependencies only. Inherited dependencies will be treated automatically. target_link_libraries(specie PUBLIC foam) diff --git a/src/thermophysicalModels/thermophysicalFunctions/CMakeLists.txt b/src/thermophysicalModels/thermophysicalFunctions/CMakeLists.txt index 19af3f437..f51cf8d92 100644 --- a/src/thermophysicalModels/thermophysicalFunctions/CMakeLists.txt +++ b/src/thermophysicalModels/thermophysicalFunctions/CMakeLists.txt @@ -34,7 +34,7 @@ set(thermophysicalFunction thermophysicalFunction) set(NSRDSfunctions NSRDSfunctions) set(APIfunctions APIfunctions) -list(APPEND sources +list(APPEND SOURCES ${thermophysicalFunction}/thermophysicalFunction.C ${NSRDSfunctions}/NSRDSfunc0/NSRDSfunc0.C ${NSRDSfunctions}/NSRDSfunc1/NSRDSfunc1.C @@ -49,7 +49,7 @@ list(APPEND sources ) set(freesteam freesteam-2.1) -list(APPEND sources +list(APPEND SOURCES ${freesteam}/common.c ${freesteam}/steam.c ${freesteam}/b23.c @@ -66,8 +66,6 @@ list(APPEND sources ${freesteam}/zeroin.c ) -add_foam_library(thermophysicalFunctions SHARED ${sources}) +add_foam_library(thermophysicalFunctions SHARED ${SOURCES}) -# This is a prototype! Replace second argument with a list of the highest -# dependencies only. Inherited dependencies will be treated automatically. target_link_libraries(thermophysicalFunctions foam) diff --git a/src/transportModels/incompressible/CMakeLists.txt b/src/transportModels/incompressible/CMakeLists.txt index 36adbf744..62c428440 100644 --- a/src/transportModels/incompressible/CMakeLists.txt +++ b/src/transportModels/incompressible/CMakeLists.txt @@ -30,7 +30,7 @@ # # -------------------------------------------------------------------------- -list(APPEND sources +list(APPEND SOURCES viscosityModels/viscosityModel/viscosityModel.C viscosityModels/viscosityModel/newViscosityModel.C viscosityModels/Newtonian/Newtonian.C @@ -44,15 +44,11 @@ list(APPEND sources incompressibleTwoPhaseMixture/twoPhaseMixture.C ) -add_foam_library(incompressibleTransportModels SHARED ${sources}) +add_foam_library(incompressibleTransportModels SHARED ${SOURCES}) -# This is a prototype! Replace second argument with a list of the highest -# dependencies only. Inherited dependencies will be treated automatically. target_link_libraries(incompressibleTransportModels finiteVolume) target_include_directories(incompressibleTransportModels PUBLIC $ - $ +# $ ) - - diff --git a/src/transportModels/interfaceProperties/CMakeLists.txt b/src/transportModels/interfaceProperties/CMakeLists.txt index 18bd4a23f..92191ab6a 100644 --- a/src/transportModels/interfaceProperties/CMakeLists.txt +++ b/src/transportModels/interfaceProperties/CMakeLists.txt @@ -30,7 +30,7 @@ # # -------------------------------------------------------------------------- -list(APPEND sources +list(APPEND SOURCES interfaceProperties.C interfaceCompression/interfaceCompression.C alphaContactAngle/alphaContactAngle/alphaContactAngleFvPatchScalarField.C @@ -40,8 +40,6 @@ list(APPEND sources alphaFixedPressure/alphaFixedPressureFvPatchScalarField.C ) -add_foam_library(interfaceProperties SHARED ${sources}) +add_foam_library(interfaceProperties SHARED ${SOURCES}) -# This is a prototype! Replace second argument with a list of the highest -# dependencies only. Inherited dependencies will be treated automatically. target_link_libraries(interfaceProperties PUBLIC finiteVolume) diff --git a/src/transportModels/viscoelastic/CMakeLists.txt b/src/transportModels/viscoelastic/CMakeLists.txt index 1c6380386..3fd4c9897 100644 --- a/src/transportModels/viscoelastic/CMakeLists.txt +++ b/src/transportModels/viscoelastic/CMakeLists.txt @@ -30,7 +30,7 @@ # # -------------------------------------------------------------------------- -list(APPEND sources +list(APPEND SOURCES viscoelasticModel/viscoelasticModel.C viscoelasticLaws/viscoelasticLaw/viscoelasticLaw.C viscoelasticLaws/viscoelasticLaw/newViscoelasticLaw.C @@ -54,8 +54,6 @@ list(APPEND sources viscoelasticLaws/multiMode/multiMode.C ) -add_foam_library(viscoelasticTransportModels SHARED ${sources}) +add_foam_library(viscoelasticTransportModels SHARED ${SOURCES}) -# This is a prototype! Replace second argument with a list of the highest -# dependencies only. Inherited dependencies will be treated automatically. target_link_libraries(viscoelasticTransportModels PUBLIC finiteVolume) diff --git a/src/turbulenceModels/LES/LESdeltas/CMakeLists.txt b/src/turbulenceModels/LES/LESdeltas/CMakeLists.txt index 2dda760e7..7dab3ea0d 100644 --- a/src/turbulenceModels/LES/LESdeltas/CMakeLists.txt +++ b/src/turbulenceModels/LES/LESdeltas/CMakeLists.txt @@ -30,7 +30,7 @@ # # -------------------------------------------------------------------------- -list(APPEND sources +list(APPEND SOURCES LESdelta/LESdelta.C cubeRootVolDelta/cubeRootVolDelta.C PrandtlDelta/PrandtlDelta.C @@ -38,8 +38,6 @@ list(APPEND sources smoothDelta/smoothDelta.C ) -add_foam_library(LESdeltas SHARED ${sources}) +add_foam_library(LESdeltas SHARED ${SOURCES}) -# This is a prototype! Replace second argument with a list of the highest -# dependencies only. Inherited dependencies will be treated automatically. target_link_libraries(LESdeltas PUBLIC finiteVolume) diff --git a/src/turbulenceModels/LES/LESfilters/CMakeLists.txt b/src/turbulenceModels/LES/LESfilters/CMakeLists.txt index 70b6ab3ae..9a718db04 100644 --- a/src/turbulenceModels/LES/LESfilters/CMakeLists.txt +++ b/src/turbulenceModels/LES/LESfilters/CMakeLists.txt @@ -30,15 +30,13 @@ # # -------------------------------------------------------------------------- -list(APPEND sources +list(APPEND SOURCES LESfilter/LESfilter.C simpleFilter/simpleFilter.C laplaceFilter/laplaceFilter.C anisotropicFilter/anisotropicFilter.C ) -add_foam_library(LESfilters SHARED ${sources}) +add_foam_library(LESfilters SHARED ${SOURCES}) -# This is a prototype! Replace second argument with a list of the highest -# dependencies only. Inherited dependencies will be treated automatically. target_link_libraries(LESfilters PUBLIC finiteVolume) diff --git a/src/turbulenceModels/compressible/LES/CMakeLists.txt b/src/turbulenceModels/compressible/LES/CMakeLists.txt index 8ca2e107a..40db1a5f3 100644 --- a/src/turbulenceModels/compressible/LES/CMakeLists.txt +++ b/src/turbulenceModels/compressible/LES/CMakeLists.txt @@ -30,7 +30,7 @@ # # -------------------------------------------------------------------------- -list(APPEND sources +list(APPEND SOURCES LESModel/LESModel.C GenEddyVisc/GenEddyVisc.C GenSGSStress/GenSGSStress.C @@ -47,18 +47,16 @@ list(APPEND sources set(wallFunctions derivedFvPatchFields/wallFunctions) set(muSgsWallFunctions ${wallFunctions}/muSgsWallFunctions) -list(APPEND sources +list(APPEND SOURCES ${muSgsWallFunctions}/muSgsWallFunction/muSgsWallFunctionFvPatchScalarField.C ) set(alphaSgsWallFunctions ${wallFunctions}/alphaSgsWallFunctions) -list(APPEND sources +list(APPEND SOURCES ${alphaSgsWallFunctions}/alphaSgsWallFunction/alphaSgsWallFunctionFvPatchScalarField.C ${alphaSgsWallFunctions}/alphaSgsJayatillekeWallFunction/alphaSgsJayatillekeWallFunctionFvPatchScalarField.C ) -add_foam_library(compressibleLESModels SHARED ${sources}) +add_foam_library(compressibleLESModels SHARED ${SOURCES}) -# This is a prototype! Replace second argument with a list of the highest -# dependencies only. Inherited dependencies will be treated automatically. target_link_libraries(compressibleLESModels PUBLIC compressibleTurbulenceModel LESdeltas LESfilters) diff --git a/src/turbulenceModels/compressible/RAS/CMakeLists.txt b/src/turbulenceModels/compressible/RAS/CMakeLists.txt index 16e8538b8..d95afc1be 100644 --- a/src/turbulenceModels/compressible/RAS/CMakeLists.txt +++ b/src/turbulenceModels/compressible/RAS/CMakeLists.txt @@ -31,7 +31,7 @@ # -------------------------------------------------------------------------- # RAS turbulence models -list(APPEND sources +list(APPEND SOURCES RASModel/RASModel.C laminar/laminar.C kEpsilon/kEpsilon.C @@ -48,12 +48,12 @@ list(APPEND sources set(wallFunctions derivedFvPatchFields/wallFunctions) set(alphatWallFunctions ${wallFunctions}/alphatWallFunctions) -list(APPEND sources +list(APPEND SOURCES ${alphatWallFunctions}/alphatWallFunction/alphatWallFunctionFvPatchScalarField.C ) set(mutWallFunctions ${wallFunctions}/mutWallFunctions) -list(APPEND sources +list(APPEND SOURCES ${mutWallFunctions}/mutkWallFunction/mutkWallFunctionFvPatchScalarField.C ${mutWallFunctions}/mutWallFunction/mutWallFunctionFvPatchScalarField.C ${mutWallFunctions}/mutRoughWallFunction/mutRoughWallFunctionFvPatchScalarField.C @@ -64,22 +64,22 @@ list(APPEND sources ) set(epsilonWallFunctions ${wallFunctions}/epsilonWallFunctions) -list(APPEND sources +list(APPEND SOURCES ${epsilonWallFunctions}/epsilonWallFunction/epsilonWallFunctionFvPatchScalarField.C ) set(omegaWallFunctions ${wallFunctions}/omegaWallFunctions) -list(APPEND sources +list(APPEND SOURCES ${omegaWallFunctions}/omegaWallFunction/omegaWallFunctionFvPatchScalarField.C ) set(kqRWallFunctions ${wallFunctions}/kqRWallFunctions) -list(APPEND sources +list(APPEND SOURCES ${kqRWallFunctions}/kqRWallFunction/kqRWallFunctionFvPatchFields.C ) # Patch fields -list(APPEND sources +list(APPEND SOURCES derivedFvPatchFields/turbulentHeatFluxTemperature/turbulentHeatFluxTemperatureFvPatchScalarField.C derivedFvPatchFields/turbulentMixingLengthDissipationRateInlet/turbulentMixingLengthDissipationRateInletFvPatchScalarField.C derivedFvPatchFields/turbulentMixingLengthFrequencyInlet/turbulentMixingLengthFrequencyInletFvPatchScalarField.C @@ -89,13 +89,11 @@ list(APPEND sources backwardsCompatibility/wallFunctions/backwardsCompatibilityWallFunctions.C ) -add_foam_library(compressibleRASModels SHARED ${sources}) +add_foam_library(compressibleRASModels SHARED ${SOURCES}) -# This is a prototype! Replace second argument with a list of the highest -# dependencies only. Inherited dependencies will be treated automatically. target_link_libraries(compressibleRASModels PUBLIC compressibleTurbulenceModel) target_include_directories(compressibleRASModels PUBLIC $ - $ +# $ ) diff --git a/src/turbulenceModels/compressible/turbulenceModel/CMakeLists.txt b/src/turbulenceModels/compressible/turbulenceModel/CMakeLists.txt index 8c10d34e6..cb0442f0d 100644 --- a/src/turbulenceModels/compressible/turbulenceModel/CMakeLists.txt +++ b/src/turbulenceModels/compressible/turbulenceModel/CMakeLists.txt @@ -30,19 +30,17 @@ # # -------------------------------------------------------------------------- -list(APPEND sources +list(APPEND SOURCES turbulenceModel.C laminar/laminar.C ) -add_foam_library(compressibleTurbulenceModel SHARED ${sources}) +add_foam_library(compressibleTurbulenceModel SHARED ${SOURCES}) -# This is a prototype! Replace second argument with a list of the highest -# dependencies only. Inherited dependencies will be treated automatically. target_link_libraries(compressibleTurbulenceModel PUBLIC basicThermophysicalModels) # Hack to cope with some weird include paths target_include_directories(compressibleTurbulenceModel PUBLIC $ - $ +# $ ) diff --git a/src/turbulenceModels/incompressible/LES/CMakeLists.txt b/src/turbulenceModels/incompressible/LES/CMakeLists.txt index 824c6e35a..ec0bf36f9 100644 --- a/src/turbulenceModels/incompressible/LES/CMakeLists.txt +++ b/src/turbulenceModels/incompressible/LES/CMakeLists.txt @@ -30,7 +30,7 @@ # # -------------------------------------------------------------------------- -list(APPEND sources +list(APPEND SOURCES vanDriestDelta/vanDriestDelta.C LESModel/LESModel.C GenEddyVisc/GenEddyVisc.C @@ -55,25 +55,23 @@ list(APPEND sources # Smagorinsky2/Smagorinsky2.C -list(APPEND sources +list(APPEND SOURCES kOmegaSSTSAS/kOmegaSSTSAS.C ) # Wall functions set(wallFunctions derivedFvPatchFields/wallFunctions) -list(APPEND sources +list(APPEND SOURCES derivedFvPatchFields/decayingTurbulence/decayingVorton.C derivedFvPatchFields/decayingTurbulence/decayingTurbulenceFvPatchVectorField.C ) set(nuSgsWallFunctions ${wallFunctions}/nuSgsWallFunctions) -list(APPEND sources +list(APPEND SOURCES ${nuSgsWallFunctions}/nuSgsWallFunction/nuSgsWallFunctionFvPatchScalarField.C ) -add_foam_library(incompressibleLESModels SHARED ${sources}) +add_foam_library(incompressibleLESModels SHARED ${SOURCES}) -# This is a prototype! Replace second argument with a list of the highest -# dependencies only. Inherited dependencies will be treated automatically. target_link_libraries(incompressibleLESModels PUBLIC incompressibleTurbulenceModel LESdeltas LESfilters) diff --git a/src/turbulenceModels/incompressible/RAS/CMakeLists.txt b/src/turbulenceModels/incompressible/RAS/CMakeLists.txt index 24f1e2f6f..6797817c6 100644 --- a/src/turbulenceModels/incompressible/RAS/CMakeLists.txt +++ b/src/turbulenceModels/incompressible/RAS/CMakeLists.txt @@ -31,7 +31,7 @@ # -------------------------------------------------------------------------- # RAS turbulence models -list(APPEND sources +list(APPEND SOURCES RASModel/RASModel.C laminar/laminar.C kEpsilon/kEpsilon.C @@ -57,7 +57,7 @@ list(APPEND sources set(wallFunctions derivedFvPatchFields/wallFunctions) set(nutWallFunctions ${wallFunctions}/nutWallFunctions) -list(APPEND sources +list(APPEND SOURCES ${nutWallFunctions}/nutkWallFunction/nutkWallFunctionFvPatchScalarField.C ${nutWallFunctions}/nutWallFunction/nutWallFunctionFvPatchScalarField.C ${nutWallFunctions}/nutRoughWallFunction/nutRoughWallFunctionFvPatchScalarField.C @@ -68,42 +68,39 @@ list(APPEND sources ) set(epsilonWallFunctions ${wallFunctions}/epsilonWallFunctions) -list(APPEND sources +list(APPEND SOURCES ${epsilonWallFunctions}/epsilonWallFunction/epsilonWallFunctionFvPatchScalarField.C ) set(omegaWallFunctions ${wallFunctions}/omegaWallFunctions) -list(APPEND sources +list(APPEND SOURCES ${omegaWallFunctions}/omegaWallFunction/omegaWallFunctionFvPatchScalarField.C ) set(kqRWallFunctions ${wallFunctions}/kqRWallFunctions) -list(APPEND sources +list(APPEND SOURCES ${kqRWallFunctions}/kqRWallFunction/kqRWallFunctionFvPatchFields.C ) set(RWallFunctions ${wallFunctions}/RWallFunctions) -list(APPEND sources +list(APPEND SOURCES ${RWallFunctions}/RWallFunction/RWallFunctionFvPatchSymmTensorField.C ) # Patch fields -list(APPEND sources +list(APPEND SOURCES derivedFvPatchFields/turbulentHeatFluxTemperature/turbulentHeatFluxTemperatureFvPatchScalarField.C derivedFvPatchFields/turbulentMixingLengthDissipationRateInlet/turbulentMixingLengthDissipationRateInletFvPatchScalarField.C derivedFvPatchFields/turbulentMixingLengthFrequencyInlet/turbulentMixingLengthFrequencyInletFvPatchScalarField.C backwardsCompatibility/wallFunctions/backwardsCompatibilityWallFunctions.C ) -add_foam_library(incompressibleRASModels SHARED ${sources}) +add_foam_library(incompressibleRASModels SHARED ${SOURCES}) -# This is a prototype! Replace second argument with a list of the highest -# dependencies only. Inherited dependencies will be treated automatically. target_link_libraries(incompressibleRASModels PUBLIC incompressibleTurbulenceModel) target_include_directories(incompressibleRASModels PUBLIC $ - $ +# $ ) - diff --git a/src/turbulenceModels/incompressible/turbulenceModel/CMakeLists.txt b/src/turbulenceModels/incompressible/turbulenceModel/CMakeLists.txt index 1d684e99c..84429a9eb 100644 --- a/src/turbulenceModels/incompressible/turbulenceModel/CMakeLists.txt +++ b/src/turbulenceModels/incompressible/turbulenceModel/CMakeLists.txt @@ -30,19 +30,17 @@ # # -------------------------------------------------------------------------- -list(APPEND sources +list(APPEND SOURCES turbulenceModel.C laminar/laminar.C ) -add_foam_library(incompressibleTurbulenceModel SHARED ${sources}) +add_foam_library(incompressibleTurbulenceModel SHARED ${SOURCES}) -# This is a prototype! Replace second argument with a list of the highest -# dependencies only. Inherited dependencies will be treated automatically. target_link_libraries(incompressibleTurbulenceModel PUBLIC incompressibleTransportModels) # Hack to cope with some weird include paths target_include_directories(incompressibleTurbulenceModel PUBLIC $ - $ +# $ ) diff --git a/tutorials/basic/PODSolver/1DPODsin/setTcos/CMakeLists.txt b/tutorials/basic/PODSolver/1DPODsin/setTcos/CMakeLists.txt index caa320cba..31bec57fc 100644 --- a/tutorials/basic/PODSolver/1DPODsin/setTcos/CMakeLists.txt +++ b/tutorials/basic/PODSolver/1DPODsin/setTcos/CMakeLists.txt @@ -30,7 +30,7 @@ # # -------------------------------------------------------------------------- -list(APPEND sources +list(APPEND SOURCES setTcos.C ) @@ -42,5 +42,5 @@ endif() add_foam_executable(setTcos # DEPENDS finiteVolume - SOURCES ${sources} + SOURCES ${SOURCES} ) diff --git a/tutorials/basic/potentialFoam/cylinder/analyticalCylinder/CMakeLists.txt b/tutorials/basic/potentialFoam/cylinder/analyticalCylinder/CMakeLists.txt index cc33825cb..462697428 100644 --- a/tutorials/basic/potentialFoam/cylinder/analyticalCylinder/CMakeLists.txt +++ b/tutorials/basic/potentialFoam/cylinder/analyticalCylinder/CMakeLists.txt @@ -30,7 +30,7 @@ # # -------------------------------------------------------------------------- -list(APPEND sources +list(APPEND SOURCES analyticalCylinder.C ) @@ -42,5 +42,5 @@ endif() add_foam_executable(analyticalCylinder # DEPENDS finiteVolume - SOURCES ${sources} + SOURCES ${SOURCES} ) diff --git a/tutorials/basic/scalarTransportFoam/swirlTest/setSwirl/CMakeLists.txt b/tutorials/basic/scalarTransportFoam/swirlTest/setSwirl/CMakeLists.txt index 195a1270b..7ecbd66ee 100644 --- a/tutorials/basic/scalarTransportFoam/swirlTest/setSwirl/CMakeLists.txt +++ b/tutorials/basic/scalarTransportFoam/swirlTest/setSwirl/CMakeLists.txt @@ -30,7 +30,7 @@ # # -------------------------------------------------------------------------- -list(APPEND sources +list(APPEND SOURCES setSwirl.C ) @@ -42,5 +42,5 @@ endif() add_foam_executable(setSwirl # DEPENDS finiteVolume - SOURCES ${sources} + SOURCES ${SOURCES} ) diff --git a/tutorials/compressible/rhoCentralFoam/biconic25-55Run35/datToFoam/CMakeLists.txt b/tutorials/compressible/rhoCentralFoam/biconic25-55Run35/datToFoam/CMakeLists.txt index 467353bc2..8abe6cb54 100644 --- a/tutorials/compressible/rhoCentralFoam/biconic25-55Run35/datToFoam/CMakeLists.txt +++ b/tutorials/compressible/rhoCentralFoam/biconic25-55Run35/datToFoam/CMakeLists.txt @@ -30,7 +30,7 @@ # # -------------------------------------------------------------------------- -list(APPEND sources +list(APPEND SOURCES datToFoam.C ) @@ -42,5 +42,5 @@ endif() add_foam_executable(datToFoam # DEPENDS finiteVolume - SOURCES ${sources} + SOURCES ${SOURCES} ) diff --git a/tutorials/finiteArea/liquidFilmFoam/dropsSpreading/setInitialDroplet/CMakeLists.txt b/tutorials/finiteArea/liquidFilmFoam/dropsSpreading/setInitialDroplet/CMakeLists.txt index d7adbaddf..7d165877a 100644 --- a/tutorials/finiteArea/liquidFilmFoam/dropsSpreading/setInitialDroplet/CMakeLists.txt +++ b/tutorials/finiteArea/liquidFilmFoam/dropsSpreading/setInitialDroplet/CMakeLists.txt @@ -30,7 +30,7 @@ # # -------------------------------------------------------------------------- -list(APPEND sources +list(APPEND SOURCES setInitialDroplet.C ) @@ -42,5 +42,5 @@ endif() add_foam_executable(setInitialDroplet # DEPENDS finiteVolume - SOURCES ${sources} + SOURCES ${SOURCES} ) diff --git a/tutorials/finiteArea/surfactantFoam/sphereTransport/sphereSurfactantFoam/CMakeLists.txt b/tutorials/finiteArea/surfactantFoam/sphereTransport/sphereSurfactantFoam/CMakeLists.txt index b071442dc..646ad316f 100644 --- a/tutorials/finiteArea/surfactantFoam/sphereTransport/sphereSurfactantFoam/CMakeLists.txt +++ b/tutorials/finiteArea/surfactantFoam/sphereTransport/sphereSurfactantFoam/CMakeLists.txt @@ -30,7 +30,7 @@ # # -------------------------------------------------------------------------- -list(APPEND sources +list(APPEND SOURCES surfactantFoam.C ) @@ -42,5 +42,5 @@ endif() add_foam_executable(sphereSurfactantFoam # DEPENDS finiteVolume - SOURCES ${sources} + SOURCES ${SOURCES} ) diff --git a/tutorials/heatTransfer/buoyantPisoFoam/hotRoom/setHotRoom/CMakeLists.txt b/tutorials/heatTransfer/buoyantPisoFoam/hotRoom/setHotRoom/CMakeLists.txt index 391c474b5..bfef0cf41 100644 --- a/tutorials/heatTransfer/buoyantPisoFoam/hotRoom/setHotRoom/CMakeLists.txt +++ b/tutorials/heatTransfer/buoyantPisoFoam/hotRoom/setHotRoom/CMakeLists.txt @@ -30,7 +30,7 @@ # # -------------------------------------------------------------------------- -list(APPEND sources +list(APPEND SOURCES setHotRoom.C ) @@ -42,5 +42,5 @@ endif() add_foam_executable(setHotRoom # DEPENDS finiteVolume - SOURCES ${sources} + SOURCES ${SOURCES} ) diff --git a/tutorials/heatTransfer/setHotRoom/CMakeLists.txt b/tutorials/heatTransfer/setHotRoom/CMakeLists.txt index 391c474b5..bfef0cf41 100644 --- a/tutorials/heatTransfer/setHotRoom/CMakeLists.txt +++ b/tutorials/heatTransfer/setHotRoom/CMakeLists.txt @@ -30,7 +30,7 @@ # # -------------------------------------------------------------------------- -list(APPEND sources +list(APPEND SOURCES setHotRoom.C ) @@ -42,5 +42,5 @@ endif() add_foam_executable(setHotRoom # DEPENDS finiteVolume - SOURCES ${sources} + SOURCES ${SOURCES} ) diff --git a/tutorials/immersedBoundary/sphereInChannel/refineSphereMesh/CMakeLists.txt b/tutorials/immersedBoundary/sphereInChannel/refineSphereMesh/CMakeLists.txt index 2dd01d972..a81583497 100644 --- a/tutorials/immersedBoundary/sphereInChannel/refineSphereMesh/CMakeLists.txt +++ b/tutorials/immersedBoundary/sphereInChannel/refineSphereMesh/CMakeLists.txt @@ -30,7 +30,7 @@ # # -------------------------------------------------------------------------- -list(APPEND sources +list(APPEND SOURCES refineSphereMesh.C ) @@ -42,5 +42,5 @@ endif() add_foam_executable(refineSphereMesh # DEPENDS finiteVolume - SOURCES ${sources} + SOURCES ${SOURCES} ) diff --git a/tutorials/immersedBoundary/thickPlateRefinedMesh/refineThickPlateMesh/CMakeLists.txt b/tutorials/immersedBoundary/thickPlateRefinedMesh/refineThickPlateMesh/CMakeLists.txt index 5066e4b5a..6add93513 100644 --- a/tutorials/immersedBoundary/thickPlateRefinedMesh/refineThickPlateMesh/CMakeLists.txt +++ b/tutorials/immersedBoundary/thickPlateRefinedMesh/refineThickPlateMesh/CMakeLists.txt @@ -30,7 +30,7 @@ # # -------------------------------------------------------------------------- -list(APPEND sources +list(APPEND SOURCES refineThickPlateMesh.C ) @@ -42,5 +42,5 @@ endif() add_foam_executable(refineThickPlateMesh # DEPENDS finiteVolume - SOURCES ${sources} + SOURCES ${SOURCES} ) diff --git a/tutorials/incompressible/icoDyMFoam/movingBlockRBF/RBFMotionFunction/CMakeLists.txt b/tutorials/incompressible/icoDyMFoam/movingBlockRBF/RBFMotionFunction/CMakeLists.txt index edfceb164..09192fa6c 100644 --- a/tutorials/incompressible/icoDyMFoam/movingBlockRBF/RBFMotionFunction/CMakeLists.txt +++ b/tutorials/incompressible/icoDyMFoam/movingBlockRBF/RBFMotionFunction/CMakeLists.txt @@ -30,12 +30,10 @@ # # -------------------------------------------------------------------------- -list(APPEND sources +list(APPEND SOURCES RBFMotionFunctionObject.C ) -add_foam_library(RBFMotionFunction SHARED ${sources}) +add_foam_library(RBFMotionFunction SHARED ${SOURCES}) -# This is a prototype! Replace second argument with a list of the highest -# dependencies only. Inherited dependencies will be treated automatically. #target_link_libraries(RBFMotionFunction finiteVolume) diff --git a/tutorials/incompressible/icoDyMFoam/movingConeMotion/setMotionMovingCone/CMakeLists.txt b/tutorials/incompressible/icoDyMFoam/movingConeMotion/setMotionMovingCone/CMakeLists.txt index a19ee857f..93809682b 100644 --- a/tutorials/incompressible/icoDyMFoam/movingConeMotion/setMotionMovingCone/CMakeLists.txt +++ b/tutorials/incompressible/icoDyMFoam/movingConeMotion/setMotionMovingCone/CMakeLists.txt @@ -30,7 +30,7 @@ # # -------------------------------------------------------------------------- -list(APPEND sources +list(APPEND SOURCES setMotionMovingCone.C ) @@ -42,5 +42,5 @@ endif() add_foam_executable(setMotionMovingCone # DEPENDS finiteVolume - SOURCES ${sources} + SOURCES ${SOURCES} ) diff --git a/tutorials/lagrangian/icoLagrangianFoam/icoLagrangianFoam/CMakeLists.txt b/tutorials/lagrangian/icoLagrangianFoam/icoLagrangianFoam/CMakeLists.txt index 583e59520..37f395945 100644 --- a/tutorials/lagrangian/icoLagrangianFoam/icoLagrangianFoam/CMakeLists.txt +++ b/tutorials/lagrangian/icoLagrangianFoam/icoLagrangianFoam/CMakeLists.txt @@ -30,7 +30,7 @@ # # -------------------------------------------------------------------------- -list(APPEND sources +list(APPEND SOURCES icoLagrangianFoam.C ) @@ -42,5 +42,5 @@ endif() add_foam_executable(icoLagrangianFoam # DEPENDS finiteVolume - SOURCES ${sources} + SOURCES ${SOURCES} ) diff --git a/tutorials/lagrangian/rhoPisoTwinParcelFoam/rhoPisoTwinParcelFoam/CMakeLists.txt b/tutorials/lagrangian/rhoPisoTwinParcelFoam/rhoPisoTwinParcelFoam/CMakeLists.txt index 503c8068f..41b20dabb 100644 --- a/tutorials/lagrangian/rhoPisoTwinParcelFoam/rhoPisoTwinParcelFoam/CMakeLists.txt +++ b/tutorials/lagrangian/rhoPisoTwinParcelFoam/rhoPisoTwinParcelFoam/CMakeLists.txt @@ -30,7 +30,7 @@ # # -------------------------------------------------------------------------- -list(APPEND sources +list(APPEND SOURCES rhoPisoTwinParcelFoam.C ) @@ -42,5 +42,5 @@ endif() add_foam_executable(rhoPisoTwinParcelFoam # DEPENDS finiteVolume - SOURCES ${sources} + SOURCES ${SOURCES} ) diff --git a/tutorials/multiphase/interDyMFoam/ras/sloshingTank3D6DoF/gen6DoF/CMakeLists.txt b/tutorials/multiphase/interDyMFoam/ras/sloshingTank3D6DoF/gen6DoF/CMakeLists.txt index 34263f824..0ca6b7490 100644 --- a/tutorials/multiphase/interDyMFoam/ras/sloshingTank3D6DoF/gen6DoF/CMakeLists.txt +++ b/tutorials/multiphase/interDyMFoam/ras/sloshingTank3D6DoF/gen6DoF/CMakeLists.txt @@ -30,7 +30,7 @@ # # -------------------------------------------------------------------------- -list(APPEND sources +list(APPEND SOURCES gen6DoF.C ) @@ -42,5 +42,5 @@ endif() add_foam_executable(gen6DoF # DEPENDS finiteVolume - SOURCES ${sources} + SOURCES ${SOURCES} ) diff --git a/tutorials/solidMechanics/elasticSolidFoam/plateHole/analyticalPlateHole/CMakeLists.txt b/tutorials/solidMechanics/elasticSolidFoam/plateHole/analyticalPlateHole/CMakeLists.txt index 4e674b9d1..ff02c374f 100644 --- a/tutorials/solidMechanics/elasticSolidFoam/plateHole/analyticalPlateHole/CMakeLists.txt +++ b/tutorials/solidMechanics/elasticSolidFoam/plateHole/analyticalPlateHole/CMakeLists.txt @@ -30,7 +30,7 @@ # # -------------------------------------------------------------------------- -list(APPEND sources +list(APPEND SOURCES analyticalPlateHole.C ) @@ -42,5 +42,5 @@ endif() add_foam_executable(analyticalPlateHole # DEPENDS finiteVolume - SOURCES ${sources} + SOURCES ${SOURCES} ) diff --git a/tutorials/solidMechanics/elasticThermalSolidFoam/hotCylinder/analyticalHotCylinder/CMakeLists.txt b/tutorials/solidMechanics/elasticThermalSolidFoam/hotCylinder/analyticalHotCylinder/CMakeLists.txt index 486d4b439..0793e874f 100644 --- a/tutorials/solidMechanics/elasticThermalSolidFoam/hotCylinder/analyticalHotCylinder/CMakeLists.txt +++ b/tutorials/solidMechanics/elasticThermalSolidFoam/hotCylinder/analyticalHotCylinder/CMakeLists.txt @@ -29,7 +29,7 @@ # # -------------------------------------------------------------------------- -list(APPEND sources +list(APPEND SOURCES analyticalHotCylinder.C ) @@ -41,5 +41,5 @@ endif() add_foam_executable(analyticalHotCylinder # DEPENDS finiteVolume - SOURCES ${sources} + SOURCES ${SOURCES} ) From 48d70c8bd1bcc39897c3458f4ccc0b6b71d75f01 Mon Sep 17 00:00:00 2001 From: Robert Keser Date: Fri, 3 Mar 2017 11:56:21 +0100 Subject: [PATCH 015/361] Transition to cmake build system (added almost all apps) --- applications/solvers/CMakeLists.txt | 36 +++++++++---------- .../solvers/DNS/dnsFoam/CMakeLists.txt | 2 +- .../solvers/combustion/PDRFoam/CMakeLists.txt | 10 +++++- .../solvers/combustion/XiFoam/CMakeLists.txt | 3 +- .../combustion/coldEngineFoam/CMakeLists.txt | 7 +++- .../dieselEngineFoam/CMakeLists.txt | 6 +++- .../combustion/dieselFoam/CMakeLists.txt | 6 +++- .../combustion/engineFoam/CMakeLists.txt | 7 +++- .../fireFoam/combustionModels/CMakeLists.txt | 9 ++++- .../combustion/reactingFoam/CMakeLists.txt | 2 +- .../combustion/rhoReactingFoam/CMakeLists.txt | 2 +- .../solvers/compressible/CMakeLists.txt | 4 +-- .../compressible/dbnsFoam/CMakeLists.txt | 2 +- .../realFluidPisoFoam/CMakeLists.txt | 2 +- .../rhoCentralFoam/BCs/CMakeLists.txt | 2 +- .../compressible/rhoPimpleFoam/CMakeLists.txt | 2 +- .../compressible/rhoPisoFoam/CMakeLists.txt | 2 +- .../rhoPorousMRFPimpleFoam/CMakeLists.txt | 6 +++- .../rhoPorousSimpleFoam/CMakeLists.txt | 6 +++- .../compressible/rhoSimpleFoam/CMakeLists.txt | 6 +++- .../compressible/rhoSonicFoam/CMakeLists.txt | 2 +- .../rhopSonicFoam/BCs/CMakeLists.txt | 2 +- .../compressible/sonicDyMFoam/CMakeLists.txt | 2 +- .../compressible/sonicFoam/CMakeLists.txt | 2 +- .../sonicLiquidFoam/CMakeLists.txt | 2 +- .../steadyCompressibleFoam/CMakeLists.txt | 2 +- .../steadyCompressibleMRFFoam/CMakeLists.txt | 2 +- .../steadyCompressibleSRFFoam/CMakeLists.txt | 2 +- .../steadyUniversalFoam/CMakeLists.txt | 2 +- .../steadyUniversalMRFFoam/CMakeLists.txt | 2 +- .../coupled/MRFPorousFoam/CMakeLists.txt | 2 +- .../CMakeLists.txt | 2 +- .../coupled/conjugateHeatFoam/CMakeLists.txt | 2 +- .../conjugateHeatSimpleFoam/CMakeLists.txt | 2 +- .../conjugateHeatTransfer/CMakeLists.txt | 2 +- .../coupled/pUCoupledFoam/CMakeLists.txt | 2 +- .../dsmc/dsmcFoam/CMakeLists.txt | 2 +- .../mdEquilibrationFoam/CMakeLists.txt | 2 +- .../molecularDynamics/mdFoam/CMakeLists.txt | 2 +- .../electrostaticFoam/CMakeLists.txt | 2 +- .../electromagnetics/mhdFoam/CMakeLists.txt | 2 +- .../engine/icoDyMEngineFoam/CMakeLists.txt | 2 +- .../sonicTurbDyMEngineFoam/CMakeLists.txt | 2 +- .../engine/turbDyMEngineFoam/CMakeLists.txt | 2 +- .../solvers/equationReaderDemo/CMakeLists.txt | 2 +- .../financial/financialFoam/CMakeLists.txt | 2 +- .../finiteArea/liquidFilmFoam/CMakeLists.txt | 2 +- .../finiteArea/surfactantFoam/CMakeLists.txt | 2 +- .../boussinesqBuoyantFoam/CMakeLists.txt | 2 +- .../buoyantBoussinesqPisoFoam/CMakeLists.txt | 6 +++- .../CMakeLists.txt | 2 +- .../buoyantPisoFoam/CMakeLists.txt | 2 +- .../buoyantSimpleFoam/CMakeLists.txt | 2 +- .../buoyantSimpleRadiationFoam/CMakeLists.txt | 6 +++- .../chtMultiRegionFoam/CMakeLists.txt | 9 ++++- .../chtMultiRegionSimpleFoam/CMakeLists.txt | 7 +++- .../icoDyMIbFoam/CMakeLists.txt | 2 +- .../immersedBoundary/icoIbFoam/CMakeLists.txt | 2 +- .../interIbFoam/CMakeLists.txt | 2 +- .../porousSimpleIbFoam/CMakeLists.txt | 2 +- .../potentialIbFoam/CMakeLists.txt | 2 +- .../simpleIbFoam/CMakeLists.txt | 2 +- .../coalChemistryFoam/CMakeLists.txt | 3 +- .../CMakeLists.txt | 3 +- .../reactingParcelFoam/CMakeLists.txt | 3 +- .../CMakeLists.txt | 2 +- .../multiSolverDemo/CMakeLists.txt | 6 +++- .../multiphase/MRFInterFoam/CMakeLists.txt | 6 +++- .../barotropicCavitatingFoam/CMakeLists.txt | 2 +- .../multiphase/bubbleFoam/CMakeLists.txt | 2 +- .../multiphase/cavitatingFoam/CMakeLists.txt | 3 +- .../compressibleInterDyMFoam/CMakeLists.txt | 3 +- .../compressibleInterFoam/CMakeLists.txt | 2 +- .../multiphase/interDyMFoam/CMakeLists.txt | 8 ++++- .../multiphase/interFoam/CMakeLists.txt | 2 +- .../multiphase/interMixingFoam/CMakeLists.txt | 8 ++++- .../interPhaseChangeFoam/CMakeLists.txt | 7 +++- .../multiphaseInterFoam/CMakeLists.txt | 9 ++++- .../multiphase/porousInterFoam/CMakeLists.txt | 7 +++- .../multiphase/settlingFoam/CMakeLists.txt | 2 +- .../twoLiquidMixingFoam/CMakeLists.txt | 2 +- .../interfacialModels/CMakeLists.txt | 6 +++- .../kineticTheoryModels/CMakeLists.txt | 8 ++++- .../phaseModel/CMakeLists.txt | 2 +- .../contactStressFoam/CMakeLists.txt | 2 +- .../icoFsiFoam/CMakeLists.txt | 2 +- .../materialModels/CMakeLists.txt | 2 +- .../newContactStressFoam/CMakeLists.txt | 6 +++- .../newStressedFoam/CMakeLists.txt | 2 +- .../solidDisplacementFoam/CMakeLists.txt | 2 +- .../CMakeLists.txt | 6 +++- .../stressedFoam/CMakeLists.txt | 2 +- .../elasticAcpSolidFoam/CMakeLists.txt | 2 +- .../elasticIncrAcpSolidFoam/CMakeLists.txt | 2 +- .../elasticIncrSolidFoam/CMakeLists.txt | 2 +- .../CMakeLists.txt | 2 +- .../elasticNonLinTLSolidFoam/CMakeLists.txt | 2 +- .../elasticNonLinULSolidFoam/CMakeLists.txt | 2 +- .../elasticOrthoAcpSolidFoam/CMakeLists.txt | 2 +- .../CMakeLists.txt | 2 +- .../elasticOrthoSolidFoam/CMakeLists.txt | 2 +- .../CMakeLists.txt | 2 +- .../CMakeLists.txt | 2 +- .../elasticPlasticSolidFoam/CMakeLists.txt | 2 +- .../elasticSolidFoam/CMakeLists.txt | 2 +- .../elasticThermalSolidFoam/CMakeLists.txt | 2 +- .../CMakeLists.txt | 2 +- .../stressFemFoam/CMakeLists.txt | 7 +++- .../calculateCourantNumber/CMakeLists.txt | 2 +- .../utilities/forceDisp/CMakeLists.txt | 2 +- .../patchStressIntegrate/CMakeLists.txt | 2 +- .../utilities/smoothMesh/CMakeLists.txt | 2 +- .../utilities/surfaceTractions/CMakeLists.txt | 2 +- .../viscoElasticSolidFoam/CMakeLists.txt | 2 +- .../bubbleInterTrackFoam/CMakeLists.txt | 7 +++- .../freeSurface/CMakeLists.txt | 2 +- .../interTrackFoam/CMakeLists.txt | 6 +++- .../setFluidIndicator/CMakeLists.txt | 2 +- .../viscoelasticFluidFoam/CMakeLists.txt | 2 +- 119 files changed, 277 insertions(+), 137 deletions(-) diff --git a/applications/solvers/CMakeLists.txt b/applications/solvers/CMakeLists.txt index 2f716e153..960a075d3 100644 --- a/applications/solvers/CMakeLists.txt +++ b/applications/solvers/CMakeLists.txt @@ -29,23 +29,23 @@ # # -------------------------------------------------------------------------- -#add_subdirectory(engine) -#add_subdirectory(solidMechanics) -#add_subdirectory(multiphase) -#add_subdirectory(lagrangian) -#add_subdirectory(financial) -#add_subdirectory(discreteMethods) -#add_subdirectory(coupled) -#add_subdirectory(compressible) -#add_subdirectory(multiSolver) +add_subdirectory(engine) +add_subdirectory(solidMechanics) +add_subdirectory(multiphase) +add_subdirectory(lagrangian) +add_subdirectory(financial) +add_subdirectory(discreteMethods) +add_subdirectory(coupled) +add_subdirectory(compressible) +add_subdirectory(multiSolver) add_subdirectory(incompressible) -#add_subdirectory(equationReaderDemo) -#add_subdirectory(heatTransfer) -#add_subdirectory(electromagnetics) -#add_subdirectory(combustion) -#add_subdirectory(finiteArea) -#add_subdirectory(DNS) +add_subdirectory(equationReaderDemo) +add_subdirectory(heatTransfer) +add_subdirectory(electromagnetics) +add_subdirectory(combustion) +add_subdirectory(finiteArea) +add_subdirectory(DNS) add_subdirectory(basic) -#add_subdirectory(immersedBoundary) -#add_subdirectory(surfaceTracking) -#add_subdirectory(viscoelastic) +add_subdirectory(immersedBoundary) +add_subdirectory(surfaceTracking) +add_subdirectory(viscoelastic) diff --git a/applications/solvers/DNS/dnsFoam/CMakeLists.txt b/applications/solvers/DNS/dnsFoam/CMakeLists.txt index 7b48964fe..97189c2a6 100644 --- a/applications/solvers/DNS/dnsFoam/CMakeLists.txt +++ b/applications/solvers/DNS/dnsFoam/CMakeLists.txt @@ -41,6 +41,6 @@ if(NOT FOAM_FOUND) endif() add_foam_executable(dnsFoam -# DEPENDS finiteVolume + DEPENDS randomProcesses SOURCES ${SOURCES} ) diff --git a/applications/solvers/combustion/PDRFoam/CMakeLists.txt b/applications/solvers/combustion/PDRFoam/CMakeLists.txt index 81ff53fad..5210f86b9 100644 --- a/applications/solvers/combustion/PDRFoam/CMakeLists.txt +++ b/applications/solvers/combustion/PDRFoam/CMakeLists.txt @@ -63,6 +63,14 @@ if(NOT FOAM_FOUND) endif() add_foam_executable(PDRFoam -# DEPENDS finiteVolume + DEPENDS engine compressibleRASModels laminarFlameSpeedModels dynamicFvMesh SOURCES ${SOURCES} ) + +target_include_directories(PDRFoam PUBLIC + $ + $ + $ + $ + $ +) diff --git a/applications/solvers/combustion/XiFoam/CMakeLists.txt b/applications/solvers/combustion/XiFoam/CMakeLists.txt index 4918638b8..11f4ff1d8 100644 --- a/applications/solvers/combustion/XiFoam/CMakeLists.txt +++ b/applications/solvers/combustion/XiFoam/CMakeLists.txt @@ -41,6 +41,7 @@ if(NOT FOAM_FOUND) endif() add_foam_executable(XiFoam -# DEPENDS finiteVolume + DEPENDS reactionThermophysicalModels engine compressibleTurbulenceModel + DEPENDS laminarFlameSpeedModels SOURCES ${SOURCES} ) diff --git a/applications/solvers/combustion/coldEngineFoam/CMakeLists.txt b/applications/solvers/combustion/coldEngineFoam/CMakeLists.txt index 8cf7679bd..f7bfd34a2 100644 --- a/applications/solvers/combustion/coldEngineFoam/CMakeLists.txt +++ b/applications/solvers/combustion/coldEngineFoam/CMakeLists.txt @@ -41,6 +41,11 @@ if(NOT FOAM_FOUND) endif() add_foam_executable(coldEngineFoam -# DEPENDS finiteVolume + DEPENDS engine compressibleTurbulenceModel SOURCES ${SOURCES} ) + +target_include_directories(coldEngineFoam PUBLIC + $ + $ +) diff --git a/applications/solvers/combustion/dieselEngineFoam/CMakeLists.txt b/applications/solvers/combustion/dieselEngineFoam/CMakeLists.txt index 8c195d391..fa835766a 100644 --- a/applications/solvers/combustion/dieselEngineFoam/CMakeLists.txt +++ b/applications/solvers/combustion/dieselEngineFoam/CMakeLists.txt @@ -41,6 +41,10 @@ if(NOT FOAM_FOUND) endif() add_foam_executable(dieselEngineFoam -# DEPENDS finiteVolume + DEPENDS engine dieselSpray chemistryModel SOURCES ${SOURCES} ) + +target_include_directories(dieselEngineFoam PUBLIC + $ +) diff --git a/applications/solvers/combustion/dieselFoam/CMakeLists.txt b/applications/solvers/combustion/dieselFoam/CMakeLists.txt index 59f96a42f..c3a034763 100644 --- a/applications/solvers/combustion/dieselFoam/CMakeLists.txt +++ b/applications/solvers/combustion/dieselFoam/CMakeLists.txt @@ -41,6 +41,10 @@ if(NOT FOAM_FOUND) endif() add_foam_executable(dieselFoam -# DEPENDS finiteVolume + DEPENDS chemistryModel dieselSpray SOURCES ${SOURCES} ) + +target_include_directories(dieselFoam PUBLIC + $ +) diff --git a/applications/solvers/combustion/engineFoam/CMakeLists.txt b/applications/solvers/combustion/engineFoam/CMakeLists.txt index 3f2398763..fece520e3 100644 --- a/applications/solvers/combustion/engineFoam/CMakeLists.txt +++ b/applications/solvers/combustion/engineFoam/CMakeLists.txt @@ -41,6 +41,11 @@ if(NOT FOAM_FOUND) endif() add_foam_executable(engineFoam -# DEPENDS finiteVolume + DEPENDS reactionThermophysicalModels engine compressibleTurbulenceModel + DEPENDS laminarFlameSpeedModels SOURCES ${SOURCES} ) + +target_include_directories(engineFoam PUBLIC + $ +) diff --git a/applications/solvers/combustion/fireFoam/combustionModels/CMakeLists.txt b/applications/solvers/combustion/fireFoam/combustionModels/CMakeLists.txt index 578a54d34..9e51acbf1 100644 --- a/applications/solvers/combustion/fireFoam/combustionModels/CMakeLists.txt +++ b/applications/solvers/combustion/fireFoam/combustionModels/CMakeLists.txt @@ -39,4 +39,11 @@ list(APPEND SOURCES add_foam_library(combustionModels SHARED ${SOURCES}) -#target_link_libraries(combustionModels finiteVolume) +target_link_libraries(combustionModels finiteVolume) + +target_include_directories(combustionModels PUBLIC + $ + $ + $ + $ +) diff --git a/applications/solvers/combustion/reactingFoam/CMakeLists.txt b/applications/solvers/combustion/reactingFoam/CMakeLists.txt index bbaea60ea..8497390a3 100644 --- a/applications/solvers/combustion/reactingFoam/CMakeLists.txt +++ b/applications/solvers/combustion/reactingFoam/CMakeLists.txt @@ -41,6 +41,6 @@ if(NOT FOAM_FOUND) endif() add_foam_executable(reactingFoam -# DEPENDS finiteVolume + DEPENDS compressibleTurbulenceModel chemistryModel SOURCES ${SOURCES} ) diff --git a/applications/solvers/combustion/rhoReactingFoam/CMakeLists.txt b/applications/solvers/combustion/rhoReactingFoam/CMakeLists.txt index a392166ea..f62fdb133 100644 --- a/applications/solvers/combustion/rhoReactingFoam/CMakeLists.txt +++ b/applications/solvers/combustion/rhoReactingFoam/CMakeLists.txt @@ -41,6 +41,6 @@ if(NOT FOAM_FOUND) endif() add_foam_executable(rhoReactingFoam -# DEPENDS finiteVolume + DEPENDS chemistryModel compressibleTurbulenceModel SOURCES ${SOURCES} ) diff --git a/applications/solvers/compressible/CMakeLists.txt b/applications/solvers/compressible/CMakeLists.txt index 5bf82cbd5..473be5284 100644 --- a/applications/solvers/compressible/CMakeLists.txt +++ b/applications/solvers/compressible/CMakeLists.txt @@ -40,11 +40,11 @@ add_subdirectory(rhoPorousMRFPimpleFoam) add_subdirectory(rhopSonicFoam) add_subdirectory(rhoPisoFoam) add_subdirectory(steadyCompressibleFoam) -add_subdirectory(dbnsFoam) +#add_subdirectory(dbnsFoam) add_subdirectory(steadyUniversalFoam) add_subdirectory(steadyCompressibleMRFFoam) add_subdirectory(rhoSimpleFoam) add_subdirectory(sonicLiquidFoam) add_subdirectory(rhoCentralFoam) add_subdirectory(rhoPorousSimpleFoam) -add_subdirectory(dbnsTurbFoam) \ No newline at end of file +#add_subdirectory(dbnsTurbFoam) diff --git a/applications/solvers/compressible/dbnsFoam/CMakeLists.txt b/applications/solvers/compressible/dbnsFoam/CMakeLists.txt index d71153783..ad9a93677 100644 --- a/applications/solvers/compressible/dbnsFoam/CMakeLists.txt +++ b/applications/solvers/compressible/dbnsFoam/CMakeLists.txt @@ -41,6 +41,6 @@ if(NOT FOAM_FOUND) endif() add_foam_executable(dbnsFoam -# DEPENDS finiteVolume + DEPENDS basicThermophysicalModels dbns SOURCES ${SOURCES} ) diff --git a/applications/solvers/compressible/realFluidPisoFoam/CMakeLists.txt b/applications/solvers/compressible/realFluidPisoFoam/CMakeLists.txt index 7997ca8b6..39215ebb8 100644 --- a/applications/solvers/compressible/realFluidPisoFoam/CMakeLists.txt +++ b/applications/solvers/compressible/realFluidPisoFoam/CMakeLists.txt @@ -41,6 +41,6 @@ if(NOT FOAM_FOUND) endif() add_foam_executable(realFluidPisoFoam -# DEPENDS finiteVolume + DEPENDS compressibleTurbulenceModel SOURCES ${SOURCES} ) diff --git a/applications/solvers/compressible/rhoCentralFoam/BCs/CMakeLists.txt b/applications/solvers/compressible/rhoCentralFoam/BCs/CMakeLists.txt index 6729595f7..40bfaf524 100644 --- a/applications/solvers/compressible/rhoCentralFoam/BCs/CMakeLists.txt +++ b/applications/solvers/compressible/rhoCentralFoam/BCs/CMakeLists.txt @@ -39,4 +39,4 @@ list(APPEND SOURCES add_foam_library(rhoCentralFoam SHARED ${SOURCES}) -#target_link_libraries(rhoCentralFoam finiteVolume) +target_link_libraries(rhoCentralFoam finiteVolume) diff --git a/applications/solvers/compressible/rhoPimpleFoam/CMakeLists.txt b/applications/solvers/compressible/rhoPimpleFoam/CMakeLists.txt index c0e5572be..cf8c4ab9c 100644 --- a/applications/solvers/compressible/rhoPimpleFoam/CMakeLists.txt +++ b/applications/solvers/compressible/rhoPimpleFoam/CMakeLists.txt @@ -41,6 +41,6 @@ if(NOT FOAM_FOUND) endif() add_foam_executable(rhoPimpleFoam -# DEPENDS finiteVolume + DEPENDS compressibleTurbulenceModel SOURCES ${SOURCES} ) diff --git a/applications/solvers/compressible/rhoPisoFoam/CMakeLists.txt b/applications/solvers/compressible/rhoPisoFoam/CMakeLists.txt index 18f08fbb5..7441bb2d7 100644 --- a/applications/solvers/compressible/rhoPisoFoam/CMakeLists.txt +++ b/applications/solvers/compressible/rhoPisoFoam/CMakeLists.txt @@ -41,6 +41,6 @@ if(NOT FOAM_FOUND) endif() add_foam_executable(rhoPisoFoam -# DEPENDS finiteVolume + DEPENDS compressibleTurbulenceModel SOURCES ${SOURCES} ) diff --git a/applications/solvers/compressible/rhoPorousMRFPimpleFoam/CMakeLists.txt b/applications/solvers/compressible/rhoPorousMRFPimpleFoam/CMakeLists.txt index 3aafc1900..afade899b 100644 --- a/applications/solvers/compressible/rhoPorousMRFPimpleFoam/CMakeLists.txt +++ b/applications/solvers/compressible/rhoPorousMRFPimpleFoam/CMakeLists.txt @@ -41,6 +41,10 @@ if(NOT FOAM_FOUND) endif() add_foam_executable(rhoPorousMRFPimpleFoam -# DEPENDS finiteVolume + DEPENDS compressibleTurbulenceModel SOURCES ${SOURCES} ) + +target_include_directories(rhoPorousMRFPimpleFoam PUBLIC + $ +) diff --git a/applications/solvers/compressible/rhoPorousSimpleFoam/CMakeLists.txt b/applications/solvers/compressible/rhoPorousSimpleFoam/CMakeLists.txt index 49b4e72c1..e9625d07a 100644 --- a/applications/solvers/compressible/rhoPorousSimpleFoam/CMakeLists.txt +++ b/applications/solvers/compressible/rhoPorousSimpleFoam/CMakeLists.txt @@ -41,6 +41,10 @@ if(NOT FOAM_FOUND) endif() add_foam_executable(rhoPorousSimpleFoam -# DEPENDS finiteVolume + DEPENDS compressibleRASModels SOURCES ${SOURCES} ) + +target_include_directories(rhoPorousSimpleFoam PUBLIC + $ +) diff --git a/applications/solvers/compressible/rhoSimpleFoam/CMakeLists.txt b/applications/solvers/compressible/rhoSimpleFoam/CMakeLists.txt index f90f09149..148a64140 100644 --- a/applications/solvers/compressible/rhoSimpleFoam/CMakeLists.txt +++ b/applications/solvers/compressible/rhoSimpleFoam/CMakeLists.txt @@ -41,6 +41,10 @@ if(NOT FOAM_FOUND) endif() add_foam_executable(rhoSimpleFoam -# DEPENDS finiteVolume + DEPENDS compressibleRASModels SOURCES ${SOURCES} ) + +target_include_directories(rhoSimpleFoam PUBLIC + $ +) diff --git a/applications/solvers/compressible/rhoSonicFoam/CMakeLists.txt b/applications/solvers/compressible/rhoSonicFoam/CMakeLists.txt index 66c33dd12..45e6ec03b 100644 --- a/applications/solvers/compressible/rhoSonicFoam/CMakeLists.txt +++ b/applications/solvers/compressible/rhoSonicFoam/CMakeLists.txt @@ -41,6 +41,6 @@ if(NOT FOAM_FOUND) endif() add_foam_executable(rhoSonicFoam -# DEPENDS finiteVolume + DEPENDS finiteVolume SOURCES ${SOURCES} ) diff --git a/applications/solvers/compressible/rhopSonicFoam/BCs/CMakeLists.txt b/applications/solvers/compressible/rhopSonicFoam/BCs/CMakeLists.txt index 1c519a14b..dbaf8e29b 100644 --- a/applications/solvers/compressible/rhopSonicFoam/BCs/CMakeLists.txt +++ b/applications/solvers/compressible/rhopSonicFoam/BCs/CMakeLists.txt @@ -41,4 +41,4 @@ list(APPEND SOURCES add_foam_library(rhopSonicFoam SHARED ${SOURCES}) -#target_link_libraries(rhopSonicFoam finiteVolume) +target_link_libraries(rhopSonicFoam PUBLIC finiteVolume) diff --git a/applications/solvers/compressible/sonicDyMFoam/CMakeLists.txt b/applications/solvers/compressible/sonicDyMFoam/CMakeLists.txt index 49ac038c6..189772b7b 100644 --- a/applications/solvers/compressible/sonicDyMFoam/CMakeLists.txt +++ b/applications/solvers/compressible/sonicDyMFoam/CMakeLists.txt @@ -41,6 +41,6 @@ if(NOT FOAM_FOUND) endif() add_foam_executable(sonicDyMFoam -# DEPENDS finiteVolume + DEPENDS compressibleTurbulenceModel dynamicFvMesh SOURCES ${SOURCES} ) diff --git a/applications/solvers/compressible/sonicFoam/CMakeLists.txt b/applications/solvers/compressible/sonicFoam/CMakeLists.txt index 231e3fc06..7938c1d97 100644 --- a/applications/solvers/compressible/sonicFoam/CMakeLists.txt +++ b/applications/solvers/compressible/sonicFoam/CMakeLists.txt @@ -41,6 +41,6 @@ if(NOT FOAM_FOUND) endif() add_foam_executable(sonicFoam -# DEPENDS finiteVolume + DEPENDS compressibleTurbulenceModel SOURCES ${SOURCES} ) diff --git a/applications/solvers/compressible/sonicLiquidFoam/CMakeLists.txt b/applications/solvers/compressible/sonicLiquidFoam/CMakeLists.txt index b5556ca55..59192f0ce 100644 --- a/applications/solvers/compressible/sonicLiquidFoam/CMakeLists.txt +++ b/applications/solvers/compressible/sonicLiquidFoam/CMakeLists.txt @@ -41,6 +41,6 @@ if(NOT FOAM_FOUND) endif() add_foam_executable(sonicLiquidFoam -# DEPENDS finiteVolume + DEPENDS finiteVolume SOURCES ${SOURCES} ) diff --git a/applications/solvers/compressible/steadyCompressibleFoam/CMakeLists.txt b/applications/solvers/compressible/steadyCompressibleFoam/CMakeLists.txt index 6b6bf38b1..fbf7296e7 100644 --- a/applications/solvers/compressible/steadyCompressibleFoam/CMakeLists.txt +++ b/applications/solvers/compressible/steadyCompressibleFoam/CMakeLists.txt @@ -41,6 +41,6 @@ if(NOT FOAM_FOUND) endif() add_foam_executable(steadyCompressibleFoam -# DEPENDS finiteVolume + DEPENDS compressibleRASModels SOURCES ${SOURCES} ) diff --git a/applications/solvers/compressible/steadyCompressibleMRFFoam/CMakeLists.txt b/applications/solvers/compressible/steadyCompressibleMRFFoam/CMakeLists.txt index 8eaf88a91..4f18b1b82 100644 --- a/applications/solvers/compressible/steadyCompressibleMRFFoam/CMakeLists.txt +++ b/applications/solvers/compressible/steadyCompressibleMRFFoam/CMakeLists.txt @@ -41,6 +41,6 @@ if(NOT FOAM_FOUND) endif() add_foam_executable(steadyCompressibleMRFFoam -# DEPENDS finiteVolume + DEPENDS compressibleRASModels SOURCES ${SOURCES} ) diff --git a/applications/solvers/compressible/steadyCompressibleSRFFoam/CMakeLists.txt b/applications/solvers/compressible/steadyCompressibleSRFFoam/CMakeLists.txt index ec68a7217..09b33acb1 100644 --- a/applications/solvers/compressible/steadyCompressibleSRFFoam/CMakeLists.txt +++ b/applications/solvers/compressible/steadyCompressibleSRFFoam/CMakeLists.txt @@ -41,6 +41,6 @@ if(NOT FOAM_FOUND) endif() add_foam_executable(steadyCompressibleSRFFoam -# DEPENDS finiteVolume + DEPENDS compressibleRASModels SOURCES ${SOURCES} ) diff --git a/applications/solvers/compressible/steadyUniversalFoam/CMakeLists.txt b/applications/solvers/compressible/steadyUniversalFoam/CMakeLists.txt index 725aa4451..b7a12a314 100644 --- a/applications/solvers/compressible/steadyUniversalFoam/CMakeLists.txt +++ b/applications/solvers/compressible/steadyUniversalFoam/CMakeLists.txt @@ -41,6 +41,6 @@ if(NOT FOAM_FOUND) endif() add_foam_executable(steadyUniversalFoam -# DEPENDS finiteVolume + DEPENDS compressibleRASModels SOURCES ${SOURCES} ) diff --git a/applications/solvers/compressible/steadyUniversalMRFFoam/CMakeLists.txt b/applications/solvers/compressible/steadyUniversalMRFFoam/CMakeLists.txt index 519642616..6022bd014 100644 --- a/applications/solvers/compressible/steadyUniversalMRFFoam/CMakeLists.txt +++ b/applications/solvers/compressible/steadyUniversalMRFFoam/CMakeLists.txt @@ -41,6 +41,6 @@ if(NOT FOAM_FOUND) endif() add_foam_executable(steadyUniversalMRFFoam -# DEPENDS finiteVolume + DEPENDS compressibleRASModels SOURCES ${SOURCES} ) diff --git a/applications/solvers/coupled/MRFPorousFoam/CMakeLists.txt b/applications/solvers/coupled/MRFPorousFoam/CMakeLists.txt index 170684545..a5b933258 100644 --- a/applications/solvers/coupled/MRFPorousFoam/CMakeLists.txt +++ b/applications/solvers/coupled/MRFPorousFoam/CMakeLists.txt @@ -41,6 +41,6 @@ if(NOT FOAM_FOUND) endif() add_foam_executable(MRFPorousFoam -# DEPENDS finiteVolume + DEPENDS incompressibleRASModels SOURCES ${SOURCES} ) diff --git a/applications/solvers/coupled/blockCoupledScalarTransportFoam/CMakeLists.txt b/applications/solvers/coupled/blockCoupledScalarTransportFoam/CMakeLists.txt index f18b8a255..b864688ac 100644 --- a/applications/solvers/coupled/blockCoupledScalarTransportFoam/CMakeLists.txt +++ b/applications/solvers/coupled/blockCoupledScalarTransportFoam/CMakeLists.txt @@ -41,6 +41,6 @@ if(NOT FOAM_FOUND) endif() add_foam_executable(blockCoupledScalarTransportFoam -# DEPENDS finiteVolume + DEPENDS finiteVolume SOURCES ${SOURCES} ) diff --git a/applications/solvers/coupled/conjugateHeatFoam/CMakeLists.txt b/applications/solvers/coupled/conjugateHeatFoam/CMakeLists.txt index 7a1c20e41..2029752d6 100644 --- a/applications/solvers/coupled/conjugateHeatFoam/CMakeLists.txt +++ b/applications/solvers/coupled/conjugateHeatFoam/CMakeLists.txt @@ -41,6 +41,6 @@ if(NOT FOAM_FOUND) endif() add_foam_executable(conjugateHeatFoam -# DEPENDS finiteVolume + DEPENDS incompressibleRASModels coupledLduMatrix conjugateHeatTransfer SOURCES ${SOURCES} ) diff --git a/applications/solvers/coupled/conjugateHeatSimpleFoam/CMakeLists.txt b/applications/solvers/coupled/conjugateHeatSimpleFoam/CMakeLists.txt index 68fe48014..703c0de35 100644 --- a/applications/solvers/coupled/conjugateHeatSimpleFoam/CMakeLists.txt +++ b/applications/solvers/coupled/conjugateHeatSimpleFoam/CMakeLists.txt @@ -41,6 +41,6 @@ if(NOT FOAM_FOUND) endif() add_foam_executable(conjugateHeatSimpleFoam -# DEPENDS finiteVolume + DEPENDS incompressibleRASModels coupledLduMatrix conjugateHeatTransfer SOURCES ${SOURCES} ) diff --git a/applications/solvers/coupled/conjugateHeatTransfer/CMakeLists.txt b/applications/solvers/coupled/conjugateHeatTransfer/CMakeLists.txt index 50b97a440..300b3a9f4 100644 --- a/applications/solvers/coupled/conjugateHeatTransfer/CMakeLists.txt +++ b/applications/solvers/coupled/conjugateHeatTransfer/CMakeLists.txt @@ -89,4 +89,4 @@ list(APPEND SOURCES add_foam_library(conjugateHeatTransfer SHARED ${SOURCES}) -#target_link_libraries(conjugateHeatTransfer finiteVolume) +target_link_libraries(conjugateHeatTransfer PUBLIC radiation) diff --git a/applications/solvers/coupled/pUCoupledFoam/CMakeLists.txt b/applications/solvers/coupled/pUCoupledFoam/CMakeLists.txt index 76c480b61..b8bab942a 100644 --- a/applications/solvers/coupled/pUCoupledFoam/CMakeLists.txt +++ b/applications/solvers/coupled/pUCoupledFoam/CMakeLists.txt @@ -41,6 +41,6 @@ if(NOT FOAM_FOUND) endif() add_foam_executable(pUCoupledFoam -# DEPENDS finiteVolume + DEPENDS incompressibleRASModels SOURCES ${SOURCES} ) diff --git a/applications/solvers/discreteMethods/dsmc/dsmcFoam/CMakeLists.txt b/applications/solvers/discreteMethods/dsmc/dsmcFoam/CMakeLists.txt index e8b1c2ce5..0549453c0 100644 --- a/applications/solvers/discreteMethods/dsmc/dsmcFoam/CMakeLists.txt +++ b/applications/solvers/discreteMethods/dsmc/dsmcFoam/CMakeLists.txt @@ -41,6 +41,6 @@ if(NOT FOAM_FOUND) endif() add_foam_executable(dsmcFoam -# DEPENDS finiteVolume + DEPENDS dsmc SOURCES ${SOURCES} ) diff --git a/applications/solvers/discreteMethods/molecularDynamics/mdEquilibrationFoam/CMakeLists.txt b/applications/solvers/discreteMethods/molecularDynamics/mdEquilibrationFoam/CMakeLists.txt index 1dc638fd6..daa72a99c 100644 --- a/applications/solvers/discreteMethods/molecularDynamics/mdEquilibrationFoam/CMakeLists.txt +++ b/applications/solvers/discreteMethods/molecularDynamics/mdEquilibrationFoam/CMakeLists.txt @@ -41,6 +41,6 @@ if(NOT FOAM_FOUND) endif() add_foam_executable(mdEquirationFoam -# DEPENDS finiteVolume + DEPENDS molecule molecularMeasurements SOURCES ${SOURCES} ) diff --git a/applications/solvers/discreteMethods/molecularDynamics/mdFoam/CMakeLists.txt b/applications/solvers/discreteMethods/molecularDynamics/mdFoam/CMakeLists.txt index 19fc7931c..9a8e8e757 100644 --- a/applications/solvers/discreteMethods/molecularDynamics/mdFoam/CMakeLists.txt +++ b/applications/solvers/discreteMethods/molecularDynamics/mdFoam/CMakeLists.txt @@ -41,6 +41,6 @@ if(NOT FOAM_FOUND) endif() add_foam_executable(mdFoam -# DEPENDS finiteVolume + DEPENDS molecule molecularMeasurements SOURCES ${SOURCES} ) diff --git a/applications/solvers/electromagnetics/electrostaticFoam/CMakeLists.txt b/applications/solvers/electromagnetics/electrostaticFoam/CMakeLists.txt index f7639cca3..d7cddbeef 100644 --- a/applications/solvers/electromagnetics/electrostaticFoam/CMakeLists.txt +++ b/applications/solvers/electromagnetics/electrostaticFoam/CMakeLists.txt @@ -41,6 +41,6 @@ if(NOT FOAM_FOUND) endif() add_foam_executable(electrostaticFoam -# DEPENDS finiteVolume + DEPENDS finiteVolume SOURCES ${SOURCES} ) diff --git a/applications/solvers/electromagnetics/mhdFoam/CMakeLists.txt b/applications/solvers/electromagnetics/mhdFoam/CMakeLists.txt index b4b13e321..c62f7dc23 100644 --- a/applications/solvers/electromagnetics/mhdFoam/CMakeLists.txt +++ b/applications/solvers/electromagnetics/mhdFoam/CMakeLists.txt @@ -41,6 +41,6 @@ if(NOT FOAM_FOUND) endif() add_foam_executable(mhdFoam -# DEPENDS finiteVolume + DEPENDS finiteVolume SOURCES ${SOURCES} ) diff --git a/applications/solvers/engine/icoDyMEngineFoam/CMakeLists.txt b/applications/solvers/engine/icoDyMEngineFoam/CMakeLists.txt index fb18a098a..460dae831 100644 --- a/applications/solvers/engine/icoDyMEngineFoam/CMakeLists.txt +++ b/applications/solvers/engine/icoDyMEngineFoam/CMakeLists.txt @@ -41,6 +41,6 @@ if(NOT FOAM_FOUND) endif() add_foam_executable(icoDyMEngineFoam -# DEPENDS finiteVolume + DEPENDS engine SOURCES ${SOURCES} ) diff --git a/applications/solvers/engine/sonicTurbDyMEngineFoam/CMakeLists.txt b/applications/solvers/engine/sonicTurbDyMEngineFoam/CMakeLists.txt index 5e83c7857..43b571200 100644 --- a/applications/solvers/engine/sonicTurbDyMEngineFoam/CMakeLists.txt +++ b/applications/solvers/engine/sonicTurbDyMEngineFoam/CMakeLists.txt @@ -41,6 +41,6 @@ if(NOT FOAM_FOUND) endif() add_foam_executable(sonicTurbDyMEngineFoam -# DEPENDS finiteVolume + DEPENDS basicThermophysicalModels compressibleTurbulenceModel engine SOURCES ${SOURCES} ) diff --git a/applications/solvers/engine/turbDyMEngineFoam/CMakeLists.txt b/applications/solvers/engine/turbDyMEngineFoam/CMakeLists.txt index 8b3ceb2d2..79ee5c146 100644 --- a/applications/solvers/engine/turbDyMEngineFoam/CMakeLists.txt +++ b/applications/solvers/engine/turbDyMEngineFoam/CMakeLists.txt @@ -41,6 +41,6 @@ if(NOT FOAM_FOUND) endif() add_foam_executable(turbDyMEngineFoam -# DEPENDS finiteVolume + DEPENDS incompressibleTurbulenceModel engine SOURCES ${SOURCES} ) diff --git a/applications/solvers/equationReaderDemo/CMakeLists.txt b/applications/solvers/equationReaderDemo/CMakeLists.txt index fa0838428..b35eee27f 100644 --- a/applications/solvers/equationReaderDemo/CMakeLists.txt +++ b/applications/solvers/equationReaderDemo/CMakeLists.txt @@ -41,6 +41,6 @@ if(NOT FOAM_FOUND) endif() add_foam_executable(equationReaderDemo -# DEPENDS finiteVolume + DEPENDS equationReader incompressibleRASModels SOURCES ${SOURCES} ) diff --git a/applications/solvers/financial/financialFoam/CMakeLists.txt b/applications/solvers/financial/financialFoam/CMakeLists.txt index 4b78839e9..16da86f20 100644 --- a/applications/solvers/financial/financialFoam/CMakeLists.txt +++ b/applications/solvers/financial/financialFoam/CMakeLists.txt @@ -41,6 +41,6 @@ if(NOT FOAM_FOUND) endif() add_foam_executable(financialFoam -# DEPENDS finiteVolume + DEPENDS sampling SOURCES ${SOURCES} ) diff --git a/applications/solvers/finiteArea/liquidFilmFoam/CMakeLists.txt b/applications/solvers/finiteArea/liquidFilmFoam/CMakeLists.txt index ae7dc9265..85b38b44f 100644 --- a/applications/solvers/finiteArea/liquidFilmFoam/CMakeLists.txt +++ b/applications/solvers/finiteArea/liquidFilmFoam/CMakeLists.txt @@ -41,6 +41,6 @@ if(NOT FOAM_FOUND) endif() add_foam_executable(liquidFilmFoam -# DEPENDS finiteVolume + DEPENDS finiteVolume finiteArea SOURCES ${SOURCES} ) diff --git a/applications/solvers/finiteArea/surfactantFoam/CMakeLists.txt b/applications/solvers/finiteArea/surfactantFoam/CMakeLists.txt index 1769dc04b..20dfd2556 100644 --- a/applications/solvers/finiteArea/surfactantFoam/CMakeLists.txt +++ b/applications/solvers/finiteArea/surfactantFoam/CMakeLists.txt @@ -41,6 +41,6 @@ if(NOT FOAM_FOUND) endif() add_foam_executable(surfactantFoam -# DEPENDS finiteVolume + DEPENDS finiteVolume finiteArea SOURCES ${SOURCES} ) diff --git a/applications/solvers/heatTransfer/boussinesqBuoyantFoam/CMakeLists.txt b/applications/solvers/heatTransfer/boussinesqBuoyantFoam/CMakeLists.txt index a5988da66..6c8436b36 100644 --- a/applications/solvers/heatTransfer/boussinesqBuoyantFoam/CMakeLists.txt +++ b/applications/solvers/heatTransfer/boussinesqBuoyantFoam/CMakeLists.txt @@ -41,6 +41,6 @@ if(NOT FOAM_FOUND) endif() add_foam_executable(boussinesqBuoyantFoam -# DEPENDS finiteVolume + DEPENDS finiteVolume SOURCES ${SOURCES} ) diff --git a/applications/solvers/heatTransfer/buoyantBoussinesqPisoFoam/CMakeLists.txt b/applications/solvers/heatTransfer/buoyantBoussinesqPisoFoam/CMakeLists.txt index 27c6ff919..465ddddb4 100644 --- a/applications/solvers/heatTransfer/buoyantBoussinesqPisoFoam/CMakeLists.txt +++ b/applications/solvers/heatTransfer/buoyantBoussinesqPisoFoam/CMakeLists.txt @@ -41,6 +41,10 @@ if(NOT FOAM_FOUND) endif() add_foam_executable(buoyantBoussinesqPisoFoam -# DEPENDS finiteVolume + DEPENDS incompressibleTurbulenceModel SOURCES ${SOURCES} ) + +target_include_directories(buoyantBoussinesqPisoFoam PUBLIC + $ +) diff --git a/applications/solvers/heatTransfer/buoyantBoussinesqSimpleFoam/CMakeLists.txt b/applications/solvers/heatTransfer/buoyantBoussinesqSimpleFoam/CMakeLists.txt index 113baa1bf..122ce4eea 100644 --- a/applications/solvers/heatTransfer/buoyantBoussinesqSimpleFoam/CMakeLists.txt +++ b/applications/solvers/heatTransfer/buoyantBoussinesqSimpleFoam/CMakeLists.txt @@ -41,6 +41,6 @@ if(NOT FOAM_FOUND) endif() add_foam_executable(buoyantBoussinesqSimpleFoam -# DEPENDS finiteVolume + DEPENDS incompressibleRASModels SOURCES ${SOURCES} ) diff --git a/applications/solvers/heatTransfer/buoyantPisoFoam/CMakeLists.txt b/applications/solvers/heatTransfer/buoyantPisoFoam/CMakeLists.txt index 25f922bdf..5ea3057d3 100644 --- a/applications/solvers/heatTransfer/buoyantPisoFoam/CMakeLists.txt +++ b/applications/solvers/heatTransfer/buoyantPisoFoam/CMakeLists.txt @@ -41,6 +41,6 @@ if(NOT FOAM_FOUND) endif() add_foam_executable(buoyantPisoFoam -# DEPENDS finiteVolume + DEPENDS compressibleTurbulenceModel SOURCES ${SOURCES} ) diff --git a/applications/solvers/heatTransfer/buoyantSimpleFoam/CMakeLists.txt b/applications/solvers/heatTransfer/buoyantSimpleFoam/CMakeLists.txt index e42430922..377028834 100644 --- a/applications/solvers/heatTransfer/buoyantSimpleFoam/CMakeLists.txt +++ b/applications/solvers/heatTransfer/buoyantSimpleFoam/CMakeLists.txt @@ -41,6 +41,6 @@ if(NOT FOAM_FOUND) endif() add_foam_executable(buoyantSimpleFoam -# DEPENDS finiteVolume + DEPENDS compressibleRASModels SOURCES ${SOURCES} ) diff --git a/applications/solvers/heatTransfer/buoyantSimpleRadiationFoam/CMakeLists.txt b/applications/solvers/heatTransfer/buoyantSimpleRadiationFoam/CMakeLists.txt index 1d2d3eaf3..22e628f47 100644 --- a/applications/solvers/heatTransfer/buoyantSimpleRadiationFoam/CMakeLists.txt +++ b/applications/solvers/heatTransfer/buoyantSimpleRadiationFoam/CMakeLists.txt @@ -41,6 +41,10 @@ if(NOT FOAM_FOUND) endif() add_foam_executable(buoyantSimpleRadiationFoam -# DEPENDS finiteVolume + DEPENDS radiation compressibleRASModels SOURCES ${SOURCES} ) + +target_include_directories(buoyantSimpleRadiationFoam PUBLIC + $ +) diff --git a/applications/solvers/heatTransfer/chtMultiRegionFoam/CMakeLists.txt b/applications/solvers/heatTransfer/chtMultiRegionFoam/CMakeLists.txt index 894430d35..9f99eb816 100644 --- a/applications/solvers/heatTransfer/chtMultiRegionFoam/CMakeLists.txt +++ b/applications/solvers/heatTransfer/chtMultiRegionFoam/CMakeLists.txt @@ -46,6 +46,13 @@ if(NOT FOAM_FOUND) endif() add_foam_executable(chtMultiRegionFoam -# DEPENDS finiteVolume + DEPENDS compressibleTurbulenceModel SOURCES ${SOURCES} ) + +target_include_directories(chtMultiRegionFoam PUBLIC + $ + $ + $ + $ +) diff --git a/applications/solvers/heatTransfer/chtMultiRegionSimpleFoam/CMakeLists.txt b/applications/solvers/heatTransfer/chtMultiRegionSimpleFoam/CMakeLists.txt index 3cc3b000a..26c0711e7 100644 --- a/applications/solvers/heatTransfer/chtMultiRegionSimpleFoam/CMakeLists.txt +++ b/applications/solvers/heatTransfer/chtMultiRegionSimpleFoam/CMakeLists.txt @@ -42,6 +42,11 @@ if(NOT FOAM_FOUND) endif() add_foam_executable(chtMultiRegionSimpleFoam -# DEPENDS finiteVolume + DEPENDS compressibleRASModels SOURCES ${SOURCES} ) + +target_include_directories(chtMultiRegionSimpleFoam PUBLIC + $ + $ +) diff --git a/applications/solvers/immersedBoundary/icoDyMIbFoam/CMakeLists.txt b/applications/solvers/immersedBoundary/icoDyMIbFoam/CMakeLists.txt index 4f08b7e28..c46ec3330 100644 --- a/applications/solvers/immersedBoundary/icoDyMIbFoam/CMakeLists.txt +++ b/applications/solvers/immersedBoundary/icoDyMIbFoam/CMakeLists.txt @@ -41,6 +41,6 @@ if(NOT FOAM_FOUND) endif() add_foam_executable(icoDyMIbFoam -# DEPENDS finiteVolume + DEPENDS immersedBoundary dynamicFvMesh SOURCES ${SOURCES} ) diff --git a/applications/solvers/immersedBoundary/icoIbFoam/CMakeLists.txt b/applications/solvers/immersedBoundary/icoIbFoam/CMakeLists.txt index 627967ea0..a5afe5a3b 100644 --- a/applications/solvers/immersedBoundary/icoIbFoam/CMakeLists.txt +++ b/applications/solvers/immersedBoundary/icoIbFoam/CMakeLists.txt @@ -41,6 +41,6 @@ if(NOT FOAM_FOUND) endif() add_foam_executable(icoIbFoam -# DEPENDS finiteVolume + DEPENDS immersedBoundary SOURCES ${SOURCES} ) diff --git a/applications/solvers/immersedBoundary/interIbFoam/CMakeLists.txt b/applications/solvers/immersedBoundary/interIbFoam/CMakeLists.txt index 43472e250..0aa7219b6 100644 --- a/applications/solvers/immersedBoundary/interIbFoam/CMakeLists.txt +++ b/applications/solvers/immersedBoundary/interIbFoam/CMakeLists.txt @@ -41,6 +41,6 @@ if(NOT FOAM_FOUND) endif() add_foam_executable(interIbFoam -# DEPENDS finiteVolume + DEPENDS immersedBoundary interfaceProperties incompressibleTurbulenceModel SOURCES ${SOURCES} ) diff --git a/applications/solvers/immersedBoundary/porousSimpleIbFoam/CMakeLists.txt b/applications/solvers/immersedBoundary/porousSimpleIbFoam/CMakeLists.txt index 95cef4f61..718305c62 100644 --- a/applications/solvers/immersedBoundary/porousSimpleIbFoam/CMakeLists.txt +++ b/applications/solvers/immersedBoundary/porousSimpleIbFoam/CMakeLists.txt @@ -41,6 +41,6 @@ if(NOT FOAM_FOUND) endif() add_foam_executable(porousSimpleIbFoam -# DEPENDS finiteVolume + DEPENDS immersedBoundaryTurbulence SOURCES ${SOURCES} ) diff --git a/applications/solvers/immersedBoundary/potentialIbFoam/CMakeLists.txt b/applications/solvers/immersedBoundary/potentialIbFoam/CMakeLists.txt index 17ec20f55..17fddb272 100644 --- a/applications/solvers/immersedBoundary/potentialIbFoam/CMakeLists.txt +++ b/applications/solvers/immersedBoundary/potentialIbFoam/CMakeLists.txt @@ -41,6 +41,6 @@ if(NOT FOAM_FOUND) endif() add_foam_executable(potentialIbFoam -# DEPENDS finiteVolume + DEPENDS immersedBoundary SOURCES ${SOURCES} ) diff --git a/applications/solvers/immersedBoundary/simpleIbFoam/CMakeLists.txt b/applications/solvers/immersedBoundary/simpleIbFoam/CMakeLists.txt index 23e449a1f..1f782001f 100644 --- a/applications/solvers/immersedBoundary/simpleIbFoam/CMakeLists.txt +++ b/applications/solvers/immersedBoundary/simpleIbFoam/CMakeLists.txt @@ -41,6 +41,6 @@ if(NOT FOAM_FOUND) endif() add_foam_executable(simpleIbFoam -# DEPENDS finiteVolume + DEPENDS immersedBoundaryTurbulence SOURCES ${SOURCES} ) diff --git a/applications/solvers/lagrangian/coalChemistryFoam/CMakeLists.txt b/applications/solvers/lagrangian/coalChemistryFoam/CMakeLists.txt index 83b524a4d..510e55707 100644 --- a/applications/solvers/lagrangian/coalChemistryFoam/CMakeLists.txt +++ b/applications/solvers/lagrangian/coalChemistryFoam/CMakeLists.txt @@ -41,6 +41,7 @@ if(NOT FOAM_FOUND) endif() add_foam_executable(coalChemistryFoam -# DEPENDS finiteVolume + DEPENDS finiteVolume compressibleTurbulenceModel lagrangianIntermediate + DEPENDS chemistryModel coalCombustion SOURCES ${SOURCES} ) diff --git a/applications/solvers/lagrangian/porousExplicitSourceReactingParcelFoam/CMakeLists.txt b/applications/solvers/lagrangian/porousExplicitSourceReactingParcelFoam/CMakeLists.txt index 71f7c48c8..faebf55b2 100644 --- a/applications/solvers/lagrangian/porousExplicitSourceReactingParcelFoam/CMakeLists.txt +++ b/applications/solvers/lagrangian/porousExplicitSourceReactingParcelFoam/CMakeLists.txt @@ -41,6 +41,7 @@ if(NOT FOAM_FOUND) endif() add_foam_executable(porousExplicitSourceReactingParcelFoam -# DEPENDS finiteVolume + DEPENDS finiteVolume compressibleTurbulenceModel lagrangianIntermediate + DEPENDS chemistryModel SOURCES ${SOURCES} ) diff --git a/applications/solvers/lagrangian/reactingParcelFoam/CMakeLists.txt b/applications/solvers/lagrangian/reactingParcelFoam/CMakeLists.txt index 2c2636879..6e921c2eb 100644 --- a/applications/solvers/lagrangian/reactingParcelFoam/CMakeLists.txt +++ b/applications/solvers/lagrangian/reactingParcelFoam/CMakeLists.txt @@ -41,6 +41,7 @@ if(NOT FOAM_FOUND) endif() add_foam_executable(reactingParcelFoam -# DEPENDS finiteVolume + DEPENDS finiteVolume compressibleTurbulenceModel lagrangianIntermediate + DEPENDS chemistryModel SOURCES ${SOURCES} ) diff --git a/applications/solvers/lagrangian/uncoupledKinematicParcelFoam/CMakeLists.txt b/applications/solvers/lagrangian/uncoupledKinematicParcelFoam/CMakeLists.txt index 78291584b..f91f5bb36 100644 --- a/applications/solvers/lagrangian/uncoupledKinematicParcelFoam/CMakeLists.txt +++ b/applications/solvers/lagrangian/uncoupledKinematicParcelFoam/CMakeLists.txt @@ -41,6 +41,6 @@ if(NOT FOAM_FOUND) endif() add_foam_executable(uncoupledKinematicParcelFoam -# DEPENDS finiteVolume + DEPENDS finiteVolume compressibleTurbulenceModel lagrangianIntermediate SOURCES ${SOURCES} ) diff --git a/applications/solvers/multiSolver/multiSolverDemo/CMakeLists.txt b/applications/solvers/multiSolver/multiSolverDemo/CMakeLists.txt index 1ff23bbd8..67751f8d4 100644 --- a/applications/solvers/multiSolver/multiSolverDemo/CMakeLists.txt +++ b/applications/solvers/multiSolver/multiSolverDemo/CMakeLists.txt @@ -41,6 +41,10 @@ if(NOT FOAM_FOUND) endif() add_foam_executable(multiSolverDemo -# DEPENDS finiteVolume + DEPENDS finiteVolume multiSolverLib SOURCES ${SOURCES} ) + +target_include_directories(multiSolverDemo PUBLIC + $ +) diff --git a/applications/solvers/multiphase/MRFInterFoam/CMakeLists.txt b/applications/solvers/multiphase/MRFInterFoam/CMakeLists.txt index 45bb31fa6..70c2118b2 100644 --- a/applications/solvers/multiphase/MRFInterFoam/CMakeLists.txt +++ b/applications/solvers/multiphase/MRFInterFoam/CMakeLists.txt @@ -41,6 +41,10 @@ if(NOT FOAM_FOUND) endif() add_foam_executable(MRFInterFoam -# DEPENDS finiteVolume + DEPENDS finiteVolume interfaceProperties incompressibleTurbulenceModel SOURCES ${SOURCES} ) + +target_include_directories(MRFInterFoam PUBLIC + $ +) diff --git a/applications/solvers/multiphase/barotropicCavitatingFoam/CMakeLists.txt b/applications/solvers/multiphase/barotropicCavitatingFoam/CMakeLists.txt index dfae93e0a..5d0f3fedd 100644 --- a/applications/solvers/multiphase/barotropicCavitatingFoam/CMakeLists.txt +++ b/applications/solvers/multiphase/barotropicCavitatingFoam/CMakeLists.txt @@ -41,6 +41,6 @@ if(NOT FOAM_FOUND) endif() add_foam_executable(barotropicCavitatingFoam -# DEPENDS finiteVolume + DEPENDS finiteVolume SOURCES ${SOURCES} ) diff --git a/applications/solvers/multiphase/bubbleFoam/CMakeLists.txt b/applications/solvers/multiphase/bubbleFoam/CMakeLists.txt index 3aa131b09..4fad7047c 100644 --- a/applications/solvers/multiphase/bubbleFoam/CMakeLists.txt +++ b/applications/solvers/multiphase/bubbleFoam/CMakeLists.txt @@ -41,6 +41,6 @@ if(NOT FOAM_FOUND) endif() add_foam_executable(bubbleFoam -# DEPENDS finiteVolume + DEPENDS finiteVolume SOURCES ${SOURCES} ) diff --git a/applications/solvers/multiphase/cavitatingFoam/CMakeLists.txt b/applications/solvers/multiphase/cavitatingFoam/CMakeLists.txt index 2ce310d09..1fca950a8 100644 --- a/applications/solvers/multiphase/cavitatingFoam/CMakeLists.txt +++ b/applications/solvers/multiphase/cavitatingFoam/CMakeLists.txt @@ -41,6 +41,7 @@ if(NOT FOAM_FOUND) endif() add_foam_executable(cavitatingFoam -# DEPENDS finiteVolume + DEPENDS finiteVolume interfaceProperties incompressibleTurbulenceModel + DEPENDS barotropicCompressibilityModel SOURCES ${SOURCES} ) diff --git a/applications/solvers/multiphase/compressibleInterDyMFoam/CMakeLists.txt b/applications/solvers/multiphase/compressibleInterDyMFoam/CMakeLists.txt index 87a91c4c0..17b9c3329 100644 --- a/applications/solvers/multiphase/compressibleInterDyMFoam/CMakeLists.txt +++ b/applications/solvers/multiphase/compressibleInterDyMFoam/CMakeLists.txt @@ -41,6 +41,7 @@ if(NOT FOAM_FOUND) endif() add_foam_executable(compressibleInterDyMFoam -# DEPENDS finiteVolume + DEPENDS finiteVolume interfaceProperties incompressibleTurbulenceModel + DEPENDS dynamicFvMesh SOURCES ${SOURCES} ) diff --git a/applications/solvers/multiphase/compressibleInterFoam/CMakeLists.txt b/applications/solvers/multiphase/compressibleInterFoam/CMakeLists.txt index 678f237a5..d4c9b8661 100644 --- a/applications/solvers/multiphase/compressibleInterFoam/CMakeLists.txt +++ b/applications/solvers/multiphase/compressibleInterFoam/CMakeLists.txt @@ -41,6 +41,6 @@ if(NOT FOAM_FOUND) endif() add_foam_executable(compressibleInterFoam -# DEPENDS finiteVolume + DEPENDS finiteVolume interfaceProperties incompressibleTurbulenceModel SOURCES ${SOURCES} ) diff --git a/applications/solvers/multiphase/interDyMFoam/CMakeLists.txt b/applications/solvers/multiphase/interDyMFoam/CMakeLists.txt index 4c1c523c2..55006de8e 100644 --- a/applications/solvers/multiphase/interDyMFoam/CMakeLists.txt +++ b/applications/solvers/multiphase/interDyMFoam/CMakeLists.txt @@ -41,6 +41,12 @@ if(NOT FOAM_FOUND) endif() add_foam_executable(interDyMFoam -# DEPENDS finiteVolume + DEPENDS finiteVolume interfaceProperties incompressibleTurbulenceModel + DEPENDS dynamicFvMesh SOURCES ${SOURCES} ) + +target_include_directories(interDyMFoam PUBLIC + $ +) + diff --git a/applications/solvers/multiphase/interFoam/CMakeLists.txt b/applications/solvers/multiphase/interFoam/CMakeLists.txt index fd2e0b8b2..57279ebaf 100644 --- a/applications/solvers/multiphase/interFoam/CMakeLists.txt +++ b/applications/solvers/multiphase/interFoam/CMakeLists.txt @@ -41,6 +41,6 @@ if(NOT FOAM_FOUND) endif() add_foam_executable(interFoam -# DEPENDS finiteVolume + DEPENDS finiteVolume interfaceProperties incompressibleTurbulenceModel SOURCES ${SOURCES} ) diff --git a/applications/solvers/multiphase/interMixingFoam/CMakeLists.txt b/applications/solvers/multiphase/interMixingFoam/CMakeLists.txt index a6e27125b..e486a4064 100644 --- a/applications/solvers/multiphase/interMixingFoam/CMakeLists.txt +++ b/applications/solvers/multiphase/interMixingFoam/CMakeLists.txt @@ -43,6 +43,12 @@ if(NOT FOAM_FOUND) endif() add_foam_executable(interMixingFoam -# DEPENDS finiteVolume + DEPENDS finiteVolume interfaceProperties incompressibleTurbulenceModel SOURCES ${SOURCES} ) + +target_include_directories(interMixingFoam PUBLIC + $ + $ + $ +) diff --git a/applications/solvers/multiphase/interPhaseChangeFoam/CMakeLists.txt b/applications/solvers/multiphase/interPhaseChangeFoam/CMakeLists.txt index a7d80254a..d239ee1b6 100644 --- a/applications/solvers/multiphase/interPhaseChangeFoam/CMakeLists.txt +++ b/applications/solvers/multiphase/interPhaseChangeFoam/CMakeLists.txt @@ -46,6 +46,11 @@ if(NOT FOAM_FOUND) endif() add_foam_executable(interPhaseChangeFoam -# DEPENDS finiteVolume + DEPENDS finiteVolume interfaceProperties incompressibleTurbulenceModel SOURCES ${SOURCES} ) + +target_include_directories(interPhaseChangeFoam PUBLIC + $ +) + diff --git a/applications/solvers/multiphase/multiphaseInterFoam/CMakeLists.txt b/applications/solvers/multiphase/multiphaseInterFoam/CMakeLists.txt index 488b99c71..5ca6c6b3a 100644 --- a/applications/solvers/multiphase/multiphaseInterFoam/CMakeLists.txt +++ b/applications/solvers/multiphase/multiphaseInterFoam/CMakeLists.txt @@ -44,6 +44,13 @@ if(NOT FOAM_FOUND) endif() add_foam_executable(multiphaseInterFoam -# DEPENDS finiteVolume + DEPENDS finiteVolume interfaceProperties incompressibleTurbulenceModel SOURCES ${SOURCES} ) + +target_include_directories(multiphaseInterFoam PUBLIC + $ + $ + $ + $ +) diff --git a/applications/solvers/multiphase/porousInterFoam/CMakeLists.txt b/applications/solvers/multiphase/porousInterFoam/CMakeLists.txt index 1409915cd..a64ab896b 100644 --- a/applications/solvers/multiphase/porousInterFoam/CMakeLists.txt +++ b/applications/solvers/multiphase/porousInterFoam/CMakeLists.txt @@ -41,6 +41,11 @@ if(NOT FOAM_FOUND) endif() add_foam_executable(porousInterFoam -# DEPENDS finiteVolume + DEPENDS finiteVolume interfaceProperties incompressibleTurbulenceModel SOURCES ${SOURCES} ) + +target_include_directories(porousInterFoam PUBLIC + $ +) + diff --git a/applications/solvers/multiphase/settlingFoam/CMakeLists.txt b/applications/solvers/multiphase/settlingFoam/CMakeLists.txt index f936b5f40..41e3482cc 100644 --- a/applications/solvers/multiphase/settlingFoam/CMakeLists.txt +++ b/applications/solvers/multiphase/settlingFoam/CMakeLists.txt @@ -41,6 +41,6 @@ if(NOT FOAM_FOUND) endif() add_foam_executable(settlingFoam -# DEPENDS finiteVolume + DEPENDS finiteVolume SOURCES ${SOURCES} ) diff --git a/applications/solvers/multiphase/twoLiquidMixingFoam/CMakeLists.txt b/applications/solvers/multiphase/twoLiquidMixingFoam/CMakeLists.txt index ac531cd5d..91f28caa5 100644 --- a/applications/solvers/multiphase/twoLiquidMixingFoam/CMakeLists.txt +++ b/applications/solvers/multiphase/twoLiquidMixingFoam/CMakeLists.txt @@ -41,6 +41,6 @@ if(NOT FOAM_FOUND) endif() add_foam_executable(twoLiquidMixingFoam -# DEPENDS finiteVolume + DEPENDS finiteVolume interfaceProperties incompressibleTurbulenceModel SOURCES ${SOURCES} ) diff --git a/applications/solvers/multiphase/twoPhaseEulerFoam/interfacialModels/CMakeLists.txt b/applications/solvers/multiphase/twoPhaseEulerFoam/interfacialModels/CMakeLists.txt index c4619742e..5acc11844 100644 --- a/applications/solvers/multiphase/twoPhaseEulerFoam/interfacialModels/CMakeLists.txt +++ b/applications/solvers/multiphase/twoPhaseEulerFoam/interfacialModels/CMakeLists.txt @@ -44,4 +44,8 @@ list(APPEND SOURCES add_foam_library(EulerianInterfacialModels SHARED ${SOURCES}) -#target_link_libraries(EulerianInterfacialModels finiteVolume) +target_link_libraries(EulerianInterfacialModels PUBLIC finiteVolume phaseModel) + +target_include_directories(EulerianInterfacialModels PUBLIC + $ +) diff --git a/applications/solvers/multiphase/twoPhaseEulerFoam/kineticTheoryModels/CMakeLists.txt b/applications/solvers/multiphase/twoPhaseEulerFoam/kineticTheoryModels/CMakeLists.txt index b609a4c13..e496cf16c 100644 --- a/applications/solvers/multiphase/twoPhaseEulerFoam/kineticTheoryModels/CMakeLists.txt +++ b/applications/solvers/multiphase/twoPhaseEulerFoam/kineticTheoryModels/CMakeLists.txt @@ -61,4 +61,10 @@ list(APPEND SOURCES add_foam_library(kineticTheoryModel SHARED ${SOURCES}) -#target_link_libraries(kineticTheoryModel finiteVolume) +target_link_libraries(kineticTheoryModel PUBLIC finiteVolume phaseModel) + +target_include_directories(kineticTheoryModel PUBLIC + $ + $ + $ +) diff --git a/applications/solvers/multiphase/twoPhaseEulerFoam/phaseModel/CMakeLists.txt b/applications/solvers/multiphase/twoPhaseEulerFoam/phaseModel/CMakeLists.txt index db288e4c2..1a6563c48 100644 --- a/applications/solvers/multiphase/twoPhaseEulerFoam/phaseModel/CMakeLists.txt +++ b/applications/solvers/multiphase/twoPhaseEulerFoam/phaseModel/CMakeLists.txt @@ -36,4 +36,4 @@ list(APPEND SOURCES add_foam_library(phaseModel SHARED ${SOURCES}) -#target_link_libraries(phaseModel finiteVolume) +target_link_libraries(phaseModel PUBLIC finiteVolume incompressibleTransportModels) diff --git a/applications/solvers/solidMechanics/deprecatedSolvers/contactStressFoam/CMakeLists.txt b/applications/solvers/solidMechanics/deprecatedSolvers/contactStressFoam/CMakeLists.txt index ec3c3b757..d8c665ea7 100644 --- a/applications/solvers/solidMechanics/deprecatedSolvers/contactStressFoam/CMakeLists.txt +++ b/applications/solvers/solidMechanics/deprecatedSolvers/contactStressFoam/CMakeLists.txt @@ -44,6 +44,6 @@ if(NOT FOAM_FOUND) endif() add_foam_executable(contactStressFoam -# DEPENDS finiteVolume + DEPENDS finiteVolume SOURCES ${SOURCES} ) diff --git a/applications/solvers/solidMechanics/deprecatedSolvers/icoFsiFoam/CMakeLists.txt b/applications/solvers/solidMechanics/deprecatedSolvers/icoFsiFoam/CMakeLists.txt index 0ac795db1..307382a9b 100644 --- a/applications/solvers/solidMechanics/deprecatedSolvers/icoFsiFoam/CMakeLists.txt +++ b/applications/solvers/solidMechanics/deprecatedSolvers/icoFsiFoam/CMakeLists.txt @@ -42,6 +42,6 @@ if(NOT FOAM_FOUND) endif() add_foam_executable(icoFsiFoam -# DEPENDS finiteVolume + DEPENDS dynamicFvMesh SOURCES ${SOURCES} ) diff --git a/applications/solvers/solidMechanics/deprecatedSolvers/materialModels/CMakeLists.txt b/applications/solvers/solidMechanics/deprecatedSolvers/materialModels/CMakeLists.txt index ad5ec3095..bf9219730 100644 --- a/applications/solvers/solidMechanics/deprecatedSolvers/materialModels/CMakeLists.txt +++ b/applications/solvers/solidMechanics/deprecatedSolvers/materialModels/CMakeLists.txt @@ -68,4 +68,4 @@ list(APPEND SOURCES add_foam_library(materialModels SHARED ${SOURCES}) -#target_link_libraries(materialModels finiteVolume) +target_link_libraries(materialModels PUBLIC finiteVolume) diff --git a/applications/solvers/solidMechanics/deprecatedSolvers/newContactStressFoam/CMakeLists.txt b/applications/solvers/solidMechanics/deprecatedSolvers/newContactStressFoam/CMakeLists.txt index bed60d313..f07b2251b 100644 --- a/applications/solvers/solidMechanics/deprecatedSolvers/newContactStressFoam/CMakeLists.txt +++ b/applications/solvers/solidMechanics/deprecatedSolvers/newContactStressFoam/CMakeLists.txt @@ -43,6 +43,10 @@ if(NOT FOAM_FOUND) endif() add_foam_executable(newContactStressFoam -# DEPENDS finiteVolume + DEPENDS materialModels SOURCES ${SOURCES} ) + +target_include_directories(newContactStressFoam PUBLIC + $ +) diff --git a/applications/solvers/solidMechanics/deprecatedSolvers/newStressedFoam/CMakeLists.txt b/applications/solvers/solidMechanics/deprecatedSolvers/newStressedFoam/CMakeLists.txt index 438787650..aae5294b6 100644 --- a/applications/solvers/solidMechanics/deprecatedSolvers/newStressedFoam/CMakeLists.txt +++ b/applications/solvers/solidMechanics/deprecatedSolvers/newStressedFoam/CMakeLists.txt @@ -41,6 +41,6 @@ if(NOT FOAM_FOUND) endif() add_foam_executable(newStressedFoam -# DEPENDS finiteVolume + DEPENDS materialModels SOURCES ${SOURCES} ) diff --git a/applications/solvers/solidMechanics/deprecatedSolvers/solidDisplacementFoam/CMakeLists.txt b/applications/solvers/solidMechanics/deprecatedSolvers/solidDisplacementFoam/CMakeLists.txt index 22333d16b..abe1e9019 100644 --- a/applications/solvers/solidMechanics/deprecatedSolvers/solidDisplacementFoam/CMakeLists.txt +++ b/applications/solvers/solidMechanics/deprecatedSolvers/solidDisplacementFoam/CMakeLists.txt @@ -42,6 +42,6 @@ if(NOT FOAM_FOUND) endif() add_foam_executable(solidDisplacementFoam -# DEPENDS finiteVolume + DEPENDS finiteVolume SOURCES ${SOURCES} ) diff --git a/applications/solvers/solidMechanics/deprecatedSolvers/solidEquilibriumDisplacementFoam/CMakeLists.txt b/applications/solvers/solidMechanics/deprecatedSolvers/solidEquilibriumDisplacementFoam/CMakeLists.txt index 61bc95f70..38969cf50 100644 --- a/applications/solvers/solidMechanics/deprecatedSolvers/solidEquilibriumDisplacementFoam/CMakeLists.txt +++ b/applications/solvers/solidMechanics/deprecatedSolvers/solidEquilibriumDisplacementFoam/CMakeLists.txt @@ -42,6 +42,10 @@ if(NOT FOAM_FOUND) endif() add_foam_executable(solidEquiriumDisplacementFoam -# DEPENDS finiteVolume + DEPENDS finiteVolume SOURCES ${SOURCES} ) + +target_include_directories(solidEquiriumDisplacementFoam PUBLIC + $ +) diff --git a/applications/solvers/solidMechanics/deprecatedSolvers/stressedFoam/CMakeLists.txt b/applications/solvers/solidMechanics/deprecatedSolvers/stressedFoam/CMakeLists.txt index 2b7caf2c5..944430980 100644 --- a/applications/solvers/solidMechanics/deprecatedSolvers/stressedFoam/CMakeLists.txt +++ b/applications/solvers/solidMechanics/deprecatedSolvers/stressedFoam/CMakeLists.txt @@ -42,6 +42,6 @@ if(NOT FOAM_FOUND) endif() add_foam_executable(stressedFoam -# DEPENDS finiteVolume + DEPENDS finiteVolume SOURCES ${SOURCES} ) diff --git a/applications/solvers/solidMechanics/elasticAcpSolidFoam/CMakeLists.txt b/applications/solvers/solidMechanics/elasticAcpSolidFoam/CMakeLists.txt index 1c1ca746d..f8c24aab5 100644 --- a/applications/solvers/solidMechanics/elasticAcpSolidFoam/CMakeLists.txt +++ b/applications/solvers/solidMechanics/elasticAcpSolidFoam/CMakeLists.txt @@ -41,6 +41,6 @@ if(NOT FOAM_FOUND) endif() add_foam_executable(elasticAcpSolidFoam -# DEPENDS finiteVolume + DEPENDS solidModels SOURCES ${SOURCES} ) diff --git a/applications/solvers/solidMechanics/elasticIncrAcpSolidFoam/CMakeLists.txt b/applications/solvers/solidMechanics/elasticIncrAcpSolidFoam/CMakeLists.txt index 0bac43415..3702d92fa 100644 --- a/applications/solvers/solidMechanics/elasticIncrAcpSolidFoam/CMakeLists.txt +++ b/applications/solvers/solidMechanics/elasticIncrAcpSolidFoam/CMakeLists.txt @@ -41,6 +41,6 @@ if(NOT FOAM_FOUND) endif() add_foam_executable(elasticIncrAcpSolidFoam -# DEPENDS finiteVolume + DEPENDS solidModels SOURCES ${SOURCES} ) diff --git a/applications/solvers/solidMechanics/elasticIncrSolidFoam/CMakeLists.txt b/applications/solvers/solidMechanics/elasticIncrSolidFoam/CMakeLists.txt index e69869502..2357fa38f 100644 --- a/applications/solvers/solidMechanics/elasticIncrSolidFoam/CMakeLists.txt +++ b/applications/solvers/solidMechanics/elasticIncrSolidFoam/CMakeLists.txt @@ -41,6 +41,6 @@ if(NOT FOAM_FOUND) endif() add_foam_executable(elasticIncrSolidFoam -# DEPENDS finiteVolume + DEPENDS solidModels SOURCES ${SOURCES} ) diff --git a/applications/solvers/solidMechanics/elasticNonLinIncrTLSolidFoam/CMakeLists.txt b/applications/solvers/solidMechanics/elasticNonLinIncrTLSolidFoam/CMakeLists.txt index 5712f2a0a..46eacc587 100644 --- a/applications/solvers/solidMechanics/elasticNonLinIncrTLSolidFoam/CMakeLists.txt +++ b/applications/solvers/solidMechanics/elasticNonLinIncrTLSolidFoam/CMakeLists.txt @@ -41,6 +41,6 @@ if(NOT FOAM_FOUND) endif() add_foam_executable(elasticNonLinIncrTLSolidFoam -# DEPENDS finiteVolume + DEPENDS solidModels SOURCES ${SOURCES} ) diff --git a/applications/solvers/solidMechanics/elasticNonLinTLSolidFoam/CMakeLists.txt b/applications/solvers/solidMechanics/elasticNonLinTLSolidFoam/CMakeLists.txt index 72073b7bb..7a07d9833 100644 --- a/applications/solvers/solidMechanics/elasticNonLinTLSolidFoam/CMakeLists.txt +++ b/applications/solvers/solidMechanics/elasticNonLinTLSolidFoam/CMakeLists.txt @@ -41,6 +41,6 @@ if(NOT FOAM_FOUND) endif() add_foam_executable(elasticNonLinTLSolidFoam -# DEPENDS finiteVolume + DEPENDS solidModels SOURCES ${SOURCES} ) diff --git a/applications/solvers/solidMechanics/elasticNonLinULSolidFoam/CMakeLists.txt b/applications/solvers/solidMechanics/elasticNonLinULSolidFoam/CMakeLists.txt index d01e22a7d..5a82900f2 100644 --- a/applications/solvers/solidMechanics/elasticNonLinULSolidFoam/CMakeLists.txt +++ b/applications/solvers/solidMechanics/elasticNonLinULSolidFoam/CMakeLists.txt @@ -41,6 +41,6 @@ if(NOT FOAM_FOUND) endif() add_foam_executable(elasticNonLinULSolidFoam -# DEPENDS finiteVolume + DEPENDS solidModels SOURCES ${SOURCES} ) diff --git a/applications/solvers/solidMechanics/elasticOrthoAcpSolidFoam/CMakeLists.txt b/applications/solvers/solidMechanics/elasticOrthoAcpSolidFoam/CMakeLists.txt index 7bfddc035..b589ccfeb 100644 --- a/applications/solvers/solidMechanics/elasticOrthoAcpSolidFoam/CMakeLists.txt +++ b/applications/solvers/solidMechanics/elasticOrthoAcpSolidFoam/CMakeLists.txt @@ -41,6 +41,6 @@ if(NOT FOAM_FOUND) endif() add_foam_executable(elasticOrthoAcpSolidFoam -# DEPENDS finiteVolume + DEPENDS solidModels SOURCES ${SOURCES} ) diff --git a/applications/solvers/solidMechanics/elasticOrthoNonLinULSolidFoam/CMakeLists.txt b/applications/solvers/solidMechanics/elasticOrthoNonLinULSolidFoam/CMakeLists.txt index 5550ba1e1..28421f58a 100644 --- a/applications/solvers/solidMechanics/elasticOrthoNonLinULSolidFoam/CMakeLists.txt +++ b/applications/solvers/solidMechanics/elasticOrthoNonLinULSolidFoam/CMakeLists.txt @@ -41,6 +41,6 @@ if(NOT FOAM_FOUND) endif() add_foam_executable(elasticOrthoNonLinULSolidFoam -# DEPENDS finiteVolume + DEPENDS solidModels SOURCES ${SOURCES} ) diff --git a/applications/solvers/solidMechanics/elasticOrthoSolidFoam/CMakeLists.txt b/applications/solvers/solidMechanics/elasticOrthoSolidFoam/CMakeLists.txt index 0eb6a67d2..fff0694cd 100644 --- a/applications/solvers/solidMechanics/elasticOrthoSolidFoam/CMakeLists.txt +++ b/applications/solvers/solidMechanics/elasticOrthoSolidFoam/CMakeLists.txt @@ -41,6 +41,6 @@ if(NOT FOAM_FOUND) endif() add_foam_executable(elasticOrthoSolidFoam -# DEPENDS finiteVolume + DEPENDS solidModels SOURCES ${SOURCES} ) diff --git a/applications/solvers/solidMechanics/elasticPlasticNonLinTLSolidFoam/CMakeLists.txt b/applications/solvers/solidMechanics/elasticPlasticNonLinTLSolidFoam/CMakeLists.txt index 8f89455f7..6f91548ba 100644 --- a/applications/solvers/solidMechanics/elasticPlasticNonLinTLSolidFoam/CMakeLists.txt +++ b/applications/solvers/solidMechanics/elasticPlasticNonLinTLSolidFoam/CMakeLists.txt @@ -41,6 +41,6 @@ if(NOT FOAM_FOUND) endif() add_foam_executable(elasticPlasticNonLinTLSolidFoam -# DEPENDS finiteVolume + DEPENDS solidModels SOURCES ${SOURCES} ) diff --git a/applications/solvers/solidMechanics/elasticPlasticNonLinULSolidFoam/CMakeLists.txt b/applications/solvers/solidMechanics/elasticPlasticNonLinULSolidFoam/CMakeLists.txt index 68a3e2a87..e8395c54a 100644 --- a/applications/solvers/solidMechanics/elasticPlasticNonLinULSolidFoam/CMakeLists.txt +++ b/applications/solvers/solidMechanics/elasticPlasticNonLinULSolidFoam/CMakeLists.txt @@ -41,6 +41,6 @@ if(NOT FOAM_FOUND) endif() add_foam_executable(elasticPlasticNonLinULSolidFoam -# DEPENDS finiteVolume + DEPENDS solidModels SOURCES ${SOURCES} ) diff --git a/applications/solvers/solidMechanics/elasticPlasticSolidFoam/CMakeLists.txt b/applications/solvers/solidMechanics/elasticPlasticSolidFoam/CMakeLists.txt index 208a9cb51..da68608c1 100644 --- a/applications/solvers/solidMechanics/elasticPlasticSolidFoam/CMakeLists.txt +++ b/applications/solvers/solidMechanics/elasticPlasticSolidFoam/CMakeLists.txt @@ -41,6 +41,6 @@ if(NOT FOAM_FOUND) endif() add_foam_executable(elasticPlasticSolidFoam -# DEPENDS finiteVolume + DEPENDS solidModels SOURCES ${SOURCES} ) diff --git a/applications/solvers/solidMechanics/elasticSolidFoam/CMakeLists.txt b/applications/solvers/solidMechanics/elasticSolidFoam/CMakeLists.txt index 882e9cebb..b102b65b1 100644 --- a/applications/solvers/solidMechanics/elasticSolidFoam/CMakeLists.txt +++ b/applications/solvers/solidMechanics/elasticSolidFoam/CMakeLists.txt @@ -41,6 +41,6 @@ if(NOT FOAM_FOUND) endif() add_foam_executable(elasticSolidFoam -# DEPENDS finiteVolume + DEPENDS solidModels SOURCES ${SOURCES} ) diff --git a/applications/solvers/solidMechanics/elasticThermalSolidFoam/CMakeLists.txt b/applications/solvers/solidMechanics/elasticThermalSolidFoam/CMakeLists.txt index aefe0ae52..0d79413cb 100644 --- a/applications/solvers/solidMechanics/elasticThermalSolidFoam/CMakeLists.txt +++ b/applications/solvers/solidMechanics/elasticThermalSolidFoam/CMakeLists.txt @@ -41,6 +41,6 @@ if(NOT FOAM_FOUND) endif() add_foam_executable(elasticThermalSolidFoam -# DEPENDS finiteVolume + DEPENDS solidModels SOURCES ${SOURCES} ) diff --git a/applications/solvers/solidMechanics/icoFsiElasticNonLinULSolidFoam/CMakeLists.txt b/applications/solvers/solidMechanics/icoFsiElasticNonLinULSolidFoam/CMakeLists.txt index f879d1832..f7be29266 100644 --- a/applications/solvers/solidMechanics/icoFsiElasticNonLinULSolidFoam/CMakeLists.txt +++ b/applications/solvers/solidMechanics/icoFsiElasticNonLinULSolidFoam/CMakeLists.txt @@ -41,6 +41,6 @@ if(NOT FOAM_FOUND) endif() add_foam_executable(icoFsiElasticNonLinULSolidFoam -# DEPENDS finiteVolume + DEPENDS solidModels SOURCES ${SOURCES} ) diff --git a/applications/solvers/solidMechanics/stressFemFoam/CMakeLists.txt b/applications/solvers/solidMechanics/stressFemFoam/CMakeLists.txt index acd231a46..cecdd350c 100644 --- a/applications/solvers/solidMechanics/stressFemFoam/CMakeLists.txt +++ b/applications/solvers/solidMechanics/stressFemFoam/CMakeLists.txt @@ -42,6 +42,11 @@ if(NOT FOAM_FOUND) endif() add_foam_executable(stressFemFoam -# DEPENDS finiteVolume + DEPENDS finiteVolume tetFiniteElement SOURCES ${SOURCES} ) + +target_include_directories(stressFemFoam PUBLIC + $ +) + diff --git a/applications/solvers/solidMechanics/utilities/calculateCourantNumber/CMakeLists.txt b/applications/solvers/solidMechanics/utilities/calculateCourantNumber/CMakeLists.txt index 047af9267..83a30b820 100644 --- a/applications/solvers/solidMechanics/utilities/calculateCourantNumber/CMakeLists.txt +++ b/applications/solvers/solidMechanics/utilities/calculateCourantNumber/CMakeLists.txt @@ -41,6 +41,6 @@ if(NOT FOAM_FOUND) endif() add_foam_executable(calculateCourantNumber -# DEPENDS finiteVolume + DEPENDS solidModels SOURCES ${SOURCES} ) diff --git a/applications/solvers/solidMechanics/utilities/forceDisp/CMakeLists.txt b/applications/solvers/solidMechanics/utilities/forceDisp/CMakeLists.txt index 0ba39540f..03cc1cdcb 100644 --- a/applications/solvers/solidMechanics/utilities/forceDisp/CMakeLists.txt +++ b/applications/solvers/solidMechanics/utilities/forceDisp/CMakeLists.txt @@ -41,6 +41,6 @@ if(NOT FOAM_FOUND) endif() add_foam_executable(forceDisp -# DEPENDS finiteVolume + DEPENDS finiteVolume SOURCES ${SOURCES} ) diff --git a/applications/solvers/solidMechanics/utilities/patchStressIntegrate/CMakeLists.txt b/applications/solvers/solidMechanics/utilities/patchStressIntegrate/CMakeLists.txt index 2897e58f9..1473c9eca 100644 --- a/applications/solvers/solidMechanics/utilities/patchStressIntegrate/CMakeLists.txt +++ b/applications/solvers/solidMechanics/utilities/patchStressIntegrate/CMakeLists.txt @@ -41,6 +41,6 @@ if(NOT FOAM_FOUND) endif() add_foam_executable(patchStressIntegrate -# DEPENDS finiteVolume + DEPENDS finiteVolume SOURCES ${SOURCES} ) diff --git a/applications/solvers/solidMechanics/utilities/smoothMesh/CMakeLists.txt b/applications/solvers/solidMechanics/utilities/smoothMesh/CMakeLists.txt index e8919fb6a..c31490e81 100644 --- a/applications/solvers/solidMechanics/utilities/smoothMesh/CMakeLists.txt +++ b/applications/solvers/solidMechanics/utilities/smoothMesh/CMakeLists.txt @@ -41,6 +41,6 @@ if(NOT FOAM_FOUND) endif() add_foam_executable(smoothMesh -# DEPENDS finiteVolume + DEPENDS finiteVolume SOURCES ${SOURCES} ) diff --git a/applications/solvers/solidMechanics/utilities/surfaceTractions/CMakeLists.txt b/applications/solvers/solidMechanics/utilities/surfaceTractions/CMakeLists.txt index 1c9d604db..b96200730 100644 --- a/applications/solvers/solidMechanics/utilities/surfaceTractions/CMakeLists.txt +++ b/applications/solvers/solidMechanics/utilities/surfaceTractions/CMakeLists.txt @@ -41,6 +41,6 @@ if(NOT FOAM_FOUND) endif() add_foam_executable(surfaceTractions -# DEPENDS finiteVolume + DEPENDS finiteVolume SOURCES ${SOURCES} ) diff --git a/applications/solvers/solidMechanics/viscoElasticSolidFoam/CMakeLists.txt b/applications/solvers/solidMechanics/viscoElasticSolidFoam/CMakeLists.txt index 4d48176e4..5095215cc 100644 --- a/applications/solvers/solidMechanics/viscoElasticSolidFoam/CMakeLists.txt +++ b/applications/solvers/solidMechanics/viscoElasticSolidFoam/CMakeLists.txt @@ -41,6 +41,6 @@ if(NOT FOAM_FOUND) endif() add_foam_executable(viscoElasticSolidFoam -# DEPENDS finiteVolume + DEPENDS solidModels SOURCES ${SOURCES} ) diff --git a/applications/solvers/surfaceTracking/bubbleInterTrackFoam/CMakeLists.txt b/applications/solvers/surfaceTracking/bubbleInterTrackFoam/CMakeLists.txt index aa714c49d..e5ed8cb74 100644 --- a/applications/solvers/surfaceTracking/bubbleInterTrackFoam/CMakeLists.txt +++ b/applications/solvers/surfaceTracking/bubbleInterTrackFoam/CMakeLists.txt @@ -41,6 +41,11 @@ if(NOT FOAM_FOUND) endif() add_foam_executable(bubbleInterTrackFoam -# DEPENDS finiteVolume + DEPENDS freeSurface SOURCES ${SOURCES} ) + +target_include_directories(bubbleInterTrackFoam PUBLIC + $ + $ +) diff --git a/applications/solvers/surfaceTracking/freeSurface/CMakeLists.txt b/applications/solvers/surfaceTracking/freeSurface/CMakeLists.txt index 2742c3fd0..3e6c9982c 100644 --- a/applications/solvers/surfaceTracking/freeSurface/CMakeLists.txt +++ b/applications/solvers/surfaceTracking/freeSurface/CMakeLists.txt @@ -49,4 +49,4 @@ list(APPEND SOURCES add_foam_library(freeSurface SHARED ${SOURCES}) -#target_link_libraries(freeSurface finiteVolume) +target_link_libraries(freeSurface PUBLIC finiteArea dynamicFvMesh) diff --git a/applications/solvers/surfaceTracking/interTrackFoam/CMakeLists.txt b/applications/solvers/surfaceTracking/interTrackFoam/CMakeLists.txt index 25ee05e89..e7ebd934d 100644 --- a/applications/solvers/surfaceTracking/interTrackFoam/CMakeLists.txt +++ b/applications/solvers/surfaceTracking/interTrackFoam/CMakeLists.txt @@ -41,6 +41,10 @@ if(NOT FOAM_FOUND) endif() add_foam_executable(interTrackFoam -# DEPENDS finiteVolume + DEPENDS freeSurface SOURCES ${SOURCES} ) + +target_include_directories(interTrackFoam PUBLIC + $ +) diff --git a/applications/solvers/surfaceTracking/utilities/setFluidIndicator/CMakeLists.txt b/applications/solvers/surfaceTracking/utilities/setFluidIndicator/CMakeLists.txt index 41b6070cb..bd941785e 100644 --- a/applications/solvers/surfaceTracking/utilities/setFluidIndicator/CMakeLists.txt +++ b/applications/solvers/surfaceTracking/utilities/setFluidIndicator/CMakeLists.txt @@ -41,6 +41,6 @@ if(NOT FOAM_FOUND) endif() add_foam_executable(setFluidIndicator -# DEPENDS finiteVolume + DEPENDS freeSurface SOURCES ${SOURCES} ) diff --git a/applications/solvers/viscoelastic/viscoelasticFluidFoam/CMakeLists.txt b/applications/solvers/viscoelastic/viscoelasticFluidFoam/CMakeLists.txt index 2dc7e5836..ca10bd5e6 100644 --- a/applications/solvers/viscoelastic/viscoelasticFluidFoam/CMakeLists.txt +++ b/applications/solvers/viscoelastic/viscoelasticFluidFoam/CMakeLists.txt @@ -41,6 +41,6 @@ if(NOT FOAM_FOUND) endif() add_foam_executable(viscoelasticFluidFoam -# DEPENDS finiteVolume + DEPENDS viscoelasticTransportModels SOURCES ${SOURCES} ) From 0affdbfe19afedacf377e985e99a37eacddb9643 Mon Sep 17 00:00:00 2001 From: Robert Keser Date: Tue, 7 Mar 2017 14:27:31 +0100 Subject: [PATCH 016/361] Transition to cmake build system (added dbns and minor changes) --- CMakeLists.txt | 17 ++++++++++++++--- applications/CMakeLists.txt | 5 +++-- applications/solvers/CMakeLists.txt | 3 ++- applications/solvers/DNS/CMakeLists.txt | 3 ++- applications/solvers/basic/CMakeLists.txt | 3 ++- applications/solvers/combustion/CMakeLists.txt | 3 ++- .../solvers/combustion/XiFoam/CMakeLists.txt | 3 +-- .../combustion/engineFoam/CMakeLists.txt | 3 +-- .../solvers/combustion/fireFoam/CMakeLists.txt | 3 ++- .../fireFoam/combustionModels/CMakeLists.txt | 9 +-------- .../solvers/compressible/CMakeLists.txt | 7 ++++--- .../compressible/dbnsFoam/CMakeLists.txt | 2 +- .../compressible/dbnsTurbFoam/CMakeLists.txt | 2 +- .../compressible/rhoCentralFoam/CMakeLists.txt | 3 ++- .../rhoPorousSimpleFoam/CMakeLists.txt | 4 ---- .../compressible/rhoSimpleFoam/CMakeLists.txt | 4 ---- .../compressible/rhopSonicFoam/CMakeLists.txt | 3 ++- applications/solvers/coupled/CMakeLists.txt | 3 ++- .../solvers/discreteMethods/CMakeLists.txt | 3 ++- .../solvers/discreteMethods/dsmc/CMakeLists.txt | 3 ++- .../molecularDynamics/CMakeLists.txt | 3 ++- .../solvers/electromagnetics/CMakeLists.txt | 3 ++- applications/solvers/engine/CMakeLists.txt | 3 ++- .../sonicTurbDyMEngineFoam/CMakeLists.txt | 2 +- applications/solvers/financial/CMakeLists.txt | 3 ++- applications/solvers/finiteArea/CMakeLists.txt | 3 ++- .../solvers/heatTransfer/CMakeLists.txt | 3 ++- .../solvers/immersedBoundary/CMakeLists.txt | 3 ++- .../solvers/incompressible/CMakeLists.txt | 3 ++- applications/solvers/lagrangian/CMakeLists.txt | 3 ++- .../lagrangian/coalChemistryFoam/CMakeLists.txt | 3 +-- .../CMakeLists.txt | 3 +-- .../reactingParcelFoam/CMakeLists.txt | 3 +-- .../uncoupledKinematicParcelFoam/CMakeLists.txt | 2 +- applications/solvers/multiSolver/CMakeLists.txt | 3 ++- .../multiSolver/multiSolverDemo/CMakeLists.txt | 4 ---- applications/solvers/multiphase/CMakeLists.txt | 5 +++-- .../multiphase/MRFInterFoam/CMakeLists.txt | 2 +- .../multiphase/cavitatingFoam/CMakeLists.txt | 3 +-- .../compressibleInterDyMFoam/CMakeLists.txt | 3 +-- .../compressibleInterFoam/CMakeLists.txt | 2 +- .../multiphase/interDyMFoam/CMakeLists.txt | 4 +--- .../solvers/multiphase/interFoam/CMakeLists.txt | 2 +- .../multiphase/interMixingFoam/CMakeLists.txt | 2 +- .../interPhaseChangeFoam/CMakeLists.txt | 2 +- .../multiphaseInterFoam/CMakeLists.txt | 2 +- .../multiphase/porousInterFoam/CMakeLists.txt | 3 +-- .../twoLiquidMixingFoam/CMakeLists.txt | 2 +- .../multiphase/twoPhaseEulerFoam/CMakeLists.txt | 3 ++- .../interfacialModels/CMakeLists.txt | 6 +----- .../kineticTheoryModels/CMakeLists.txt | 4 +--- .../twoPhaseEulerFoam/phaseModel/CMakeLists.txt | 2 +- .../solvers/solidMechanics/CMakeLists.txt | 3 ++- .../deprecatedSolvers/CMakeLists.txt | 3 ++- .../solidMechanics/utilities/CMakeLists.txt | 3 ++- .../solvers/surfaceTracking/CMakeLists.txt | 3 ++- .../bubbleInterTrackFoam/CMakeLists.txt | 1 - .../surfaceTracking/utilities/CMakeLists.txt | 3 ++- .../solvers/viscoelastic/CMakeLists.txt | 3 ++- applications/utilities/CMakeLists.txt | 3 ++- .../utilities/errorEstimation/CMakeLists.txt | 3 ++- .../utilities/finiteArea/CMakeLists.txt | 3 ++- .../utilities/immersedBoundary/CMakeLists.txt | 3 ++- applications/utilities/mesh/CMakeLists.txt | 3 ++- .../utilities/mesh/advanced/CMakeLists.txt | 3 ++- .../utilities/mesh/conversion/CMakeLists.txt | 3 ++- .../mesh/conversion/Optional/CMakeLists.txt | 3 ++- .../mesh/conversion/star4ToFoam/CMakeLists.txt | 3 ++- .../utilities/mesh/generation/CMakeLists.txt | 3 ++- .../mesh/generation/cfMesh/CMakeLists.txt | 3 ++- .../utilities/mesh/manipulation/CMakeLists.txt | 3 ++- .../utilities/miscellaneous/CMakeLists.txt | 3 ++- .../miscellaneous/autoDerivative/CMakeLists.txt | 3 ++- .../utilities/parallelProcessing/CMakeLists.txt | 3 ++- .../utilities/postProcessing/CMakeLists.txt | 3 ++- .../utilities/postProcessing/POD/CMakeLists.txt | 3 ++- .../dataConversion/CMakeLists.txt | 3 ++- .../foamToTecplot360/CMakeLists.txt | 3 ++- .../foamToTecplot360/tecio/CMakeLists.txt | 3 ++- .../postProcessing/graphics/CMakeLists.txt | 3 ++- .../graphics/PV3FoamReader/CMakeLists.txt | 3 ++- .../graphics/PVFoamReader/CMakeLists.txt | 3 ++- .../postProcessing/lagrangian/CMakeLists.txt | 3 ++- .../postProcessing/miscellaneous/CMakeLists.txt | 3 ++- .../postProcessing/patch/CMakeLists.txt | 3 ++- .../postProcessing/sampling/CMakeLists.txt | 3 ++- .../postProcessing/scalarField/CMakeLists.txt | 3 ++- .../postProcessing/stressField/CMakeLists.txt | 3 ++- .../postProcessing/turbulence/CMakeLists.txt | 3 ++- .../postProcessing/velocityField/CMakeLists.txt | 3 ++- .../postProcessing/viscoelastic/CMakeLists.txt | 3 ++- .../postProcessing/wall/CMakeLists.txt | 3 ++- .../utilities/preProcessing/CMakeLists.txt | 3 ++- .../utilities/solidMechanics/CMakeLists.txt | 3 ++- .../utilities/thermophysical/CMakeLists.txt | 3 ++- src/CMakeLists.txt | 5 +++-- src/OSspecific/CMakeLists.txt | 3 ++- src/cudaSolvers/CMakeLists.txt | 2 +- src/dbns/CMakeLists.txt | 8 +++++++- src/decompositionMethods/CMakeLists.txt | 3 ++- src/dynamicMesh/CMakeLists.txt | 3 ++- src/dynamicMesh/meshMotion/CMakeLists.txt | 3 ++- src/finiteVolume/CMakeLists.txt | 4 ++++ src/fvAgglomerationMethods/CMakeLists.txt | 3 ++- src/immersedBoundary/CMakeLists.txt | 3 ++- src/lagrangian/CMakeLists.txt | 3 ++- src/lagrangian/molecularDynamics/CMakeLists.txt | 3 ++- src/mesh/CMakeLists.txt | 3 ++- src/postProcessing/CMakeLists.txt | 3 ++- .../functionObjects/CMakeLists.txt | 3 ++- src/thermophysicalModels/CMakeLists.txt | 3 ++- src/transportModels/CMakeLists.txt | 3 ++- .../incompressible/CMakeLists.txt | 1 - src/turbulenceModels/CMakeLists.txt | 3 ++- src/turbulenceModels/LES/CMakeLists.txt | 3 ++- .../compressible/CMakeLists.txt | 3 ++- .../incompressible/CMakeLists.txt | 3 ++- tutorials/CMakeLists.txt | 3 ++- tutorials/basic/CMakeLists.txt | 3 ++- .../basic/PODSolver/1DPODsin/CMakeLists.txt | 3 ++- tutorials/basic/PODSolver/CMakeLists.txt | 3 ++- tutorials/basic/potentialFoam/CMakeLists.txt | 3 ++- .../basic/potentialFoam/cylinder/CMakeLists.txt | 3 ++- .../basic/scalarTransportFoam/CMakeLists.txt | 3 ++- .../swirlTest/CMakeLists.txt | 3 ++- tutorials/compressible/CMakeLists.txt | 3 ++- .../compressible/rhoCentralFoam/CMakeLists.txt | 3 ++- .../biconic25-55Run35/CMakeLists.txt | 3 ++- tutorials/finiteArea/CMakeLists.txt | 3 ++- .../finiteArea/liquidFilmFoam/CMakeLists.txt | 3 ++- .../dropsSpreading/CMakeLists.txt | 3 ++- .../finiteArea/surfactantFoam/CMakeLists.txt | 3 ++- .../sphereTransport/CMakeLists.txt | 3 ++- tutorials/heatTransfer/CMakeLists.txt | 3 ++- .../heatTransfer/buoyantPisoFoam/CMakeLists.txt | 3 ++- .../buoyantPisoFoam/hotRoom/CMakeLists.txt | 3 ++- tutorials/immersedBoundary/CMakeLists.txt | 3 ++- .../sphereInChannel/CMakeLists.txt | 3 ++- .../thickPlateRefinedMesh/CMakeLists.txt | 3 ++- tutorials/incompressible/CMakeLists.txt | 3 ++- .../incompressible/icoDyMFoam/CMakeLists.txt | 3 ++- .../icoDyMFoam/movingBlockRBF/CMakeLists.txt | 3 ++- .../icoDyMFoam/movingConeMotion/CMakeLists.txt | 3 ++- tutorials/lagrangian/CMakeLists.txt | 3 ++- .../lagrangian/icoLagrangianFoam/CMakeLists.txt | 3 ++- .../rhoPisoTwinParcelFoam/CMakeLists.txt | 3 ++- tutorials/multiphase/CMakeLists.txt | 3 ++- .../multiphase/interDyMFoam/CMakeLists.txt | 3 ++- .../multiphase/interDyMFoam/ras/CMakeLists.txt | 3 ++- .../ras/sloshingTank3D6DoF/CMakeLists.txt | 3 ++- tutorials/solidMechanics/CMakeLists.txt | 3 ++- .../elasticSolidFoam/CMakeLists.txt | 3 ++- .../elasticSolidFoam/plateHole/CMakeLists.txt | 3 ++- .../elasticThermalSolidFoam/CMakeLists.txt | 3 ++- .../hotCylinder/CMakeLists.txt | 3 ++- .../analyticalHotCylinder/CMakeLists.txt | 3 ++- 156 files changed, 301 insertions(+), 194 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 4d19ced00..539ad5613 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -72,13 +72,24 @@ set_property(TARGET mpi PROPERTY INTERFACE_INCLUDE_DIRECTORIES ${MPI_C_INCLUDE_P set_property(TARGET mpi PROPERTY IMPORTED_LOCATION ${MPI_LIBRARY}) find_package(ZLIB REQUIRED) - + find_package(FLEX REQUIRED) find_package(Git REQUIRED) +# Path to ParaViewConfig.cmake +set(ParaView_DIR ${CMAKE_CURRENT_SOURCE_DIR}/ThirdParty/packages/ParaView-4.4.0/platforms/linux64GccDPOpt/lib/cmake/paraview-4.4) + find_package(ParaView REQUIRED) +# Clean the cache variable +set(MGRIDGEN_LIBRARY MGRIDGEN_LIBRARY-NOTFOUND) + +# Find libMGridGen.so +find_library(MGRIDGEN_LIBRARY MGridGen ${CMAKE_CURRENT_SOURCE_DIR}/ThirdParty/packages/ParMGridGen-1.0/platforms/linux64GccDPOpt/lib) +set(MGRIDGEN_INCLUDES ${CMAKE_CURRENT_SOURCE_DIR}/ThirdParty/packages/ParMGridGen-1.0/platforms/linux64GccDPOpt/include) + + # # Recurse into the source # @@ -102,14 +113,14 @@ if(NOT CMAKE_BUILD_TYPE) "Choose the type of build, options are: None Debug Release RelWithDebInfo MinSizeRel." FORCE) endif() - + # # Definitions inherited by all targets # # Single/Double precision set(FOAM_PRECISION "double" CACHE STRING "Numerical precision") -set_property(CACHE FOAM_PRECISION PROPERTY STRINGS single double) +set_property(CACHE FOAM_PRECISION PROPERTY STRINGS single double) if(FOAM_PRECISION EQUAL "single") target_compile_definitions(OSspecific PUBLIC WM_SP) else() diff --git a/applications/CMakeLists.txt b/applications/CMakeLists.txt index 7590a1788..8ff13b174 100644 --- a/applications/CMakeLists.txt +++ b/applications/CMakeLists.txt @@ -1,4 +1,5 @@ -# --------------------------------------------------------------------------# ======== | +# -------------------------------------------------------------------------- +# ======== | # \ / F ield | foam-extend: Open Source CFD # \ / O peration | Version: 4.1 # \ / A nd | Web: http://www.foam-extend.org @@ -30,4 +31,4 @@ # -------------------------------------------------------------------------- add_subdirectory(utilities) -add_subdirectory(solvers) \ No newline at end of file +add_subdirectory(solvers) diff --git a/applications/solvers/CMakeLists.txt b/applications/solvers/CMakeLists.txt index 960a075d3..eec85dfe2 100644 --- a/applications/solvers/CMakeLists.txt +++ b/applications/solvers/CMakeLists.txt @@ -1,4 +1,5 @@ -# --------------------------------------------------------------------------# ======== | +# -------------------------------------------------------------------------- +# ======== | # \ / F ield | foam-extend: Open Source CFD # \ / O peration | Version: 4.1 # \ / A nd | Web: http://www.foam-extend.org diff --git a/applications/solvers/DNS/CMakeLists.txt b/applications/solvers/DNS/CMakeLists.txt index a31352d4e..1143571cf 100644 --- a/applications/solvers/DNS/CMakeLists.txt +++ b/applications/solvers/DNS/CMakeLists.txt @@ -1,4 +1,5 @@ -# --------------------------------------------------------------------------# ======== | +# -------------------------------------------------------------------------- +# ======== | # \ / F ield | foam-extend: Open Source CFD # \ / O peration | Version: 4.1 # \ / A nd | Web: http://www.foam-extend.org diff --git a/applications/solvers/basic/CMakeLists.txt b/applications/solvers/basic/CMakeLists.txt index 1e032ce16..4324f1f97 100644 --- a/applications/solvers/basic/CMakeLists.txt +++ b/applications/solvers/basic/CMakeLists.txt @@ -1,4 +1,5 @@ -# --------------------------------------------------------------------------# ======== | +# -------------------------------------------------------------------------- +# ======== | # \ / F ield | foam-extend: Open Source CFD # \ / O peration | Version: 4.1 # \ / A nd | Web: http://www.foam-extend.org diff --git a/applications/solvers/combustion/CMakeLists.txt b/applications/solvers/combustion/CMakeLists.txt index 8ea223117..095c01c64 100644 --- a/applications/solvers/combustion/CMakeLists.txt +++ b/applications/solvers/combustion/CMakeLists.txt @@ -1,4 +1,5 @@ -# --------------------------------------------------------------------------# ======== | +# -------------------------------------------------------------------------- +# ======== | # \ / F ield | foam-extend: Open Source CFD # \ / O peration | Version: 4.1 # \ / A nd | Web: http://www.foam-extend.org diff --git a/applications/solvers/combustion/XiFoam/CMakeLists.txt b/applications/solvers/combustion/XiFoam/CMakeLists.txt index 11f4ff1d8..7a8786c89 100644 --- a/applications/solvers/combustion/XiFoam/CMakeLists.txt +++ b/applications/solvers/combustion/XiFoam/CMakeLists.txt @@ -41,7 +41,6 @@ if(NOT FOAM_FOUND) endif() add_foam_executable(XiFoam - DEPENDS reactionThermophysicalModels engine compressibleTurbulenceModel - DEPENDS laminarFlameSpeedModels + DEPENDS engine compressibleTurbulenceModel laminarFlameSpeedModels SOURCES ${SOURCES} ) diff --git a/applications/solvers/combustion/engineFoam/CMakeLists.txt b/applications/solvers/combustion/engineFoam/CMakeLists.txt index fece520e3..c41002435 100644 --- a/applications/solvers/combustion/engineFoam/CMakeLists.txt +++ b/applications/solvers/combustion/engineFoam/CMakeLists.txt @@ -41,8 +41,7 @@ if(NOT FOAM_FOUND) endif() add_foam_executable(engineFoam - DEPENDS reactionThermophysicalModels engine compressibleTurbulenceModel - DEPENDS laminarFlameSpeedModels + DEPENDS engine compressibleTurbulenceModel laminarFlameSpeedModels SOURCES ${SOURCES} ) diff --git a/applications/solvers/combustion/fireFoam/CMakeLists.txt b/applications/solvers/combustion/fireFoam/CMakeLists.txt index 2afdcea2f..891dab31b 100644 --- a/applications/solvers/combustion/fireFoam/CMakeLists.txt +++ b/applications/solvers/combustion/fireFoam/CMakeLists.txt @@ -1,4 +1,5 @@ -# --------------------------------------------------------------------------# ======== | +# -------------------------------------------------------------------------- +# ======== | # \ / F ield | foam-extend: Open Source CFD # \ / O peration | Version: 4.1 # \ / A nd | Web: http://www.foam-extend.org diff --git a/applications/solvers/combustion/fireFoam/combustionModels/CMakeLists.txt b/applications/solvers/combustion/fireFoam/combustionModels/CMakeLists.txt index 9e51acbf1..c24bbdfd2 100644 --- a/applications/solvers/combustion/fireFoam/combustionModels/CMakeLists.txt +++ b/applications/solvers/combustion/fireFoam/combustionModels/CMakeLists.txt @@ -39,11 +39,4 @@ list(APPEND SOURCES add_foam_library(combustionModels SHARED ${SOURCES}) -target_link_libraries(combustionModels finiteVolume) - -target_include_directories(combustionModels PUBLIC - $ - $ - $ - $ -) +target_link_libraries(combustionModels PUBLIC reactionThermophysicalModels compressibleTurbulenceModel) diff --git a/applications/solvers/compressible/CMakeLists.txt b/applications/solvers/compressible/CMakeLists.txt index 473be5284..db1a0b5f7 100644 --- a/applications/solvers/compressible/CMakeLists.txt +++ b/applications/solvers/compressible/CMakeLists.txt @@ -1,4 +1,5 @@ -# --------------------------------------------------------------------------# ======== | +# -------------------------------------------------------------------------- +# ======== | # \ / F ield | foam-extend: Open Source CFD # \ / O peration | Version: 4.1 # \ / A nd | Web: http://www.foam-extend.org @@ -40,11 +41,11 @@ add_subdirectory(rhoPorousMRFPimpleFoam) add_subdirectory(rhopSonicFoam) add_subdirectory(rhoPisoFoam) add_subdirectory(steadyCompressibleFoam) -#add_subdirectory(dbnsFoam) +add_subdirectory(dbnsFoam) add_subdirectory(steadyUniversalFoam) add_subdirectory(steadyCompressibleMRFFoam) add_subdirectory(rhoSimpleFoam) add_subdirectory(sonicLiquidFoam) add_subdirectory(rhoCentralFoam) add_subdirectory(rhoPorousSimpleFoam) -#add_subdirectory(dbnsTurbFoam) +add_subdirectory(dbnsTurbFoam) diff --git a/applications/solvers/compressible/dbnsFoam/CMakeLists.txt b/applications/solvers/compressible/dbnsFoam/CMakeLists.txt index ad9a93677..e06056367 100644 --- a/applications/solvers/compressible/dbnsFoam/CMakeLists.txt +++ b/applications/solvers/compressible/dbnsFoam/CMakeLists.txt @@ -41,6 +41,6 @@ if(NOT FOAM_FOUND) endif() add_foam_executable(dbnsFoam - DEPENDS basicThermophysicalModels dbns + DEPENDS dbns SOURCES ${SOURCES} ) diff --git a/applications/solvers/compressible/dbnsTurbFoam/CMakeLists.txt b/applications/solvers/compressible/dbnsTurbFoam/CMakeLists.txt index e550791c0..9fc434c8a 100644 --- a/applications/solvers/compressible/dbnsTurbFoam/CMakeLists.txt +++ b/applications/solvers/compressible/dbnsTurbFoam/CMakeLists.txt @@ -41,6 +41,6 @@ if(NOT FOAM_FOUND) endif() add_foam_executable(dbnsTurbFoam -# DEPENDS finiteVolume + DEPENDS dbns SOURCES ${SOURCES} ) diff --git a/applications/solvers/compressible/rhoCentralFoam/CMakeLists.txt b/applications/solvers/compressible/rhoCentralFoam/CMakeLists.txt index d9a335de8..18725c311 100644 --- a/applications/solvers/compressible/rhoCentralFoam/CMakeLists.txt +++ b/applications/solvers/compressible/rhoCentralFoam/CMakeLists.txt @@ -1,4 +1,5 @@ -# --------------------------------------------------------------------------# ======== | +# -------------------------------------------------------------------------- +# ======== | # \ / F ield | foam-extend: Open Source CFD # \ / O peration | Version: 4.1 # \ / A nd | Web: http://www.foam-extend.org diff --git a/applications/solvers/compressible/rhoPorousSimpleFoam/CMakeLists.txt b/applications/solvers/compressible/rhoPorousSimpleFoam/CMakeLists.txt index e9625d07a..c97da0e64 100644 --- a/applications/solvers/compressible/rhoPorousSimpleFoam/CMakeLists.txt +++ b/applications/solvers/compressible/rhoPorousSimpleFoam/CMakeLists.txt @@ -44,7 +44,3 @@ add_foam_executable(rhoPorousSimpleFoam DEPENDS compressibleRASModels SOURCES ${SOURCES} ) - -target_include_directories(rhoPorousSimpleFoam PUBLIC - $ -) diff --git a/applications/solvers/compressible/rhoSimpleFoam/CMakeLists.txt b/applications/solvers/compressible/rhoSimpleFoam/CMakeLists.txt index 148a64140..48d683d51 100644 --- a/applications/solvers/compressible/rhoSimpleFoam/CMakeLists.txt +++ b/applications/solvers/compressible/rhoSimpleFoam/CMakeLists.txt @@ -44,7 +44,3 @@ add_foam_executable(rhoSimpleFoam DEPENDS compressibleRASModels SOURCES ${SOURCES} ) - -target_include_directories(rhoSimpleFoam PUBLIC - $ -) diff --git a/applications/solvers/compressible/rhopSonicFoam/CMakeLists.txt b/applications/solvers/compressible/rhopSonicFoam/CMakeLists.txt index d9a335de8..18725c311 100644 --- a/applications/solvers/compressible/rhopSonicFoam/CMakeLists.txt +++ b/applications/solvers/compressible/rhopSonicFoam/CMakeLists.txt @@ -1,4 +1,5 @@ -# --------------------------------------------------------------------------# ======== | +# -------------------------------------------------------------------------- +# ======== | # \ / F ield | foam-extend: Open Source CFD # \ / O peration | Version: 4.1 # \ / A nd | Web: http://www.foam-extend.org diff --git a/applications/solvers/coupled/CMakeLists.txt b/applications/solvers/coupled/CMakeLists.txt index c52cdff18..f1d304bee 100644 --- a/applications/solvers/coupled/CMakeLists.txt +++ b/applications/solvers/coupled/CMakeLists.txt @@ -1,4 +1,5 @@ -# --------------------------------------------------------------------------# ======== | +# -------------------------------------------------------------------------- +# ======== | # \ / F ield | foam-extend: Open Source CFD # \ / O peration | Version: 4.1 # \ / A nd | Web: http://www.foam-extend.org diff --git a/applications/solvers/discreteMethods/CMakeLists.txt b/applications/solvers/discreteMethods/CMakeLists.txt index b3fbc03f0..6e90bc0e7 100644 --- a/applications/solvers/discreteMethods/CMakeLists.txt +++ b/applications/solvers/discreteMethods/CMakeLists.txt @@ -1,4 +1,5 @@ -# --------------------------------------------------------------------------# ======== | +# -------------------------------------------------------------------------- +# ======== | # \ / F ield | foam-extend: Open Source CFD # \ / O peration | Version: 4.1 # \ / A nd | Web: http://www.foam-extend.org diff --git a/applications/solvers/discreteMethods/dsmc/CMakeLists.txt b/applications/solvers/discreteMethods/dsmc/CMakeLists.txt index 49b29ec4e..804f1a363 100644 --- a/applications/solvers/discreteMethods/dsmc/CMakeLists.txt +++ b/applications/solvers/discreteMethods/dsmc/CMakeLists.txt @@ -1,4 +1,5 @@ -# --------------------------------------------------------------------------# ======== | +# -------------------------------------------------------------------------- +# ======== | # \ / F ield | foam-extend: Open Source CFD # \ / O peration | Version: 4.1 # \ / A nd | Web: http://www.foam-extend.org diff --git a/applications/solvers/discreteMethods/molecularDynamics/CMakeLists.txt b/applications/solvers/discreteMethods/molecularDynamics/CMakeLists.txt index 8da6f442c..ed10617c0 100644 --- a/applications/solvers/discreteMethods/molecularDynamics/CMakeLists.txt +++ b/applications/solvers/discreteMethods/molecularDynamics/CMakeLists.txt @@ -1,4 +1,5 @@ -# --------------------------------------------------------------------------# ======== | +# -------------------------------------------------------------------------- +# ======== | # \ / F ield | foam-extend: Open Source CFD # \ / O peration | Version: 4.1 # \ / A nd | Web: http://www.foam-extend.org diff --git a/applications/solvers/electromagnetics/CMakeLists.txt b/applications/solvers/electromagnetics/CMakeLists.txt index 28c1feef0..74fd23060 100644 --- a/applications/solvers/electromagnetics/CMakeLists.txt +++ b/applications/solvers/electromagnetics/CMakeLists.txt @@ -1,4 +1,5 @@ -# --------------------------------------------------------------------------# ======== | +# -------------------------------------------------------------------------- +# ======== | # \ / F ield | foam-extend: Open Source CFD # \ / O peration | Version: 4.1 # \ / A nd | Web: http://www.foam-extend.org diff --git a/applications/solvers/engine/CMakeLists.txt b/applications/solvers/engine/CMakeLists.txt index 3f15c5960..f4ae8f80b 100644 --- a/applications/solvers/engine/CMakeLists.txt +++ b/applications/solvers/engine/CMakeLists.txt @@ -1,4 +1,5 @@ -# --------------------------------------------------------------------------# ======== | +# -------------------------------------------------------------------------- +# ======== | # \ / F ield | foam-extend: Open Source CFD # \ / O peration | Version: 4.1 # \ / A nd | Web: http://www.foam-extend.org diff --git a/applications/solvers/engine/sonicTurbDyMEngineFoam/CMakeLists.txt b/applications/solvers/engine/sonicTurbDyMEngineFoam/CMakeLists.txt index 43b571200..1ff6a36ec 100644 --- a/applications/solvers/engine/sonicTurbDyMEngineFoam/CMakeLists.txt +++ b/applications/solvers/engine/sonicTurbDyMEngineFoam/CMakeLists.txt @@ -41,6 +41,6 @@ if(NOT FOAM_FOUND) endif() add_foam_executable(sonicTurbDyMEngineFoam - DEPENDS basicThermophysicalModels compressibleTurbulenceModel engine + DEPENDS compressibleTurbulenceModel engine SOURCES ${SOURCES} ) diff --git a/applications/solvers/financial/CMakeLists.txt b/applications/solvers/financial/CMakeLists.txt index c3ef7c5d3..3250f3fe7 100644 --- a/applications/solvers/financial/CMakeLists.txt +++ b/applications/solvers/financial/CMakeLists.txt @@ -1,4 +1,5 @@ -# --------------------------------------------------------------------------# ======== | +# -------------------------------------------------------------------------- +# ======== | # \ / F ield | foam-extend: Open Source CFD # \ / O peration | Version: 4.1 # \ / A nd | Web: http://www.foam-extend.org diff --git a/applications/solvers/finiteArea/CMakeLists.txt b/applications/solvers/finiteArea/CMakeLists.txt index 505bf7efb..c9f2fe833 100644 --- a/applications/solvers/finiteArea/CMakeLists.txt +++ b/applications/solvers/finiteArea/CMakeLists.txt @@ -1,4 +1,5 @@ -# --------------------------------------------------------------------------# ======== | +# -------------------------------------------------------------------------- +# ======== | # \ / F ield | foam-extend: Open Source CFD # \ / O peration | Version: 4.1 # \ / A nd | Web: http://www.foam-extend.org diff --git a/applications/solvers/heatTransfer/CMakeLists.txt b/applications/solvers/heatTransfer/CMakeLists.txt index 91dd945ff..fc3068890 100644 --- a/applications/solvers/heatTransfer/CMakeLists.txt +++ b/applications/solvers/heatTransfer/CMakeLists.txt @@ -1,4 +1,5 @@ -# --------------------------------------------------------------------------# ======== | +# -------------------------------------------------------------------------- +# ======== | # \ / F ield | foam-extend: Open Source CFD # \ / O peration | Version: 4.1 # \ / A nd | Web: http://www.foam-extend.org diff --git a/applications/solvers/immersedBoundary/CMakeLists.txt b/applications/solvers/immersedBoundary/CMakeLists.txt index 5420b65d0..19bb1ec34 100644 --- a/applications/solvers/immersedBoundary/CMakeLists.txt +++ b/applications/solvers/immersedBoundary/CMakeLists.txt @@ -1,4 +1,5 @@ -# --------------------------------------------------------------------------# ======== | +# -------------------------------------------------------------------------- +# ======== | # \ / F ield | foam-extend: Open Source CFD # \ / O peration | Version: 4.1 # \ / A nd | Web: http://www.foam-extend.org diff --git a/applications/solvers/incompressible/CMakeLists.txt b/applications/solvers/incompressible/CMakeLists.txt index 70dbeb1b3..a9ba4fafd 100644 --- a/applications/solvers/incompressible/CMakeLists.txt +++ b/applications/solvers/incompressible/CMakeLists.txt @@ -1,4 +1,5 @@ -# --------------------------------------------------------------------------# ======== | +# -------------------------------------------------------------------------- +# ======== | # \ / F ield | foam-extend: Open Source CFD # \ / O peration | Version: 4.1 # \ / A nd | Web: http://www.foam-extend.org diff --git a/applications/solvers/lagrangian/CMakeLists.txt b/applications/solvers/lagrangian/CMakeLists.txt index 6339e3bcf..73de7974b 100644 --- a/applications/solvers/lagrangian/CMakeLists.txt +++ b/applications/solvers/lagrangian/CMakeLists.txt @@ -1,4 +1,5 @@ -# --------------------------------------------------------------------------# ======== | +# -------------------------------------------------------------------------- +# ======== | # \ / F ield | foam-extend: Open Source CFD # \ / O peration | Version: 4.1 # \ / A nd | Web: http://www.foam-extend.org diff --git a/applications/solvers/lagrangian/coalChemistryFoam/CMakeLists.txt b/applications/solvers/lagrangian/coalChemistryFoam/CMakeLists.txt index 510e55707..39afe6927 100644 --- a/applications/solvers/lagrangian/coalChemistryFoam/CMakeLists.txt +++ b/applications/solvers/lagrangian/coalChemistryFoam/CMakeLists.txt @@ -41,7 +41,6 @@ if(NOT FOAM_FOUND) endif() add_foam_executable(coalChemistryFoam - DEPENDS finiteVolume compressibleTurbulenceModel lagrangianIntermediate - DEPENDS chemistryModel coalCombustion + DEPENDS lagrangianIntermediate coalCombustion chemistryModel SOURCES ${SOURCES} ) diff --git a/applications/solvers/lagrangian/porousExplicitSourceReactingParcelFoam/CMakeLists.txt b/applications/solvers/lagrangian/porousExplicitSourceReactingParcelFoam/CMakeLists.txt index faebf55b2..96bdc58e0 100644 --- a/applications/solvers/lagrangian/porousExplicitSourceReactingParcelFoam/CMakeLists.txt +++ b/applications/solvers/lagrangian/porousExplicitSourceReactingParcelFoam/CMakeLists.txt @@ -41,7 +41,6 @@ if(NOT FOAM_FOUND) endif() add_foam_executable(porousExplicitSourceReactingParcelFoam - DEPENDS finiteVolume compressibleTurbulenceModel lagrangianIntermediate - DEPENDS chemistryModel + DEPENDS lagrangianIntermediate chemistryModel SOURCES ${SOURCES} ) diff --git a/applications/solvers/lagrangian/reactingParcelFoam/CMakeLists.txt b/applications/solvers/lagrangian/reactingParcelFoam/CMakeLists.txt index 6e921c2eb..fc35f80e0 100644 --- a/applications/solvers/lagrangian/reactingParcelFoam/CMakeLists.txt +++ b/applications/solvers/lagrangian/reactingParcelFoam/CMakeLists.txt @@ -41,7 +41,6 @@ if(NOT FOAM_FOUND) endif() add_foam_executable(reactingParcelFoam - DEPENDS finiteVolume compressibleTurbulenceModel lagrangianIntermediate - DEPENDS chemistryModel + DEPENDS lagrangianIntermediate chemistryModel SOURCES ${SOURCES} ) diff --git a/applications/solvers/lagrangian/uncoupledKinematicParcelFoam/CMakeLists.txt b/applications/solvers/lagrangian/uncoupledKinematicParcelFoam/CMakeLists.txt index f91f5bb36..2a75f3de3 100644 --- a/applications/solvers/lagrangian/uncoupledKinematicParcelFoam/CMakeLists.txt +++ b/applications/solvers/lagrangian/uncoupledKinematicParcelFoam/CMakeLists.txt @@ -41,6 +41,6 @@ if(NOT FOAM_FOUND) endif() add_foam_executable(uncoupledKinematicParcelFoam - DEPENDS finiteVolume compressibleTurbulenceModel lagrangianIntermediate + DEPENDS lagrangianIntermediate SOURCES ${SOURCES} ) diff --git a/applications/solvers/multiSolver/CMakeLists.txt b/applications/solvers/multiSolver/CMakeLists.txt index d9c7dd055..050db8301 100644 --- a/applications/solvers/multiSolver/CMakeLists.txt +++ b/applications/solvers/multiSolver/CMakeLists.txt @@ -1,4 +1,5 @@ -# --------------------------------------------------------------------------# ======== | +# -------------------------------------------------------------------------- +# ======== | # \ / F ield | foam-extend: Open Source CFD # \ / O peration | Version: 4.1 # \ / A nd | Web: http://www.foam-extend.org diff --git a/applications/solvers/multiSolver/multiSolverDemo/CMakeLists.txt b/applications/solvers/multiSolver/multiSolverDemo/CMakeLists.txt index 67751f8d4..69930c66e 100644 --- a/applications/solvers/multiSolver/multiSolverDemo/CMakeLists.txt +++ b/applications/solvers/multiSolver/multiSolverDemo/CMakeLists.txt @@ -44,7 +44,3 @@ add_foam_executable(multiSolverDemo DEPENDS finiteVolume multiSolverLib SOURCES ${SOURCES} ) - -target_include_directories(multiSolverDemo PUBLIC - $ -) diff --git a/applications/solvers/multiphase/CMakeLists.txt b/applications/solvers/multiphase/CMakeLists.txt index b1e3ae6e1..6c454723a 100644 --- a/applications/solvers/multiphase/CMakeLists.txt +++ b/applications/solvers/multiphase/CMakeLists.txt @@ -1,4 +1,5 @@ -# --------------------------------------------------------------------------# ======== | +# -------------------------------------------------------------------------- +# ======== | # \ / F ield | foam-extend: Open Source CFD # \ / O peration | Version: 4.1 # \ / A nd | Web: http://www.foam-extend.org @@ -43,4 +44,4 @@ add_subdirectory(compressibleInterDyMFoam) add_subdirectory(interFoam) add_subdirectory(settlingFoam) add_subdirectory(porousInterFoam) -add_subdirectory(cavitatingFoam) \ No newline at end of file +add_subdirectory(cavitatingFoam) diff --git a/applications/solvers/multiphase/MRFInterFoam/CMakeLists.txt b/applications/solvers/multiphase/MRFInterFoam/CMakeLists.txt index 70c2118b2..2acb1ca3c 100644 --- a/applications/solvers/multiphase/MRFInterFoam/CMakeLists.txt +++ b/applications/solvers/multiphase/MRFInterFoam/CMakeLists.txt @@ -41,7 +41,7 @@ if(NOT FOAM_FOUND) endif() add_foam_executable(MRFInterFoam - DEPENDS finiteVolume interfaceProperties incompressibleTurbulenceModel + DEPENDS interfaceProperties incompressibleTurbulenceModel SOURCES ${SOURCES} ) diff --git a/applications/solvers/multiphase/cavitatingFoam/CMakeLists.txt b/applications/solvers/multiphase/cavitatingFoam/CMakeLists.txt index 1fca950a8..6bc047082 100644 --- a/applications/solvers/multiphase/cavitatingFoam/CMakeLists.txt +++ b/applications/solvers/multiphase/cavitatingFoam/CMakeLists.txt @@ -41,7 +41,6 @@ if(NOT FOAM_FOUND) endif() add_foam_executable(cavitatingFoam - DEPENDS finiteVolume interfaceProperties incompressibleTurbulenceModel - DEPENDS barotropicCompressibilityModel + DEPENDS incompressibleTurbulenceModel barotropicCompressibilityModel SOURCES ${SOURCES} ) diff --git a/applications/solvers/multiphase/compressibleInterDyMFoam/CMakeLists.txt b/applications/solvers/multiphase/compressibleInterDyMFoam/CMakeLists.txt index 17b9c3329..f21718496 100644 --- a/applications/solvers/multiphase/compressibleInterDyMFoam/CMakeLists.txt +++ b/applications/solvers/multiphase/compressibleInterDyMFoam/CMakeLists.txt @@ -41,7 +41,6 @@ if(NOT FOAM_FOUND) endif() add_foam_executable(compressibleInterDyMFoam - DEPENDS finiteVolume interfaceProperties incompressibleTurbulenceModel - DEPENDS dynamicFvMesh + DEPENDS interfaceProperties incompressibleTurbulenceModel dynamicFvMesh SOURCES ${SOURCES} ) diff --git a/applications/solvers/multiphase/compressibleInterFoam/CMakeLists.txt b/applications/solvers/multiphase/compressibleInterFoam/CMakeLists.txt index d4c9b8661..0a7a8005c 100644 --- a/applications/solvers/multiphase/compressibleInterFoam/CMakeLists.txt +++ b/applications/solvers/multiphase/compressibleInterFoam/CMakeLists.txt @@ -41,6 +41,6 @@ if(NOT FOAM_FOUND) endif() add_foam_executable(compressibleInterFoam - DEPENDS finiteVolume interfaceProperties incompressibleTurbulenceModel + DEPENDS interfaceProperties incompressibleTurbulenceModel SOURCES ${SOURCES} ) diff --git a/applications/solvers/multiphase/interDyMFoam/CMakeLists.txt b/applications/solvers/multiphase/interDyMFoam/CMakeLists.txt index 55006de8e..745dfba6c 100644 --- a/applications/solvers/multiphase/interDyMFoam/CMakeLists.txt +++ b/applications/solvers/multiphase/interDyMFoam/CMakeLists.txt @@ -41,12 +41,10 @@ if(NOT FOAM_FOUND) endif() add_foam_executable(interDyMFoam - DEPENDS finiteVolume interfaceProperties incompressibleTurbulenceModel - DEPENDS dynamicFvMesh + DEPENDS interfaceProperties incompressibleTurbulenceModel dynamicFvMesh SOURCES ${SOURCES} ) target_include_directories(interDyMFoam PUBLIC $ ) - diff --git a/applications/solvers/multiphase/interFoam/CMakeLists.txt b/applications/solvers/multiphase/interFoam/CMakeLists.txt index 57279ebaf..b1573238d 100644 --- a/applications/solvers/multiphase/interFoam/CMakeLists.txt +++ b/applications/solvers/multiphase/interFoam/CMakeLists.txt @@ -41,6 +41,6 @@ if(NOT FOAM_FOUND) endif() add_foam_executable(interFoam - DEPENDS finiteVolume interfaceProperties incompressibleTurbulenceModel + DEPENDS interfaceProperties incompressibleTurbulenceModel SOURCES ${SOURCES} ) diff --git a/applications/solvers/multiphase/interMixingFoam/CMakeLists.txt b/applications/solvers/multiphase/interMixingFoam/CMakeLists.txt index e486a4064..a3a92b600 100644 --- a/applications/solvers/multiphase/interMixingFoam/CMakeLists.txt +++ b/applications/solvers/multiphase/interMixingFoam/CMakeLists.txt @@ -43,7 +43,7 @@ if(NOT FOAM_FOUND) endif() add_foam_executable(interMixingFoam - DEPENDS finiteVolume interfaceProperties incompressibleTurbulenceModel + DEPENDS interfaceProperties incompressibleTurbulenceModel SOURCES ${SOURCES} ) diff --git a/applications/solvers/multiphase/interPhaseChangeFoam/CMakeLists.txt b/applications/solvers/multiphase/interPhaseChangeFoam/CMakeLists.txt index d239ee1b6..417c5cd0c 100644 --- a/applications/solvers/multiphase/interPhaseChangeFoam/CMakeLists.txt +++ b/applications/solvers/multiphase/interPhaseChangeFoam/CMakeLists.txt @@ -46,7 +46,7 @@ if(NOT FOAM_FOUND) endif() add_foam_executable(interPhaseChangeFoam - DEPENDS finiteVolume interfaceProperties incompressibleTurbulenceModel + DEPENDS interfaceProperties incompressibleTurbulenceModel SOURCES ${SOURCES} ) diff --git a/applications/solvers/multiphase/multiphaseInterFoam/CMakeLists.txt b/applications/solvers/multiphase/multiphaseInterFoam/CMakeLists.txt index 5ca6c6b3a..eab4c9c71 100644 --- a/applications/solvers/multiphase/multiphaseInterFoam/CMakeLists.txt +++ b/applications/solvers/multiphase/multiphaseInterFoam/CMakeLists.txt @@ -44,7 +44,7 @@ if(NOT FOAM_FOUND) endif() add_foam_executable(multiphaseInterFoam - DEPENDS finiteVolume interfaceProperties incompressibleTurbulenceModel + DEPENDS interfaceProperties incompressibleTurbulenceModel SOURCES ${SOURCES} ) diff --git a/applications/solvers/multiphase/porousInterFoam/CMakeLists.txt b/applications/solvers/multiphase/porousInterFoam/CMakeLists.txt index a64ab896b..554037bd8 100644 --- a/applications/solvers/multiphase/porousInterFoam/CMakeLists.txt +++ b/applications/solvers/multiphase/porousInterFoam/CMakeLists.txt @@ -41,11 +41,10 @@ if(NOT FOAM_FOUND) endif() add_foam_executable(porousInterFoam - DEPENDS finiteVolume interfaceProperties incompressibleTurbulenceModel + DEPENDS interfaceProperties incompressibleTurbulenceModel SOURCES ${SOURCES} ) target_include_directories(porousInterFoam PUBLIC $ ) - diff --git a/applications/solvers/multiphase/twoLiquidMixingFoam/CMakeLists.txt b/applications/solvers/multiphase/twoLiquidMixingFoam/CMakeLists.txt index 91f28caa5..4c3f10a63 100644 --- a/applications/solvers/multiphase/twoLiquidMixingFoam/CMakeLists.txt +++ b/applications/solvers/multiphase/twoLiquidMixingFoam/CMakeLists.txt @@ -41,6 +41,6 @@ if(NOT FOAM_FOUND) endif() add_foam_executable(twoLiquidMixingFoam - DEPENDS finiteVolume interfaceProperties incompressibleTurbulenceModel + DEPENDS interfaceProperties incompressibleTurbulenceModel SOURCES ${SOURCES} ) diff --git a/applications/solvers/multiphase/twoPhaseEulerFoam/CMakeLists.txt b/applications/solvers/multiphase/twoPhaseEulerFoam/CMakeLists.txt index 895700b93..3ffdd4b8a 100644 --- a/applications/solvers/multiphase/twoPhaseEulerFoam/CMakeLists.txt +++ b/applications/solvers/multiphase/twoPhaseEulerFoam/CMakeLists.txt @@ -1,4 +1,5 @@ -# --------------------------------------------------------------------------# ======== | +# -------------------------------------------------------------------------- +# ======== | # \ / F ield | foam-extend: Open Source CFD # \ / O peration | Version: 4.1 # \ / A nd | Web: http://www.foam-extend.org diff --git a/applications/solvers/multiphase/twoPhaseEulerFoam/interfacialModels/CMakeLists.txt b/applications/solvers/multiphase/twoPhaseEulerFoam/interfacialModels/CMakeLists.txt index 5acc11844..78a1e0420 100644 --- a/applications/solvers/multiphase/twoPhaseEulerFoam/interfacialModels/CMakeLists.txt +++ b/applications/solvers/multiphase/twoPhaseEulerFoam/interfacialModels/CMakeLists.txt @@ -44,8 +44,4 @@ list(APPEND SOURCES add_foam_library(EulerianInterfacialModels SHARED ${SOURCES}) -target_link_libraries(EulerianInterfacialModels PUBLIC finiteVolume phaseModel) - -target_include_directories(EulerianInterfacialModels PUBLIC - $ -) +target_link_libraries(EulerianInterfacialModels PUBLIC phaseModel) diff --git a/applications/solvers/multiphase/twoPhaseEulerFoam/kineticTheoryModels/CMakeLists.txt b/applications/solvers/multiphase/twoPhaseEulerFoam/kineticTheoryModels/CMakeLists.txt index e496cf16c..3dbb8709b 100644 --- a/applications/solvers/multiphase/twoPhaseEulerFoam/kineticTheoryModels/CMakeLists.txt +++ b/applications/solvers/multiphase/twoPhaseEulerFoam/kineticTheoryModels/CMakeLists.txt @@ -61,10 +61,8 @@ list(APPEND SOURCES add_foam_library(kineticTheoryModel SHARED ${SOURCES}) -target_link_libraries(kineticTheoryModel PUBLIC finiteVolume phaseModel) +target_link_libraries(kineticTheoryModel PUBLIC phaseModel) target_include_directories(kineticTheoryModel PUBLIC - $ $ - $ ) diff --git a/applications/solvers/multiphase/twoPhaseEulerFoam/phaseModel/CMakeLists.txt b/applications/solvers/multiphase/twoPhaseEulerFoam/phaseModel/CMakeLists.txt index 1a6563c48..f9d4da264 100644 --- a/applications/solvers/multiphase/twoPhaseEulerFoam/phaseModel/CMakeLists.txt +++ b/applications/solvers/multiphase/twoPhaseEulerFoam/phaseModel/CMakeLists.txt @@ -36,4 +36,4 @@ list(APPEND SOURCES add_foam_library(phaseModel SHARED ${SOURCES}) -target_link_libraries(phaseModel PUBLIC finiteVolume incompressibleTransportModels) +target_link_libraries(phaseModel PUBLIC incompressibleTransportModels) diff --git a/applications/solvers/solidMechanics/CMakeLists.txt b/applications/solvers/solidMechanics/CMakeLists.txt index d79cd8774..53ff30c5c 100644 --- a/applications/solvers/solidMechanics/CMakeLists.txt +++ b/applications/solvers/solidMechanics/CMakeLists.txt @@ -1,4 +1,5 @@ -# --------------------------------------------------------------------------# ======== | +# -------------------------------------------------------------------------- +# ======== | # \ / F ield | foam-extend: Open Source CFD # \ / O peration | Version: 4.1 # \ / A nd | Web: http://www.foam-extend.org diff --git a/applications/solvers/solidMechanics/deprecatedSolvers/CMakeLists.txt b/applications/solvers/solidMechanics/deprecatedSolvers/CMakeLists.txt index 5377a1c8a..922eead0c 100644 --- a/applications/solvers/solidMechanics/deprecatedSolvers/CMakeLists.txt +++ b/applications/solvers/solidMechanics/deprecatedSolvers/CMakeLists.txt @@ -1,4 +1,5 @@ -# --------------------------------------------------------------------------# ======== | +# -------------------------------------------------------------------------- +# ======== | # \ / F ield | foam-extend: Open Source CFD # \ / O peration | Version: 4.1 # \ / A nd | Web: http://www.foam-extend.org diff --git a/applications/solvers/solidMechanics/utilities/CMakeLists.txt b/applications/solvers/solidMechanics/utilities/CMakeLists.txt index 41a9a58d5..d35b27e13 100644 --- a/applications/solvers/solidMechanics/utilities/CMakeLists.txt +++ b/applications/solvers/solidMechanics/utilities/CMakeLists.txt @@ -1,4 +1,5 @@ -# --------------------------------------------------------------------------# ======== | +# -------------------------------------------------------------------------- +# ======== | # \ / F ield | foam-extend: Open Source CFD # \ / O peration | Version: 4.1 # \ / A nd | Web: http://www.foam-extend.org diff --git a/applications/solvers/surfaceTracking/CMakeLists.txt b/applications/solvers/surfaceTracking/CMakeLists.txt index 0186c04a2..57aa67254 100644 --- a/applications/solvers/surfaceTracking/CMakeLists.txt +++ b/applications/solvers/surfaceTracking/CMakeLists.txt @@ -1,4 +1,5 @@ -# --------------------------------------------------------------------------# ======== | +# -------------------------------------------------------------------------- +# ======== | # \ / F ield | foam-extend: Open Source CFD # \ / O peration | Version: 4.1 # \ / A nd | Web: http://www.foam-extend.org diff --git a/applications/solvers/surfaceTracking/bubbleInterTrackFoam/CMakeLists.txt b/applications/solvers/surfaceTracking/bubbleInterTrackFoam/CMakeLists.txt index e5ed8cb74..f4f9fac4b 100644 --- a/applications/solvers/surfaceTracking/bubbleInterTrackFoam/CMakeLists.txt +++ b/applications/solvers/surfaceTracking/bubbleInterTrackFoam/CMakeLists.txt @@ -47,5 +47,4 @@ add_foam_executable(bubbleInterTrackFoam target_include_directories(bubbleInterTrackFoam PUBLIC $ - $ ) diff --git a/applications/solvers/surfaceTracking/utilities/CMakeLists.txt b/applications/solvers/surfaceTracking/utilities/CMakeLists.txt index f73c82ae8..72a9baa3f 100644 --- a/applications/solvers/surfaceTracking/utilities/CMakeLists.txt +++ b/applications/solvers/surfaceTracking/utilities/CMakeLists.txt @@ -1,4 +1,5 @@ -# --------------------------------------------------------------------------# ======== | +# -------------------------------------------------------------------------- +# ======== | # \ / F ield | foam-extend: Open Source CFD # \ / O peration | Version: 4.1 # \ / A nd | Web: http://www.foam-extend.org diff --git a/applications/solvers/viscoelastic/CMakeLists.txt b/applications/solvers/viscoelastic/CMakeLists.txt index 122eb4b32..ea5e45f47 100644 --- a/applications/solvers/viscoelastic/CMakeLists.txt +++ b/applications/solvers/viscoelastic/CMakeLists.txt @@ -1,4 +1,5 @@ -# --------------------------------------------------------------------------# ======== | +# -------------------------------------------------------------------------- +# ======== | # \ / F ield | foam-extend: Open Source CFD # \ / O peration | Version: 4.1 # \ / A nd | Web: http://www.foam-extend.org diff --git a/applications/utilities/CMakeLists.txt b/applications/utilities/CMakeLists.txt index e0cde4bf2..e6d2eda88 100644 --- a/applications/utilities/CMakeLists.txt +++ b/applications/utilities/CMakeLists.txt @@ -1,4 +1,5 @@ -# --------------------------------------------------------------------------# ======== | +# -------------------------------------------------------------------------- +# ======== | # \ / F ield | foam-extend: Open Source CFD # \ / O peration | Version: 4.1 # \ / A nd | Web: http://www.foam-extend.org diff --git a/applications/utilities/errorEstimation/CMakeLists.txt b/applications/utilities/errorEstimation/CMakeLists.txt index 47bd20bd4..6a3e32944 100644 --- a/applications/utilities/errorEstimation/CMakeLists.txt +++ b/applications/utilities/errorEstimation/CMakeLists.txt @@ -1,4 +1,5 @@ -# --------------------------------------------------------------------------# ======== | +# -------------------------------------------------------------------------- +# ======== | # \ / F ield | foam-extend: Open Source CFD # \ / O peration | Version: 4.1 # \ / A nd | Web: http://www.foam-extend.org diff --git a/applications/utilities/finiteArea/CMakeLists.txt b/applications/utilities/finiteArea/CMakeLists.txt index 4ec204dfb..df3bf2e82 100644 --- a/applications/utilities/finiteArea/CMakeLists.txt +++ b/applications/utilities/finiteArea/CMakeLists.txt @@ -1,4 +1,5 @@ -# --------------------------------------------------------------------------# ======== | +# -------------------------------------------------------------------------- +# ======== | # \ / F ield | foam-extend: Open Source CFD # \ / O peration | Version: 4.1 # \ / A nd | Web: http://www.foam-extend.org diff --git a/applications/utilities/immersedBoundary/CMakeLists.txt b/applications/utilities/immersedBoundary/CMakeLists.txt index 1f1810402..3a5f0b454 100644 --- a/applications/utilities/immersedBoundary/CMakeLists.txt +++ b/applications/utilities/immersedBoundary/CMakeLists.txt @@ -1,4 +1,5 @@ -# --------------------------------------------------------------------------# ======== | +# -------------------------------------------------------------------------- +# ======== | # \ / F ield | foam-extend: Open Source CFD # \ / O peration | Version: 4.1 # \ / A nd | Web: http://www.foam-extend.org diff --git a/applications/utilities/mesh/CMakeLists.txt b/applications/utilities/mesh/CMakeLists.txt index 0c688067f..28caaf885 100644 --- a/applications/utilities/mesh/CMakeLists.txt +++ b/applications/utilities/mesh/CMakeLists.txt @@ -1,4 +1,5 @@ -# --------------------------------------------------------------------------# ======== | +# -------------------------------------------------------------------------- +# ======== | # \ / F ield | foam-extend: Open Source CFD # \ / O peration | Version: 4.1 # \ / A nd | Web: http://www.foam-extend.org diff --git a/applications/utilities/mesh/advanced/CMakeLists.txt b/applications/utilities/mesh/advanced/CMakeLists.txt index cb0bb4a6d..09a985183 100644 --- a/applications/utilities/mesh/advanced/CMakeLists.txt +++ b/applications/utilities/mesh/advanced/CMakeLists.txt @@ -1,4 +1,5 @@ -# --------------------------------------------------------------------------# ======== | +# -------------------------------------------------------------------------- +# ======== | # \ / F ield | foam-extend: Open Source CFD # \ / O peration | Version: 4.1 # \ / A nd | Web: http://www.foam-extend.org diff --git a/applications/utilities/mesh/conversion/CMakeLists.txt b/applications/utilities/mesh/conversion/CMakeLists.txt index 1f2294e39..a14e517a2 100644 --- a/applications/utilities/mesh/conversion/CMakeLists.txt +++ b/applications/utilities/mesh/conversion/CMakeLists.txt @@ -1,4 +1,5 @@ -# --------------------------------------------------------------------------# ======== | +# -------------------------------------------------------------------------- +# ======== | # \ / F ield | foam-extend: Open Source CFD # \ / O peration | Version: 4.1 # \ / A nd | Web: http://www.foam-extend.org diff --git a/applications/utilities/mesh/conversion/Optional/CMakeLists.txt b/applications/utilities/mesh/conversion/Optional/CMakeLists.txt index 9b4ae369b..6bf17eb65 100644 --- a/applications/utilities/mesh/conversion/Optional/CMakeLists.txt +++ b/applications/utilities/mesh/conversion/Optional/CMakeLists.txt @@ -1,4 +1,5 @@ -# --------------------------------------------------------------------------# ======== | +# -------------------------------------------------------------------------- +# ======== | # \ / F ield | foam-extend: Open Source CFD # \ / O peration | Version: 4.1 # \ / A nd | Web: http://www.foam-extend.org diff --git a/applications/utilities/mesh/conversion/star4ToFoam/CMakeLists.txt b/applications/utilities/mesh/conversion/star4ToFoam/CMakeLists.txt index 9ad80b336..73e70db16 100644 --- a/applications/utilities/mesh/conversion/star4ToFoam/CMakeLists.txt +++ b/applications/utilities/mesh/conversion/star4ToFoam/CMakeLists.txt @@ -1,4 +1,5 @@ -# --------------------------------------------------------------------------# ======== | +# -------------------------------------------------------------------------- +# ======== | # \ / F ield | foam-extend: Open Source CFD # \ / O peration | Version: 4.1 # \ / A nd | Web: http://www.foam-extend.org diff --git a/applications/utilities/mesh/generation/CMakeLists.txt b/applications/utilities/mesh/generation/CMakeLists.txt index b6fe74ff4..b22dd86b4 100644 --- a/applications/utilities/mesh/generation/CMakeLists.txt +++ b/applications/utilities/mesh/generation/CMakeLists.txt @@ -1,4 +1,5 @@ -# --------------------------------------------------------------------------# ======== | +# -------------------------------------------------------------------------- +# ======== | # \ / F ield | foam-extend: Open Source CFD # \ / O peration | Version: 4.1 # \ / A nd | Web: http://www.foam-extend.org diff --git a/applications/utilities/mesh/generation/cfMesh/CMakeLists.txt b/applications/utilities/mesh/generation/cfMesh/CMakeLists.txt index 4a256774e..a2c014ede 100644 --- a/applications/utilities/mesh/generation/cfMesh/CMakeLists.txt +++ b/applications/utilities/mesh/generation/cfMesh/CMakeLists.txt @@ -1,4 +1,5 @@ -# --------------------------------------------------------------------------# ======== | +# -------------------------------------------------------------------------- +# ======== | # \ / F ield | foam-extend: Open Source CFD # \ / O peration | Version: 4.1 # \ / A nd | Web: http://www.foam-extend.org diff --git a/applications/utilities/mesh/manipulation/CMakeLists.txt b/applications/utilities/mesh/manipulation/CMakeLists.txt index a042bcd36..fa413db10 100644 --- a/applications/utilities/mesh/manipulation/CMakeLists.txt +++ b/applications/utilities/mesh/manipulation/CMakeLists.txt @@ -1,4 +1,5 @@ -# --------------------------------------------------------------------------# ======== | +# -------------------------------------------------------------------------- +# ======== | # \ / F ield | foam-extend: Open Source CFD # \ / O peration | Version: 4.1 # \ / A nd | Web: http://www.foam-extend.org diff --git a/applications/utilities/miscellaneous/CMakeLists.txt b/applications/utilities/miscellaneous/CMakeLists.txt index f21a26df8..5301bcfd0 100644 --- a/applications/utilities/miscellaneous/CMakeLists.txt +++ b/applications/utilities/miscellaneous/CMakeLists.txt @@ -1,4 +1,5 @@ -# --------------------------------------------------------------------------# ======== | +# -------------------------------------------------------------------------- +# ======== | # \ / F ield | foam-extend: Open Source CFD # \ / O peration | Version: 4.1 # \ / A nd | Web: http://www.foam-extend.org diff --git a/applications/utilities/miscellaneous/autoDerivative/CMakeLists.txt b/applications/utilities/miscellaneous/autoDerivative/CMakeLists.txt index b741a7390..2240d523b 100644 --- a/applications/utilities/miscellaneous/autoDerivative/CMakeLists.txt +++ b/applications/utilities/miscellaneous/autoDerivative/CMakeLists.txt @@ -1,4 +1,5 @@ -# --------------------------------------------------------------------------# ======== | +# -------------------------------------------------------------------------- +# ======== | # \ / F ield | foam-extend: Open Source CFD # \ / O peration | Version: 4.1 # \ / A nd | Web: http://www.foam-extend.org diff --git a/applications/utilities/parallelProcessing/CMakeLists.txt b/applications/utilities/parallelProcessing/CMakeLists.txt index e1306fadf..99df2cb0a 100644 --- a/applications/utilities/parallelProcessing/CMakeLists.txt +++ b/applications/utilities/parallelProcessing/CMakeLists.txt @@ -1,4 +1,5 @@ -# --------------------------------------------------------------------------# ======== | +# -------------------------------------------------------------------------- +# ======== | # \ / F ield | foam-extend: Open Source CFD # \ / O peration | Version: 4.1 # \ / A nd | Web: http://www.foam-extend.org diff --git a/applications/utilities/postProcessing/CMakeLists.txt b/applications/utilities/postProcessing/CMakeLists.txt index 20f8b6a88..82b5e1c9b 100644 --- a/applications/utilities/postProcessing/CMakeLists.txt +++ b/applications/utilities/postProcessing/CMakeLists.txt @@ -1,4 +1,5 @@ -# --------------------------------------------------------------------------# ======== | +# -------------------------------------------------------------------------- +# ======== | # \ / F ield | foam-extend: Open Source CFD # \ / O peration | Version: 4.1 # \ / A nd | Web: http://www.foam-extend.org diff --git a/applications/utilities/postProcessing/POD/CMakeLists.txt b/applications/utilities/postProcessing/POD/CMakeLists.txt index b02d80ba0..18741b282 100644 --- a/applications/utilities/postProcessing/POD/CMakeLists.txt +++ b/applications/utilities/postProcessing/POD/CMakeLists.txt @@ -1,4 +1,5 @@ -# --------------------------------------------------------------------------# ======== | +# -------------------------------------------------------------------------- +# ======== | # \ / F ield | foam-extend: Open Source CFD # \ / O peration | Version: 4.1 # \ / A nd | Web: http://www.foam-extend.org diff --git a/applications/utilities/postProcessing/dataConversion/CMakeLists.txt b/applications/utilities/postProcessing/dataConversion/CMakeLists.txt index ac5556a6f..27a9b4768 100644 --- a/applications/utilities/postProcessing/dataConversion/CMakeLists.txt +++ b/applications/utilities/postProcessing/dataConversion/CMakeLists.txt @@ -1,4 +1,5 @@ -# --------------------------------------------------------------------------# ======== | +# -------------------------------------------------------------------------- +# ======== | # \ / F ield | foam-extend: Open Source CFD # \ / O peration | Version: 4.1 # \ / A nd | Web: http://www.foam-extend.org diff --git a/applications/utilities/postProcessing/dataConversion/foamToTecplot360/CMakeLists.txt b/applications/utilities/postProcessing/dataConversion/foamToTecplot360/CMakeLists.txt index c760190eb..0ee4acbb6 100644 --- a/applications/utilities/postProcessing/dataConversion/foamToTecplot360/CMakeLists.txt +++ b/applications/utilities/postProcessing/dataConversion/foamToTecplot360/CMakeLists.txt @@ -1,4 +1,5 @@ -# --------------------------------------------------------------------------# ======== | +# -------------------------------------------------------------------------- +# ======== | # \ / F ield | foam-extend: Open Source CFD # \ / O peration | Version: 4.1 # \ / A nd | Web: http://www.foam-extend.org diff --git a/applications/utilities/postProcessing/dataConversion/foamToTecplot360/tecio/CMakeLists.txt b/applications/utilities/postProcessing/dataConversion/foamToTecplot360/tecio/CMakeLists.txt index add37f10b..2d5c28b6e 100644 --- a/applications/utilities/postProcessing/dataConversion/foamToTecplot360/tecio/CMakeLists.txt +++ b/applications/utilities/postProcessing/dataConversion/foamToTecplot360/tecio/CMakeLists.txt @@ -1,4 +1,5 @@ -# --------------------------------------------------------------------------# ======== | +# -------------------------------------------------------------------------- +# ======== | # \ / F ield | foam-extend: Open Source CFD # \ / O peration | Version: 4.1 # \ / A nd | Web: http://www.foam-extend.org diff --git a/applications/utilities/postProcessing/graphics/CMakeLists.txt b/applications/utilities/postProcessing/graphics/CMakeLists.txt index 885f85a56..78dfb58f8 100644 --- a/applications/utilities/postProcessing/graphics/CMakeLists.txt +++ b/applications/utilities/postProcessing/graphics/CMakeLists.txt @@ -1,4 +1,5 @@ -# --------------------------------------------------------------------------# ======== | +# -------------------------------------------------------------------------- +# ======== | # \ / F ield | foam-extend: Open Source CFD # \ / O peration | Version: 4.1 # \ / A nd | Web: http://www.foam-extend.org diff --git a/applications/utilities/postProcessing/graphics/PV3FoamReader/CMakeLists.txt b/applications/utilities/postProcessing/graphics/PV3FoamReader/CMakeLists.txt index 56bb3b2d3..1f7685df3 100644 --- a/applications/utilities/postProcessing/graphics/PV3FoamReader/CMakeLists.txt +++ b/applications/utilities/postProcessing/graphics/PV3FoamReader/CMakeLists.txt @@ -1,4 +1,5 @@ -# --------------------------------------------------------------------------# ======== | +# -------------------------------------------------------------------------- +# ======== | # \ / F ield | foam-extend: Open Source CFD # \ / O peration | Version: 4.1 # \ / A nd | Web: http://www.foam-extend.org diff --git a/applications/utilities/postProcessing/graphics/PVFoamReader/CMakeLists.txt b/applications/utilities/postProcessing/graphics/PVFoamReader/CMakeLists.txt index d6b1289ae..7ccb78674 100644 --- a/applications/utilities/postProcessing/graphics/PVFoamReader/CMakeLists.txt +++ b/applications/utilities/postProcessing/graphics/PVFoamReader/CMakeLists.txt @@ -1,4 +1,5 @@ -# --------------------------------------------------------------------------# ======== | +# -------------------------------------------------------------------------- +# ======== | # \ / F ield | foam-extend: Open Source CFD # \ / O peration | Version: 4.1 # \ / A nd | Web: http://www.foam-extend.org diff --git a/applications/utilities/postProcessing/lagrangian/CMakeLists.txt b/applications/utilities/postProcessing/lagrangian/CMakeLists.txt index c96a77557..df466ffef 100644 --- a/applications/utilities/postProcessing/lagrangian/CMakeLists.txt +++ b/applications/utilities/postProcessing/lagrangian/CMakeLists.txt @@ -1,4 +1,5 @@ -# --------------------------------------------------------------------------# ======== | +# -------------------------------------------------------------------------- +# ======== | # \ / F ield | foam-extend: Open Source CFD # \ / O peration | Version: 4.1 # \ / A nd | Web: http://www.foam-extend.org diff --git a/applications/utilities/postProcessing/miscellaneous/CMakeLists.txt b/applications/utilities/postProcessing/miscellaneous/CMakeLists.txt index 3262ebc53..0067fcd59 100644 --- a/applications/utilities/postProcessing/miscellaneous/CMakeLists.txt +++ b/applications/utilities/postProcessing/miscellaneous/CMakeLists.txt @@ -1,4 +1,5 @@ -# --------------------------------------------------------------------------# ======== | +# -------------------------------------------------------------------------- +# ======== | # \ / F ield | foam-extend: Open Source CFD # \ / O peration | Version: 4.1 # \ / A nd | Web: http://www.foam-extend.org diff --git a/applications/utilities/postProcessing/patch/CMakeLists.txt b/applications/utilities/postProcessing/patch/CMakeLists.txt index b3cd69218..755223567 100644 --- a/applications/utilities/postProcessing/patch/CMakeLists.txt +++ b/applications/utilities/postProcessing/patch/CMakeLists.txt @@ -1,4 +1,5 @@ -# --------------------------------------------------------------------------# ======== | +# -------------------------------------------------------------------------- +# ======== | # \ / F ield | foam-extend: Open Source CFD # \ / O peration | Version: 4.1 # \ / A nd | Web: http://www.foam-extend.org diff --git a/applications/utilities/postProcessing/sampling/CMakeLists.txt b/applications/utilities/postProcessing/sampling/CMakeLists.txt index c4e6df7f4..9d9bfb326 100644 --- a/applications/utilities/postProcessing/sampling/CMakeLists.txt +++ b/applications/utilities/postProcessing/sampling/CMakeLists.txt @@ -1,4 +1,5 @@ -# --------------------------------------------------------------------------# ======== | +# -------------------------------------------------------------------------- +# ======== | # \ / F ield | foam-extend: Open Source CFD # \ / O peration | Version: 4.1 # \ / A nd | Web: http://www.foam-extend.org diff --git a/applications/utilities/postProcessing/scalarField/CMakeLists.txt b/applications/utilities/postProcessing/scalarField/CMakeLists.txt index 87639e9e0..e9c700231 100644 --- a/applications/utilities/postProcessing/scalarField/CMakeLists.txt +++ b/applications/utilities/postProcessing/scalarField/CMakeLists.txt @@ -1,4 +1,5 @@ -# --------------------------------------------------------------------------# ======== | +# -------------------------------------------------------------------------- +# ======== | # \ / F ield | foam-extend: Open Source CFD # \ / O peration | Version: 4.1 # \ / A nd | Web: http://www.foam-extend.org diff --git a/applications/utilities/postProcessing/stressField/CMakeLists.txt b/applications/utilities/postProcessing/stressField/CMakeLists.txt index e0f7dd271..bb087a98a 100644 --- a/applications/utilities/postProcessing/stressField/CMakeLists.txt +++ b/applications/utilities/postProcessing/stressField/CMakeLists.txt @@ -1,4 +1,5 @@ -# --------------------------------------------------------------------------# ======== | +# -------------------------------------------------------------------------- +# ======== | # \ / F ield | foam-extend: Open Source CFD # \ / O peration | Version: 4.1 # \ / A nd | Web: http://www.foam-extend.org diff --git a/applications/utilities/postProcessing/turbulence/CMakeLists.txt b/applications/utilities/postProcessing/turbulence/CMakeLists.txt index 8fc2e09d3..9ef4f830a 100644 --- a/applications/utilities/postProcessing/turbulence/CMakeLists.txt +++ b/applications/utilities/postProcessing/turbulence/CMakeLists.txt @@ -1,4 +1,5 @@ -# --------------------------------------------------------------------------# ======== | +# -------------------------------------------------------------------------- +# ======== | # \ / F ield | foam-extend: Open Source CFD # \ / O peration | Version: 4.1 # \ / A nd | Web: http://www.foam-extend.org diff --git a/applications/utilities/postProcessing/velocityField/CMakeLists.txt b/applications/utilities/postProcessing/velocityField/CMakeLists.txt index b8dcb043c..cc857b3e7 100644 --- a/applications/utilities/postProcessing/velocityField/CMakeLists.txt +++ b/applications/utilities/postProcessing/velocityField/CMakeLists.txt @@ -1,4 +1,5 @@ -# --------------------------------------------------------------------------# ======== | +# -------------------------------------------------------------------------- +# ======== | # \ / F ield | foam-extend: Open Source CFD # \ / O peration | Version: 4.1 # \ / A nd | Web: http://www.foam-extend.org diff --git a/applications/utilities/postProcessing/viscoelastic/CMakeLists.txt b/applications/utilities/postProcessing/viscoelastic/CMakeLists.txt index ee923fb66..300c65621 100644 --- a/applications/utilities/postProcessing/viscoelastic/CMakeLists.txt +++ b/applications/utilities/postProcessing/viscoelastic/CMakeLists.txt @@ -1,4 +1,5 @@ -# --------------------------------------------------------------------------# ======== | +# -------------------------------------------------------------------------- +# ======== | # \ / F ield | foam-extend: Open Source CFD # \ / O peration | Version: 4.1 # \ / A nd | Web: http://www.foam-extend.org diff --git a/applications/utilities/postProcessing/wall/CMakeLists.txt b/applications/utilities/postProcessing/wall/CMakeLists.txt index 86ba595f4..57b3ed38e 100644 --- a/applications/utilities/postProcessing/wall/CMakeLists.txt +++ b/applications/utilities/postProcessing/wall/CMakeLists.txt @@ -1,4 +1,5 @@ -# --------------------------------------------------------------------------# ======== | +# -------------------------------------------------------------------------- +# ======== | # \ / F ield | foam-extend: Open Source CFD # \ / O peration | Version: 4.1 # \ / A nd | Web: http://www.foam-extend.org diff --git a/applications/utilities/preProcessing/CMakeLists.txt b/applications/utilities/preProcessing/CMakeLists.txt index d03757efd..5359ac39f 100644 --- a/applications/utilities/preProcessing/CMakeLists.txt +++ b/applications/utilities/preProcessing/CMakeLists.txt @@ -1,4 +1,5 @@ -# --------------------------------------------------------------------------# ======== | +# -------------------------------------------------------------------------- +# ======== | # \ / F ield | foam-extend: Open Source CFD # \ / O peration | Version: 4.1 # \ / A nd | Web: http://www.foam-extend.org diff --git a/applications/utilities/solidMechanics/CMakeLists.txt b/applications/utilities/solidMechanics/CMakeLists.txt index b7704cd5a..8da11a875 100644 --- a/applications/utilities/solidMechanics/CMakeLists.txt +++ b/applications/utilities/solidMechanics/CMakeLists.txt @@ -1,4 +1,5 @@ -# --------------------------------------------------------------------------# ======== | +# -------------------------------------------------------------------------- +# ======== | # \ / F ield | foam-extend: Open Source CFD # \ / O peration | Version: 4.1 # \ / A nd | Web: http://www.foam-extend.org diff --git a/applications/utilities/thermophysical/CMakeLists.txt b/applications/utilities/thermophysical/CMakeLists.txt index ff80c7554..3404005a4 100644 --- a/applications/utilities/thermophysical/CMakeLists.txt +++ b/applications/utilities/thermophysical/CMakeLists.txt @@ -1,4 +1,5 @@ -# --------------------------------------------------------------------------# ======== | +# -------------------------------------------------------------------------- +# ======== | # \ / F ield | foam-extend: Open Source CFD # \ / O peration | Version: 4.1 # \ / A nd | Web: http://www.foam-extend.org diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index 42523e52f..9fdd833dd 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -1,4 +1,5 @@ -# --------------------------------------------------------------------------# ======== | +# -------------------------------------------------------------------------- +# ======== | # \ / F ield | foam-extend: Open Source CFD # \ / O peration | Version: 4.1 # \ / A nd | Web: http://www.foam-extend.org @@ -60,4 +61,4 @@ add_subdirectory(fvAgglomerationMethods) add_subdirectory(meshTools) add_subdirectory(dynamicMesh) add_subdirectory(thermophysicalModels) -#add_subdirectory(dbns) +add_subdirectory(dbns) diff --git a/src/OSspecific/CMakeLists.txt b/src/OSspecific/CMakeLists.txt index 57740f874..3dd5d9cb0 100644 --- a/src/OSspecific/CMakeLists.txt +++ b/src/OSspecific/CMakeLists.txt @@ -1,4 +1,5 @@ -# --------------------------------------------------------------------------# ======== | +# -------------------------------------------------------------------------- +# ======== | # \ / F ield | foam-extend: Open Source CFD # \ / O peration | Version: 4.1 # \ / A nd | Web: http://www.foam-extend.org diff --git a/src/cudaSolvers/CMakeLists.txt b/src/cudaSolvers/CMakeLists.txt index c8042c2e0..40d439181 100644 --- a/src/cudaSolvers/CMakeLists.txt +++ b/src/cudaSolvers/CMakeLists.txt @@ -43,4 +43,4 @@ list(APPEND SOURCES add_foam_library(cudaSolvers SHARED ${SOURCES}) -#target_link_libraries(cudaSolvers finiteVolume) +target_link_libraries(cudaSolvers finiteVolume) diff --git a/src/dbns/CMakeLists.txt b/src/dbns/CMakeLists.txt index 0c38550fd..717e19b59 100644 --- a/src/dbns/CMakeLists.txt +++ b/src/dbns/CMakeLists.txt @@ -52,4 +52,10 @@ list(APPEND SOURCES add_foam_library(dbns SHARED ${SOURCES}) -target_link_libraries(dbns PUBLIC finiteVolume meshTools basicThermophysicalModels) +target_link_libraries(dbns ${MGRIDGEN_LIBRARY} compressibleTurbulenceModel) + +target_include_directories(dbns PUBLIC + $ + $ + $ +) diff --git a/src/decompositionMethods/CMakeLists.txt b/src/decompositionMethods/CMakeLists.txt index 7331da3b9..0151b77a0 100644 --- a/src/decompositionMethods/CMakeLists.txt +++ b/src/decompositionMethods/CMakeLists.txt @@ -1,4 +1,5 @@ -# --------------------------------------------------------------------------# ======== | +# -------------------------------------------------------------------------- +# ======== | # \ / F ield | foam-extend: Open Source CFD # \ / O peration | Version: 4.1 # \ / A nd | Web: http://www.foam-extend.org diff --git a/src/dynamicMesh/CMakeLists.txt b/src/dynamicMesh/CMakeLists.txt index 2e8e6c895..1da97cda2 100644 --- a/src/dynamicMesh/CMakeLists.txt +++ b/src/dynamicMesh/CMakeLists.txt @@ -1,4 +1,5 @@ -# --------------------------------------------------------------------------# ======== | +# -------------------------------------------------------------------------- +# ======== | # \ / F ield | foam-extend: Open Source CFD # \ / O peration | Version: 4.1 # \ / A nd | Web: http://www.foam-extend.org diff --git a/src/dynamicMesh/meshMotion/CMakeLists.txt b/src/dynamicMesh/meshMotion/CMakeLists.txt index dfcd805b0..bcc1c678c 100644 --- a/src/dynamicMesh/meshMotion/CMakeLists.txt +++ b/src/dynamicMesh/meshMotion/CMakeLists.txt @@ -1,4 +1,5 @@ -# --------------------------------------------------------------------------# ======== | +# -------------------------------------------------------------------------- +# ======== | # \ / F ield | foam-extend: Open Source CFD # \ / O peration | Version: 4.1 # \ / A nd | Web: http://www.foam-extend.org diff --git a/src/finiteVolume/CMakeLists.txt b/src/finiteVolume/CMakeLists.txt index cef1ac55f..5dd66bf8d 100644 --- a/src/finiteVolume/CMakeLists.txt +++ b/src/finiteVolume/CMakeLists.txt @@ -535,3 +535,7 @@ list(APPEND SOURCES add_foam_library(finiteVolume SHARED ${SOURCES}) target_link_libraries(finiteVolume PUBLIC meshTools) + +target_include_directories(finiteVolume PUBLIC +$ +) diff --git a/src/fvAgglomerationMethods/CMakeLists.txt b/src/fvAgglomerationMethods/CMakeLists.txt index 157e271d8..f27fab1c6 100644 --- a/src/fvAgglomerationMethods/CMakeLists.txt +++ b/src/fvAgglomerationMethods/CMakeLists.txt @@ -1,4 +1,5 @@ -# --------------------------------------------------------------------------# ======== | +# -------------------------------------------------------------------------- +# ======== | # \ / F ield | foam-extend: Open Source CFD # \ / O peration | Version: 4.1 # \ / A nd | Web: http://www.foam-extend.org diff --git a/src/immersedBoundary/CMakeLists.txt b/src/immersedBoundary/CMakeLists.txt index b3612a4f7..893bbeb74 100644 --- a/src/immersedBoundary/CMakeLists.txt +++ b/src/immersedBoundary/CMakeLists.txt @@ -1,4 +1,5 @@ -# --------------------------------------------------------------------------# ======== | +# -------------------------------------------------------------------------- +# ======== | # \ / F ield | foam-extend: Open Source CFD # \ / O peration | Version: 4.1 # \ / A nd | Web: http://www.foam-extend.org diff --git a/src/lagrangian/CMakeLists.txt b/src/lagrangian/CMakeLists.txt index 1a7315331..ad85d276e 100644 --- a/src/lagrangian/CMakeLists.txt +++ b/src/lagrangian/CMakeLists.txt @@ -1,4 +1,5 @@ -# --------------------------------------------------------------------------# ======== | +# -------------------------------------------------------------------------- +# ======== | # \ / F ield | foam-extend: Open Source CFD # \ / O peration | Version: 4.1 # \ / A nd | Web: http://www.foam-extend.org diff --git a/src/lagrangian/molecularDynamics/CMakeLists.txt b/src/lagrangian/molecularDynamics/CMakeLists.txt index d1a205639..1e77a9845 100644 --- a/src/lagrangian/molecularDynamics/CMakeLists.txt +++ b/src/lagrangian/molecularDynamics/CMakeLists.txt @@ -1,4 +1,5 @@ -# --------------------------------------------------------------------------# ======== | +# -------------------------------------------------------------------------- +# ======== | # \ / F ield | foam-extend: Open Source CFD # \ / O peration | Version: 4.1 # \ / A nd | Web: http://www.foam-extend.org diff --git a/src/mesh/CMakeLists.txt b/src/mesh/CMakeLists.txt index 63607c2c5..2c5697702 100644 --- a/src/mesh/CMakeLists.txt +++ b/src/mesh/CMakeLists.txt @@ -1,4 +1,5 @@ -# --------------------------------------------------------------------------# ======== | +# -------------------------------------------------------------------------- +# ======== | # \ / F ield | foam-extend: Open Source CFD # \ / O peration | Version: 4.1 # \ / A nd | Web: http://www.foam-extend.org diff --git a/src/postProcessing/CMakeLists.txt b/src/postProcessing/CMakeLists.txt index 7b3ee7c3a..b81156fd1 100644 --- a/src/postProcessing/CMakeLists.txt +++ b/src/postProcessing/CMakeLists.txt @@ -1,4 +1,5 @@ -# --------------------------------------------------------------------------# ======== | +# -------------------------------------------------------------------------- +# ======== | # \ / F ield | foam-extend: Open Source CFD # \ / O peration | Version: 4.1 # \ / A nd | Web: http://www.foam-extend.org diff --git a/src/postProcessing/functionObjects/CMakeLists.txt b/src/postProcessing/functionObjects/CMakeLists.txt index a18079c4f..32ed62fc3 100644 --- a/src/postProcessing/functionObjects/CMakeLists.txt +++ b/src/postProcessing/functionObjects/CMakeLists.txt @@ -1,4 +1,5 @@ -# --------------------------------------------------------------------------# ======== | +# -------------------------------------------------------------------------- +# ======== | # \ / F ield | foam-extend: Open Source CFD # \ / O peration | Version: 4.1 # \ / A nd | Web: http://www.foam-extend.org diff --git a/src/thermophysicalModels/CMakeLists.txt b/src/thermophysicalModels/CMakeLists.txt index 4724a1ce6..3edade63c 100644 --- a/src/thermophysicalModels/CMakeLists.txt +++ b/src/thermophysicalModels/CMakeLists.txt @@ -1,4 +1,5 @@ -# --------------------------------------------------------------------------# ======== | +# -------------------------------------------------------------------------- +# ======== | # \ / F ield | foam-extend: Open Source CFD # \ / O peration | Version: 4.1 # \ / A nd | Web: http://www.foam-extend.org diff --git a/src/transportModels/CMakeLists.txt b/src/transportModels/CMakeLists.txt index 19bd1595b..ae9189429 100644 --- a/src/transportModels/CMakeLists.txt +++ b/src/transportModels/CMakeLists.txt @@ -1,4 +1,5 @@ -# --------------------------------------------------------------------------# ======== | +# -------------------------------------------------------------------------- +# ======== | # \ / F ield | foam-extend: Open Source CFD # \ / O peration | Version: 4.1 # \ / A nd | Web: http://www.foam-extend.org diff --git a/src/transportModels/incompressible/CMakeLists.txt b/src/transportModels/incompressible/CMakeLists.txt index 62c428440..daec60119 100644 --- a/src/transportModels/incompressible/CMakeLists.txt +++ b/src/transportModels/incompressible/CMakeLists.txt @@ -50,5 +50,4 @@ target_link_libraries(incompressibleTransportModels finiteVolume) target_include_directories(incompressibleTransportModels PUBLIC $ -# $ ) diff --git a/src/turbulenceModels/CMakeLists.txt b/src/turbulenceModels/CMakeLists.txt index c88ca9021..fe42c4ef2 100644 --- a/src/turbulenceModels/CMakeLists.txt +++ b/src/turbulenceModels/CMakeLists.txt @@ -1,4 +1,5 @@ -# --------------------------------------------------------------------------# ======== | +# -------------------------------------------------------------------------- +# ======== | # \ / F ield | foam-extend: Open Source CFD # \ / O peration | Version: 4.1 # \ / A nd | Web: http://www.foam-extend.org diff --git a/src/turbulenceModels/LES/CMakeLists.txt b/src/turbulenceModels/LES/CMakeLists.txt index 72d03f745..a494caee7 100644 --- a/src/turbulenceModels/LES/CMakeLists.txt +++ b/src/turbulenceModels/LES/CMakeLists.txt @@ -1,4 +1,5 @@ -# --------------------------------------------------------------------------# ======== | +# -------------------------------------------------------------------------- +# ======== | # \ / F ield | foam-extend: Open Source CFD # \ / O peration | Version: 4.1 # \ / A nd | Web: http://www.foam-extend.org diff --git a/src/turbulenceModels/compressible/CMakeLists.txt b/src/turbulenceModels/compressible/CMakeLists.txt index e026efb66..1063c706c 100644 --- a/src/turbulenceModels/compressible/CMakeLists.txt +++ b/src/turbulenceModels/compressible/CMakeLists.txt @@ -1,4 +1,5 @@ -# --------------------------------------------------------------------------# ======== | +# -------------------------------------------------------------------------- +# ======== | # \ / F ield | foam-extend: Open Source CFD # \ / O peration | Version: 4.1 # \ / A nd | Web: http://www.foam-extend.org diff --git a/src/turbulenceModels/incompressible/CMakeLists.txt b/src/turbulenceModels/incompressible/CMakeLists.txt index 631f9b643..c36e7259c 100644 --- a/src/turbulenceModels/incompressible/CMakeLists.txt +++ b/src/turbulenceModels/incompressible/CMakeLists.txt @@ -1,4 +1,5 @@ -# --------------------------------------------------------------------------# ======== | +# -------------------------------------------------------------------------- +# ======== | # \ / F ield | foam-extend: Open Source CFD # \ / O peration | Version: 4.1 # \ / A nd | Web: http://www.foam-extend.org diff --git a/tutorials/CMakeLists.txt b/tutorials/CMakeLists.txt index e971d3224..385d454fa 100644 --- a/tutorials/CMakeLists.txt +++ b/tutorials/CMakeLists.txt @@ -1,4 +1,5 @@ -# --------------------------------------------------------------------------# ======== | +# -------------------------------------------------------------------------- +# ======== | # \ / F ield | foam-extend: Open Source CFD # \ / O peration | Version: 4.1 # \ / A nd | Web: http://www.foam-extend.org diff --git a/tutorials/basic/CMakeLists.txt b/tutorials/basic/CMakeLists.txt index cf67cf266..876d99475 100644 --- a/tutorials/basic/CMakeLists.txt +++ b/tutorials/basic/CMakeLists.txt @@ -1,4 +1,5 @@ -# --------------------------------------------------------------------------# ======== | +# -------------------------------------------------------------------------- +# ======== | # \ / F ield | foam-extend: Open Source CFD # \ / O peration | Version: 4.1 # \ / A nd | Web: http://www.foam-extend.org diff --git a/tutorials/basic/PODSolver/1DPODsin/CMakeLists.txt b/tutorials/basic/PODSolver/1DPODsin/CMakeLists.txt index f4dc07d6f..f34aca677 100644 --- a/tutorials/basic/PODSolver/1DPODsin/CMakeLists.txt +++ b/tutorials/basic/PODSolver/1DPODsin/CMakeLists.txt @@ -1,4 +1,5 @@ -# --------------------------------------------------------------------------# ======== | +# -------------------------------------------------------------------------- +# ======== | # \ / F ield | foam-extend: Open Source CFD # \ / O peration | Version: 4.1 # \ / A nd | Web: http://www.foam-extend.org diff --git a/tutorials/basic/PODSolver/CMakeLists.txt b/tutorials/basic/PODSolver/CMakeLists.txt index 47d07c268..74ec0277f 100644 --- a/tutorials/basic/PODSolver/CMakeLists.txt +++ b/tutorials/basic/PODSolver/CMakeLists.txt @@ -1,4 +1,5 @@ -# --------------------------------------------------------------------------# ======== | +# -------------------------------------------------------------------------- +# ======== | # \ / F ield | foam-extend: Open Source CFD # \ / O peration | Version: 4.1 # \ / A nd | Web: http://www.foam-extend.org diff --git a/tutorials/basic/potentialFoam/CMakeLists.txt b/tutorials/basic/potentialFoam/CMakeLists.txt index 36c0d1edd..aae6bcd9b 100644 --- a/tutorials/basic/potentialFoam/CMakeLists.txt +++ b/tutorials/basic/potentialFoam/CMakeLists.txt @@ -1,4 +1,5 @@ -# --------------------------------------------------------------------------# ======== | +# -------------------------------------------------------------------------- +# ======== | # \ / F ield | foam-extend: Open Source CFD # \ / O peration | Version: 4.1 # \ / A nd | Web: http://www.foam-extend.org diff --git a/tutorials/basic/potentialFoam/cylinder/CMakeLists.txt b/tutorials/basic/potentialFoam/cylinder/CMakeLists.txt index 2547b3ac4..a7cef6c95 100644 --- a/tutorials/basic/potentialFoam/cylinder/CMakeLists.txt +++ b/tutorials/basic/potentialFoam/cylinder/CMakeLists.txt @@ -1,4 +1,5 @@ -# --------------------------------------------------------------------------# ======== | +# -------------------------------------------------------------------------- +# ======== | # \ / F ield | foam-extend: Open Source CFD # \ / O peration | Version: 4.1 # \ / A nd | Web: http://www.foam-extend.org diff --git a/tutorials/basic/scalarTransportFoam/CMakeLists.txt b/tutorials/basic/scalarTransportFoam/CMakeLists.txt index a5df6dae3..cea917f80 100644 --- a/tutorials/basic/scalarTransportFoam/CMakeLists.txt +++ b/tutorials/basic/scalarTransportFoam/CMakeLists.txt @@ -1,4 +1,5 @@ -# --------------------------------------------------------------------------# ======== | +# -------------------------------------------------------------------------- +# ======== | # \ / F ield | foam-extend: Open Source CFD # \ / O peration | Version: 4.1 # \ / A nd | Web: http://www.foam-extend.org diff --git a/tutorials/basic/scalarTransportFoam/swirlTest/CMakeLists.txt b/tutorials/basic/scalarTransportFoam/swirlTest/CMakeLists.txt index 3742419b9..4e1eb13f5 100644 --- a/tutorials/basic/scalarTransportFoam/swirlTest/CMakeLists.txt +++ b/tutorials/basic/scalarTransportFoam/swirlTest/CMakeLists.txt @@ -1,4 +1,5 @@ -# --------------------------------------------------------------------------# ======== | +# -------------------------------------------------------------------------- +# ======== | # \ / F ield | foam-extend: Open Source CFD # \ / O peration | Version: 4.1 # \ / A nd | Web: http://www.foam-extend.org diff --git a/tutorials/compressible/CMakeLists.txt b/tutorials/compressible/CMakeLists.txt index 8db7e81b7..c040297e4 100644 --- a/tutorials/compressible/CMakeLists.txt +++ b/tutorials/compressible/CMakeLists.txt @@ -1,4 +1,5 @@ -# --------------------------------------------------------------------------# ======== | +# -------------------------------------------------------------------------- +# ======== | # \ / F ield | foam-extend: Open Source CFD # \ / O peration | Version: 4.1 # \ / A nd | Web: http://www.foam-extend.org diff --git a/tutorials/compressible/rhoCentralFoam/CMakeLists.txt b/tutorials/compressible/rhoCentralFoam/CMakeLists.txt index d94cf7a6f..4a9d85283 100644 --- a/tutorials/compressible/rhoCentralFoam/CMakeLists.txt +++ b/tutorials/compressible/rhoCentralFoam/CMakeLists.txt @@ -1,4 +1,5 @@ -# --------------------------------------------------------------------------# ======== | +# -------------------------------------------------------------------------- +# ======== | # \ / F ield | foam-extend: Open Source CFD # \ / O peration | Version: 4.1 # \ / A nd | Web: http://www.foam-extend.org diff --git a/tutorials/compressible/rhoCentralFoam/biconic25-55Run35/CMakeLists.txt b/tutorials/compressible/rhoCentralFoam/biconic25-55Run35/CMakeLists.txt index 5d85c18c7..b699134c9 100644 --- a/tutorials/compressible/rhoCentralFoam/biconic25-55Run35/CMakeLists.txt +++ b/tutorials/compressible/rhoCentralFoam/biconic25-55Run35/CMakeLists.txt @@ -1,4 +1,5 @@ -# --------------------------------------------------------------------------# ======== | +# -------------------------------------------------------------------------- +# ======== | # \ / F ield | foam-extend: Open Source CFD # \ / O peration | Version: 4.1 # \ / A nd | Web: http://www.foam-extend.org diff --git a/tutorials/finiteArea/CMakeLists.txt b/tutorials/finiteArea/CMakeLists.txt index 505bf7efb..c9f2fe833 100644 --- a/tutorials/finiteArea/CMakeLists.txt +++ b/tutorials/finiteArea/CMakeLists.txt @@ -1,4 +1,5 @@ -# --------------------------------------------------------------------------# ======== | +# -------------------------------------------------------------------------- +# ======== | # \ / F ield | foam-extend: Open Source CFD # \ / O peration | Version: 4.1 # \ / A nd | Web: http://www.foam-extend.org diff --git a/tutorials/finiteArea/liquidFilmFoam/CMakeLists.txt b/tutorials/finiteArea/liquidFilmFoam/CMakeLists.txt index 278b803ac..817e00b32 100644 --- a/tutorials/finiteArea/liquidFilmFoam/CMakeLists.txt +++ b/tutorials/finiteArea/liquidFilmFoam/CMakeLists.txt @@ -1,4 +1,5 @@ -# --------------------------------------------------------------------------# ======== | +# -------------------------------------------------------------------------- +# ======== | # \ / F ield | foam-extend: Open Source CFD # \ / O peration | Version: 4.1 # \ / A nd | Web: http://www.foam-extend.org diff --git a/tutorials/finiteArea/liquidFilmFoam/dropsSpreading/CMakeLists.txt b/tutorials/finiteArea/liquidFilmFoam/dropsSpreading/CMakeLists.txt index 06a6e90af..ba7f0effe 100644 --- a/tutorials/finiteArea/liquidFilmFoam/dropsSpreading/CMakeLists.txt +++ b/tutorials/finiteArea/liquidFilmFoam/dropsSpreading/CMakeLists.txt @@ -1,4 +1,5 @@ -# --------------------------------------------------------------------------# ======== | +# -------------------------------------------------------------------------- +# ======== | # \ / F ield | foam-extend: Open Source CFD # \ / O peration | Version: 4.1 # \ / A nd | Web: http://www.foam-extend.org diff --git a/tutorials/finiteArea/surfactantFoam/CMakeLists.txt b/tutorials/finiteArea/surfactantFoam/CMakeLists.txt index 80ab11157..0bb2f7fa2 100644 --- a/tutorials/finiteArea/surfactantFoam/CMakeLists.txt +++ b/tutorials/finiteArea/surfactantFoam/CMakeLists.txt @@ -1,4 +1,5 @@ -# --------------------------------------------------------------------------# ======== | +# -------------------------------------------------------------------------- +# ======== | # \ / F ield | foam-extend: Open Source CFD # \ / O peration | Version: 4.1 # \ / A nd | Web: http://www.foam-extend.org diff --git a/tutorials/finiteArea/surfactantFoam/sphereTransport/CMakeLists.txt b/tutorials/finiteArea/surfactantFoam/sphereTransport/CMakeLists.txt index 8f59abf6a..b7a69308d 100644 --- a/tutorials/finiteArea/surfactantFoam/sphereTransport/CMakeLists.txt +++ b/tutorials/finiteArea/surfactantFoam/sphereTransport/CMakeLists.txt @@ -1,4 +1,5 @@ -# --------------------------------------------------------------------------# ======== | +# -------------------------------------------------------------------------- +# ======== | # \ / F ield | foam-extend: Open Source CFD # \ / O peration | Version: 4.1 # \ / A nd | Web: http://www.foam-extend.org diff --git a/tutorials/heatTransfer/CMakeLists.txt b/tutorials/heatTransfer/CMakeLists.txt index 359c0fa13..2a4691dad 100644 --- a/tutorials/heatTransfer/CMakeLists.txt +++ b/tutorials/heatTransfer/CMakeLists.txt @@ -1,4 +1,5 @@ -# --------------------------------------------------------------------------# ======== | +# -------------------------------------------------------------------------- +# ======== | # \ / F ield | foam-extend: Open Source CFD # \ / O peration | Version: 4.1 # \ / A nd | Web: http://www.foam-extend.org diff --git a/tutorials/heatTransfer/buoyantPisoFoam/CMakeLists.txt b/tutorials/heatTransfer/buoyantPisoFoam/CMakeLists.txt index 731e3d4c0..5f80c2b86 100644 --- a/tutorials/heatTransfer/buoyantPisoFoam/CMakeLists.txt +++ b/tutorials/heatTransfer/buoyantPisoFoam/CMakeLists.txt @@ -1,4 +1,5 @@ -# --------------------------------------------------------------------------# ======== | +# -------------------------------------------------------------------------- +# ======== | # \ / F ield | foam-extend: Open Source CFD # \ / O peration | Version: 4.1 # \ / A nd | Web: http://www.foam-extend.org diff --git a/tutorials/heatTransfer/buoyantPisoFoam/hotRoom/CMakeLists.txt b/tutorials/heatTransfer/buoyantPisoFoam/hotRoom/CMakeLists.txt index e24fcee83..d767abcfe 100644 --- a/tutorials/heatTransfer/buoyantPisoFoam/hotRoom/CMakeLists.txt +++ b/tutorials/heatTransfer/buoyantPisoFoam/hotRoom/CMakeLists.txt @@ -1,4 +1,5 @@ -# --------------------------------------------------------------------------# ======== | +# -------------------------------------------------------------------------- +# ======== | # \ / F ield | foam-extend: Open Source CFD # \ / O peration | Version: 4.1 # \ / A nd | Web: http://www.foam-extend.org diff --git a/tutorials/immersedBoundary/CMakeLists.txt b/tutorials/immersedBoundary/CMakeLists.txt index d724f10e0..b00eda79f 100644 --- a/tutorials/immersedBoundary/CMakeLists.txt +++ b/tutorials/immersedBoundary/CMakeLists.txt @@ -1,4 +1,5 @@ -# --------------------------------------------------------------------------# ======== | +# -------------------------------------------------------------------------- +# ======== | # \ / F ield | foam-extend: Open Source CFD # \ / O peration | Version: 4.1 # \ / A nd | Web: http://www.foam-extend.org diff --git a/tutorials/immersedBoundary/sphereInChannel/CMakeLists.txt b/tutorials/immersedBoundary/sphereInChannel/CMakeLists.txt index e10fc2837..e7523951c 100644 --- a/tutorials/immersedBoundary/sphereInChannel/CMakeLists.txt +++ b/tutorials/immersedBoundary/sphereInChannel/CMakeLists.txt @@ -1,4 +1,5 @@ -# --------------------------------------------------------------------------# ======== | +# -------------------------------------------------------------------------- +# ======== | # \ / F ield | foam-extend: Open Source CFD # \ / O peration | Version: 4.1 # \ / A nd | Web: http://www.foam-extend.org diff --git a/tutorials/immersedBoundary/thickPlateRefinedMesh/CMakeLists.txt b/tutorials/immersedBoundary/thickPlateRefinedMesh/CMakeLists.txt index c05232353..1a1ba5913 100644 --- a/tutorials/immersedBoundary/thickPlateRefinedMesh/CMakeLists.txt +++ b/tutorials/immersedBoundary/thickPlateRefinedMesh/CMakeLists.txt @@ -1,4 +1,5 @@ -# --------------------------------------------------------------------------# ======== | +# -------------------------------------------------------------------------- +# ======== | # \ / F ield | foam-extend: Open Source CFD # \ / O peration | Version: 4.1 # \ / A nd | Web: http://www.foam-extend.org diff --git a/tutorials/incompressible/CMakeLists.txt b/tutorials/incompressible/CMakeLists.txt index 75afaf363..995eb8540 100644 --- a/tutorials/incompressible/CMakeLists.txt +++ b/tutorials/incompressible/CMakeLists.txt @@ -1,4 +1,5 @@ -# --------------------------------------------------------------------------# ======== | +# -------------------------------------------------------------------------- +# ======== | # \ / F ield | foam-extend: Open Source CFD # \ / O peration | Version: 4.1 # \ / A nd | Web: http://www.foam-extend.org diff --git a/tutorials/incompressible/icoDyMFoam/CMakeLists.txt b/tutorials/incompressible/icoDyMFoam/CMakeLists.txt index c1b3d05f8..3844ec576 100644 --- a/tutorials/incompressible/icoDyMFoam/CMakeLists.txt +++ b/tutorials/incompressible/icoDyMFoam/CMakeLists.txt @@ -1,4 +1,5 @@ -# --------------------------------------------------------------------------# ======== | +# -------------------------------------------------------------------------- +# ======== | # \ / F ield | foam-extend: Open Source CFD # \ / O peration | Version: 4.1 # \ / A nd | Web: http://www.foam-extend.org diff --git a/tutorials/incompressible/icoDyMFoam/movingBlockRBF/CMakeLists.txt b/tutorials/incompressible/icoDyMFoam/movingBlockRBF/CMakeLists.txt index d6ad477e4..48373c00b 100644 --- a/tutorials/incompressible/icoDyMFoam/movingBlockRBF/CMakeLists.txt +++ b/tutorials/incompressible/icoDyMFoam/movingBlockRBF/CMakeLists.txt @@ -1,4 +1,5 @@ -# --------------------------------------------------------------------------# ======== | +# -------------------------------------------------------------------------- +# ======== | # \ / F ield | foam-extend: Open Source CFD # \ / O peration | Version: 4.1 # \ / A nd | Web: http://www.foam-extend.org diff --git a/tutorials/incompressible/icoDyMFoam/movingConeMotion/CMakeLists.txt b/tutorials/incompressible/icoDyMFoam/movingConeMotion/CMakeLists.txt index 59dca2170..ea7c05e09 100644 --- a/tutorials/incompressible/icoDyMFoam/movingConeMotion/CMakeLists.txt +++ b/tutorials/incompressible/icoDyMFoam/movingConeMotion/CMakeLists.txt @@ -1,4 +1,5 @@ -# --------------------------------------------------------------------------# ======== | +# -------------------------------------------------------------------------- +# ======== | # \ / F ield | foam-extend: Open Source CFD # \ / O peration | Version: 4.1 # \ / A nd | Web: http://www.foam-extend.org diff --git a/tutorials/lagrangian/CMakeLists.txt b/tutorials/lagrangian/CMakeLists.txt index 8434d3eed..faf4f04a2 100644 --- a/tutorials/lagrangian/CMakeLists.txt +++ b/tutorials/lagrangian/CMakeLists.txt @@ -1,4 +1,5 @@ -# --------------------------------------------------------------------------# ======== | +# -------------------------------------------------------------------------- +# ======== | # \ / F ield | foam-extend: Open Source CFD # \ / O peration | Version: 4.1 # \ / A nd | Web: http://www.foam-extend.org diff --git a/tutorials/lagrangian/icoLagrangianFoam/CMakeLists.txt b/tutorials/lagrangian/icoLagrangianFoam/CMakeLists.txt index 6c396b17c..305f94017 100644 --- a/tutorials/lagrangian/icoLagrangianFoam/CMakeLists.txt +++ b/tutorials/lagrangian/icoLagrangianFoam/CMakeLists.txt @@ -1,4 +1,5 @@ -# --------------------------------------------------------------------------# ======== | +# -------------------------------------------------------------------------- +# ======== | # \ / F ield | foam-extend: Open Source CFD # \ / O peration | Version: 4.1 # \ / A nd | Web: http://www.foam-extend.org diff --git a/tutorials/lagrangian/rhoPisoTwinParcelFoam/CMakeLists.txt b/tutorials/lagrangian/rhoPisoTwinParcelFoam/CMakeLists.txt index d0d101aaf..42f8deb0e 100644 --- a/tutorials/lagrangian/rhoPisoTwinParcelFoam/CMakeLists.txt +++ b/tutorials/lagrangian/rhoPisoTwinParcelFoam/CMakeLists.txt @@ -1,4 +1,5 @@ -# --------------------------------------------------------------------------# ======== | +# -------------------------------------------------------------------------- +# ======== | # \ / F ield | foam-extend: Open Source CFD # \ / O peration | Version: 4.1 # \ / A nd | Web: http://www.foam-extend.org diff --git a/tutorials/multiphase/CMakeLists.txt b/tutorials/multiphase/CMakeLists.txt index 7b0928bee..cb387a414 100644 --- a/tutorials/multiphase/CMakeLists.txt +++ b/tutorials/multiphase/CMakeLists.txt @@ -1,4 +1,5 @@ -# --------------------------------------------------------------------------# ======== | +# -------------------------------------------------------------------------- +# ======== | # \ / F ield | foam-extend: Open Source CFD # \ / O peration | Version: 4.1 # \ / A nd | Web: http://www.foam-extend.org diff --git a/tutorials/multiphase/interDyMFoam/CMakeLists.txt b/tutorials/multiphase/interDyMFoam/CMakeLists.txt index eda43e6fd..3fa034a4c 100644 --- a/tutorials/multiphase/interDyMFoam/CMakeLists.txt +++ b/tutorials/multiphase/interDyMFoam/CMakeLists.txt @@ -1,4 +1,5 @@ -# --------------------------------------------------------------------------# ======== | +# -------------------------------------------------------------------------- +# ======== | # \ / F ield | foam-extend: Open Source CFD # \ / O peration | Version: 4.1 # \ / A nd | Web: http://www.foam-extend.org diff --git a/tutorials/multiphase/interDyMFoam/ras/CMakeLists.txt b/tutorials/multiphase/interDyMFoam/ras/CMakeLists.txt index 7de925e3c..a8cae4fe6 100644 --- a/tutorials/multiphase/interDyMFoam/ras/CMakeLists.txt +++ b/tutorials/multiphase/interDyMFoam/ras/CMakeLists.txt @@ -1,4 +1,5 @@ -# --------------------------------------------------------------------------# ======== | +# -------------------------------------------------------------------------- +# ======== | # \ / F ield | foam-extend: Open Source CFD # \ / O peration | Version: 4.1 # \ / A nd | Web: http://www.foam-extend.org diff --git a/tutorials/multiphase/interDyMFoam/ras/sloshingTank3D6DoF/CMakeLists.txt b/tutorials/multiphase/interDyMFoam/ras/sloshingTank3D6DoF/CMakeLists.txt index 89ae30c69..2a9f5604f 100644 --- a/tutorials/multiphase/interDyMFoam/ras/sloshingTank3D6DoF/CMakeLists.txt +++ b/tutorials/multiphase/interDyMFoam/ras/sloshingTank3D6DoF/CMakeLists.txt @@ -1,4 +1,5 @@ -# --------------------------------------------------------------------------# ======== | +# -------------------------------------------------------------------------- +# ======== | # \ / F ield | foam-extend: Open Source CFD # \ / O peration | Version: 4.1 # \ / A nd | Web: http://www.foam-extend.org diff --git a/tutorials/solidMechanics/CMakeLists.txt b/tutorials/solidMechanics/CMakeLists.txt index a922b9899..4bf6047eb 100644 --- a/tutorials/solidMechanics/CMakeLists.txt +++ b/tutorials/solidMechanics/CMakeLists.txt @@ -1,4 +1,5 @@ -# --------------------------------------------------------------------------# ======== | +# -------------------------------------------------------------------------- +# ======== | # \ / F ield | foam-extend: Open Source CFD # \ / O peration | Version: 4.1 # \ / A nd | Web: http://www.foam-extend.org diff --git a/tutorials/solidMechanics/elasticSolidFoam/CMakeLists.txt b/tutorials/solidMechanics/elasticSolidFoam/CMakeLists.txt index 0a072521e..565a17deb 100644 --- a/tutorials/solidMechanics/elasticSolidFoam/CMakeLists.txt +++ b/tutorials/solidMechanics/elasticSolidFoam/CMakeLists.txt @@ -1,4 +1,5 @@ -# --------------------------------------------------------------------------# ======== | +# -------------------------------------------------------------------------- +# ======== | # \ / F ield | foam-extend: Open Source CFD # \ / O peration | Version: 4.1 # \ / A nd | Web: http://www.foam-extend.org diff --git a/tutorials/solidMechanics/elasticSolidFoam/plateHole/CMakeLists.txt b/tutorials/solidMechanics/elasticSolidFoam/plateHole/CMakeLists.txt index 87e7026a6..c48a94be7 100644 --- a/tutorials/solidMechanics/elasticSolidFoam/plateHole/CMakeLists.txt +++ b/tutorials/solidMechanics/elasticSolidFoam/plateHole/CMakeLists.txt @@ -1,4 +1,5 @@ -# --------------------------------------------------------------------------# ======== | +# -------------------------------------------------------------------------- +# ======== | # \ / F ield | foam-extend: Open Source CFD # \ / O peration | Version: 4.1 # \ / A nd | Web: http://www.foam-extend.org diff --git a/tutorials/solidMechanics/elasticThermalSolidFoam/CMakeLists.txt b/tutorials/solidMechanics/elasticThermalSolidFoam/CMakeLists.txt index e56612143..af9916043 100644 --- a/tutorials/solidMechanics/elasticThermalSolidFoam/CMakeLists.txt +++ b/tutorials/solidMechanics/elasticThermalSolidFoam/CMakeLists.txt @@ -1,4 +1,5 @@ -# --------------------------------------------------------------------------# ======== | +# -------------------------------------------------------------------------- +# ======== | # \ / F ield | foam-extend: Open Source CFD # \ / O peration | Version: 4.1 # \ / A nd | Web: http://www.foam-extend.org diff --git a/tutorials/solidMechanics/elasticThermalSolidFoam/hotCylinder/CMakeLists.txt b/tutorials/solidMechanics/elasticThermalSolidFoam/hotCylinder/CMakeLists.txt index ccb38a012..9c6ac05f8 100644 --- a/tutorials/solidMechanics/elasticThermalSolidFoam/hotCylinder/CMakeLists.txt +++ b/tutorials/solidMechanics/elasticThermalSolidFoam/hotCylinder/CMakeLists.txt @@ -1,4 +1,5 @@ -# --------------------------------------------------------------------------# ======== | +# -------------------------------------------------------------------------- +# ======== | # \ / F ield | foam-extend: Open Source CFD # \ / O peration | Version: 4.1 # \ / A nd | Web: http://www.foam-extend.org diff --git a/tutorials/solidMechanics/elasticThermalSolidFoam/hotCylinder/analyticalHotCylinder/CMakeLists.txt b/tutorials/solidMechanics/elasticThermalSolidFoam/hotCylinder/analyticalHotCylinder/CMakeLists.txt index 0793e874f..9a4c0cbfb 100644 --- a/tutorials/solidMechanics/elasticThermalSolidFoam/hotCylinder/analyticalHotCylinder/CMakeLists.txt +++ b/tutorials/solidMechanics/elasticThermalSolidFoam/hotCylinder/analyticalHotCylinder/CMakeLists.txt @@ -1,4 +1,5 @@ -# --------------------------------------------------------------------------# ======== | +# -------------------------------------------------------------------------- +# ======== | # \ / F ield | foam-extend: Open Source CFD # \ / O peration | Version: 4.1 # \ / A nd | Web: http://www.foam-extend.org From ce4104072e2b6c6e40998a51df7f3fbd3358a353 Mon Sep 17 00:00:00 2001 From: Henrik Rusche Date: Thu, 9 Mar 2017 12:51:19 +0100 Subject: [PATCH 017/361] Inital find modules for mesquite, scotch, metis, partmetis, parmgridgen --- CMakeLists.txt | 39 ++- cmake/FindMesquite.cmake | 27 ++ cmake/FindMetis.cmake | 31 ++ cmake/FindParMGridGen.cmake | 38 +++ cmake/FindParMetis.cmake | 31 ++ cmake/FindScotch.cmake | 31 ++ cmake/LibFindMacros.cmake | 266 ++++++++++++++++++ src/dbns/CMakeLists.txt | 14 +- src/decompositionMethods/CMakeLists.txt | 6 +- .../metisDecomp/CMakeLists.txt | 2 +- .../metisDecomp/metisDecomp.C | 1 - .../parMetisDecomp/CMakeLists.txt | 2 +- .../scotchDecomp/CMakeLists.txt | 2 +- src/dynamicMesh/meshMotion/CMakeLists.txt | 4 +- .../mesquiteMotionSolver/CMakeLists.txt | 2 +- src/fvAgglomerationMethods/CMakeLists.txt | 2 +- .../MGridGenGamgAgglomeration/CMakeLists.txt | 2 +- 17 files changed, 475 insertions(+), 25 deletions(-) create mode 100644 cmake/FindMesquite.cmake create mode 100644 cmake/FindMetis.cmake create mode 100644 cmake/FindParMGridGen.cmake create mode 100644 cmake/FindParMetis.cmake create mode 100644 cmake/FindScotch.cmake create mode 100644 cmake/LibFindMacros.cmake diff --git a/CMakeLists.txt b/CMakeLists.txt index 539ad5613..8e0e11fbb 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -79,15 +79,42 @@ find_package(Git REQUIRED) # Path to ParaViewConfig.cmake set(ParaView_DIR ${CMAKE_CURRENT_SOURCE_DIR}/ThirdParty/packages/ParaView-4.4.0/platforms/linux64GccDPOpt/lib/cmake/paraview-4.4) - find_package(ParaView REQUIRED) -# Clean the cache variable -set(MGRIDGEN_LIBRARY MGRIDGEN_LIBRARY-NOTFOUND) +find_package(Mesquite REQUIRED) +if(MESQUITE_FOUND) + add_library(mesquite SHARED IMPORTED) + set_property(TARGET mesquite PROPERTY INTERFACE_INCLUDE_DIRECTORIES ${MESQUITE_INCLUDE_DIRS}) + set_property(TARGET mesquite PROPERTY IMPORTED_LOCATION ${MESQUITE_LIBRARY}) +endif() -# Find libMGridGen.so -find_library(MGRIDGEN_LIBRARY MGridGen ${CMAKE_CURRENT_SOURCE_DIR}/ThirdParty/packages/ParMGridGen-1.0/platforms/linux64GccDPOpt/lib) -set(MGRIDGEN_INCLUDES ${CMAKE_CURRENT_SOURCE_DIR}/ThirdParty/packages/ParMGridGen-1.0/platforms/linux64GccDPOpt/include) +find_package(Scotch REQUIRED) +if(SCOTCH_FOUND) + add_library(scotch SHARED IMPORTED) + set_property(TARGET scotch PROPERTY INTERFACE_INCLUDE_DIRECTORIES ${SCOTCH_INCLUDE_DIRS}) + set_property(TARGET scotch PROPERTY IMPORTED_LOCATION ${SCOTCH_LIBRARY}) +endif() + +find_package(Metis REQUIRED) +if(METIS_FOUND) + add_library(metis SHARED IMPORTED) + set_property(TARGET metis PROPERTY INTERFACE_INCLUDE_DIRECTORIES ${METIS_INCLUDE_DIRS}) + set_property(TARGET metis PROPERTY IMPORTED_LOCATION ${METIS_LIBRARY}) +endif() + +find_package(ParMetis REQUIRED) +if(PARMETIS_FOUND) + add_library(parmetis SHARED IMPORTED) + set_property(TARGET parmetis PROPERTY INTERFACE_INCLUDE_DIRECTORIES ${PARMETIS_INCLUDE_DIRS}) + set_property(TARGET parmetis PROPERTY IMPORTED_LOCATION ${PARMETIS_LIBRARY}) +endif() + +find_package(ParMGridGen REQUIRED) +if(PARMGRIDGEN_FOUND) + add_library(parmgridgen SHARED IMPORTED) + set_property(TARGET parmgridgen PROPERTY INTERFACE_INCLUDE_DIRECTORIES ${PARMGRIDGEN_INCLUDE_DIRS}) + set_property(TARGET parmgridgen PROPERTY IMPORTED_LOCATION ${PARMGRIDGEN_LIBRARY}) +endif() # diff --git a/cmake/FindMesquite.cmake b/cmake/FindMesquite.cmake new file mode 100644 index 000000000..c7746c550 --- /dev/null +++ b/cmake/FindMesquite.cmake @@ -0,0 +1,27 @@ + +include(LibFindMacros) + +# Use pkg-config to get hints about paths +libfind_pkg_check_modules(MESQUITE_PKGCONF mesquite) + +# Include dir +find_path(MESQUITE_INCLUDE_DIR + NAMES Mesquite_all_headers.hpp + HINTS + ThirdParty/packages/mesquite-2.1.2/platforms/linux64GccDPOpt/include + ${MESQUITE_PKGCONF_INCLUDE_DIRS} +) + +# Finally the library itself +find_library(MESQUITE_LIBRARY + NAMES mesquite + HINTS + ThirdParty/packages/mesquite-2.1.2/platforms/linux64GccDPOpt/lib + ${MESQUITE_PKGCONF_LIBRARY_DIRS} +) + +# Set the include dir variables and the libraries and let libfind_process do the rest. +# NOTE: Singular variables for this library, plural for libraries this this lib depends on. +set(MESQUITE_PROCESS_INCLUDES MESQUITE_INCLUDE_DIR) +set(MESQUITE_PROCESS_LIBS MESQUITE_LIBRARY) +libfind_process(MESQUITE) diff --git a/cmake/FindMetis.cmake b/cmake/FindMetis.cmake new file mode 100644 index 000000000..fe283fdca --- /dev/null +++ b/cmake/FindMetis.cmake @@ -0,0 +1,31 @@ + +include(LibFindMacros) + +# Use pkg-config to get hints about paths +libfind_pkg_check_modules(METIS_PKGCONF metis) + +# Include dir +find_path(METIS_INCLUDE_DIR + NAMES metis.h + HINTS + ThirdParty/packages/metis-5.1.0/platforms/linux64GccDPOpt/include + ${METIS_PKGCONF_INCLUDE_DIRS} +) + +# Finally the library itself +find_library(METIS_LIBRARY + NAMES metis + HINTS + ThirdParty/packages/metis-5.1.0/platforms/linux64GccDPOpt/lib + ${METIS_PKGCONF_LIBRARY_DIRS} +) + +# Set the include dir variables and the libraries and let libfind_process do the rest. +# NOTE: Singular variables for this library, plural for libraries this this lib depends on. + +message(STATUS ${METIS_INCLUDE_DIR}) +message(STATUS ${METIS_LIBRARY}) + +set(METIS_PROCESS_INCLUDES METIS_INCLUDE_DIR) +set(METIS_PROCESS_LIBS METIS_LIBRARY) +libfind_process(METIS) diff --git a/cmake/FindParMGridGen.cmake b/cmake/FindParMGridGen.cmake new file mode 100644 index 000000000..518dfb2f5 --- /dev/null +++ b/cmake/FindParMGridGen.cmake @@ -0,0 +1,38 @@ + +include(LibFindMacros) + +# Use pkg-config to get hints about paths +libfind_pkg_check_modules(PARMGRIDGEN_PKGCONF scotch) + +# Include dir +find_path(PARMGRIDGEN_INCLUDE_DIR + NAMES mgridgen.h + HINTS + ThirdParty/packages/ParMGridGen-1.0/platforms/linux64GccDPOpt/include/Lib + ${PARMGRIDGEN_PKGCONF_INCLUDE_DIRS} +) + +find_path(PARMGRIDGEN_INCLUDE_DIR2 + NAMES IMlib.h + HINTS + ThirdParty/packages/ParMGridGen-1.0/platforms/linux64GccDPOpt/include/IMlib + ${PARMGRIDGEN_PKGCONF_INCLUDE_DIRS} +) + +# Finally the library itself +find_library(PARMGRIDGEN_LIBRARY + NAMES MGridGen + HINTS + ThirdParty/packages/ParMGridGen-1.0/platforms/linux64GccDPOpt/lib + ${PARMGRIDGEN_PKGCONF_LIBRARY_DIRS} +) + +# Set the include dir variables and the libraries and let libfind_process do the rest. +# NOTE: Singular variables for this library, plural for libraries this this lib depends on. + +message(STATUS ${PARMGRIDGEN_INCLUDE_DIR}) +message(STATUS ${PARMGRIDGEN_LIBRARY}) + +set(PARMGRIDGEN_PROCESS_INCLUDES PARMGRIDGEN_INCLUDE_DIR PARMGRIDGEN_INCLUDE_DIR2) +set(PARMGRIDGEN_PROCESS_LIBS PARMGRIDGEN_LIBRARY) +libfind_process(PARMGRIDGEN) diff --git a/cmake/FindParMetis.cmake b/cmake/FindParMetis.cmake new file mode 100644 index 000000000..29975bce5 --- /dev/null +++ b/cmake/FindParMetis.cmake @@ -0,0 +1,31 @@ + +include(LibFindMacros) + +# Use pkg-config to get hints about paths +libfind_pkg_check_modules(PARMETIS_PKGCONF parmetis) + +# Include dir +find_path(PARMETIS_INCLUDE_DIR + NAMES parmetis.h + HINTS + ThirdParty/packages/parmetis-4.0.3/platforms/linux64GccDPOpt/include + ${PARMETIS_PKGCONF_INCLUDE_DIRS} +) + +# Finally the library itself +find_library(PARMETIS_LIBRARY + NAMES parmetis + HINTS + ThirdParty/packages/parmetis-4.0.3/platforms/linux64GccDPOpt/lib + ${PARMETIS_PKGCONF_LIBRARY_DIRS} +) + +# Set the include dir variables and the libraries and let libfind_process do the rest. +# NOTE: Singular variables for this library, plural for libraries this this lib depends on. + +message(STATUS ${PARMETIS_INCLUDE_DIR}) +message(STATUS ${PARMETIS_LIBRARY}) + +set(PARMETIS_PROCESS_INCLUDES PARMETIS_INCLUDE_DIR) +set(PARMETIS_PROCESS_LIBS PARMETIS_LIBRARY) +libfind_process(PARMETIS) diff --git a/cmake/FindScotch.cmake b/cmake/FindScotch.cmake new file mode 100644 index 000000000..e89c5c179 --- /dev/null +++ b/cmake/FindScotch.cmake @@ -0,0 +1,31 @@ + +include(LibFindMacros) + +# Use pkg-config to get hints about paths +libfind_pkg_check_modules(SCOTCH_PKGCONF scotch) + +# Include dir +find_path(SCOTCH_INCLUDE_DIR + NAMES scotch.h + HINTS + ThirdParty/packages/scotch-6.0.4/platforms/linux64GccDPOpt/include + ${SCOTCH_PKGCONF_INCLUDE_DIRS} +) + +# Finally the library itself +find_library(SCOTCH_LIBRARY + NAMES scotch + HINTS + ThirdParty/packages/scotch-6.0.4/platforms/linux64GccDPOpt/lib + ${SCOTCH_PKGCONF_LIBRARY_DIRS} +) + +# Set the include dir variables and the libraries and let libfind_process do the rest. +# NOTE: Singular variables for this library, plural for libraries this this lib depends on. + +message(STATUS ${SCOTCH_INCLUDE_DIR}) +message(STATUS ${SCOTCH_LIBRARY}) + +set(SCOTCH_PROCESS_INCLUDES SCOTCH_INCLUDE_DIR) +set(SCOTCH_PROCESS_LIBS SCOTCH_LIBRARY) +libfind_process(SCOTCH) diff --git a/cmake/LibFindMacros.cmake b/cmake/LibFindMacros.cmake new file mode 100644 index 000000000..3ef5844dd --- /dev/null +++ b/cmake/LibFindMacros.cmake @@ -0,0 +1,266 @@ +# Version 2.2 +# Public Domain, originally written by Lasse Kärkkäinen +# Maintained at https://github.com/Tronic/cmake-modules +# Please send your improvements as pull requests on Github. + +# Find another package and make it a dependency of the current package. +# This also automatically forwards the "REQUIRED" argument. +# Usage: libfind_package( [extra args to find_package]) +macro (libfind_package PREFIX PKG) + set(${PREFIX}_args ${PKG} ${ARGN}) + if (${PREFIX}_FIND_REQUIRED) + set(${PREFIX}_args ${${PREFIX}_args} REQUIRED) + endif() + find_package(${${PREFIX}_args}) + set(${PREFIX}_DEPENDENCIES ${${PREFIX}_DEPENDENCIES};${PKG}) + unset(${PREFIX}_args) +endmacro() + +# A simple wrapper to make pkg-config searches a bit easier. +# Works the same as CMake's internal pkg_check_modules but is always quiet. +macro (libfind_pkg_check_modules) + find_package(PkgConfig QUIET) + if (PKG_CONFIG_FOUND) + pkg_check_modules(${ARGN} QUIET) + endif() +endmacro() + +# Avoid useless copy&pasta by doing what most simple libraries do anyway: +# pkg-config, find headers, find library. +# Usage: libfind_pkg_detect( FIND_PATH [other args] FIND_LIBRARY [other args]) +# E.g. libfind_pkg_detect(SDL2 sdl2 FIND_PATH SDL.h PATH_SUFFIXES SDL2 FIND_LIBRARY SDL2) +function (libfind_pkg_detect PREFIX) + # Parse arguments + set(argname pkgargs) + foreach (i ${ARGN}) + if ("${i}" STREQUAL "FIND_PATH") + set(argname pathargs) + elseif ("${i}" STREQUAL "FIND_LIBRARY") + set(argname libraryargs) + else() + set(${argname} ${${argname}} ${i}) + endif() + endforeach() + if (NOT pkgargs) + message(FATAL_ERROR "libfind_pkg_detect requires at least a pkg_config package name to be passed.") + endif() + # Find library + libfind_pkg_check_modules(${PREFIX}_PKGCONF ${pkgargs}) + if (pathargs) + find_path(${PREFIX}_INCLUDE_DIR NAMES ${pathargs} HINTS ${${PREFIX}_PKGCONF_INCLUDE_DIRS}) + endif() + if (libraryargs) + find_library(${PREFIX}_LIBRARY NAMES ${libraryargs} HINTS ${${PREFIX}_PKGCONF_LIBRARY_DIRS}) + endif() +endfunction() + +# Extracts a version #define from a version.h file, output stored to _VERSION. +# Usage: libfind_version_header(Foobar foobar/version.h FOOBAR_VERSION_STR) +# Fourth argument "QUIET" may be used for silently testing different define names. +# This function does nothing if the version variable is already defined. +function (libfind_version_header PREFIX VERSION_H DEFINE_NAME) + # Skip processing if we already have a version or if the include dir was not found + if (${PREFIX}_VERSION OR NOT ${PREFIX}_INCLUDE_DIR) + return() + endif() + set(quiet ${${PREFIX}_FIND_QUIETLY}) + # Process optional arguments + foreach(arg ${ARGN}) + if (arg STREQUAL "QUIET") + set(quiet TRUE) + else() + message(AUTHOR_WARNING "Unknown argument ${arg} to libfind_version_header ignored.") + endif() + endforeach() + # Read the header and parse for version number + set(filename "${${PREFIX}_INCLUDE_DIR}/${VERSION_H}") + if (NOT EXISTS ${filename}) + if (NOT quiet) + message(AUTHOR_WARNING "Unable to find ${${PREFIX}_INCLUDE_DIR}/${VERSION_H}") + endif() + return() + endif() + file(READ "${filename}" header) + string(REGEX REPLACE ".*#[ \t]*define[ \t]*${DEFINE_NAME}[ \t]*\"([^\n]*)\".*" "\\1" match "${header}") + # No regex match? + if (match STREQUAL header) + if (NOT quiet) + message(AUTHOR_WARNING "Unable to find \#define ${DEFINE_NAME} \"\" from ${${PREFIX}_INCLUDE_DIR}/${VERSION_H}") + endif() + return() + endif() + # Export the version string + set(${PREFIX}_VERSION "${match}" PARENT_SCOPE) +endfunction() + +# Do the final processing once the paths have been detected. +# If include dirs are needed, ${PREFIX}_PROCESS_INCLUDES should be set to contain +# all the variables, each of which contain one include directory. +# Ditto for ${PREFIX}_PROCESS_LIBS and library files. +# Will set ${PREFIX}_FOUND, ${PREFIX}_INCLUDE_DIRS and ${PREFIX}_LIBRARIES. +# Also handles errors in case library detection was required, etc. +function (libfind_process PREFIX) + # Skip processing if already processed during this configuration run + if (${PREFIX}_FOUND) + return() + endif() + + set(found TRUE) # Start with the assumption that the package was found + + # Did we find any files? Did we miss includes? These are for formatting better error messages. + set(some_files FALSE) + set(missing_headers FALSE) + + # Shorthands for some variables that we need often + set(quiet ${${PREFIX}_FIND_QUIETLY}) + set(required ${${PREFIX}_FIND_REQUIRED}) + set(exactver ${${PREFIX}_FIND_VERSION_EXACT}) + set(findver "${${PREFIX}_FIND_VERSION}") + set(version "${${PREFIX}_VERSION}") + + # Lists of config option names (all, includes, libs) + unset(configopts) + set(includeopts ${${PREFIX}_PROCESS_INCLUDES}) + set(libraryopts ${${PREFIX}_PROCESS_LIBS}) + + # Process deps to add to + foreach (i ${PREFIX} ${${PREFIX}_DEPENDENCIES}) + if (DEFINED ${i}_INCLUDE_OPTS OR DEFINED ${i}_LIBRARY_OPTS) + # The package seems to export option lists that we can use, woohoo! + list(APPEND includeopts ${${i}_INCLUDE_OPTS}) + list(APPEND libraryopts ${${i}_LIBRARY_OPTS}) + else() + # If plural forms don't exist or they equal singular forms + if ((NOT DEFINED ${i}_INCLUDE_DIRS AND NOT DEFINED ${i}_LIBRARIES) OR + ({i}_INCLUDE_DIR STREQUAL ${i}_INCLUDE_DIRS AND ${i}_LIBRARY STREQUAL ${i}_LIBRARIES)) + # Singular forms can be used + if (DEFINED ${i}_INCLUDE_DIR) + list(APPEND includeopts ${i}_INCLUDE_DIR) + endif() + if (DEFINED ${i}_LIBRARY) + list(APPEND libraryopts ${i}_LIBRARY) + endif() + else() + # Oh no, we don't know the option names + message(FATAL_ERROR "We couldn't determine config variable names for ${i} includes and libs. Aieeh!") + endif() + endif() + endforeach() + + if (includeopts) + list(REMOVE_DUPLICATES includeopts) + endif() + + if (libraryopts) + list(REMOVE_DUPLICATES libraryopts) + endif() + + string(REGEX REPLACE ".*[ ;]([^ ;]*(_INCLUDE_DIRS|_LIBRARIES))" "\\1" tmp "${includeopts} ${libraryopts}") + if (NOT tmp STREQUAL "${includeopts} ${libraryopts}") + message(AUTHOR_WARNING "Plural form ${tmp} found in config options of ${PREFIX}. This works as before but is now deprecated. Please only use singular forms INCLUDE_DIR and LIBRARY, and update your find scripts for LibFindMacros > 2.0 automatic dependency system (most often you can simply remove the PROCESS variables entirely).") + endif() + + # Include/library names separated by spaces (notice: not CMake lists) + unset(includes) + unset(libs) + + # Process all includes and set found false if any are missing + foreach (i ${includeopts}) + list(APPEND configopts ${i}) + if (NOT "${${i}}" STREQUAL "${i}-NOTFOUND") + list(APPEND includes "${${i}}") + else() + set(found FALSE) + set(missing_headers TRUE) + endif() + endforeach() + + # Process all libraries and set found false if any are missing + foreach (i ${libraryopts}) + list(APPEND configopts ${i}) + if (NOT "${${i}}" STREQUAL "${i}-NOTFOUND") + list(APPEND libs "${${i}}") + else() + set (found FALSE) + endif() + endforeach() + + # Version checks + if (found AND findver) + if (NOT version) + message(WARNING "The find module for ${PREFIX} does not provide version information, so we'll just assume that it is OK. Please fix the module or remove package version requirements to get rid of this warning.") + elseif (version VERSION_LESS findver OR (exactver AND NOT version VERSION_EQUAL findver)) + set(found FALSE) + set(version_unsuitable TRUE) + endif() + endif() + + # If all-OK, hide all config options, export variables, print status and exit + if (found) + foreach (i ${configopts}) + mark_as_advanced(${i}) + endforeach() + if (NOT quiet) + message(STATUS "Found ${PREFIX} ${${PREFIX}_VERSION}") + if (LIBFIND_DEBUG) + message(STATUS " ${PREFIX}_DEPENDENCIES=${${PREFIX}_DEPENDENCIES}") + message(STATUS " ${PREFIX}_INCLUDE_OPTS=${includeopts}") + message(STATUS " ${PREFIX}_INCLUDE_DIRS=${includes}") + message(STATUS " ${PREFIX}_LIBRARY_OPTS=${libraryopts}") + message(STATUS " ${PREFIX}_LIBRARIES=${libs}") + endif() + set (${PREFIX}_INCLUDE_OPTS ${includeopts} PARENT_SCOPE) + set (${PREFIX}_LIBRARY_OPTS ${libraryopts} PARENT_SCOPE) + set (${PREFIX}_INCLUDE_DIRS ${includes} PARENT_SCOPE) + set (${PREFIX}_LIBRARIES ${libs} PARENT_SCOPE) + set (${PREFIX}_FOUND TRUE PARENT_SCOPE) + endif() + return() + endif() + + # Format messages for debug info and the type of error + set(vars "Relevant CMake configuration variables:\n") + foreach (i ${configopts}) + mark_as_advanced(CLEAR ${i}) + set(val ${${i}}) + if ("${val}" STREQUAL "${i}-NOTFOUND") + set (val "") + elseif (val AND NOT EXISTS ${val}) + set (val "${val} (does not exist)") + else() + set(some_files TRUE) + endif() + set(vars "${vars} ${i}=${val}\n") + endforeach() + set(vars "${vars}You may use CMake GUI, cmake -D or ccmake to modify the values. Delete CMakeCache.txt to discard all values and force full re-detection if necessary.\n") + if (version_unsuitable) + set(msg "${PREFIX} ${${PREFIX}_VERSION} was found but") + if (exactver) + set(msg "${msg} only version ${findver} is acceptable.") + else() + set(msg "${msg} version ${findver} is the minimum requirement.") + endif() + else() + if (missing_headers) + set(msg "We could not find development headers for ${PREFIX}. Do you have the necessary dev package installed?") + elseif (some_files) + set(msg "We only found some files of ${PREFIX}, not all of them. Perhaps your installation is incomplete or maybe we just didn't look in the right place?") + if(findver) + set(msg "${msg} This could also be caused by incompatible version (if it helps, at least ${PREFIX} ${findver} should work).") + endif() + else() + set(msg "We were unable to find package ${PREFIX}.") + endif() + endif() + + # Fatal error out if REQUIRED + if (required) + set(msg "REQUIRED PACKAGE NOT FOUND\n${msg} This package is REQUIRED and you need to install it or adjust CMake configuration in order to continue building ${CMAKE_PROJECT_NAME}.") + message(FATAL_ERROR "${msg}\n${vars}") + endif() + # Otherwise just print a nasty warning + if (NOT quiet) + message(WARNING "WARNING: MISSING PACKAGE\n${msg} This package is NOT REQUIRED and you may ignore this warning but by doing so you may miss some functionality of ${CMAKE_PROJECT_NAME}. \n${vars}") + endif() +endfunction() + diff --git a/src/dbns/CMakeLists.txt b/src/dbns/CMakeLists.txt index 717e19b59..fe7d5b1c3 100644 --- a/src/dbns/CMakeLists.txt +++ b/src/dbns/CMakeLists.txt @@ -50,12 +50,10 @@ list(APPEND SOURCES timeStepping/EulerLocalDdtScheme/EulerLocalDdtSchemes.C ) -add_foam_library(dbns SHARED ${SOURCES}) +if(PARMGRIDGEN_FOUND) + add_foam_library(dbns SHARED ${SOURCES}) -target_link_libraries(dbns ${MGRIDGEN_LIBRARY} compressibleTurbulenceModel) - -target_include_directories(dbns PUBLIC - $ - $ - $ -) + target_link_libraries(dbns compressibleTurbulenceModel parmgridgen) +else() + message(WARNING dbns will not be build) +endif() diff --git a/src/decompositionMethods/CMakeLists.txt b/src/decompositionMethods/CMakeLists.txt index 0151b77a0..b4dfa4e0d 100644 --- a/src/decompositionMethods/CMakeLists.txt +++ b/src/decompositionMethods/CMakeLists.txt @@ -30,7 +30,7 @@ # # -------------------------------------------------------------------------- -#add_subdirectory(parMetisDecomp) +add_subdirectory(parMetisDecomp) add_subdirectory(decompositionMethods) -#add_subdirectory(scotchDecomp) -#add_subdirectory(metisDecomp) +add_subdirectory(scotchDecomp) +add_subdirectory(metisDecomp) diff --git a/src/decompositionMethods/metisDecomp/CMakeLists.txt b/src/decompositionMethods/metisDecomp/CMakeLists.txt index 1af0d996f..4302ccc18 100644 --- a/src/decompositionMethods/metisDecomp/CMakeLists.txt +++ b/src/decompositionMethods/metisDecomp/CMakeLists.txt @@ -36,4 +36,4 @@ list(APPEND SOURCES add_foam_library(metisDecomp SHARED ${SOURCES}) -#target_link_libraries(metisDecomp finiteVolume) +target_link_libraries(metisDecomp finiteVolume metis) diff --git a/src/decompositionMethods/metisDecomp/metisDecomp.C b/src/decompositionMethods/metisDecomp/metisDecomp.C index 002a760ec..0740c1e14 100644 --- a/src/decompositionMethods/metisDecomp/metisDecomp.C +++ b/src/decompositionMethods/metisDecomp/metisDecomp.C @@ -27,7 +27,6 @@ License #include "addToRunTimeSelectionTable.H" #include "floatScalar.H" #include "foamTime.H" -#include "scotchDecomp.H" extern "C" { diff --git a/src/decompositionMethods/parMetisDecomp/CMakeLists.txt b/src/decompositionMethods/parMetisDecomp/CMakeLists.txt index 89614e5cb..3189279a3 100644 --- a/src/decompositionMethods/parMetisDecomp/CMakeLists.txt +++ b/src/decompositionMethods/parMetisDecomp/CMakeLists.txt @@ -36,4 +36,4 @@ list(APPEND SOURCES add_foam_library(parMetisDecomp SHARED ${SOURCES}) -#target_link_libraries(parMetisDecomp finiteVolume) +target_link_libraries(parMetisDecomp metisDecomp parmetis) diff --git a/src/decompositionMethods/scotchDecomp/CMakeLists.txt b/src/decompositionMethods/scotchDecomp/CMakeLists.txt index 44e36f8a9..791f791ef 100644 --- a/src/decompositionMethods/scotchDecomp/CMakeLists.txt +++ b/src/decompositionMethods/scotchDecomp/CMakeLists.txt @@ -37,4 +37,4 @@ list(APPEND SOURCES add_foam_library(scotchDecomp SHARED ${SOURCES}) -#target_link_libraries(scotchDecomp finiteVolume) +target_link_libraries(scotchDecomp finiteVolume scotch) diff --git a/src/dynamicMesh/meshMotion/CMakeLists.txt b/src/dynamicMesh/meshMotion/CMakeLists.txt index bcc1c678c..abaad3de8 100644 --- a/src/dynamicMesh/meshMotion/CMakeLists.txt +++ b/src/dynamicMesh/meshMotion/CMakeLists.txt @@ -33,5 +33,7 @@ add_subdirectory(solidBodyMotion) add_subdirectory(RBFMotionSolver) add_subdirectory(fvMotionSolver) -#add_subdirectory(mesquiteMotionSolver) +if(MESQUITE_FOUND) + add_subdirectory(mesquiteMotionSolver) +endif() add_subdirectory(tetMotionSolver) diff --git a/src/dynamicMesh/meshMotion/mesquiteMotionSolver/CMakeLists.txt b/src/dynamicMesh/meshMotion/mesquiteMotionSolver/CMakeLists.txt index 3bf4e684d..4cd7d7c64 100644 --- a/src/dynamicMesh/meshMotion/mesquiteMotionSolver/CMakeLists.txt +++ b/src/dynamicMesh/meshMotion/mesquiteMotionSolver/CMakeLists.txt @@ -36,4 +36,4 @@ list(APPEND SOURCES add_foam_library(mesquiteMotionSolver SHARED ${SOURCES}) -target_link_libraries(mesquiteMotionSolver PUBLIC dynamicMesh) +target_link_libraries(mesquiteMotionSolver PUBLIC dynamicMesh mesquite) diff --git a/src/fvAgglomerationMethods/CMakeLists.txt b/src/fvAgglomerationMethods/CMakeLists.txt index f27fab1c6..289ca930f 100644 --- a/src/fvAgglomerationMethods/CMakeLists.txt +++ b/src/fvAgglomerationMethods/CMakeLists.txt @@ -30,4 +30,4 @@ # # -------------------------------------------------------------------------- -#add_subdirectory(MGridGenGamgAgglomeration) +add_subdirectory(MGridGenGamgAgglomeration) diff --git a/src/fvAgglomerationMethods/MGridGenGamgAgglomeration/CMakeLists.txt b/src/fvAgglomerationMethods/MGridGenGamgAgglomeration/CMakeLists.txt index 0bb5427b1..ac1f5b675 100644 --- a/src/fvAgglomerationMethods/MGridGenGamgAgglomeration/CMakeLists.txt +++ b/src/fvAgglomerationMethods/MGridGenGamgAgglomeration/CMakeLists.txt @@ -37,4 +37,4 @@ list(APPEND SOURCES add_foam_library(MGridGenGAMGAgglomeration SHARED ${SOURCES}) -#target_link_libraries(MGridGenGAMGAgglomeration finiteVolume) +target_link_libraries(MGridGenGAMGAgglomeration finiteVolume parmgridgen) From 0d45ee3a166f9988a3fe3747f0148175110b6642 Mon Sep 17 00:00:00 2001 From: Henrik Rusche Date: Thu, 9 Mar 2017 12:55:29 +0100 Subject: [PATCH 018/361] Fixed typo --- .../molecularDynamics/mdEquilibrationFoam/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/applications/solvers/discreteMethods/molecularDynamics/mdEquilibrationFoam/CMakeLists.txt b/applications/solvers/discreteMethods/molecularDynamics/mdEquilibrationFoam/CMakeLists.txt index daa72a99c..f1e6d1b86 100644 --- a/applications/solvers/discreteMethods/molecularDynamics/mdEquilibrationFoam/CMakeLists.txt +++ b/applications/solvers/discreteMethods/molecularDynamics/mdEquilibrationFoam/CMakeLists.txt @@ -40,7 +40,7 @@ if(NOT FOAM_FOUND) find_package(FOAM REQUIRED) endif() -add_foam_executable(mdEquirationFoam +add_foam_executable(mdEquilibrationFoam DEPENDS molecule molecularMeasurements SOURCES ${SOURCES} ) From d1128a105610da83fe3cf4aede1393ac2b4ff28e Mon Sep 17 00:00:00 2001 From: Henrik Rusche Date: Tue, 4 Apr 2017 21:46:38 +0200 Subject: [PATCH 019/361] Added libCCMIO --- CMakeLists.txt | 7 ++++ .../utilities/mesh/conversion/CMakeLists.txt | 2 +- .../mesh/conversion/Optional/CMakeLists.txt | 2 +- .../Optional/ccm26ToFoam/CMakeLists.txt | 2 +- .../dataConversion/CMakeLists.txt | 2 +- .../foamToTecplot360/CMakeLists.txt | 17 ++++++++ .../tecio/tecsrc/CMakeLists.txt | 39 +++++++++++++++++- cmake/FindCCMIO.cmake | 41 +++++++++++++++++++ 8 files changed, 107 insertions(+), 5 deletions(-) create mode 100644 cmake/FindCCMIO.cmake diff --git a/CMakeLists.txt b/CMakeLists.txt index 8e0e11fbb..cab5da3ac 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -116,6 +116,13 @@ if(PARMGRIDGEN_FOUND) set_property(TARGET parmgridgen PROPERTY IMPORTED_LOCATION ${PARMGRIDGEN_LIBRARY}) endif() +find_package(CCMIO REQUIRED) +if(CCMIO_FOUND) + add_library(ccmio SHARED IMPORTED) + set_property(TARGET ccmio PROPERTY INTERFACE_INCLUDE_DIRECTORIES ${CCMIO_INCLUDE_DIRS}) + set_property(TARGET ccmio PROPERTY IMPORTED_LOCATION ${CCMIO_LIBRARY}) + set_property(TARGET ccmio PROPERTY INTERFACE_LINK_LIBRARIES ${CCMIO_LIBRARIES}) +endif() # # Recurse into the source diff --git a/applications/utilities/mesh/conversion/CMakeLists.txt b/applications/utilities/mesh/conversion/CMakeLists.txt index a14e517a2..e57f0a8e3 100644 --- a/applications/utilities/mesh/conversion/CMakeLists.txt +++ b/applications/utilities/mesh/conversion/CMakeLists.txt @@ -52,4 +52,4 @@ add_subdirectory(plot3dToFoam) add_subdirectory(fluent3DMeshToFoam) add_subdirectory(tetgenToFoam) add_subdirectory(fluentMeshToFoam) -add_subdirectory(star4ToFoam) \ No newline at end of file +add_subdirectory(star4ToFoam) diff --git a/applications/utilities/mesh/conversion/Optional/CMakeLists.txt b/applications/utilities/mesh/conversion/Optional/CMakeLists.txt index 6bf17eb65..e3a43bc6e 100644 --- a/applications/utilities/mesh/conversion/Optional/CMakeLists.txt +++ b/applications/utilities/mesh/conversion/Optional/CMakeLists.txt @@ -30,4 +30,4 @@ # # -------------------------------------------------------------------------- -#add_subdirectory(ccm26ToFoam) +add_subdirectory(ccm26ToFoam) diff --git a/applications/utilities/mesh/conversion/Optional/ccm26ToFoam/CMakeLists.txt b/applications/utilities/mesh/conversion/Optional/ccm26ToFoam/CMakeLists.txt index 7ac61fc6f..1a3a6c0e2 100644 --- a/applications/utilities/mesh/conversion/Optional/ccm26ToFoam/CMakeLists.txt +++ b/applications/utilities/mesh/conversion/Optional/ccm26ToFoam/CMakeLists.txt @@ -41,6 +41,6 @@ if(NOT FOAM_FOUND) endif() add_foam_executable(ccm26ToFoam - DEPENDS finiteVolume meshTools + DEPENDS finiteVolume meshTools ccmio SOURCES ${SOURCES} ) diff --git a/applications/utilities/postProcessing/dataConversion/CMakeLists.txt b/applications/utilities/postProcessing/dataConversion/CMakeLists.txt index 27a9b4768..57e7b23cb 100644 --- a/applications/utilities/postProcessing/dataConversion/CMakeLists.txt +++ b/applications/utilities/postProcessing/dataConversion/CMakeLists.txt @@ -34,7 +34,7 @@ add_subdirectory(foamToEnsight) add_subdirectory(smapToFoam) add_subdirectory(foamToVTK) add_subdirectory(foamToEnsightParts) -#add_subdirectory(foamToTecplot360) +add_subdirectory(foamToTecplot360) add_subdirectory(foamToFieldview9) add_subdirectory(foamDataToFluent) add_subdirectory(foamToGMV) diff --git a/applications/utilities/postProcessing/dataConversion/foamToTecplot360/CMakeLists.txt b/applications/utilities/postProcessing/dataConversion/foamToTecplot360/CMakeLists.txt index 0ee4acbb6..c66cef97b 100644 --- a/applications/utilities/postProcessing/dataConversion/foamToTecplot360/CMakeLists.txt +++ b/applications/utilities/postProcessing/dataConversion/foamToTecplot360/CMakeLists.txt @@ -31,3 +31,20 @@ # -------------------------------------------------------------------------- add_subdirectory(tecio) + +list(APPEND SOURCES + tecplotWriter.C + vtkMesh.C + foamToTecplot360.C +) + +# Set minimal environment for external compilation +if(NOT FOAM_FOUND) + cmake_minimum_required(VERSION 2.8) + find_package(FOAM REQUIRED) +endif() + +add_foam_executable(foamToTecplot360 + DEPENDS finiteVolume meshTools tecio + SOURCES ${SOURCES} +) diff --git a/applications/utilities/postProcessing/dataConversion/foamToTecplot360/tecio/tecsrc/CMakeLists.txt b/applications/utilities/postProcessing/dataConversion/foamToTecplot360/tecio/tecsrc/CMakeLists.txt index 2973e92e0..4428adf7f 100644 --- a/applications/utilities/postProcessing/dataConversion/foamToTecplot360/tecio/tecsrc/CMakeLists.txt +++ b/applications/utilities/postProcessing/dataConversion/foamToTecplot360/tecio/tecsrc/CMakeLists.txt @@ -51,6 +51,43 @@ list(APPEND SOURCES TranslatedString.cpp ) + add_foam_library(tecio SHARED ${SOURCES}) -#target_link_libraries(tecio finiteVolume) + +target_compile_definitions(tecio PRIVATE MAKEARCHIVE USEENUM THREED ENGINE) +if(UNIX) + target_compile_definitions(tecio PRIVATE LINUX) + target_compile_options(tecio PRIVATE -U_WIN32) + if(CMAKE_${LANG}_COMPILER_ID STREQUAL "Intel") + target_compile_definitions(tecio PRIVATE LINUXI64) + else() + target_compile_definitions(tecio PRIVATE LINUX64) + target_compile_options(tecio PRIVATE -U_WIN32) + endif() +elseif(APPLE) + target_compile_definitions(tecio PRIVATE DARWIN LINUX64) + target_compile_options(tecio PRIVATE -U_WIN32) +elseif(MINGW) + target_compile_definitions(tecio PRIVATE LINUX) +endif() + +# This tries to mimic +# +#if defined(linux64) +# TECIO_FLAGS = -DMAKEARCHIVE -DLINUX -DLINUX64 -DUSEENUM -DTHREED -U_WIN32 -DENGINE +#elif defined(darwinIntel) || defined(darwinIntel64) || defined(darwinPpc) || defined(darwinPpc64) +# TECIO_FLAGS = -DMAKEARCHIVE -DDARWIN -DUSEENUM -DTHREED -U_WIN32 -DENGINE +#elif defined(linuxIA64) +# TECIO_FLAGS = -DMAKEARCHIVE -DLINUX -DLINUXI64 -DUSEENUM -DTHREED -U_WIN32 -DENGINE +#elif defined(linux) +# TECIO_FLAGS = -DMAKEARCHIVE -DLINUX -DLINUX64 -DUSEENUM -DTHREED -U_WIN32 -DENGINE +#elif defined(darwinIntel) +# warning "DarwinIntel architecture detected" +# TECIO_FLAGS = -DMAKEARCHIVE -DLINUX -DLINUX64 -DUSEENUM -DTHREED -U_WIN32 -DENGINE +#elif defined(mingw) +# warning "MSWin mingw architecture detected" +# TECIO_FLAGS = -DMAKEARCHIVE -DLINUX -DUSEENUM -DTHREED -DENGINE +#else +#error "architecture not supported for compiling tecio." +#endif diff --git a/cmake/FindCCMIO.cmake b/cmake/FindCCMIO.cmake new file mode 100644 index 000000000..d1274c9a8 --- /dev/null +++ b/cmake/FindCCMIO.cmake @@ -0,0 +1,41 @@ + +include(LibFindMacros) + +# Use pkg-config to get hints about paths +libfind_pkg_check_modules(CCMIO_PKGCONF mesquite) + +# Include dir +find_path(CCMIO_INCLUDE_DIR + NAMES libccmio/ccmio.h + HINTS + ThirdParty/packages/libccmio-2.6.1/platforms/linux64GccDPOpt/include + ${MESQUITE_PKGCONF_INCLUDE_DIRS} +) + +find_path(CCMIO_INCLUDE_DIR2 + NAMES ccmio.h + HINTS + ThirdParty/packages/libccmio-2.6.1/platforms/linux64GccDPOpt/include/libccmio + ${MESQUITE_PKGCONF_INCLUDE_DIRS} +) + +# Finally the library itself +find_library(CCMIO_LIBRARY + NAMES ccmio + HINTS + ThirdParty/packages/libccmio-2.6.1/platforms/linux64GccDPOpt/lib + ${CCMIO_PKGCONF_LIBRARY_DIRS} +) + +find_library(CCMIO_LIBRARY2 + NAMES adf_ccmio + HINTS + ThirdParty/packages/libccmio-2.6.1/platforms/linux64GccDPOpt/lib + ${CCMIO_PKGCONF_LIBRARY_DIRS} +) + +# Set the include dir variables and the libraries and let libfind_process do the rest. +# NOTE: Singular variables for this library, plural for libraries this this lib depends on. +set(CCMIO_PROCESS_INCLUDES CCMIO_INCLUDE_DIR CCMIO_INCLUDE_DIR2) +set(CCMIO_PROCESS_LIBS CCMIO_LIBRARY CCMIO_LIBRARY2) +libfind_process(CCMIO) From 23c34892938d49701c8ec356d7077bc9221dc2e7 Mon Sep 17 00:00:00 2001 From: Henrik Rusche Date: Tue, 15 May 2018 13:31:05 +0200 Subject: [PATCH 020/361] Added options (BUILD_WITH_CMAKE, RUN_TESTS) to main CMakeLists.txt --- CMakeLists.txt | 198 +------------------- cmake/compileFOAM.cmake | 222 ++++++++++++++++++++++ cmake/tests.cmake | 395 ++++++++++++++++++++++++++++++++++++++++ 3 files changed, 626 insertions(+), 189 deletions(-) create mode 100644 cmake/compileFOAM.cmake create mode 100644 cmake/tests.cmake diff --git a/CMakeLists.txt b/CMakeLists.txt index cab5da3ac..bc18fed28 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -32,197 +32,17 @@ cmake_minimum_required (VERSION 2.8) -project(foam-extend C CXX) +project(foam-extend-4.1 C CXX) list(APPEND CMAKE_MODULE_PATH "${CMAKE_CURRENT_SOURCE_DIR}/cmake") -# -# Determine project version & Set-up automatic update during build -# +option(BUILD_WITH_CMAKE "Build using cmake" ON) +option(RUN_TESTS "Run test loop" OFF) -include(getGitVersion) - -add_custom_target(getGitVersion ALL - COMMAND ${CMAKE_COMMAND} -P cmake/getGitVersion.cmake - WORKING_DIRECTORY ${CMAKE_SOURCE_DIR} - COMMENT "Getting GIT version" -) - -set(PROJECT_VERSION ${FOAM_VERSION}) - - -# -# Include helper functions -# - -include(FOAMMacros) - -set(CMAKE_ARCHIVE_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}/lib) -set(CMAKE_LIBRARY_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}/lib) -set(CMAKE_RUNTIME_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}/bin) - - -# -# External dependencies -# - -find_package(MPI REQUIRED) -add_library(mpi SHARED IMPORTED) -set_property(TARGET mpi PROPERTY INTERFACE_INCLUDE_DIRECTORIES ${MPI_C_INCLUDE_PATH}) -set_property(TARGET mpi PROPERTY IMPORTED_LOCATION ${MPI_LIBRARY}) - -find_package(ZLIB REQUIRED) - -find_package(FLEX REQUIRED) - -find_package(Git REQUIRED) - -# Path to ParaViewConfig.cmake -set(ParaView_DIR ${CMAKE_CURRENT_SOURCE_DIR}/ThirdParty/packages/ParaView-4.4.0/platforms/linux64GccDPOpt/lib/cmake/paraview-4.4) -find_package(ParaView REQUIRED) - -find_package(Mesquite REQUIRED) -if(MESQUITE_FOUND) - add_library(mesquite SHARED IMPORTED) - set_property(TARGET mesquite PROPERTY INTERFACE_INCLUDE_DIRECTORIES ${MESQUITE_INCLUDE_DIRS}) - set_property(TARGET mesquite PROPERTY IMPORTED_LOCATION ${MESQUITE_LIBRARY}) -endif() - -find_package(Scotch REQUIRED) -if(SCOTCH_FOUND) - add_library(scotch SHARED IMPORTED) - set_property(TARGET scotch PROPERTY INTERFACE_INCLUDE_DIRECTORIES ${SCOTCH_INCLUDE_DIRS}) - set_property(TARGET scotch PROPERTY IMPORTED_LOCATION ${SCOTCH_LIBRARY}) -endif() - -find_package(Metis REQUIRED) -if(METIS_FOUND) - add_library(metis SHARED IMPORTED) - set_property(TARGET metis PROPERTY INTERFACE_INCLUDE_DIRECTORIES ${METIS_INCLUDE_DIRS}) - set_property(TARGET metis PROPERTY IMPORTED_LOCATION ${METIS_LIBRARY}) -endif() - -find_package(ParMetis REQUIRED) -if(PARMETIS_FOUND) - add_library(parmetis SHARED IMPORTED) - set_property(TARGET parmetis PROPERTY INTERFACE_INCLUDE_DIRECTORIES ${PARMETIS_INCLUDE_DIRS}) - set_property(TARGET parmetis PROPERTY IMPORTED_LOCATION ${PARMETIS_LIBRARY}) -endif() - -find_package(ParMGridGen REQUIRED) -if(PARMGRIDGEN_FOUND) - add_library(parmgridgen SHARED IMPORTED) - set_property(TARGET parmgridgen PROPERTY INTERFACE_INCLUDE_DIRECTORIES ${PARMGRIDGEN_INCLUDE_DIRS}) - set_property(TARGET parmgridgen PROPERTY IMPORTED_LOCATION ${PARMGRIDGEN_LIBRARY}) -endif() - -find_package(CCMIO REQUIRED) -if(CCMIO_FOUND) - add_library(ccmio SHARED IMPORTED) - set_property(TARGET ccmio PROPERTY INTERFACE_INCLUDE_DIRECTORIES ${CCMIO_INCLUDE_DIRS}) - set_property(TARGET ccmio PROPERTY IMPORTED_LOCATION ${CCMIO_LIBRARY}) - set_property(TARGET ccmio PROPERTY INTERFACE_LINK_LIBRARIES ${CCMIO_LIBRARIES}) -endif() - -# -# Recurse into the source -# - -# Set variable to indicate that we are compiling internally. Used in applications. -set(FOAM_FOUND 1) - -# Write something into FOAMTargets.cmake so that we can append to the file. -file(WRITE ${CMAKE_BINARY_DIR}/cmake/FOAMTargets.cmake "#" ) - -add_subdirectory(src) -add_subdirectory(applications) - - -# -# Set default build type -# - -if(NOT CMAKE_BUILD_TYPE) - set(CMAKE_BUILD_TYPE Release CACHE STRING - "Choose the type of build, options are: None Debug Release RelWithDebInfo MinSizeRel." - FORCE) -endif() - -# -# Definitions inherited by all targets -# - -# Single/Double precision -set(FOAM_PRECISION "double" CACHE STRING "Numerical precision") -set_property(CACHE FOAM_PRECISION PROPERTY STRINGS single double) -if(FOAM_PRECISION EQUAL "single") - target_compile_definitions(OSspecific PUBLIC WM_SP) -else() - target_compile_definitions(OSspecific PUBLIC WM_DP) -endif() - -# No Repository -target_compile_definitions(OSspecific PUBLIC NoRepository) - -# FOAM's full debug mode -if(${CMAKE_BUILD_TYPE} STREQUAL "Debug") - target_compile_definitions(OSspecific PUBLIC FULLDEBUG) - target_compile_options(OSspecific PUBLIC -fdefault-inline -ggdb3) -endif() - -#option(FOAM_PRECISION "help string describing option" -WM_DP) - - -# -# Exports and install -# - -include(GenerateExportHeader) -set(ConfigPackageLocation lib/cmake/foam) - -include(CMakePackageConfigHelpers) -write_basic_package_version_file( - "${CMAKE_CURRENT_BINARY_DIR}/cmake/FOAMConfigVersion.cmake" - VERSION ${FOAM_VERSION} - COMPATIBILITY AnyNewerVersion -) - -configure_package_config_file(cmake/FOAMConfig.cmake.in - ${CMAKE_CURRENT_BINARY_DIR}/cmake/FOAMConfig.cmake - INSTALL_DESTINATION ${ConfigPackageLocation} -) - -install(EXPORT FOAMTargets - FILE FOAMTargets.cmake - DESTINATION ${ConfigPackageLocation} -) - -install(FILES - cmake/FOAMConfig.cmake - "${CMAKE_CURRENT_BINARY_DIR}/cmake/FOAMConfigVersion.cmake" - "${CMAKE_CURRENT_BINARY_DIR}/cmake/FOAMMacros.cmake" - DESTINATION ${ConfigPackageLocation} - COMPONENT Devel -) - -file(GLOB_RECURSE files "${CMAKE_CURRENT_SOURCE_DIR}/etc/*") -install(FILES ${files} DESTINATION etc) - -# -# Register with CMake user package registry -# - -export(PACKAGE FOAM) - - -# -# Make a package -# - -set(CPACK_DEBIAN_PACKAGE_MAINTAINER "Henrik Rusche") -set(CPACK_PACKAGE_CONTACT "h.rusche@wikki-gmbh.de") -set(CPACK_GENERATOR "DEB") -set(CPACK_PACKAGING_INSTALL_PREFIX "/opt/foam-extend-4.0") -set(CPACK_SOURCE_STRIP_FILES "1") -include(CPack) +if(BUILD_WITH_CMAKE) + include(compileFOAM) +endif(BUILD_WITH_CMAKE) +if(RUN_TESTS) + include(tests) +endif(RUN_TESTS) diff --git a/cmake/compileFOAM.cmake b/cmake/compileFOAM.cmake new file mode 100644 index 000000000..b5bbf7004 --- /dev/null +++ b/cmake/compileFOAM.cmake @@ -0,0 +1,222 @@ +# -------------------------------------------------------------------------- +# ======== | +# \ / F ield | foam-extend: Open Source CFD +# \ / O peration | Version: 4.1 +# \ / A nd | Web: http://www.foam-extend.org +# \/ M anipulation | For copyright notice see file Copyright +# -------------------------------------------------------------------------- +# License +# This file is part of foam-extend. +# +# foam-extend 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 3 of the License, or {at your +# option} any later version. +# +# foam-extend 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 foam-extend. If not, see . +# +# Description +# CMakeLists.txt file for libraries and applications +# +# Author +# Henrik Rusche, Wikki GmbH, 2017. All rights reserved +# +# +# -------------------------------------------------------------------------- + +# +# Determine project version & Set-up automatic update during build +# + +include(getGitVersion) + +add_custom_target(getGitVersion ALL + COMMAND ${CMAKE_COMMAND} -P cmake/getGitVersion.cmake + WORKING_DIRECTORY ${CMAKE_SOURCE_DIR} + COMMENT "Getting GIT version" +) + +set(PROJECT_VERSION ${FOAM_VERSION}) + + +# +# Include helper functions +# + +include(FOAMMacros) + +set(CMAKE_ARCHIVE_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}/lib) +set(CMAKE_LIBRARY_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}/lib) +set(CMAKE_RUNTIME_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}/bin) + + +# +# External dependencies +# + +find_package(MPI REQUIRED) +add_library(mpi SHARED IMPORTED) +set_property(TARGET mpi PROPERTY INTERFACE_INCLUDE_DIRECTORIES ${MPI_C_INCLUDE_PATH}) +set_property(TARGET mpi PROPERTY IMPORTED_LOCATION ${MPI_LIBRARY}) + +find_package(ZLIB REQUIRED) + +find_package(FLEX REQUIRED) + +find_package(Git REQUIRED) + +# Path to ParaViewConfig.cmake +set(ParaView_DIR ${CMAKE_CURRENT_SOURCE_DIR}/ThirdParty/packages/ParaView-4.4.0/platforms/linux64GccDPOpt/lib/cmake/paraview-4.4) +find_package(ParaView REQUIRED) + +find_package(Mesquite REQUIRED) +if(MESQUITE_FOUND) + add_library(mesquite SHARED IMPORTED) + set_property(TARGET mesquite PROPERTY INTERFACE_INCLUDE_DIRECTORIES ${MESQUITE_INCLUDE_DIRS}) + set_property(TARGET mesquite PROPERTY IMPORTED_LOCATION ${MESQUITE_LIBRARY}) +endif() + +find_package(Scotch REQUIRED) +if(SCOTCH_FOUND) + add_library(scotch SHARED IMPORTED) + set_property(TARGET scotch PROPERTY INTERFACE_INCLUDE_DIRECTORIES ${SCOTCH_INCLUDE_DIRS}) + set_property(TARGET scotch PROPERTY IMPORTED_LOCATION ${SCOTCH_LIBRARY}) +endif() + +find_package(Metis REQUIRED) +if(METIS_FOUND) + add_library(metis SHARED IMPORTED) + set_property(TARGET metis PROPERTY INTERFACE_INCLUDE_DIRECTORIES ${METIS_INCLUDE_DIRS}) + set_property(TARGET metis PROPERTY IMPORTED_LOCATION ${METIS_LIBRARY}) +endif() + +find_package(ParMetis REQUIRED) +if(PARMETIS_FOUND) + add_library(parmetis SHARED IMPORTED) + set_property(TARGET parmetis PROPERTY INTERFACE_INCLUDE_DIRECTORIES ${PARMETIS_INCLUDE_DIRS}) + set_property(TARGET parmetis PROPERTY IMPORTED_LOCATION ${PARMETIS_LIBRARY}) +endif() + +find_package(ParMGridGen REQUIRED) +if(PARMGRIDGEN_FOUND) + add_library(parmgridgen SHARED IMPORTED) + set_property(TARGET parmgridgen PROPERTY INTERFACE_INCLUDE_DIRECTORIES ${PARMGRIDGEN_INCLUDE_DIRS}) + set_property(TARGET parmgridgen PROPERTY IMPORTED_LOCATION ${PARMGRIDGEN_LIBRARY}) +endif() + +find_package(CCMIO REQUIRED) +if(CCMIO_FOUND) + add_library(ccmio SHARED IMPORTED) + set_property(TARGET ccmio PROPERTY INTERFACE_INCLUDE_DIRECTORIES ${CCMIO_INCLUDE_DIRS}) + set_property(TARGET ccmio PROPERTY IMPORTED_LOCATION ${CCMIO_LIBRARY}) + set_property(TARGET ccmio PROPERTY INTERFACE_LINK_LIBRARIES ${CCMIO_LIBRARIES}) +endif() + +# +# Recurse into the source +# + +# Set variable to indicate that we are compiling internally. Used in applications. +set(FOAM_FOUND 1) + +# Write something into FOAMTargets.cmake so that we can append to the file. +file(WRITE ${CMAKE_BINARY_DIR}/cmake/FOAMTargets.cmake "#" ) + +add_subdirectory(src) +add_subdirectory(applications) + + +# +# Set default build type +# + +if(NOT CMAKE_BUILD_TYPE) + set(CMAKE_BUILD_TYPE Release CACHE STRING + "Choose the type of build, options are: None Debug Release RelWithDebInfo MinSizeRel." + FORCE) +endif() + +# +# Definitions inherited by all targets +# + +# Single/Double precision +set(FOAM_PRECISION "double" CACHE STRING "Numerical precision") +set_property(CACHE FOAM_PRECISION PROPERTY STRINGS single double) +if(FOAM_PRECISION EQUAL "single") + target_compile_definitions(OSspecific PUBLIC WM_SP) +else() + target_compile_definitions(OSspecific PUBLIC WM_DP) +endif() + +# No Repository +target_compile_definitions(OSspecific PUBLIC NoRepository) + +# FOAM's full debug mode +if(${CMAKE_BUILD_TYPE} STREQUAL "Debug") + target_compile_definitions(OSspecific PUBLIC FULLDEBUG) + target_compile_options(OSspecific PUBLIC -fdefault-inline -ggdb3) +endif() + +#option(FOAM_PRECISION "help string describing option" -WM_DP) + + +# +# Exports and install +# + +include(GenerateExportHeader) +set(ConfigPackageLocation lib/cmake/foam) + +include(CMakePackageConfigHelpers) +write_basic_package_version_file( + "${CMAKE_CURRENT_BINARY_DIR}/cmake/FOAMConfigVersion.cmake" + VERSION ${FOAM_VERSION} + COMPATIBILITY AnyNewerVersion +) + +configure_package_config_file(cmake/FOAMConfig.cmake.in + ${CMAKE_CURRENT_BINARY_DIR}/cmake/FOAMConfig.cmake + INSTALL_DESTINATION ${ConfigPackageLocation} +) + +install(EXPORT FOAMTargets + FILE FOAMTargets.cmake + DESTINATION ${ConfigPackageLocation} +) + +install(FILES + cmake/FOAMConfig.cmake + "${CMAKE_CURRENT_BINARY_DIR}/cmake/FOAMConfigVersion.cmake" + "${CMAKE_CURRENT_BINARY_DIR}/cmake/FOAMMacros.cmake" + DESTINATION ${ConfigPackageLocation} + COMPONENT Devel +) + +file(GLOB_RECURSE files "${CMAKE_CURRENT_SOURCE_DIR}/etc/*") +install(FILES ${files} DESTINATION etc) + +# +# Register with CMake user package registry +# + +export(PACKAGE FOAM) + + +# +# Make a package +# + +set(CPACK_DEBIAN_PACKAGE_MAINTAINER "Henrik Rusche") +set(CPACK_PACKAGE_CONTACT "h.rusche@wikki-gmbh.de") +set(CPACK_GENERATOR "DEB") +set(CPACK_PACKAGING_INSTALL_PREFIX "/opt/foam-extend-4.0") +set(CPACK_SOURCE_STRIP_FILES "1") +include(CPack) + diff --git a/cmake/tests.cmake b/cmake/tests.cmake new file mode 100644 index 000000000..f9f2e28ae --- /dev/null +++ b/cmake/tests.cmake @@ -0,0 +1,395 @@ +# /*-------------------------------------------------------------------------*\ +# ========= | +# \\ / F ield | foam-extend: Open Source CFD +# \\ / O peration | Version: 4.0 +# \\ / A nd | Web: http://www.foam-extend.org +# \\/ M anipulation | For copyright notice see file Copyright +# ----------------------------------------------------------------------------- +# License +# This file is part of foam-extend. +# +# foam-extend 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 3 of the License, or (at your +# option) any later version. +# +# foam-extend 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 foam-extend. If not, see . +# +# Description +# CMakeLists.txt file for implementing a test harness for the compilation +# and test of foam-extend-3.2 using Kitware CTest/CMake/CDash +# +# The results will be submitted to the CDash server identified by the file +# CTestConfig.cmake +# +# Author +# Martin Beaudoin, Hydro-Quebec, 2010. All rights reserved +# +# +# \*-------------------------------------------------------------------------*/ + +#----------------------------------------------------------------------------- +# Utility functions +# +# GetHostName(var) +# +# Set the variable named ${var} to the host hostname +# +function(GetHostName var) + set( thisHostName "unknown") + + if(CMAKE_HOST_WIN32) + execute_process( + COMMAND hostname + OUTPUT_VARIABLE thisHostname + ) + else() + execute_process( + COMMAND hostname -f + OUTPUT_VARIABLE thisHostname + ) + endif() + set(${var} ${thisHostname} PARENT_SCOPE) +endfunction() + +# +# GetGitStatus(status ecode) +# +# Get the git status for the local git repository of the source code +# The variable named ${status} will get the git status +# The variable named ${ecode} will get the command error code +# +function(GetGitStatus _status _ecode) + set( git_status "unknown") + set( git_ecode "1") + + execute_process( + COMMAND git status + WORKING_DIRECTORY ${FOAM_ROOT} + OUTPUT_VARIABLE git_status + RESULT_VARIABLE git_ecode + ERROR_QUIET + ) + set(${_status} ${git_status} PARENT_SCOPE) + set(${_ecode} ${git_ecode} PARENT_SCOPE) +endfunction() + +# +# GetGitBranchName(var) +# +# Set the variable named ${var} to the git branch name of the source code +# +function(GetGitBranchName var) + set( retValue "unknown") + + execute_process( + COMMAND git branch --no-color + WORKING_DIRECTORY ${FOAM_ROOT} + OUTPUT_VARIABLE listOfGitBranches + ) + # Create list of strings + string(REPLACE "\n" ";" listOfGitBranches ${listOfGitBranches}) + + # Iterate over list, find the string beginning with "* " + foreach(branch ${listOfGitBranches}) + string(REGEX MATCH "\\* .*$" matchString ${branch}) + string(LENGTH "${matchString}" lengthMatchString) + if(lengthMatchString GREATER 0) + # We have match. Cleanup and set retValue + string(REPLACE "* " "" retValue ${matchString}) + endif() + endforeach() + + set(${var} ${retValue} PARENT_SCOPE) +endfunction() + +# +# GetGitRevNumber(var) +# +# Set the variable named ${var} to the git revision number of the source code +# +function(GetGitRevNumber var) + set( retValue "unknown") + + execute_process( + COMMAND git rev-parse --short=12 HEAD + WORKING_DIRECTORY ${FOAM_ROOT} + OUTPUT_VARIABLE git_rev_number + ) + + # Minimal check that we do have a valid string + string(LENGTH "${git_rev_number}" lengthString) + if(lengthString GREATER 0) + set(retValue ${git_rev_number}) + endif() + + set(${var} ${retValue} PARENT_SCOPE) +endfunction() + +# CleanUpStringForCDash(var) +# +# Cleanup the variable named ${value} for characters not supported +# for CDash identifiers. Return the modified value in retVar +# +function(CleanUpStringForCDash value retVar) + string(REPLACE "/" "_" value "${value}") + string(REPLACE " " "_" value ${value}) + set(${retVar} ${value} PARENT_SCOPE) +endfunction() + +#----------------------------------------------------------------------------- +# +# +# Initialization of CTest specific variables +# +## Run ctest in parallel if environment variable WM_NCOMPPROCS is set +IF (NOT $ENV{WM_NCOMPPROCS} STREQUAL "") + # Will run ctest in parallel over $WM_NCOMPPROCS processors + set(CMAKE_CTEST_COMMAND ${CMAKE_CTEST_COMMAND} --parallel $ENV{WM_NCOMPPROCS}) + MESSAGE("Running tests in parallel using $ENV{WM_NCOMPPROCS} processors") +ENDIF () + +# Initialize the site name + +IF (NOT $ENV{CDASH_SUBMIT_LOCAL_HOST_ID} STREQUAL "") + # We can override the site name with the environment variable + # $CDASH_SUBMIT_LOCAL_HOST_ID + SET( + SITENAME $ENV{CDASH_SUBMIT_LOCAL_HOST_ID} + CACHE STRING "Name of the local site" + ) +ELSE () + # Grab the hostname FQN; will be used for the sitename + GetHostName(SITENAME) + +ENDIF() + +MESSAGE("Initializing the name of this local site to: ${SITENAME}") + +SET( + SITE ${SITENAME} + CACHE STRING "Name of the local site" +) + +#Grab the FOAM installation directory. +SET( + FOAM_ROOT $ENV{WM_PROJECT_DIR} + CACHE INTERNAL "FOAM root directory." +) + +# Construct the build name. +# No need to add $WM_PROJECT_VERSION to the name of the build, +# the test harness name should have taken care of that. +SET( + BUILDNAME $ENV{WM_OPTIONS} + CACHE STRING "Build ID" +) + +# We allow overriding the git branch and revision information with some +# user-supplied information using the CDASH_SCM_INFO environment variable. +# +# Mercurial or other SCM users should be using this environment variable +# in order to provide branch and revision information for the buildname. +# +# Git users should use this environment variable in order to provide +# additionnal information instead of just the branch and revision number. +# +# Otherwise, the buildname will be appended with the following information: +# -git-branch=the_git_branch_name-git-rev=the_git_revision_number +SET( + BUILDNAME_SCM_INFO $ENV{CDASH_SCM_INFO} + CACHE STRING "SCM info for CDash buildname" +) + +# Find out the version of the compiler being used. +# Add this information to the buildname +# This is for gcc or icc because they both support the -dumpversion option +EXEC_PROGRAM($ENV{WM_CC} + ARGS -dumpversion + OUTPUT_VARIABLE COMPILER_VERSION +) +SET(BUILDNAME "${BUILDNAME}-$ENV{WM_CC}${COMPILER_VERSION}") +# +# We will support more compilers eventually. +# + +# Timeout for running every single test: 4 hours: 4 x 3600 seconds +#SET( +# DART_TESTING_TIMEOUT 14400 +# CACHE STRING "Maximum time allowed (4 hours) before CTest will kill the test." +#) +# Timeout for running all this: 20 minutes : 1200 seconds (for debug) +SET( + DART_TESTING_TIMEOUT 1200 + CACHE STRING "Maximum time allowed (20 minutes) before CTest will kill the test." +) + +SET( + CMAKE_VERBOSE_MAKEFILE TRUE +) + + +# Update section +#----------------------------------------------------------------------------- +set (UPDATE_TYPE git) + +# +# Using GIT as SCM +# +find_package(Git) + +if(NOT BUILDNAME_SCM_INFO STREQUAL "") + SET(BUILDNAME "${BUILDNAME}-${BUILDNAME_SCM_INFO}") + +elseif(GIT_FOUND) + message("The git command was found: ${GIT_EXECUTABLE}") + + # Check if the source code is under a valid git repository + GetGitStatus(GIT_STATUS GIT_ECODE) + + if(NOT GIT_ECODE) + # We have a valid git repository. + # Grab the branch and revision info. Add to the build name + GetGitBranchName(GIT_BRANCH_NAME) + message("Git branch: ${GIT_BRANCH_NAME}") + + GetGitRevNumber(GIT_REV_NUMBER) + message("Git revision: ${GIT_REV_NUMBER}") + + SET(BUILDNAME "${BUILDNAME}-git-branch=${GIT_BRANCH_NAME}") + SET(BUILDNAME "${BUILDNAME}-git-rev=${GIT_REV_NUMBER}") + else() + execute_process( + COMMAND hg id + WORKING_DIRECTORY ${FOAM_ROOT} + OUTPUT_VARIABLE HG_STATUS + RESULT_VARIABLE HG_ECODE + ERROR_QUIET + ) + if(NOT HG_ECODE) + # We have a valid git repository. Grab the branch and revision info. + # Add to the build name + message("No git-branch. Mercurial?") + EXEC_PROGRAM(hg + ARGS id --bookmarks + OUTPUT_VARIABLE GIT_BRANCH_NAME + ) + EXEC_PROGRAM(hg + ARGS id --id + OUTPUT_VARIABLE GIT_REV_NUMBER + ) + EXEC_PROGRAM(hg + ARGS log --template='git_{gitnode|short}' -l 1 + OUTPUT_VARIABLE GIT_REAL_REV_NUMBER + ) + string(REPLACE " " "_" GIT_BRANCH_NAME ${GIT_BRANCH_NAME}) + string(REPLACE "+" ":modified" GIT_REV_NUMBER ${GIT_REV_NUMBER}) + SET(GIT_REV_NUMBER "${GIT_REV_NUMBER}_${GIT_REAL_REV_NUMBER}") + message("Git branch (mercurial): ${GIT_BRANCH_NAME} Revision: ${GIT_REV_NUMBER}") + + SET(BUILDNAME "${BUILDNAME}-hg-branch=${GIT_BRANCH_NAME}") + SET(BUILDNAME "${BUILDNAME}-hg-rev=${GIT_REV_NUMBER}") + else() + # Not a git or mercurial repository: no branch nor revision information available + SET(BUILDNAME "${BUILDNAME}-git-branch=unknown") + SET(BUILDNAME "${BUILDNAME}-git-rev=unknown") + endif() + endif() +else() + # Git is not available: no branch nor revision information supplied + SET(BUILDNAME "${BUILDNAME}-git-branch=unknown") + SET(BUILDNAME "${BUILDNAME}-git-rev=unknown") +endif() + +# Some last minute cleanup +# Seems like no '/' or ' 'are allowed in the BUILDNAME or in the SITE name +CleanUpStringForCDash(${BUILDNAME} BUILDNAME) +CleanUpStringForCDash(${SITE} SITE) + +message("Build name: ${BUILDNAME}") +message("Site name: ${SITE}") + +# +# Build section +#----------------------------------------------------------------------------- + +# Compile FOAM, libs and apps +add_custom_target (foam-extend-$ENV{WM_PROJECT_VERSION} ALL + ${FOAM_ROOT}/Allwmake +) + +set_property( + TARGET foam-extend-$ENV{WM_PROJECT_VERSION} + PROPERTY LABELS foam-extend-$ENV{WM_PROJECT_VERSION} +) + +# Compile the FOAM unit tests located under applications/test +# This part will not be compiled and run by default. +# This would be a good candidate for a sub-project +add_custom_target (foam-extend-$ENV{WM_PROJECT_VERSION}_unitTests + wmake all ${FOAM_ROOT}/applications/test +) + +# Test section +#----------------------------------------------------------------------------- + +#Enable testing and dashboard +ENABLE_TESTING() +INCLUDE(CTest) + +SET (CTEST_UPDATE_COMMAND ${GIT_EXECUTABLE}) + +SET( + CTEST_CUSTOM_MAXIMUM_NUMBER_OF_ERRORS 1000 + CACHE INTERNAL "Max number of errors" +) +SET( + CTEST_CUSTOM_MAXIMUM_NUMBER_OF_WARNINGS 1000 + CACHE INTERNAL "Max number of warnings" +) + +IF(BUILD_TESTING) + + # Modify this variable if you want the full length test case simulations + # Beware, this might take a long time to execute. + # Otherwise, the default behaviour is to run each tutorial for 1 "timestep" + #SET(RUN_FROM_ONE_TIMESTEP 0) + SET(RUN_FROM_ONE_TIMESTEP 1) + + IF(RUN_FROM_ONE_TIMESTEP) + SET(testIdSuffix "_oneTimeStep") + ENDIF(RUN_FROM_ONE_TIMESTEP) + + # FOAM will run against this test suite: + + # Add the suite of FOAM tutorials + # + INCLUDE($ENV{FOAM_TEST_HARNESS_DIR}/CMakeFiles/FOAM_Tutorials.cmake) + + IF(RUN_FROM_ONE_TIMESTEP) + # Modify the cases controlDict file in order to run for only one time step + MESSAGE("${testRunTimeDirectory}: Modifying the controlDict files for running only one time step in directory: ${TEST_CASE_DIR}") + if(CMAKE_HOST_WIN32) + # Need to supply a bash shell to run the script under Windows + EXECUTE_PROCESS( + COMMAND bash -c "$ENV{FOAM_TEST_HARNESS_DIR}/scripts/prepareCasesForOneTimeStep.sh ${TEST_CASE_DIR}" + WORKING_DIRECTORY . + ) + else() + EXECUTE_PROCESS( + COMMAND $ENV{FOAM_TEST_HARNESS_DIR}/scripts/prepareCasesForOneTimeStep.sh ${TEST_CASE_DIR} + WORKING_DIRECTORY . + ) + endif() + ENDIF(RUN_FROM_ONE_TIMESTEP) + +ENDIF(BUILD_TESTING) + +# That's it. +# From 085a1d85b816914fbf96afdb4f3daa043aa6298d Mon Sep 17 00:00:00 2001 From: Hrvoje Jasak Date: Wed, 23 May 2018 18:37:24 +0100 Subject: [PATCH 021/361] Fixed syncing of global processor point label detection: syncPar --- .../finiteVolume/sharedPoints.C | 227 +++++++----------- .../finiteVolume/sharedPoints.H | 8 + 2 files changed, 91 insertions(+), 144 deletions(-) diff --git a/src/decompositionMethods/decomposeReconstruct/reconstructTools/finiteVolume/sharedPoints.C b/src/decompositionMethods/decomposeReconstruct/reconstructTools/finiteVolume/sharedPoints.C index c0bbd7ef9..a163e9139 100644 --- a/src/decompositionMethods/decomposeReconstruct/reconstructTools/finiteVolume/sharedPoints.C +++ b/src/decompositionMethods/decomposeReconstruct/reconstructTools/finiteVolume/sharedPoints.C @@ -132,73 +132,13 @@ Foam::labelListList Foam::sharedPoints::procPatchPairs() const } -void Foam::sharedPoints::calcSharedPoints() +void Foam::sharedPoints::syncMark +( + labelListList& markedPoints, + const labelListList& patchPairs, + const label fromMesh +) const { - // Algorithm - // Go through all processor patches and mark local points that are used - // by more than one processor patch and mark them as globally shared - // Pass the data to other processors. Mark the locally multiply shared - // points and pass on the data - // Once all the data is passed forwards and back, check all points on - // all processors. Record globally shared point, its local label and its - // slot in the globally shared point list - - // Mark-up: - // 0 = point does not touch a processor boundary - // 1 = point on only one processor boundary: not locally shared - // 2 = locally detected global point - - // Mark-up array: procI, procJ, - labelListList markedPoints(meshes_.size()); - - forAll (meshes_, meshI) - { - if (meshes_.set(meshI)) - { - markedPoints[meshI].setSize(meshes_[meshI].nPoints(), 0); - } - } - - // Mark up points for the first time - forAll (meshes_, meshI) - { - if (meshes_.set(meshI)) - { - const polyMesh& curMesh = meshes_[meshI]; - const polyBoundaryMesh& patches = curMesh.boundaryMesh(); - - // Mark points belonging to processor patches. If the point - // is marked more than once, it may be a globally shared point - labelList& curMarkedPoints = markedPoints[meshI]; - - forAll (patches, patchI) - { - const polyPatch& pp = patches[patchI]; - - if (isA(pp)) - { - // Found processor patch - const labelList& patchMeshPoints = pp.meshPoints(); - - forAll (patchMeshPoints, mpI) - { - // Mark the point - curMarkedPoints[patchMeshPoints[mpI]]++; - } - } - } - } - } - - // Get processor patch to neighbour processor patch addressing - labelListList patchPairs = procPatchPairs(); - - // Communicate and count global points - - // Identify, count and communicate points across processor boundaries - // Repeat until the number of points per processor stabilises, - // ie. no further points are found through communication - label nSynced; do @@ -206,7 +146,7 @@ void Foam::sharedPoints::calcSharedPoints() nSynced = 0; // Sync mark across processor boundaries - forAll (meshes_, meshI) + for (label meshI = fromMesh; meshI < meshes_.size(); meshI++) { if (meshes_.set(meshI)) { @@ -292,9 +232,79 @@ void Foam::sharedPoints::calcSharedPoints() } } } - - Info<< "Proc merge pass. nSynced = " << nSynced << endl; } while (nSynced > 0); +} + + +void Foam::sharedPoints::calcSharedPoints() +{ + // Algorithm + // Go through all processor patches and mark local points that are used + // by more than one processor patch and mark them as globally shared + // Pass the data to other processors. Mark the locally multiply shared + // points and pass on the data + // Once all the data is passed forwards and back, check all points on + // all processors. Record globally shared point, its local label and its + // slot in the globally shared point list + + // Mark-up: + // 0 = point does not touch a processor boundary + // 1 = point on only one processor boundary: not locally shared + // 2 = locally detected global point + + // Mark-up array: procI, procJ, + labelListList markedPoints(meshes_.size()); + + forAll (meshes_, meshI) + { + if (meshes_.set(meshI)) + { + markedPoints[meshI].setSize(meshes_[meshI].nPoints(), 0); + } + } + + // Mark up points for the first time + forAll (meshes_, meshI) + { + if (meshes_.set(meshI)) + { + const polyMesh& curMesh = meshes_[meshI]; + const polyBoundaryMesh& patches = curMesh.boundaryMesh(); + + // Mark points belonging to processor patches. If the point + // is marked more than once, it may be a globally shared point + labelList& curMarkedPoints = markedPoints[meshI]; + + forAll (patches, patchI) + { + const polyPatch& pp = patches[patchI]; + + if (isA(pp)) + { + // Found processor patch + const labelList& patchMeshPoints = pp.meshPoints(); + + forAll (patchMeshPoints, mpI) + { + // Mark the point + curMarkedPoints[patchMeshPoints[mpI]]++; + } + } + } + } + } + + // Get processor patch to neighbour processor patch addressing + labelListList patchPairs = procPatchPairs(); + + // Communicate and count global points + + // Identify, count and communicate points across processor boundaries + // Repeat until the number of points per processor stabilises, + // ie. no further points are found through communication + + // syncMark across all processors + syncMark(markedPoints, patchPairs, 0); // Grab marked points forAll (meshes_, meshI) @@ -331,7 +341,8 @@ void Foam::sharedPoints::calcSharedPoints() } } - // Clear markup list. It will be used for the global processor point + // Clear markup list. It will be used for the global processor + // point index forAll (markedPoints, meshI) { markedPoints[meshI] = -1; @@ -343,9 +354,6 @@ void Foam::sharedPoints::calcSharedPoints() { if (meshes_.set(meshI)) { - const polyMesh& curMesh = meshes_[meshI]; - const polyBoundaryMesh& patches = curMesh.boundaryMesh(); - // Get shared points and assign global shared point index const labelList& curSharedPoints = sharedPointLabels_[meshI]; @@ -376,82 +384,13 @@ void Foam::sharedPoints::calcSharedPoints() } // Communicate labels accross the boundary using processor patches - forAll (patches, patchI) - { - const polyMesh& curMesh = meshes_[meshI]; - const polyBoundaryMesh& patches = curMesh.boundaryMesh(); - - // Get point marking - const labelList& curMarkedPoints = markedPoints[meshI]; - - const polyPatch& pp = patches[patchI]; - - if (isA(pp)) - { - // My processor patch - const processorPolyPatch& myProcPatch = - refCast(pp); - - if (myProcPatch.master()) - { - // Get local mesh points - const labelList& patchMeshPoints = pp.meshPoints(); - - // Get my local faces - const faceList& patchLocalFaces = pp.localFaces(); - - - // Get neighbour processor ID - const int nbrProcID = myProcPatch.neighbProcNo(); - - // Neighbour patch - const polyPatch& nbrPatch = - meshes_[nbrProcID].boundaryMesh() - [patchPairs[meshI][patchI]]; - - // Get neighbour mesh points - const labelList& nbrMeshPoints = nbrPatch.meshPoints(); - - // Get neighbour local faces - const faceList& nbrLocalFaces = nbrPatch.localFaces(); - - // Note: - // Cannot loop over mesh points because they are sorted - // Use face loops as they are synchronised - // HJ, 21/May/2018 - forAll (patchLocalFaces, faceI) - { - const face& curFace = patchLocalFaces[faceI]; - - // Reverse neighbour face (copy) - const face nbrFace = - nbrLocalFaces[faceI].reverseFace(); - - forAll (curFace, fpI) - { - const label patchMpI = - patchMeshPoints[curFace[fpI]]; - - const label nbrMpI = - nbrMeshPoints[nbrFace[fpI]]; - - if (curMarkedPoints[patchMpI] > -1) - { - // Mark opposite side - markedPoints[nbrProcID][nbrMpI] = - curMarkedPoints[patchMpI]; - } - } - } - } - } - } + // from this processor to all higher + syncMark(markedPoints, patchPairs, meshI); } } // debug { - Info<< "nGlobalPoints_: " << nGlobalPoints_ << endl; pointField gp(nGlobalPoints_); boolList gpSet(nGlobalPoints_, false); diff --git a/src/decompositionMethods/decomposeReconstruct/reconstructTools/finiteVolume/sharedPoints.H b/src/decompositionMethods/decomposeReconstruct/reconstructTools/finiteVolume/sharedPoints.H index b39109b32..6e70f00ef 100644 --- a/src/decompositionMethods/decomposeReconstruct/reconstructTools/finiteVolume/sharedPoints.H +++ b/src/decompositionMethods/decomposeReconstruct/reconstructTools/finiteVolume/sharedPoints.H @@ -106,6 +106,14 @@ class sharedPoints // For each processor patch, find equivalent patch on other mesh labelListList procPatchPairs() const; + //- Sync mark using processor patches + void syncMark + ( + labelListList& markedPoints, + const labelListList& patchPairs, + const label fromMesh + ) const; + //- Calculate shared points void calcSharedPoints(); From e739499202dc679e2f1ecf484d11bfbdee91e58d Mon Sep 17 00:00:00 2001 From: Hrvoje Jasak Date: Wed, 23 May 2018 18:37:47 +0100 Subject: [PATCH 022/361] Fixed upper triangular ordering in processor mesh rebuild --- .../finiteVolume/processorMeshesRebuild.C | 87 +++++++++++++++++-- 1 file changed, 82 insertions(+), 5 deletions(-) diff --git a/src/decompositionMethods/decomposeReconstruct/reconstructTools/finiteVolume/processorMeshesRebuild.C b/src/decompositionMethods/decomposeReconstruct/reconstructTools/finiteVolume/processorMeshesRebuild.C index 3559ab3f9..bf948dff2 100644 --- a/src/decompositionMethods/decomposeReconstruct/reconstructTools/finiteVolume/processorMeshesRebuild.C +++ b/src/decompositionMethods/decomposeReconstruct/reconstructTools/finiteVolume/processorMeshesRebuild.C @@ -839,13 +839,50 @@ Foam::processorMeshesReconstructor::reconstructMesh(const Time& db) nReconFaces++; } - // Go through all patches. For regular patches - // dump the faces into patch lists and for processor make internal faces + // Go through all patches. + // For processor make internal faces + // For regular patches dump the faces into patch lists + // Note: processor patches need to be visited in the increasing + // neighbour processor index. HJ, 24/May/2018 const polyBoundaryMesh& procPatches = curMesh.boundaryMesh(); + // Sort processor patches for insertion + labelList nrbProcIndex(procPatches.size(), -1); + forAll (procPatches, patchI) { + if (isA(procPatches[patchI])) + { + // Processor patch: faces become internal faces + const processorPolyPatch& curPatch = + refCast(procPatches[patchI]); + + nrbProcIndex[patchI] = curPatch.neighbProcNo(); + } + else if (isA(procPatches[patchI])) + { + // For passive processor patch, faces need to be inserted in + // the increasing global face index + const passiveProcessorPolyPatch& curPatch = + refCast + ( + procPatches[patchI] + ); + + nrbProcIndex[patchI] = curPatch.neighbProcNo(); + } + } + + // Get sorting order. Note make a copy of indices because + // sortable list will be deleted + labelList procVisitOrder = + SortableList