|
[Sponsors] |
January 25, 2017, 12:36 |
Cannot compile new solver
|
#1 |
New Member
Michele Lopez
Join Date: Jan 2017
Posts: 1
Rep Power: 0 |
Hello!
I am dealing with the implementation of the Zwart Model of cavitation in interPhaseChangeFoam. Following many tutorials and papers, I've created a new solver's directory, copied the previous interPhaseChangeFoam and then i started modifying the code. Here is the link to the whole solver: https://mega.nz/#!b4QmDIjY here is what I get, after wmake: Code:
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/transportModels/twoPhaseMixture/lnInclude -I/opt/openfoam4/src/transportModels -I/opt/openfoam4/src/transportModels/incompressible/lnInclude -I/opt/openfoam4/src/transportModels/interfaceProperties/lnInclude -I/opt/openfoam4/src/TurbulenceModels/turbulenceModels/lnInclude -I/opt/openfoam4/src/TurbulenceModels/incompressible/lnInclude -I/libpolibaPhaseChangeTwoPhaseMixtures/lnInclude -I/opt/openfoam4/src/finiteVolume/lnInclude -I/opt/openfoam4/src/meshTools/lnInclude -I/opt/openfoam4/src/sampling/lnInclude -IlnInclude -I. -I/opt/openfoam4/src/OpenFOAM/lnInclude -I/opt/openfoam4/src/OSspecific/POSIX/lnInclude -fPIC -c polibaInterPhaseChangeFoam.C -o Make/linux64GccDPInt32Opt/polibaInterPhaseChangeFoam.o polibaInterPhaseChangeFoam.C:51:46: fatal error: polibaPhaseChangeTwoPhaseMixture.H: File o directory non esistente #include "polibaPhaseChangeTwoPhaseMixture.H" ^ compilation terminated. NOTE: I am using OF4.1 using Bash for Windows |
|
February 10, 2018, 17:49 |
|
#2 |
New Member
Join Date: Jul 2017
Posts: 4
Rep Power: 8 |
Hi Michele,
I was wondering if you ever got this working. This is something I am interested in doing as well. Could you post here or forwards the tutorial documents you are using which document how to do this? I will try to give it a try myself. |
|
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
How to compile a new solver in OpenFOAM-2.1.0? | sandy | OpenFOAM Programming & Development | 24 | July 27, 2016 04:10 |
Quarter Burner mesh with periosic condition | SamCanuck | FLUENT | 2 | August 31, 2011 11:34 |
Working directory via command line | Luiz | CFX | 4 | March 6, 2011 20:02 |
How to compile an unsteady solver based on solver of MRFSimpleFoam? | renyun0511 | OpenFOAM Running, Solving & CFD | 0 | April 27, 2010 11:16 |
why the solver reject it? Anyone with experience? | bearcat | CFX | 6 | April 28, 2008 14:08 |