|
[Sponsors] |
March 24, 2017, 08:35 |
evapVOFHardt code compilation error
|
#1 |
New Member
Santosh
Join Date: Feb 2017
Posts: 6
Rep Power: 9 |
I am trying to compile evapVOFHardt code on openFoam 2.3.1.But I am getting the following errors. What Should I do ? I am also wondering whether there is any evapVOFHardt like code for openfoam3.0 or openfoam4.0 later versions. How to port and run evapVOFHardt code for higher versions of openfoam? What are the essential changes to be added so that it works?
error:santosh@santosh-Inspiron-1545:~/Desktop/sks123/evapVOFHardt-master/evapVOFHardt$ wmake SOURCE=evapVOFHardt.C ; g++ -m64 -Dlinux64 -DWM_DP -Wall -Wextra -Wno-unused-parameter -Wold-style-cast -Wnon-virtual-dtor -O3 -DNoRepository -ftemplate-depth-100 -I/home/santosh/OpenFOAM/OpenFOAM-2.3.1/src/transportModels -I/home/santosh/OpenFOAM/OpenFOAM-2.3.1/src/transportModels/incompressible/lnInclude -I/home/santosh/OpenFOAM/OpenFOAM-2.3.1/src/transportModels/interfaceProperties/lnInclude -I/home/santosh/OpenFOAM/OpenFOAM- 2.3.1/src/transportModels/twoPhaseInterfaceProperties/lnInclude -I/home/santosh/OpenFOAM/OpenFOAM-2.3.1/src/turbulenceModels/incompressible/turbulenceModel -I/home/santosh/OpenFOAM/OpenFOAM-2.3.1/src/finiteVolume/lnInclude -I/home/santosh/OpenFOAM/OpenFOAM-2.3.1/src/dynamicFvMesh/lnInclude -I/home/santosh/OpenFOAM/OpenFOAM-2.3.1/src/dynamicMesh/lnInclude -I/home/santosh/OpenFOAM/OpenFOAM-2.3.1/src/meshTools/lnInclude -I/home/santosh/OpenFOAM/OpenFOAM-2.3.1/src/sampling/lnInclude -IlnInclude -I. -I/home/santosh/OpenFOAM/OpenFOAM-2.3.1/src/OpenFOAM/lnInclude -I/home/santosh/OpenFOAM/OpenFOAM-2.3.1/src/OSspecific/POSIX/lnInclude -fPIC -c $SOURCE -o Make/linux64GccDPOpt/evapVOFHardt.o evapVOFHardt.C:48:29: fatal error: twoPhaseMixture.H: No such file or directory #include "twoPhaseMixture.H" ^ compilation terminated. make: *** [Make/linux64GccDPOpt/evapVOFHardt.o] Error 1 santosh@santosh-Inspiron-1545:~/Desktop/sks123/evapVOFHardt-master/evapVOFHardt$ |
|
March 28, 2017, 01:37 |
compilation error for evapVOFHardt code
|
#2 |
New Member
Santosh
Join Date: Feb 2017
Posts: 6
Rep Power: 9 |
I am also getting the same errors while compiling evapVOFHardt solver in openFoam 2.3.1.
After providing missing headerfiles it is showing other errors as mentioned in attachment. Can anybody tell me what to do? Thanks. [Moderator note: moved from Problem with compiling the custom solver evapVOFHardt] Last edited by wyldckat; June 25, 2017 at 15:01. Reason: see "Moderator note:" |
|
March 28, 2017, 02:12 |
|
#3 | |
Senior Member
Mohammad Shakil Ahmmed
Join Date: Oct 2012
Location: AUS
Posts: 137
Rep Power: 15 |
Quote:
In the first error file, as posted by you, it seems that the alphaContactAngle file is missing: please try to add this one and compile In the second error file: it seems "createFields.H:232:64: error: no matching function for call to ‘Foam::interfaceProperties::interfa...." so you have to check the createFields file also, and make sure all of the properties are assigned, and assigned correctly. Please check the above mentioned section and compile. Cheers, shakil [Moderator note: moved from Problem with compiling the custom solver evapVOFHardt] Last edited by wyldckat; June 25, 2017 at 15:01. Reason: see "Moderator note:" |
||
March 28, 2017, 08:19 |
|
#4 |
New Member
Helvines Aquino
Join Date: Aug 2016
Posts: 13
Rep Power: 10 |
the error relates to the transport model source library used by that solver (twoPhaseMixture.H).
have you check Make/options file and matched with include file in evapVOFHardt.C? maybe you should try incompressibleTwoPhaseMixture.H instead of twoPhaseMixture.H |
|
April 26, 2017, 07:43 |
|
#5 |
New Member
Josefine
Join Date: Dec 2015
Posts: 1
Rep Power: 0 |
Hi Santosh,
I have the same problem compiling evapVOFHardt on OpenFOAM-2.2.x. How did you solve your problem? Edit: I've found out that there is an updated version of the code that is adapted to OpenFOAM-2.2.x https://github.com/wyldckat/evapVOFHardt Last edited by jossve; April 27, 2017 at 05:04. Reason: Problem solved |
|
June 25, 2017, 15:13 |
|
#6 |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,981
Blog Entries: 45
Rep Power: 128 |
Quick answer @SKS13: Sorry for taking so long to get back to you on this, but only now did I manage to take a quick look into this. The source code will build with OpenFOAM 2.3.1 if you follow the instructions written for OpenFOAM 2.3.x here (near the end of the page): https://github.com/wyldckat/evapVOFHardt#openfoam-23x
I don't know when I'll be able to adapt the code to OpenFOAM 3 and 4. I've created a task for it, but I don't know when I'll be able to look into this: https://github.com/wyldckat/evapVOFHardt/issues/2
__________________
|
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
[blockMesh] blockMesh with double grading. | spwater | OpenFOAM Meshing & Mesh Conversion | 92 | January 12, 2019 10:00 |
Pressure outlet boundary condition | rolando | OpenFOAM Running, Solving & CFD | 62 | September 18, 2017 07:45 |
Installation OF1.5-dev | ttdtud | OpenFOAM Installation | 46 | May 5, 2009 03:32 |
DecomposePar links against liblamso0 with OpenMPI | jens_klostermann | OpenFOAM Bugs | 11 | June 28, 2007 18:51 |
user subroutine error | CFDUSER | CFX | 2 | December 9, 2006 07:31 |