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

Errors in compiling DOM/DORT (no matching function for call error)

Register Blogs Members List Search Today's Posts Mark Forums Read

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   October 5, 2021, 02:38
Default Errors in compiling DOM/DORT (no matching function for call error)
  #1
Member
 
Bushra Rasheed
Join Date: Dec 2020
Posts: 65
Rep Power: 2
B_R_Khan is on a distinguished road
Hi!

Has anyone been able to compile this solver and radiation model?
https://gitlab.com/Jose_Moreno/openfoam_dom

This was made to be run on openfoam7. I tried it on openfoam7 using ubuntu 18.04 but it gave me error:

radiationModel/DORT/discreteOrdinate/cleanDO/cleanDO.C:92:9: error: no matching function for call to ‘solve(Foam::fvScalarMatrix&, const char [3])’

I have tried compiling on openfoam v2106 as well but no luck.

Please help!
Thanks!

Edit: I was able to compile it on openfoam v7.0. The error was because of two openfoam versions placed in the same directory where .bashrc file was present (in which openfoam is sourced during installation). The compilation was looking for solve function in other openfoam version directory instead of openfoam v7. Removing the other openfoam version worked and the solver compiled successfully.

Last edited by B_R_Khan; October 26, 2021 at 05:25.
B_R_Khan is offline   Reply With Quote

Reply

Tags
compilation error, dom model, radiation fvdom

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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
[OpenFOAM] ParaView command in Foam-extend-4.1 mitu_94 ParaView 0 March 4, 2021 14:46
[swak4Foam] swak4foam openfoam 7 installation problem Andrea23 OpenFOAM Community Contributions 1 February 17, 2020 19:11
issue compiling new turbulence model perplexed user OpenFOAM Programming & Development 1 January 13, 2012 04:40
CGNS lib and Fortran compiler manaliac Main CFD Forum 2 November 29, 2010 07:25
Problem with compile the setParabolicInlet ivanyao OpenFOAM Running, Solving & CFD 6 September 5, 2008 21:50


All times are GMT -4. The time now is 19:50.