|
[Sponsors] |
January 21, 2021, 12:56 |
Compilation modified Sutherland Model
|
#1 |
New Member
Clément
Join Date: Jan 2021
Posts: 5
Rep Power: 5 |
Dear all,
I am new to openFoam and am trying to modify the existing Sutherland model. The problem is, I can not manage to compile the new model. The error is "make: *** No rule to make target" and from what I read it is because the directory "Make" including "files" and "options" does not exist. I have tried to create these files, but I absolutely do not know how to do that and what they should include. Could you help me ? Thank you in advance for your help! Clément |
|
January 21, 2021, 13:15 |
|
#3 |
New Member
Clément
Join Date: Jan 2021
Posts: 5
Rep Power: 5 |
Actually, "wmake" is already what I use.
After modifying the Sutherland model I used "wmake" and the error "make: *** No rule to make target" appeared. |
|
January 22, 2021, 04:17 |
|
#5 | |
New Member
Clément
Join Date: Jan 2021
Posts: 5
Rep Power: 5 |
Quote:
I think this is the problem. I do not know what to include in these files because it is the first time I try to compile a new model. I searched on the internet but I did not find anything that could help me. Do you have a model of these files that could work for me ? Thank you for your help ! |
||
January 22, 2021, 04:34 |
|
#6 |
Senior Member
|
wmake is a bash shell command that in turn calls "make" with options specifically for OpenFoam.
Information on "make": https://en.wikipedia.org/wiki/Makefile |
|
January 22, 2021, 04:52 |
|
#7 |
New Member
Clément
Join Date: Jan 2021
Posts: 5
Rep Power: 5 |
Thank you for the information.
I tried something, that still does not work. In Make/files: sutherland.C LIB = $(FOAM_USER_LIBBIN)/sutherland In Make/options: EXE_INC = \ -I$(LIB_SRC)/thermophysicalModels/specie/transport/sutherland But I still have the error "make: *** No rule to make target" |
|
January 22, 2021, 19:15 |
|
#8 |
New Member
Clément
Join Date: Jan 2021
Posts: 5
Rep Power: 5 |
I managed to solve this error, I changed the make/files to
sutherlandTransport.C EXE = $(FOAM_USER_APPBIN)/sutherlandTransport (I changed sutherland to sutherlandTransport) I also changed the Make/options to EXE_INC = \ -I$(LIB_SRC)/thermophysicalModels/specie/specie/lnInclude \ -I$(LIB_SRC)/thermophysicalModels/specie/transport/lnInclude/sutherland/lnInclude \ -I$(LIB_SRC)/OpenFOAM/db/IOstreams/lnInclude \ Unfortunately, I have an error: "fatal error: specie.H: No such file or directory" Thanks to whoever who can help me. |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
[General] Extracting ParaView Data into Python Arrays | Jeffzda | ParaView | 30 | November 6, 2023 21:00 |
Problem while compiling modified simpleFoam solver | mattiafc | OpenFOAM Programming & Development | 0 | May 26, 2020 20:01 |
compilation problems in FOAM-Extend 3.1 with a modified "dbnsTurb" | GJM1991 | OpenFOAM Programming & Development | 0 | June 26, 2015 09:34 |
Modified interFoam compilation fails | voingiappone | OpenFOAM Programming & Development | 6 | October 1, 2013 03:47 |
Compilation Error (V 1.7.1; Icc 12.1.0, OpenMPI 1.4.3) | floydfan | OpenFOAM Installation | 7 | December 20, 2011 05:56 |