|
[Sponsors] |
January 1, 2020, 20:12 |
Issues installting foamCalcEx on OF6
|
#1 |
Member
X
Join Date: Jan 2019
Posts: 63
Rep Power: 7 |
So I want to use volIntegrate using foamCalcEx (installation - https://openfoamwiki.net/index.php/C...alcEx#Download)
when I try to ./Allwmake I am getting an error: I referred to Error making a new utility code: "cyclicAMILduInterface.H: No such file or directory" where I included Code:
EXE_INC = \ -I$(LIB_SRC)/meshTools/lnInclude \ -I$(LIB_SRC)/triSurface/lnInclude \ -I$(LIB_SRC)/surfMesh/lnInclude \ -I$(LIB_SRC)/fileFormats/lnInclude LIB_LIBS = \ -ltriSurface \ -lsurfMesh \ -lfileFormats Error making a new utility code: "cyclicAMILduInterface.H: No such file or directory" At meshTools, I wclean as per wmake error: file 'Make/linux64Gcc44DPOpt/objectFiles' could not be created and followed by wmake, that's when I get the error. Error Code:
m@E-10DXX4FZ6352:~/OpenFOAM/m-6/foamcalcex$ ./Allwmake ~/OpenFOAM/m-6/foamcalcex/postProcessing ~/OpenFOAM/m-6/foamcalcex + wmake libo postCalc wmake libo postCalc + wmake libso foamCalcFunctionsEx wmake libso foamCalcFunctionsEx g++ -std=c++11 -m64 -Dlinux64 -DWM_ARCH_OPTION=64 -DWM_DP -DWM_LABEL_SIZE=64 -Wall -Wextra -Wold-style-cast -Wnon-virtual-dtor -Wno-unused-parameter -Wno-invalid-offsetof -Wno-attributes -O3 -DNoRepository -ftemplate-depth-100 -I/home/m/OpenFOAM/OpenFOAM-6/src/finiteVolume/lnInclude -IlnInclude -I. -I/home/m/OpenFOAM/OpenFOAM-6/src/OpenFOAM/lnInclude -I/home/m/OpenFOAM/OpenFOAM-6/src/OSspecific/POSIX/lnInclude -fPIC -c calcType/calcType.C -o Make/linux64GccDPInt64Opt/calcType/calcType.o In file included from /home/m/OpenFOAM/OpenFOAM-6/src/finiteVolume/lnInclude/ddtScheme.C:30:0, from /home/m/OpenFOAM/OpenFOAM-6/src/finiteVolume/lnInclude/ddtScheme.H:357, from /home/m/OpenFOAM/OpenFOAM-6/src/finiteVolume/lnInclude/fvcDdt.C:28, from /home/m/OpenFOAM/OpenFOAM-6/src/finiteVolume/lnInclude/fvcDdt.H:250, from /home/m/OpenFOAM/OpenFOAM-6/src/finiteVolume/lnInclude/fvc.H:44, from /home/m/OpenFOAM/OpenFOAM-6/src/finiteVolume/lnInclude/fvCFD.H:8, from calcType/calcType.H:48, from calcType/calcType.C:26: /home/m/OpenFOAM/OpenFOAM-6/src/finiteVolume/lnInclude/cyclicAMIFvPatch.H:39:35: fatal error: cyclicAMILduInterface.H: No such file or directory #include "cyclicAMILduInterface.H" ^ compilation terminated. /home/m/OpenFOAM/OpenFOAM-6/wmake/rules/General/transform:25: recipe for target 'Make/linux64GccDPInt64Opt/calcType/calcType.o' failed make: *** [Make/linux64GccDPInt64Opt/calcType/calcType.o] Error 1 Any help is appreciated. |
|
January 2, 2020, 16:25 |
|
#2 |
Member
Tarang
Join Date: Feb 2011
Location: Delhi, India
Posts: 47
Rep Power: 15 |
https://github.com/OpenFOAM/OpenFOAM...etc/caseDictsI think some hit and trial has to be done. Try removing all the other files and folders from your Make directory except files and options. And then wmake again. Sometimes i have faced these kind of problems for which I used this.
Other than that I think trying changing the order of lnInclude files. PS: I think you can also use function object for your activity. Pls see if these folders are of any help 1. https://github.com/OpenFOAM/OpenFOAM...nObjects/field 2. https://github.com/OpenFOAM/OpenFOAM.../etc/caseDicts Last edited by gtarang; January 2, 2020 at 16:25. Reason: Spelling |
|
January 4, 2020, 12:01 |
|
#3 |
Member
X
Join Date: Jan 2019
Posts: 63
Rep Power: 7 |
I tried different ways but unfortunately none of them are successful so far.
In regards to removing other files and folders from Make directory, I have nothing else beside file and options. Yes I had a look at the functionsObjects but couldn't find the ones I require: 1. volIntegrate (which is available using foamCalcEx https://openfoamwiki.net/index.php/Contrib_foamCalcEx) 2. magGrad (which is available using foamCalc Use of foamCalc) Any other way to acquire those? |
|
January 4, 2020, 13:06 |
|
#4 |
Member
Tarang
Join Date: Feb 2011
Location: Delhi, India
Posts: 47
Rep Power: 15 |
Sorry I cannot help with compilation, after quick glance through the code at bitbucket, I can help you with magGrad utility.
Code:
postProcess -func "grad(T)" postProcess -func "mag(grad(T))" I check above code for OpenFOAM-6. I guess above code will work for OpenFOAM-5 onwards. I couldn't get what volIntegrate is supposed to do. Can you explain a bit what you want to achieve through it? |
|
January 6, 2020, 04:59 |
|
#5 |
Member
X
Join Date: Jan 2019
Posts: 63
Rep Power: 7 |
Hi Tarang. Sorry for the late reply.
I realised the "mag(grad(T))" postProcess in another forum but thank you for helping me with that. volIntegrate is volume integral of a field, in my case volumetric charge density. I will try the volFieldValue function to see if I get the same results I acquired using foamCalcEx in OF231 or maybe try define operation volIntegrate . Another way I found is including function in controlDict (volum integral of mag(U)...?) will update which works with OF6. |
|
Tags |
foamcalcex, meshtools.h, of6, utilities |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
InterFoam: Different results in OF5 and OF6 | vatavuk | OpenFOAM Bugs | 19 | January 26, 2021 18:22 |
chtMultiRegionSimpleFoam issues - non-conformal meshes & residual handling... | manalis | OpenFOAM Running, Solving & CFD | 3 | October 10, 2018 19:53 |
Convergence issues for Flat plate with sharp edge | rajnarayang | FLUENT | 3 | June 20, 2017 13:02 |
[ANSYS Meshing] Multizone issues (on my project) | crenaudo | ANSYS Meshing & Geometry | 8 | April 13, 2016 03:59 |
Multigrid Stability Issues | ThomasHermann | SU2 | 1 | November 5, 2014 17:18 |