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

foam-extend 4.0 compile error, incorrect path in RASModel.H needs fixing

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   September 1, 2017, 03:32
Default foam-extend 4.0 compile error, incorrect path in RASModel.H needs fixing
  #1
Senior Member
 
Klaus
Join Date: Mar 2009
Posts: 281
Rep Power: 22
klausb will become famous soon enough
Hello,

I get a compile error:

/opt/foam/foam-extend-4.0/src/turbulenceModels/incompressible/RAS/RASModel/RASModel.H:44:60: fatal error: incompressible/turbulenceModel/turbulenceModel.H: Date oder Verzeichnis nicht gefunden (File or Folder/Directory not found)

The path in RASModel.H is wrong, it's incompressible/turbulenceModel/turbulenceModel.H but it should be turbulenceModels/incompressible/turbulenceModel/turbulenceModel.H

I changed it, tried the absolute path, tried to include it via the Make/options file but nothing works, I keep getting the very same error message.

Any hints how to fix the problem?

Klaus
klausb is offline   Reply With Quote

Old   September 4, 2017, 03:23
Default
  #2
Senior Member
 
Hrvoje Jasak
Join Date: Mar 2009
Location: London, England
Posts: 1,907
Rep Power: 33
hjasak will become famous soon enough
What are you compiling? Have a look at eg simpleFoam to see how to set up paths
__________________
Hrvoje Jasak
Providing commercial FOAM/OpenFOAM and CFD Consulting: http://wikki.co.uk
hjasak is offline   Reply With Quote

Old   September 4, 2017, 07:29
Default
  #3
Senior Member
 
Klaus
Join Date: Mar 2009
Posts: 281
Rep Power: 22
klausb will become famous soon enough
I am working on a turbulence model. As usual it's based on an existing one but from another OF version.

The problem I see is that RASModel.H includes the following line

#include "turbulenceModels/incompressible/turbulenceModel/turbulenceModel.H"

but the file is located at src/:

incompressible/RAS/RASModel/turbulenceModel.H

so there is a mismatch (turbulenceModels) and I am not able to fix it.
klausb 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
Foam::error::PrintStack almir OpenFOAM Running, Solving & CFD 92 May 21, 2024 08:56
NO Moving Probes for Moving Mesh in Foam Extend 4.0 alia OpenFOAM Running, Solving & CFD 6 June 25, 2018 10:24
error with reactingFoam BakedAlmonds OpenFOAM Running, Solving & CFD 4 June 22, 2016 03:21
ParaView-4.0.1 did not compile for foam extend 3.0 installation mhkenergy OpenFOAM Installation 8 June 4, 2014 03:26


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