Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

Compiling with solids4foam v2 and OpenFoam 9 #80

Open
jackr25 opened this issue Jun 22, 2023 · 0 comments
Open

Compiling with solids4foam v2 and OpenFoam 9 #80

jackr25 opened this issue Jun 22, 2023 · 0 comments

Comments

@jackr25
Copy link

jackr25 commented Jun 22, 2023

Hey there, I have tried numerous times on multiple systems, but I have had no luck getting blastfoam to completely compile after installing solids4foam and adding its directory to the bashrc. On both systems (one WSL w/ Ubuntu 22.04, one cluster w/ Red Hat 7.9), I get the same error,

In file included from blastFluid.C:31: /apps/easybuild/software/tinkercliffs-rome/OpenFOAM/9-foss-2021a/OpenFOAM-9/src/OpenFOAM/lnInclude/addToRunTimeSelectionTable.H:39:15: error: ‘addfluidConstructorToTable’ in ‘class Foam::physicsModel’ does not name a template type 39 | baseType::add##argNames##ConstructorToTable<thisType> \ | ^~~ /apps/easybuild/software/tinkercliffs-rome/OpenFOAM/9-foss-2021a/OpenFOAM-9/src/OpenFOAM/lnInclude/addToRunTimeSelectionTable.H:39:15: note: in definition of macro ‘addToRunTimeSelectionTable’ 39 | baseType::add##argNames##ConstructorToTable<thisType> \ | ^~~ make: *** [Make/linux64GccDPInt32Opt/blastFluid.o] Error 1

I have tried just compiling the solids4foam library under src, as well as cleaning and recompiling blastfoam entirely, with no luck. Is there a major step I could be missing, or is this a known issue?

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

No branches or pull requests

1 participant