|
[Sponsors] |
August 8, 2016, 07:02 |
fixedMeanValue compilation in OpenFOAM 4.0
|
#1 |
Member
Bruno
Join Date: Jun 2016
Location: Siegen, Germany
Posts: 59
Rep Power: 10 |
Hi,
I'm trying to compile fixedMeanValue BC from this forumpost on OpenFOAM 4.0 using wmake libso, but get the following error: Code:
bruno@bruno-VirtualBox:~/OpenFOAM/bruno-4.0/fixedMeanValue$ wmake libso wmakeLnInclude: linking include files to ./lnInclude Making dependency list for source file fixedMeanValueFvPatchFields.C could not open file DataEntry.H for source file fixedMeanValueFvPatchFields.C due to No such file or directory g++ -std=c++0x -m64 -Dlinux64 -DWM_ARCH_OPTION=64 -DWM_DP -DWM_LABEL_SIZE=32 -Wall -Wextra -Wold-style-cast -Wnon-virtual-dtor -Wno-unused-parameter -Wno-invalid-offsetof -O3 -DNoRepository -ftemplate-depth-100 -I/opt/openfoam4/src/finiteVolume/lnInclude -IlnInclude -I. -I/opt/openfoam4/src/OpenFOAM/lnInclude -I/opt/openfoam4/src/OSspecific/POSIX/lnInclude -fPIC -c fixedMeanValueFvPatchFields.C -o Make/linux64GccDPInt32Opt/fixedMeanValueFvPatchFields.o In file included from fixedMeanValueFvPatchFields.H:38:0, from fixedMeanValueFvPatchFields.C:29: fixedMeanValueFvPatchField.H:39:23: fatal error: DataEntry.H: No such file or directory compilation terminated. /opt/openfoam4/wmake/rules/General/transform:8: recipe for target 'Make/linux64GccDPInt32Opt/fixedMeanValueFvPatchFields.o' failed make: *** [Make/linux64GccDPInt32Opt/fixedMeanValueFvPatchFields.o] Error 1 Just to make sure, I currently put the fixedMeanValue folder on the same level as the $FOAM_RUN folder, correct? Hence for me the fixedMeanValue folder is in OpenFOAM/bruno-4.0, and in that folder is the Make folder and the C and H files. Thanks! Bruno |
|
August 8, 2016, 10:04 |
|
#3 | |
Member
Bruno
Join Date: Jun 2016
Location: Siegen, Germany
Posts: 59
Rep Power: 10 |
Quote:
For the others and random Googlers, I changed the files to work with OF4.0 thanks to hk318i, see attachment. Just unpack to your user folder, open a terminal in the fixedMeanValue folder and execute: Code:
wmake libso Code:
libs ( "libfixedMeanValue.so"); |
||
August 8, 2016, 10:19 |
|
#4 |
Senior Member
Anton Kidess
Join Date: May 2009
Location: Germany
Posts: 1,377
Rep Power: 30 |
Is this BC in any way different than the standard fixedMean BC already included in OpenFOAM?
__________________
*On twitter @akidTwit *Spend as much time formulating your questions as you expect people to spend on their answer. |
|
August 9, 2016, 19:41 |
|
#5 |
Senior Member
Joachim Herb
Join Date: Sep 2010
Posts: 650
Rep Power: 22 |
||
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Getting Started with OpenFOAM | wyldckat | OpenFOAM | 26 | June 21, 2024 07:54 |
OpenFOAM compilation | MrAnderson | OpenFOAM | 3 | October 16, 2017 19:04 |
Compilation error with OpenFOAM 2.1.x | Martin_ | OpenFOAM Installation | 28 | January 15, 2013 07:58 |
New OpenFOAM Forum Structure | jola | OpenFOAM | 2 | October 19, 2011 07:55 |
Cross-compiling OpenFOAM 1.7.0 on Linux for Windows 32 and 64bits with Mingw-w64 | wyldckat | OpenFOAM Announcements from Other Sources | 3 | September 8, 2010 07:25 |