CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   OpenFOAM Installation (https://www.cfd-online.com/Forums/openfoam-installation/)
-   -   fireFoam installation (https://www.cfd-online.com/Forums/openfoam-installation/123987-firefoam-installation.html)

Roman1 September 25, 2013 07:33

fireFoam installation
 
Hello all. I am new at the OpenFoam and fireFoam. OpenFoam is installed and works OK. There is a question about fireFoam. I downloaded the newest version, then cd fireFoam and run the command
Code:

~/fireFoam.1.7.x_0.4/solvers/fireFoam$ ./Allwmake
(bash). There are many mistakes. I tried to run
Code:

~/fireFoam.1.7.x_0.4$ ./Allwmake
and had the same result. I have read many topics here about fireFoam installation and have no idea what is wrong. Please help me download, install and compile fireFoam correct.
Here are the results of starting compilation. Thanks

Code:

vniipo@FF:~/fireFoam.1.7.x_0.4/solvers/fireFoam$ ./Allwmake
+ wmake libso thermophysicalModels/combustionModels
SOURCE=eddyDissipationModel/eddyDissipationModel.C ;  g++ -m64 -Dlinux64 -DWM_DP -Wall -Wextra -Wno-unused-parameter -Wold-style-cast -Wnon-virtual-dtor -O3  -DNoRepository -ftemplate-depth-100 -I./../../../../libs/thermophysicalModels/combustionModelsSpecies/lnInclude -I./../../../../libs/thermophysicalModels/reactionThermoNew/lnInclude -I/opt/openfoam221/src/thermophysicalModels/basic/lnInclude -I/opt/openfoam221/src/thermophysicalModels/specie/lnInclude -I/opt/openfoam221/src/turbulenceModels/compressible/turbulenceModel -I/opt/openfoam221/src/finiteVolume/lnInclude  -IlnInclude -I. -I/opt/openfoam221/src/OpenFOAM/lnInclude -I/opt/openfoam221/src/OSspecific/POSIX/lnInclude  -fPIC -c $SOURCE -o Make/linux64GccDPOpt/eddyDissipationModel.o
In file included from ./../../../../libs/thermophysicalModels/combustionModelsSpecies/lnInclude/combustionModel.H:41:0,
                from eddyDissipationModel/eddyDissipationModel.H:41,
                from eddyDissipationModel/eddyDissipationModel.C:27:
./../../../../libs/thermophysicalModels/reactionThermoNew/lnInclude/hsCombustionThermo.H:39:28: fatal error: basicPsiThermo.H: No such file or directory
compilation terminated.
make: *** [Make/linux64GccDPOpt/eddyDissipationModel.o] Error 1
+ wmake libso thermophysicalModels/radiation/submodels/absorptionEmissionModel/greyMeanAbsorptionEmissionSoot
SOURCE=greyMeanAbsorptionEmissionSoot.C ;  g++ -m64 -Dlinux64 -DWM_DP -Wall -Wextra -Wno-unused-parameter -Wold-style-cast -Wnon-virtual-dtor -O3  -DNoRepository -ftemplate-depth-100 -I/opt/openfoam221/src/finiteVolume/lnInclude -I/opt/openfoam221/src/thermophysicalModels/radiation/lnInclude -I/opt/openfoam221/src/thermophysicalModels/basic/lnInclude -I/opt/openfoam221/src/thermophysicalModels/specie/lnInclude -I/opt/openfoam221/src/meshTools/lnInclude  -IlnInclude -I. -I/opt/openfoam221/src/OpenFOAM/lnInclude -I/opt/openfoam221/src/OSspecific/POSIX/lnInclude  -fPIC -c $SOURCE -o Make/linux64GccDPOpt/greyMeanAbsorptionEmissionSoot.o
In file included from greyMeanAbsorptionEmissionSoot.C:26:0:
greyMeanAbsorptionEmissionSoot.H:89:37: fatal error: absorptionEmissionModel.H: No such file or directory
compilation terminated.
make: *** [Make/linux64GccDPOpt/greyMeanAbsorptionEmissionSoot.o] Error 1
+ wmake libso thermophysicalModels/radiation/derivedFvPatchFields/greyDiffusiveRadiation
SOURCE=greyDiffusiveRadiationMixedFvPatchScalarField.C ;  g++ -m64 -Dlinux64 -DWM_DP -Wall -Wextra -Wno-unused-parameter -Wold-style-cast -Wnon-virtual-dtor -O3  -DNoRepository -ftemplate-depth-100 -I/opt/openfoam221/src/finiteVolume/lnInclude -I/opt/openfoam221/src/thermophysicalModels/radiation/lnInclude -I/opt/openfoam221/src/thermophysicalModels/basic/lnInclude -I/opt/openfoam221/src/thermophysicalModels/specie/lnInclude -I/opt/openfoam221/src/meshTools/lnInclude -I../../../../../../libs/thermophysicalModels/basicSolidThermo/basicSolid/lnInclude -IlnInclude -I. -I/opt/openfoam221/src/OpenFOAM/lnInclude -I/opt/openfoam221/src/OSspecific/POSIX/lnInclude  -fPIC -c $SOURCE -o Make/linux64GccDPOpt/greyDiffusiveRadiationMixedFvPatchScalarField.o
greyDiffusiveRadiationMixedFvPatchScalarField.C:31:35: fatal error: directMappedPatchBase.H: No such file or directory
compilation terminated.
make: *** [Make/linux64GccDPOpt/greyDiffusiveRadiationMixedFvPatchScalarField.o] Error 1
+ wmake libso fvPatchFields
SOURCE=alphaSgsBuoyantWallFunction/alphaSgsBuoyantWallFunctionFvPatchScalarField.C ;  g++ -m64 -Dlinux64 -DWM_DP -Wall -Wextra -Wno-unused-parameter -Wold-style-cast -Wnon-virtual-dtor -O3  -DNoRepository -ftemplate-depth-100 -I/opt/openfoam221/src/thermophysicalModels/specie/lnInclude -I/opt/openfoam221/src/thermophysicalModels/basic/lnInclude -I/opt/openfoam221/src/turbulenceModels/compressible/turbulenceModel -I/opt/openfoam221/src/triSurface/lnInclude -I/opt/openfoam221/src/meshTools/lnInclude -I/opt/openfoam221/src/finiteVolume/lnInclude -I/opt/openfoam221/src/turbulenceModels -I/opt/openfoam221/src/turbulenceModels/LES/LESdeltas/lnInclude -I/opt/openfoam221/src/turbulenceModels/LES/LESfilters/lnInclude -I/opt/openfoam221/src/turbulenceModels/compressible/LES/lnInclude  -IlnInclude -I. -I/opt/openfoam221/src/OpenFOAM/lnInclude -I/opt/openfoam221/src/OSspecific/POSIX/lnInclude  -fPIC -c $SOURCE -o Make/linux64GccDPOpt/alphaSgsBuoyantWallFunctionFvPatchScalarField.o
alphaSgsBuoyantWallFunction/alphaSgsBuoyantWallFunctionFvPatchScalarField.C: In member function ‘virtual void Foam::compressible::LESModels::alphaSgsBuoyantWallFunctionFvPatchScalarField::evaluate(Foam::UPstream::commsTypes)’:
alphaSgsBuoyantWallFunction/alphaSgsBuoyantWallFunctionFvPatchScalarField.C:189:49: error: no matching function for call to ‘Foam::basicThermo::Cp(const fvPatchScalarField&, const label&) const’
alphaSgsBuoyantWallFunction/alphaSgsBuoyantWallFunctionFvPatchScalarField.C:189:49: note: candidates are:
/opt/openfoam221/src/thermophysicalModels/basic/lnInclude/basicThermo.H:333:41: note: virtual Foam::tmp<Foam::GeometricField<double, Foam::fvPatchField, Foam::volMesh> > Foam::basicThermo::Cp() const
/opt/openfoam221/src/thermophysicalModels/basic/lnInclude/basicThermo.H:333:41: note:  candidate expects 0 arguments, 2 provided
/opt/openfoam221/src/thermophysicalModels/basic/lnInclude/basicThermo.H:336:38: note: virtual Foam::tmp<Foam::Field<double> > Foam::basicThermo::Cp(const scalarField&, const scalarField&, Foam::label) const
/opt/openfoam221/src/thermophysicalModels/basic/lnInclude/basicThermo.H:336:38: note:  candidate expects 3 arguments, 2 provided
make: *** [Make/linux64GccDPOpt/alphaSgsBuoyantWallFunctionFvPatchScalarField.o] Error 1
+ wmake libso fvPatchFieldsPyrolysis
SOURCE=fixedIncidentRadiationCoupledMixed/fixedIncidentRadiationCoupledMixedFvPatchScalarField.C ;  g++ -m64 -Dlinux64 -DWM_DP -Wall -Wextra -Wno-unused-parameter -Wold-style-cast -Wnon-virtual-dtor -O3  -DNoRepository -ftemplate-depth-100 -I/opt/openfoam221/src/finiteVolume/lnInclude -I/opt/openfoam221/src/thermophysicalModels/basic/lnInclude -I/opt/openfoam221/src/turbulenceModels/compressible/turbulenceModel -I/opt/openfoam221/src/meshTools/lnInclude -I/opt/openfoam221/src/turbulenceModels/compressible/RAS/lnInclude -I/opt/openfoam221/src/turbulenceModels/compressible/LES/lnInclude -I/opt/openfoam221/src/turbulenceModels/LES/LESdeltas/lnInclude -I/opt/openfoam221/src/turbulenceModels//LES/LESfilters/lnInclude -I/opt/openfoam221/src/turbulenceModels -I/opt/openfoam221/src/thermophysicalModels/specie/lnInclude -I/opt/openfoam221/src/thermophysicalModels/chemistryModel/lnInclude -I../thermophysicalModels/reactionThermo/lnInclude -I./../../../libs/thermophysicalModels/reactionThermoNew/lnInclude -I/opt/openfoam221/src/thermophysicalModels/radiation/lnInclude -IlnInclude -I. -I/opt/openfoam221/src/OpenFOAM/lnInclude -I/opt/openfoam221/src/OSspecific/POSIX/lnInclude  -fPIC -c $SOURCE -o Make/linux64GccDPOpt/fixedIncidentRadiationCoupledMixedFvPatchScalarField.o
fixedIncidentRadiationCoupledMixed/fixedIncidentRadiationCoupledMixedFvPatchScalarField.C:31:35: fatal error: directMappedPatchBase.H: No such file or directory
compilation terminated.
make: *** [Make/linux64GccDPOpt/fixedIncidentRadiationCoupledMixedFvPatchScalarField.o] Error 1
+ wmake libso functionObjects
SOURCE=faceZonesIntegration/faceZonesIntegrationFunctionObject.C ;  g++ -m64 -Dlinux64 -DWM_DP -Wall -Wextra -Wno-unused-parameter -Wold-style-cast -Wnon-virtual-dtor -O3  -DNoRepository -ftemplate-depth-100 -I/opt/openfoam221/src/finiteVolume/lnInclude -I/opt/openfoam221/src/meshTools/lnInclude -I/opt/openfoam221/src/sampling/lnInclude -IlnInclude -I. -I/opt/openfoam221/src/OpenFOAM/lnInclude -I/opt/openfoam221/src/OSspecific/POSIX/lnInclude  -fPIC -c $SOURCE -o Make/linux64GccDPOpt/faceZonesIntegrationFunctionObject.o
In file included from /opt/openfoam221/src/OpenFOAM/lnInclude/OutputFilterFunctionObject.H:225:0,
                from faceZonesIntegration/faceZonesIntegrationFunctionObject.H:41,
                from faceZonesIntegration/faceZonesIntegrationFunctionObject.C:27:
/opt/openfoam221/src/OpenFOAM/lnInclude/OutputFilterFunctionObject.C: In member function ‘bool Foam::OutputFilterFunctionObject<OutputFilter>::timeSet() [with OutputFilter = Foam::faceZonesIntegration]’:
faceZonesIntegration/faceZonesIntegrationFunctionObject.C:41:1:  instantiated from here
/opt/openfoam221/src/OpenFOAM/lnInclude/OutputFilterFunctionObject.C:215:9: error: ‘class Foam::faceZonesIntegration’ has no member named ‘timeSet’
/opt/openfoam221/src/OpenFOAM/lnInclude/OutputFilterFunctionObject.C: In member function ‘void Foam::OutputFilterFunctionObject<OutputFilter>::movePoints(const Foam::polyMesh&) [with OutputFilter = Foam::faceZonesIntegration]’:
faceZonesIntegration/faceZonesIntegrationFunctionObject.C:41:1:  instantiated from here
/opt/openfoam221/src/OpenFOAM/lnInclude/OutputFilterFunctionObject.C:268:9: error: no matching function for call to ‘Foam::faceZonesIntegration::movePoints(const Foam::polyMesh&)’
/opt/openfoam221/src/OpenFOAM/lnInclude/OutputFilterFunctionObject.C:268:9: note: candidate is:
faceZonesIntegration/faceZonesIntegration.H:167:22: note: virtual void Foam::faceZonesIntegration::movePoints(const pointField&)
faceZonesIntegration/faceZonesIntegration.H:167:22: note:  no known conversion for argument 1 from ‘const Foam::polyMesh’ to ‘const pointField& {aka const Foam::Field<Foam::Vector<double> >&}’
In file included from /opt/openfoam221/src/OpenFOAM/lnInclude/OutputFilterFunctionObject.C:27:0,
                from /opt/openfoam221/src/OpenFOAM/lnInclude/OutputFilterFunctionObject.H:225,
                from faceZonesIntegration/faceZonesIntegrationFunctionObject.H:41,
                from faceZonesIntegration/faceZonesIntegrationFunctionObject.C:27:
/opt/openfoam221/src/OpenFOAM/lnInclude/IOOutputFilter.H: In member function ‘void Foam::IOOutputFilter<OutputFilter>::movePoints(const Foam::polyMesh&) [with OutputFilter = Foam::faceZonesIntegration]’:
faceZonesIntegration/faceZonesIntegrationFunctionObject.C:41:1:  instantiated from here
/opt/openfoam221/src/OpenFOAM/lnInclude/IOOutputFilter.H:139:13: error: no matching function for call to ‘Foam::IOOutputFilter<Foam::faceZonesIntegration>::movePoints(const Foam::polyMesh&)’
/opt/openfoam221/src/OpenFOAM/lnInclude/IOOutputFilter.H:139:13: note: candidate is:
faceZonesIntegration/faceZonesIntegration.H:167:22: note: virtual void Foam::faceZonesIntegration::movePoints(const pointField&)
faceZonesIntegration/faceZonesIntegration.H:167:22: note:  no known conversion for argument 1 from ‘const Foam::polyMesh’ to ‘const pointField& {aka const Foam::Field<Foam::Vector<double> >&}’
make: *** [Make/linux64GccDPOpt/faceZonesIntegrationFunctionObject.o] Error 1
+ wmake
SOURCE=fireFoam.C ;  g++ -m64 -Dlinux64 -DWM_DP -Wall -Wextra -Wno-unused-parameter -Wold-style-cast -Wnon-virtual-dtor -O3  -DNoRepository -ftemplate-depth-100 -I./include -I./../../libs/thermophysicalModels/combustionModelsSpecies/lnInclude -I./../../libs/regionModels/regionModel/lnInclude -I./../../libs/regionModels/surfaceFilmModels/lnInclude -I./../../libs/regionModels/pyrolysisModels/lnInclude -I./../../libs/lagrangian/intermediateNew/lnInclude -I./../../libs/thermophysicalModels/reactionThermoNew/lnInclude -I./../../libs/thermophysicalModels/SLGThermo/lnInclude -I./../../libs/thermophysicalModels/chemistryModelNew/lnInclude -I./../../libs/thermophysicalModels/basicSolidThermo/basicSolid/lnInclude -I./../../libs/thermophysicalModels/basicSolidThermo/chemistryModel/lnInclude -I/opt/openfoam221/src/lagrangian/basic/lnInclude -I/opt/openfoam221/src/thermophysicalModels/basic/lnInclude -I/opt/openfoam221/src/thermophysicalModels/specie/lnInclude -I/opt/openfoam221/src/finiteVolume/lnInclude -I/opt/openfoam221/src/meshTools/lnInclude -I/opt/openfoam221/src/turbulenceModels/compressible/turbulenceModel -I/opt/openfoam221/src/thermophysicalModels/liquids/lnInclude -I/opt/openfoam221/src/thermophysicalModels/liquidMixture/lnInclude -I/opt/openfoam221/src/thermophysicalModels/solids/lnInclude -I/opt/openfoam221/src/thermophysicalModels/solidMixture/lnInclude -I/opt/openfoam221/src/thermophysicalModels/radiation/lnInclude -I/opt/openfoam221/src/thermophysicalModels/thermophysicalFunctions/lnInclude -I/opt/openfoam221/src/ODE/lnInclude  -IlnInclude -I. -I/opt/openfoam221/src/OpenFOAM/lnInclude -I/opt/openfoam221/src/OSspecific/POSIX/lnInclude  -fPIC -c $SOURCE -o Make/linux64GccDPOpt/fireFoam.o
In file included from fireFoam.C:34:0:
./../../libs/thermophysicalModels/reactionThermoNew/lnInclude/hsCombustionThermo.H:39:28: fatal error: basicPsiThermo.H: No such file or directory
compilation terminated.
make: *** [Make/linux64GccDPOpt/fireFoam.o] Error 1


Roman1 September 25, 2013 09:37

The first problem arises because of using openFoam 2.2.1. All needed files are in openFoam-2.1.1. But I have now one more problem. Help to resolve if possible please.

Code:

vniipo@FF:~/fireFoam.1.7.x_0.4/solvers/fireFoam$ ./Allwmake
+ wmake libso thermophysicalModels/combustionModels
make: *** No rule to make target `/opt/openfoam211/src/OpenFOAM/lnInclude/debugName.H', needed by `infinitelyFastChemistryExplicit/infinitelyFastChemistryExplicit.dep'.  Stop.
+ wmake libso thermophysicalModels/radiation/submodels/absorptionEmissionModel/greyMeanAbsorptionEmissionSoot
make: *** No rule to make target `/opt/openfoam211/src/OpenFOAM/lnInclude/debugName.H', needed by `greyMeanAbsorptionEmissionSoot.dep'.  Stop.
+ wmake libso thermophysicalModels/radiation/derivedFvPatchFields/greyDiffusiveRadiation
make: *** No rule to make target `/opt/openfoam211/src/OpenFOAM/lnInclude/debugName.H', needed by `greyDiffusiveRadiationMixedFvPatchScalarField.dep'.  Stop.
+ wmake libso fvPatchFields
make: *** No rule to make target `/opt/openfoam211/src/OpenFOAM/lnInclude/debugName.H', needed by `uniformDensityHydrostaticTotalPressureFvPatchScalarField/uniformDensityHydrostaticTotalPressureFvPatchScalarField.dep'.  Stop.
+ wmake libso fvPatchFieldsPyrolysis
make: *** No rule to make target `/opt/openfoam211/src/OpenFOAM/lnInclude/debugName.H', needed by `flowRateInletVelocityFuelConvertCoupled/flowRateInletVelocityFuelConvertCoupledFvPatchVectorField.dep'.  Stop.
+ wmake libso functionObjects
make: *** No rule to make target `/opt/openfoam211/src/OpenFOAM/lnInclude/debugName.H', needed by `faceZonesIntegration/faceZonesIntegrationFunctionObject.dep'.  Stop.
+ wmake
make: *** No rule to make target `/opt/openfoam211/src/OpenFOAM/lnInclude/debugName.H', needed by `fireFoam.dep'.  Stop.


Roman1 September 27, 2013 03:05

Sorry, I must use only openFoam-1.7.x.....
Health and good luck to all.
Good bay


All times are GMT -4. The time now is 15:03.