|
[Sponsors] |
Error message with 'wmake' in foam-extend 3.1 |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
February 7, 2018, 09:25 |
Error message with 'wmake' in foam-extend 3.1
|
#1 | |
New Member
Joe Mattson
Join Date: Nov 2016
Location: Ithaca, NY
Posts: 3
Rep Power: 10 |
Good morning all,
Just so we all have an idea of what my baseline for openFoam knowledge is, I would consider myself a foam user of moderate aptitude; I'm no professional, but I can maneuver the basics relatively easily. I am running version foam-extend 3.1 I am trying to compile a new solver in openFoam called 'interThermalPhaseChangeFoam'. As the name would suggest, it's a multiphase solver that allows for both heat transfer and phase change. https://www.sciencedirect.com/scienc...52711016300309 https://github.com/ElsevierSoftwareX/SOFTX-D-16-00038 My problem comes when I try to compile the solver; I get fatal errors when trying to locate the header files pimpleControl.H and fvIOoptionList.H Quote:
Thanks! Joe Last edited by jwm349; February 7, 2018 at 09:26. Reason: Accidentally posted before finished |
||
February 7, 2018, 09:42 |
|
#2 | |
New Member
Joe Mattson
Join Date: Nov 2016
Location: Ithaca, NY
Posts: 3
Rep Power: 10 |
If you're curious about how the error shows up in the terminal, I've pasted that below. It's (to me) rather unintelligible, but I've bolded the first error I get in pimpleControl.H. Hope this helps!
Quote:
|
||
April 21, 2018, 10:13 |
|
#3 |
New Member
Wells
Join Date: Mar 2016
Posts: 2
Rep Power: 0 |
hi, Joe
is your problem solved?
__________________
Regards Wells |
|
November 12, 2018, 10:37 |
|
#4 | |
Senior Member
Daniel
Join Date: Mar 2013
Location: Noshahr, Iran
Posts: 348
Rep Power: 21 |
Quote:
You can probably back-port solutionControl from foam-extend-4.0 or simply upgrade to extend-4.0 which fix the problem with pimpleControl.H not being found... However, fvOption is a different story and if you want to use it you need to back-port it from OpenFOAM-2.4 or simply removing the related part from the solver. Also, foam-extend doesn't have "MUST_READ_IF_MODIFIED" option for IOobject so change it according to your need, e.g. MUST_READ! You also face another error saying no match for ‘Foam::List<int>::append(const int&)’ which you need to define: modify List.H from foam-extend source code as follow: add the green part... Code:
//- Clear the list, i.e. set size to zero. void clear(); //- Append an element at the end of the list inline void append(const T&); //- Append a List at the end of this list inline void append(const UList<T>&); Code:
template<class T> inline Foam::Xfer< Foam::List<T> > Foam::List<T>::xfer() { return xferMove(*this); } template<class T> inline void Foam::List<T>::append(const T& t) { setSize(size()+1, t); } template<class T> inline void Foam::List<T>::append(const UList<T>& lst) { if (this == &lst) { FatalErrorIn ( "List<T>::append(const UList<T>&)" ) << "attempted appending to self" << abort(FatalError); } label nextFree = this->size(); setSize(nextFree + lst.size()); forAll(lst, elemI) { this->operator[](nextFree++) = lst[elemI]; } } Another error simply says that you are overriding pure virtual method with different type: change: Code:
tmp<volScalarField> nu() const Code:
virtual const volScalarField& nu() const Regards, Danial Khazaei |
||
Tags |
compile solver, foam extend 3.1, pimple, wmake error |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
OpenFOAM 1.7.1 installation problem on OpenSUSE 11.3 | flakid | OpenFOAM Installation | 16 | December 28, 2010 09:48 |
Problems Installing OF 1.6 32 bit | bucksfan | OpenFOAM Installation | 19 | August 4, 2009 02:36 |
OpenFOAM15 installables are incomplete problem with paraFoam | tryingof | OpenFOAM Bugs | 17 | December 7, 2008 05:41 |
Problem of compilation OF 14Allwmake command not found | erik_d | OpenFOAM Bugs | 13 | September 13, 2008 22:45 |
[OpenFOAM] ParaFoam error message | joey | ParaView | 1 | October 2, 2006 14:28 |