View Issue Details

IDProjectCategoryView StatusLast Update
0003934OpenFOAMBugpublic2022-11-25 22:48
Reporterpeksa Assigned Tohenry  
PrioritynormalSeveritymajorReproducibilityalways
Status resolvedResolutionfixed 
PlatformLinuxOSCentosOS Version7
Product Versiondev 
Fixed in Versiondev 
Summary0003934: ChemistryModel compilation issue
DescriptionWhile compiling a fresh clone of OF-dev, ChemistryModel classes throw the following error:

In file included from lnInclude/chemistryModel.H:327:0,
                 from chemistrySolver/chemistrySolver/chemistrySolvers.C:27:
lnInclude/chemistryModel.C: In member function 'virtual Foam::tmp<Foam::GeometricField<double, Foam::fvPatchField, Foam::volMesh> > Foam::chemistryModel<ThermoType>::tc() const':
lnInclude/chemistryModel.C:460:73: error: expected primary-expression before '>' token
     const volScalarField& rho = this->mesh().lookupObject<volScalarField>
...
...

I compiled of-dev succesfully a few days ago so probably this is related to the latest commits.
TagsNo tags attached.

Activities

henry

2022-11-25 22:13

manager   ~0012879

Try with this:

commit 96cf91b5bb69f8aa18335927f638b4d0ef447ac1
Author: Henry Weller <http://cfd.direct>
Date: Fri Nov 25 22:11:58 2022 +0000

    chemistryModel: Updated for clang

peksa

2022-11-25 22:34

reporter   ~0012880

The new commit fixed the issue. Thank you.

For clarification, I'm having GCC 5.4.0 and openmpi-1.10.7 as an environment.

henry

2022-11-25 22:47

manager   ~0012881

That is an old gcc version, you might want to consider upgrading.

Issue History

Date Modified Username Field Change
2022-11-25 21:57 peksa New Issue
2022-11-25 22:13 henry Note Added: 0012879
2022-11-25 22:34 peksa Note Added: 0012880
2022-11-25 22:47 henry Note Added: 0012881
2022-11-25 22:48 henry Assigned To => henry
2022-11-25 22:48 henry Status new => resolved
2022-11-25 22:48 henry Resolution open => fixed
2022-11-25 22:48 henry Fixed in Version => dev