CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Programming & Development

overset library integration to OpenFOAM

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   November 21, 2022, 09:23
Default overset library integration to OpenFOAM
  #1
Member
 
Join Date: Dec 2018
Posts: 75
Rep Power: 7
hbulus is on a distinguished road
Dear Foamers,

When i realized that overset talents of foam extend (version 5.0) is better than Openfoam (v1912), i decided to implement overset library of foam-extend to ESI version. But there is a error appears whatever i try:
Code:
wmake libso (oversetMesh)
    ln: ./lnInclude
make: *** No rule to make target `Make/linux64GccDPInt32Opt/../oversetRegion/oversetRegion.C.dep', needed by `Make/linux64GccDPInt32Opt/../oversetRegion/oversetRegion.o'.  Stop
Here is how i proceed:
1- I copied 'src' file of foam-extend to $WM_PROJECT_USER_DIR in ESI version.
So new 'src' is placed in $WM_PROJECT_USER_DIR/src

2- With a code, i changed all the 'WM_PROJECT_DIR' terms to
'WM_PROJECT_USER_DIR' in each .deb files in src

3-I want to take advantage from oversetMesh library which is under $WM_PROJECT_USER_DIR/src/overset/oversetMesh/oversetMesh
Therefore, in Make file, i did these modifications:

Make/files:
Code:
../oversetRegion/oversetRegion.C

../oversetFringe/oversetFringe/oversetFringe.C
../oversetFringe/oversetFringe/newOversetFringe.C
../oversetFringe/manualFringe/manualFringe.C
../oversetFringe/faceCellsFringe/faceCellsFringe.C
../oversetFringe/donorBasedLayeredOverlapFringe/donorBasedLayeredOverlapFringe.C
../oversetFringe/cuttingPatchFringe/cuttingPatchFringe.C
../oversetFringe/overlapFringe/overlapFringe/overlapFringe.C
../oversetFringe/overlapFringe/layeredOverlapFringe/layeredOverlapFringe.C
../oversetFringe/overlapFringe/adaptiveOverlapFringe/adaptiveOverlapFringe.C
../oversetFringe/compositeFringe/compositeFringe.C

../oversetFringe/overlapFringe/donorSuitability/donorSuitability/donorSuitability.C
../oversetFringe/overlapFringe/donorSuitability/donorSuitability/newDonorSuitability.C
../oversetFringe/overlapFringe/donorSuitability/noSuitability/noSuitability.C
../oversetFringe/overlapFringe/donorSuitability/patchDistance/patchDistance.C
../oversetFringe/overlapFringe/donorSuitability/cellVolumes/cellVolumes.C
../oversetFringe/overlapFringe/donorSuitability/faceArea/faceArea.C
../oversetFringe/overlapFringe/donorSuitability/cellBoundingBoxDiagonal/cellBoundingBoxDiagonal.C

../oversetInterpolation/oversetInterpolation/oversetInterpolation.C
../oversetInterpolation/oversetInterpolation/newOversetInterpolation.C
../oversetInterpolation/injectionInterpolation/injectionInterpolation.C
../oversetInterpolation/inverseDistanceInterpolation/inverseDistanceInterpolation.C
../oversetInterpolation/averageValueInterpolation/averageValueInterpolation.C

../oversetMesh/oversetMesh.C
../oversetMesh/oversetMeshAddressing.C

../oversetLduInterface/oversetLduInterface.C
../oversetLduInterfaceField/oversetLduInterfaceField.C

../oversetAMGInterface/oversetAMGInterface.C
../oversetAMGInterfaceField/oversetAMGInterfaceField.C

../oversetPolyPatch/oversetPolyPatch.C
../oversetPointPatch/oversetPointPatch.C

../oversetFvPatch/oversetFvPatch.C

../oversetFvPatchField/oversetFvPatchFields.C
../oversetFvPatchField/emptyOversetFvPatchField/emptyOversetFvPatchFields.C
../oversetFvsPatchField/oversetFvsPatchFields.C

../oversetAdjustPhi/oversetAdjustPhi.C
../oversetAdjustPhi/globalOversetAdjustPhi.C
../oversetAdjustPhi/regionWiseOversetAdjustPhi.C

LIB = $(FOAM_USER_LIBBIN)/liboversetMesh
Make/options files:
Code:
EXE_INC =  \
    -I$(WM_PROJECT_USER_DIR)/src/finiteVolume/lnInclude \
    -I$(WM_PROJECT_USER_DIR)/src/surfMesh/lnInclude \
    -I$(WM_PROJECT_USER_DIR)/src/meshTools/lnInclude \
    -I$(WM_PROJECT_USER_DIR)/src/sampling/lnInclude

LIB_LIBS = \
    -lfiniteVolume \
    -lmeshTools \
    -lsurfMesh \
    -L$(FOAM_USER_LIBBIN) \
    -lsampling
What i am doing as wrong since i get this error at above?
I think due to the beauty of object orienration, i don't need to wmake all files under $WM_PROJECT_USER_DIR/src. Because each file has lnInclude file which is compiled under foam-extend version anyway. So there are dependency linkages for .H files under lnInclude files. Am i thinking as wrong?

If you can enlighten me, i would be very grateful because i am kind of loss right now.

Have good days!

Halil
hbulus is offline   Reply With Quote

Reply

Tags
foam-extend 5.0, openfoam 1912, overset library


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
how to link the path of a newly compiled library to another library in OpenFOAM sourav8016 OpenFOAM 3 December 28, 2023 17:21
OpenFOAM course for beginners Jibran OpenFOAM Announcements from Other Sources 2 November 4, 2019 09:51
OpenFOAM Training Jan-Jul 2017, Virtual, London, Houston, Berlin CFDFoundation OpenFOAM Announcements from Other Sources 0 January 4, 2017 07:15
OpenFOAM Training Jan-Apr 2017, Virtual, London, Houston, Berlin cfd.direct OpenFOAM Announcements from Other Sources 0 September 21, 2016 12:50
Suggestion for a new sub-forum at OpenFOAM's Forum wyldckat Site Help, Feedback & Discussions 20 October 28, 2014 10:04


All times are GMT -4. The time now is 09:55.