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

evapVOFHardt code compilation error

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   March 24, 2017, 07:35
Default evapVOFHardt code compilation error
  #1
New Member
 
Santosh
Join Date: Feb 2017
Posts: 6
Rep Power: 9
SKS13 is on a distinguished road
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$
SKS13 is offline   Reply With Quote

Old   March 28, 2017, 00:37
Default compilation error for evapVOFHardt code
  #2
New Member
 
Santosh
Join Date: Feb 2017
Posts: 6
Rep Power: 9
SKS13 is on a distinguished road
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]
Attached Files
File Type: txt error1.txt (1.9 KB, 3 views)
File Type: txt errors2.txt (7.5 KB, 2 views)

Last edited by wyldckat; June 25, 2017 at 14:01. Reason: see "Moderator note:"
SKS13 is offline   Reply With Quote

Old   March 28, 2017, 01:12
Default
  #3
Senior Member
 
Mohammad Shakil Ahmmed
Join Date: Oct 2012
Location: AUS
Posts: 137
Rep Power: 14
ahmmedshakil is on a distinguished road
Quote:
Originally Posted by SKS13 View Post
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.
Hi Santosh,
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 14:01. Reason: see "Moderator note:"
ahmmedshakil is offline   Reply With Quote

Old   March 28, 2017, 07:19
Default
  #4
New Member
 
Helvines Aquino
Join Date: Aug 2016
Posts: 13
Rep Power: 9
nesca87 is on a distinguished road
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
nesca87 is offline   Reply With Quote

Old   April 26, 2017, 06:43
Default
  #5
New Member
 
Josefine
Join Date: Dec 2015
Posts: 1
Rep Power: 0
jossve is on a distinguished road
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 04:04. Reason: Problem solved
jossve is offline   Reply With Quote

Old   June 25, 2017, 14:13
Default
  #6
Retired Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,975
Blog Entries: 45
Rep Power: 128
wyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to all
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
__________________
wyldckat is offline   Reply With Quote

Reply


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
[blockMesh] blockMesh with double grading. spwater OpenFOAM Meshing & Mesh Conversion 92 January 12, 2019 09:00
Pressure outlet boundary condition rolando OpenFOAM Running, Solving & CFD 62 September 18, 2017 06:45
Installation OF1.5-dev ttdtud OpenFOAM Installation 46 May 5, 2009 02:32
DecomposePar links against liblamso0 with OpenMPI jens_klostermann OpenFOAM Bugs 11 June 28, 2007 17:51
user subroutine error CFDUSER CFX 2 December 9, 2006 06:31


All times are GMT -4. The time now is 21:03.