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

[openFuelCell] Allwmake script error on src directory

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   May 10, 2021, 03:14
Thumbs down Allwmake script error on src directory
  #1
New Member
 
Joonsuk
Join Date: May 2021
Posts: 1
Rep Power: 0
HL7601 is on a distinguished road
Hi,

I'm having a compile error problem of Allwmake script on src directory.

I looked up similar questions in the forum and followed the solution in the comments, but it doesn't work for me.

In my case, the same error occurs in both OF7 and OF8 on Ubuntu 20.04.

The error is as follows:
In file included from sofcFoam.C:145:
YairEqn.H:35:33: error: ‘class Foam::fvMesh’ has no member named ‘solver’; did you mean ‘Foam::dictionary Foam::solution::solvers_’? (not accessible from this context)
35 | YiEqn.solve(airMesh.solver("Yi"));
| ^~~~~~
In file included from /opt/openfoam8/src/finiteVolume/lnInclude/fvSolution.H:37,
from /opt/openfoam8/src/finiteVolume/lnInclude/fvMesh.H:56,
from /opt/openfoam8/src/finiteVolume/lnInclude/fvCFD.H:7,
from sofcFoam.C:45:
/opt/openfoam8/src/OpenFOAM/lnInclude/solution.H:74:20: note: declared private here
74 | dictionary solvers_;
| ^~~~~~~~
In file included from sofcFoam.C:148:
solveElectrochemistry.H:7:18: warning: unused variable ‘pAtm’ [-Wunused-variable]
7 | const scalar pAtm = physicalConstant:Atm.value(); // Pa - added SBB 06-12-2013
| ^~~~
make: *** [/opt/openfoam8/wmake/rules/General/transform:26: Make/linux64GccDPInt32Opt/sofcFoam.o] Error 1



I cannot to solve it even if I try to fix it several days, so I post an inquiry.

I would like to express my gratitude to all of you for your help.

Thank you.
HL7601 is offline   Reply With Quote

Reply

Tags
allwmake, openfuelcell, transform:26


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
Custom Thermophysical Properties wsmith02 OpenFOAM 4 June 1, 2023 15:30
[CGNS] CGNS converters available mbeaudoin OpenFOAM Meshing & Mesh Conversion 137 December 14, 2018 05:20
Statically Compiling OpenFOAM Issues herzfeldd OpenFOAM Installation 21 January 6, 2009 10:38
Compiling OpenFOAM13 on AMD64 with Redhat Enterprise mbeaudoin OpenFOAM Installation 20 June 17, 2008 07:43
Gerris software installation mer Main CFD Forum 2 November 12, 2005 09:50


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