View Issue Details

IDProjectCategoryView StatusLast Update
0003591OpenFOAMBugpublic2020-11-15 18:12
Reporterwyldckat Assigned Tohenry  
PrioritynormalSeverityblockReproducibilityalways
Status resolvedResolutionfixed 
Platformx86_64OSCentOSOS Version7.x
Product Versiondev 
Fixed in Versiondev 
Summary0003591: Recent updates associated Function2 seems to have broken fluidReactionThermo
DescriptionIn the last couple of nights, I've tried updating a build of OpenFOAM-dev to the latest commits and have gotten the start of a long error message, of which the first relevant error is listed in "Steps to Reproduce" below.

For reference, I'm using GCC 7.3:
    gcc (GCC) 7.3.1 20180303 (Red Hat 7.3.1-5)

1. Perhaps a commit is missing, because the file "$FOAM_SRC/OpenFOAM/primitives/functions/Function2/evaluate/Function2Evaluate.H" only has 2 "evaluate" functions with 3 arguments, even though the .C file does define to those functions with 4 arguments...

2. Or is it because a more modern GCC version is needed?
Steps To ReproduceAllwmake src/ThermophysicalTransportModels
wmake fluidReactionThermo
g++ -std=c++14 -m64 -Dlinux64 -DWM_ARCH_OPTION=64 -DWM_DP -DWM_LABEL_SIZE=32 -Wall -Wextra -Wold-style-cast -Wnon-virtual-dtor -Wno-unused-parameter -Wno-invalid-offsetof -Wno-attributes -O3 -DNoRepository -ftemplate-depth-100 -I/home/ofuser/OpenFOAM/OpenFOAM-dev/src/MomentumTransportModels/momentumTransportModels/lnInclude -I/home/ofuser/OpenFOAM/OpenFOAM-dev/src/MomentumTransportModels/compressible/lnInclude -I/home/ofuser/OpenFOAM/OpenFOAM-dev/src/ThermophysicalTransportModels/lnInclude -I/home/ofuser/OpenFOAM/OpenFOAM-dev/src/thermophysicalModels/specie/lnInclude -I/home/ofuser/OpenFOAM/OpenFOAM-dev/src/thermophysicalModels/basic/lnInclude -I/home/ofuser/OpenFOAM/OpenFOAM-dev/src/thermophysicalModels/reactionThermo/lnInclude -I/home/ofuser/OpenFOAM/OpenFOAM-dev/src/finiteVolume/lnInclude -I/home/ofuser/OpenFOAM/OpenFOAM-dev/src/meshTools/lnInclude -IlnInclude -I. -I/home/ofuser/OpenFOAM/OpenFOAM-dev/src/OpenFOAM/lnInclude -I/home/ofuser/OpenFOAM/OpenFOAM-dev/src/OSspecific/POSIX/lnInclude -fPIC -c fluidReactionThermophysicalTransportModels.C -o /home/ofuser/OpenFOAM/OpenFOAM-dev/platforms/linux64GccDPInt32Opt/src/ThermophysicalTransportModels/fluidReactionThermo/fluidReactionThermophysicalTransportModels.o
In file included from /home/ofuser/OpenFOAM/OpenFOAM-dev/src/ThermophysicalTransportModels/lnInclude/FickianEddyDiffusivity.H:164:0,
                 from fluidReactionThermophysicalTransportModels.C:62:
/home/ofuser/OpenFOAM/OpenFOAM-dev/src/ThermophysicalTransportModels/lnInclude/FickianEddyDiffusivity.C: In member function ‘virtual Foam::tmp<Foam::GeometricField<double, Foam::fvsPatchField, Foam::surfaceMesh> > Foam::turbulenceThermophysicalTransportModels::FickianEddyDiffusivity<TurbulenceThermophysicalTransportModel>::j(const volScalarField&) const’:
/home/ofuser/OpenFOAM/OpenFOAM-dev/src/ThermophysicalTransportModels/lnInclude/FickianEddyDiffusivity.C:188:79: error: no matching function for call to ‘evaluate(const Foam::Function2<double>&, const Foam::dimensionSet&, const volScalarField&, const volScalarField&)’
                 evaluate(DT_[composition.index(Yi)], dimDynamicViscosity, p, T)
                                                                               ^
TagsNo tags attached.

Activities

henry

2020-11-13 22:54

manager   ~0011684

commit ac3473d7b8c24a3e95df37269a449293f75317c3

wyldckat

2020-11-15 18:12

updater   ~0011686

@Henry: Many thanks! Am marking this issue as resolved by you.

Issue History

Date Modified Username Field Change
2020-11-13 22:40 wyldckat New Issue
2020-11-13 22:54 henry Note Added: 0011684
2020-11-15 18:12 wyldckat Note Added: 0011686
2020-11-15 18:12 wyldckat Assigned To => henry
2020-11-15 18:12 wyldckat Status new => resolved
2020-11-15 18:12 wyldckat Resolution open => fixed
2020-11-15 18:12 wyldckat Fixed in Version => dev