Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Compilation problem of "simpleFsi-OF4.1" in foam-extend 4.1 #23

Open
subhasisarath opened this issue Aug 26, 2021 · 3 comments
Open

Compilation problem of "simpleFsi-OF4.1" in foam-extend 4.1 #23

subhasisarath opened this issue Aug 26, 2021 · 3 comments

Comments

@subhasisarath
Copy link

I am facing some compilation problems while compiling the "simpleFsi-OF4.1" in foam-extend 4.1 using Ubuntu 18.04.
Error Message:
basicFsi.H:45:10: fatal error: forces.H: No such file or directory
#include "forces.H"
compilation terminated.

May I know the exact procedure to compile "make libso"?
Exactly where should I put the folder "basicFsiFunctionObject" before compilation?

@unicfdlab
Copy link
Owner

Hi, this version of training track is valid only for OpenFOAM Official v. 4.1

@subhasisarath
Copy link
Author

Thanks for your reply @unicfdlab
Now I tried to compile it in official OpenFOAM v7 and successfully compiled the "basicFsi" and "helloWorld" function objects. However, I a, facing an error while complying with the "weaklyCoupledFsi" function object.
Error Message:
weaklyCoupledFsi.C:198:43: error: ‘class Foam::IOobject’ has no member named ‘headerOk’
if (weaklyCoupledFsiFsiHeader.headerOk())

How can I solve this issue?

@unicfdlab
Copy link
Owner

unicfdlab commented Aug 27, 2021

Hi!
Folders in the repository are organizes according to the next rule: <Case>-<OF version> ,
where <Case> is the name of problem and <OF-version> can be one of:

  • OF3.0.0 - OpenFOAM ver. 3.0.0
  • OF4.1 - OpenFOAM ver. 4.1
  • OFv1812 - OpenFOAM+ v. 1812
  • OFv1912 - OpenFOAM+ v. 1912
  • OFv2012 - OpenFOAM+ v. 2012

You have to use exactly the same version of OpenFOAM for each folder

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants