Bug in coded function in parallel mode resolved
I just got a message that the bug has been resolved in OF 2.1.x.
http://www.openfoam.org/mantisbt/view.php?id=480 Regards Eelco |
Quote:
|
Quote:
Hi! I am Neetu. I have also downloaded the tar file foamCalcEx. I have compiled it correctly according to your instruction, but still it is not working. When I am running this function from my case directory then it showing that "foamClacEx command is not found". What should I do now? Give me the solution for this problem. Thanks |
Quote:
|
Quote:
please make sure that you correct each 'files' file in each of the three 'Make' directories. If you use a local user environment for compiling additional stuff for OpenFOAM they should be Code:
foamCalc.C Code:
calcType/calcType.C Code:
postCalc.C FOAM_USER_APPBIN FOAM_USER_LIBBIN. Usually the structure in WM_PROJECT_USER_DIR should be like WM_PROJECT_USER_DIR/run WM_PROJECT_USER_DIR/lib WM_PROJECT_USER_DIR/platforms/...your_system.../bin. You can find out the assigned directory by typing Code:
echo $FOAM_USER_APPBIN Cheers, Michael |
The changes that Michael mentioned are already incorporated in the code repository (the tarball is not up to date). You can follow Michael's instructions, or get a copy using 'hg clone' (see previous posts or https://code.google.com/p/foamcalcex/source/checkout). Also do the same if you want to use foamCalcEx with OF-1.6-ext.
- Anton |
Thank you for the reply. Now I am able to compile the file correctly.
Thanks |
please help me?
1 Attachment(s)
Hi dear Foamers.
I want to calculate one equation(pics of it attachmented), im my case. please help me ,and tell me how to do it??? thanks for your attention. |
Quote:
Thanks for the great tool. Is it possible to average/integrate a certain parameter over a specific area, say num1<x<num2 & num3<y<num4? |
Quote:
|
Hi Anton, I am trying to compile your utility under OpefFoam 2.4. I'm following the details on the wiki installation but I am getting the following error:
~/OpenFOAM/theodore-2.4.0/foamcalcex/postProcessing ~/OpenFOAM/theodore-2.4.0/foamcalcex + wmake libo postCalc '/home/theodore/OpenFOAM/root-2.4.0/platforms/linux64GccDPOpt/lib/postCalc.o' is up to date. + wmake libso foamCalcFunctionsEx make: *** No rule to make target `/opt/openfoam240/src/finiteVolume/lnInclude/cyclicAMILduInterface.H', needed by `calcType/calcType.dep'. Stop. root@node3:~/OpenFOAM/theodore-2.4.0/foamcalcex# ./Allwmake ~/OpenFOAM/theodore-2.4.0/foamcalcex/postProcessing ~/OpenFOAM/theodore-2.4.0/foamcalcex + wmake libo postCalc '/home/theodore/OpenFOAM/root-2.4.0/platforms/linux64GccDPOpt/lib/postCalc.o' is up to date. + wmake libso foamCalcFunctionsEx SOURCE=calcType/calcType.C ; g++ -m64 -Dlinux64 -DWM_DP -Wall -Wextra -Wno-unused-parameter -Wold-style-cast -Wnon-virtual-dtor -O3 -DNoRepository -ftemplate-depth-100 -I/opt/openfoam240/src/finiteVolume/lnInclude -IlnInclude -I. -I/opt/openfoam240/src/OpenFOAM/lnInclude -I/opt/openfoam240/src/OSspecific/POSIX/lnInclude -fPIC -c $SOURCE -o Make/linux64GccDPOpt/calcType.o In file included from /opt/openfoam240/src/finiteVolume/lnInclude/ddtScheme.C:30:0, from /opt/openfoam240/src/finiteVolume/lnInclude/ddtScheme.H:325, from /opt/openfoam240/src/finiteVolume/lnInclude/fvcDdt.C:28, from /opt/openfoam240/src/finiteVolume/lnInclude/fvcDdt.H:199, from /opt/openfoam240/src/finiteVolume/lnInclude/fvc.H:44, from /opt/openfoam240/src/finiteVolume/lnInclude/fvCFD.H:8, from calcType/calcType.H:48, from calcType/calcType.C:26: /opt/openfoam240/src/finiteVolume/lnInclude/cyclicAMIFvPatch.H:39:35: fatal error: cyclicAMILduInterface.H: No such file or directory #include "cyclicAMILduInterface.H" I tried looking around in the site for changes in the Make files but nothing worked so far. Any idea what it could be? Thanks in advance! Theodore. |
Sorry, I just noticed your post now. If you haven't solved it already, the solution is to modify Make/options for foamCalcFunctionsEx as follows (adding include and library references to meshTools):
Code:
ifdef FOAM_DEV |
Hi Anton
I am trying to compile the FoamCalcEx library on OpenFOAM v1606+ and I have added the meshtools in the options files, but I'm getting this error message: Quote:
|
For my future reference: Change headerOk to typeHeaderOK
|
Hello Anton, firstly, thank you for sharing your utility.
I would like to know if it's possible to use volIntegrate field across a line (one point to another) instead of the entire domain? |
Quote:
I tried to use your uility on OF 7, but unfortunately i have this error. Kindly assist please Code:
~/foamcalcex/postProcessing ~/foamcalcex regards, Kabir |
All times are GMT -4. The time now is 01:01. |