CFD Online Logo CFD Online URL
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Community Contributions > OpenFOAM CC Toolkits for Fluid-Structure Interaction

[FSI] [foam-extend-4.1/extend-bazaar] Issue building the "beamInCrossFlow" tutorial case

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

LinkBack Thread Tools Search this Thread Display Modes
Old   December 18, 2019, 16:09
Default [foam-extend-4.1/extend-bazaar] Issue building the "beamInCrossFlow" tutorial case
New Member
Join Date: Dec 2019
Posts: 1
Rep Power: 0
Skywalker2020 is on a distinguished road
Hi everyone,

I compiled extend-bazaar, respectively the version which is included in the foam-extend-4.1 package.

Afterwards, I tried to build and run some of the FSI examples included in extend-bazaar.

Unfortunately, I was not able to build the "beamInCrossFlow" example (path: /extend-bazaar/FluidSolidInteraction/run/fsiFoam/beamInCrossFlow/).

I followed the instructions from the OpenFOAM-Wiki for the FSI tutorial cases (,
but when I was running the "Allrun" script, I got the following error by g++:

/foam/foam-extend-4.1/src/foam/lnInclude/runTimeSelectionTables.H:73:40: error: invalid new-expression of abstract class type ‘Foam::setInletVelocity’
             return autoPtr< baseType >(new baseType##Type parList);           \
After some research, I found another thread which also deals with this error:
Issue compiling solver for OF 2.4

According to that thread, the error occurs when there are virtual functions which have not been implemented yet.

With regard to this specific case, there are three virtual functions in "setInletVelocity.H" (path: .../beamInCrossFlow/setInletVelocity/):
start(), execute(), read(const dictionary& dict)
All three of them are implemented in "setInletVelocity.C" though.

Has anybody encountered this problem before? Why does this error occur? What are the missing functions to implement?

Thanks for your help!
Skywalker2020 is offline   Reply With Quote

Old   September 2, 2020, 13:59
New Member
Ra Miro
Join Date: Aug 2020
Posts: 21
Rep Power: 4
ramrebol is on a distinguished road
I have the same problem.
Has anyone fixed it?
ramrebol is offline   Reply With Quote

Old   December 3, 2021, 13:14
Join Date: Mar 2020
Posts: 59
Rep Power: 4
Neb is on a distinguished road
I have the same problem, have you solved it?
Neb is offline   Reply With Quote


extend-bazaar, foam-extend-4.1, fsi

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
Pressure instabilities with interDyMFoam for the floatingObject case nbadano OpenFOAM Running, Solving & CFD 15 October 15, 2021 07:35
Is Playstation 3 cluster suitable for CFD work hsieh OpenFOAM 9 August 16, 2015 15:53
SRFSimpleFoam tutorial case blows up on laptop (but runs on desktop?) AHMeng OpenFOAM Running, Solving & CFD 1 April 27, 2012 09:34
FoamX refuses to open an interFoam tutorial case vrecha OpenFOAM Pre-Processing 5 March 12, 2008 13:36
Free surface boudary conditions with SOLA-VOF Fan Main CFD Forum 10 September 9, 2006 13:24

All times are GMT -4. The time now is 15:46.