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

Cannot compile new solver

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   January 25, 2017, 12:36
Default Cannot compile new solver
  #1
New Member
 
Michele Lopez
Join Date: Jan 2017
Posts: 1
Rep Power: 0
lpz.michele is on a distinguished road
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.
Could anyone please help me?

NOTE: I am using OF4.1 using Bash for Windows
lpz.michele is offline   Reply With Quote

Old   February 10, 2018, 17:49
Default
  #2
New Member
 
Join Date: Jul 2017
Posts: 4
Rep Power: 8
dviam is on a distinguished road
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.
dviam 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
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


All times are GMT -4. The time now is 07:20.