Problem when Compile rheoTool #104
Unanswered
wancha0125
asked this question in
Q&A
Replies: 1 comment 1 reply
-
Any idea how this is solved ? |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi fppimenta ,
May you kindly assist me. I successfully install OpenFOAM9 Eigen and Petsc, but fails to compile rheoTool.
Here is the error infor. Thanks :).
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from rheoFoam.C:43:
../shared/singlePhase/CorrectPhi.H:3:1: error: ‘phi’ does not name a type
3 | phi = mesh.Sf() & Uf();
| ^~~
../shared/singlePhase/CorrectPhi.H:5:16: error: expected constructor, destructor, or type conversion before ‘(’ token
5 | correctUphiBCs (U, phi, true);
| ^
../shared/singlePhase/CorrectPhi.H:8:1: error: expected constructor, destructor, or type conversion before ‘(’ token
8 | (
| ^
In file included from ../shared/singlePhase/CorrectPhi.H:17,
from rheoFoam.C:43:
/home/dzh/OpenFOAM/OpenFOAM-9/src/finiteVolume/lnInclude/continuityErrs.H:32:1: error: expected unqualified-id before ‘
{’ token
32 | {
| ^
In file included from rheoFoam.C:43:
../shared/singlePhase/CorrectPhi.H:20:18: error: expected constructor, destructor, or type conversion before ‘(’ token
20 | fvc::makeRelative(phi, U);
| ^
In file included from /home/dzh/OpenFOAM/OpenFOAM-9/src/OpenFOAM/lnInclude/postProcess.H:105,
from rheoFoam.C:58:
./createFields.H: In function ‘int main(int, char**)’:
./createFields.H:33:1: error: ‘pressureReference’ was not declared in this scope
33 | pressureReference pressureReference(p, mesh.solutionDict().subDict("SIMPLE"));
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Beta Was this translation helpful? Give feedback.
All reactions