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

Problem compiling new solver with wmake

Register Blogs Community New Posts Updated Threads Search

Like Tree6Likes
  • 1 Post By Flopi
  • 1 Post By mAlletto
  • 1 Post By ELwardi
  • 3 Post By Flopi

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   March 27, 2019, 09:49
Default Problem compiling new solver with wmake
  #1
New Member
 
Join Date: Mar 2019
Posts: 7
Rep Power: 7
Flopi is on a distinguished road
Dear all,
I'm beginning OpenFOAM to solve a advection-diffusion-reaction equation. I started with the scalarTransportFoam solver and wanted to expand it. So I my due diligence and followed the steps in the tutorials to copy and start a new solver.
However, when I try to compile it (even without any change in the code) I have the following error message:



make: *** no rule to make target « Make/mingw_w64GccDPInt32Opt/my_scalarTransportFoam.C.dep », necessary for « Make/mingw_w64GccDPInt32Opt/my_scalarTransportFoam.o ». stop.


(translation from the french error message)



I have openfoam installed on windows through blueCFD.
Any idea of what's the issue ?


Thanks,

Flo
joshmccraney likes this.
Flopi is offline   Reply With Quote

Old   March 29, 2019, 14:51
Default
  #2
Senior Member
 
Michael Alletto
Join Date: Jun 2018
Location: Bremen
Posts: 616
Rep Power: 16
mAlletto will become famous soon enough
You geht this error when the path to the file .c is not correct
foamiste likes this.
mAlletto is offline   Reply With Quote

Old   March 30, 2019, 08:35
Default
  #3
Member
 
Elwardi Fadeli
Join Date: Dec 2016
Location: Boumerdes, Algeria
Posts: 41
Rep Power: 9
ELwardi is on a distinguished road
Just as mAlletto said:


1- The path to the source file (*.C) in Make/files (the first line is incorrect). You probably forgot to
Code:
mv scalarTransportFoam.C my_scalarTransportFoam.C
2- Depending on where you installed OpenFOAM, you may not have access to write binary files to the default path; you need to change Make/files to build the solver somewhere you can write to .


Your Make/files should spell out like this:
Code:
my_scalarTransportFoam.C


EXE = $(FOAM_USER_APPBIN)/my_scalarTransportFoam
tbhanderi likes this.
ELwardi is offline   Reply With Quote

Old   April 2, 2019, 11:02
Default
  #4
New Member
 
Join Date: Mar 2019
Posts: 7
Rep Power: 7
Flopi is on a distinguished road
I got the answer from another forum. The error was that I used lower case .c instead of .C
Thanks for the help,
XJ_Wang, PuWang and tbhanderi like this.
Flopi 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
Divergence problem Smaras FLUENT 13 February 21, 2013 06:03
Patches for OpenFOAM 1.7 on MacOS X gschaider OpenFOAM Installation 101 September 21, 2011 06:37
Problems about compiling OF1.5.x on Bluegene/P ywang OpenFOAM 1 August 25, 2011 06:22
Problem in Compiling the solver m.maneshi OpenFOAM Running, Solving & CFD 4 November 3, 2010 03:07
[OpenFOAM] ParaFoam error message joey ParaView 1 October 2, 2006 14:28


All times are GMT -4. The time now is 00:41.