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

fsiFoam bug in installation ? Something deprecated

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   September 2, 2020, 23:10
Default fsiFoam bug in installation ? Something deprecated
  #1
New Member
 
Ra Miro
Join Date: Aug 2020
Posts: 21
Rep Power: 6
ramrebol is on a distinguished road
Hello.


I'm trying to install fsiFoam, but I have a problem in Section 3.2 of its install tutorial:


https://openfoamwiki.net/index.php/E...re_interaction


Code:
cd FluidSolidInteraction/src ./Allwmake
When I run Allwmake appears the following errors


Quote:


/home/ramrebol/foam/foam-extend-4.0/src/foam/lnInclude/SLListBaseI.H: In member function ‘Foam::SLListBase::iterator Foam::SLListBase::iterator:perator++(int)’:
/home/ramrebol/foam/foam-extend-4.0/src/foam/lnInclude/SLListBaseI.H:218:21: error: implicitly-declared ‘constexpr Foam::SLListBase::iterator::iterator(const Foam::SLListBase::iterator&)’ is deprecated [-Werror=deprecated-copy]
218 | iterator tmp = *this;
| ^~~~
/home/ramrebol/foam/foam-extend-4.0/src/foam/lnInclude/SLListBaseI.H:174:13: note: because ‘Foam::SLListBase::iterator’ has user-provided ‘void Foam::SLListBase::iterator:perator=(const Foam::SLListBase::iterator&)’
174 | inline void Foam::SLListBase::iterator:perator=(const iterator& iter)
| ^~~~
/home/ramrebol/foam/foam-extend-4.0/src/foam/lnInclude/SLListBaseI.H:220:12: error: implicitly-declared ‘constexpr Foam::SLListBase::iterator::iterator(const Foam::SLListBase::iterator&)’ is deprecated [-Werror=deprecated-copy]
220 | return tmp;
| ^~~
/home/ramrebol/foam/foam-extend-4.0/src/foam/lnInclude/SLListBaseI.H:174:13: note: because ‘Foam::SLListBase::iterator’ has user-provided ‘void Foam::SLListBase::iterator:perator=(const Foam::SLListBase::iterator&)’
174 | inline void Foam::SLListBase::iterator:perator=(const iterator& iter)
| ^~~~
/home/ramrebol/foam/foam-extend-4.0/src/foam/lnInclude/SLListBaseI.H: In member function ‘Foam::SLListBase::iterator Foam::SLListBase::begin()’:
/home/ramrebol/foam/foam-extend-4.0/src/foam/lnInclude/SLListBaseI.H:233:16: error: implicitly-declared ‘constexpr Foam::SLListBase::iterator::iterator(const Foam::SLListBase::iterator&)’ is deprecated [-Werror=deprecated-copy]
233 | return endIter_;
| ^~~~~~~~
/home/ramrebol/foam/foam-extend-4.0/src/foam/lnInclude/SLListBaseI.H:174:13: note: because ‘Foam::SLListBase::iterator’ has user-provided ‘void Foam::SLListBase::iterator:perator=(const Foam::SLListBase::iterator&)’
174 | inline void Foam::SLListBase::iterator:perator=(const iterator& iter)

The above is just a part of the output, but suggests (or I suposse) that there are something deprecated in the file SLListBaseI.H (this is its link).


I think is something in the way defining... but I don't know C++ enough to fix this.


Somebody here can help me?


Thanks
ramrebol is offline   Reply With Quote

Old   September 6, 2020, 04:10
Default
  #2
Senior Member
 
Join Date: Sep 2013
Posts: 353
Rep Power: 21
Bloerb will become famous soon enough
I'd recommend using solids4foam instead (https://bitbucket.org/philip_cardiff...se/src/master/)
Bloerb is offline   Reply With Quote

Old   September 8, 2020, 14:38
Default
  #3
New Member
 
Ra Miro
Join Date: Aug 2020
Posts: 21
Rep Power: 6
ramrebol is on a distinguished road
Thanks Bloerb.


I had the same problem, but I could install it using docker (long live docker).


solids4foam look works awesome.
ramrebol is offline   Reply With Quote

Reply

Tags
fsifoam


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
[FSI] fsiFoam installation problem Tomko OpenFOAM CC Toolkits for Fluid-Structure Interaction 4 July 14, 2017 15:01
[foam-extend.org] A smooth installation of foam-3.0-extend on OpenSUSE 13.1 64-bits cookcaptain OpenFOAM Installation 7 May 26, 2015 12:22
OpenFOAM 2.2.2 source pack installation on Xubuntu 13.10 zordiack OpenFOAM Installation 1 October 26, 2013 14:08
CFX11 + Fortran compiler ? Mohan CFX 20 March 30, 2011 19:56
64bitrhel5 OF installation instructions mirko OpenFOAM Installation 2 August 12, 2008 19:07


All times are GMT -4. The time now is 05:12.