error in fireFoam, when running the case wallFireSpread2D
Dear all,
When I run the case of wallFireSpread2D from fireFoam. The following errors appear. I am the beginner of openFoam. I suppose that the eddyDissipationModel<psiThermoCombustion,gasHTherm oPhysics> is not add in the lib. What should I do ? Thanks very much in advance. best regards zhou // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // Create time Create mesh for time = 0 Reading g Creating combustion model Selecting combustion model eddyDissipationModel<psiThermoCombustion,gasHTherm oPhysics> --> FOAM FATAL ERROR: Unknown psiCombustionModel type eddyDissipationModel<psiThermoCombustion,gasHTherm oPhysics> Valid combustionModels are : 14 ( noCombustion<psiThermoCombustion> infinitelyFastChemistry<psiThermoCombustion,gasHTh ermoPhysics> diffusion<psiThermoCombustion,constGasEThermoPhysi cs> infinitelyFastChemistry<psiThermoCombustion,constG asEThermoPhysics> PaSR<psiChemistryCombustion> FSD<psiThermoCombustion,constGasHThermoPhysics> infinitelyFastChemistry<psiThermoCombustion,constG asHThermoPhysics> diffusion<psiThermoCombustion,gasEThermoPhysics> diffusion<psiThermoCombustion,constGasHThermoPhysi cs> diffusion<psiThermoCombustion,gasHThermoPhysics> infinitelyFastChemistry<psiThermoCombustion,gasETh ermoPhysics> FSD<psiThermoCombustion,gasEThermoPhysics> FSD<psiThermoCombustion,constGasEThermoPhysics> FSD<psiThermoCombustion,gasHThermoPhysics> ) From function psiCombustionModel::New in file psiCombustionModel/psiCombustionModel/psiCombustionModelNew.C at line 62. FOAM exiting |
Quick questions:
|
Quote:
Thanks very much for your answering. My Openfoam is 2.2.x. firefoam version is firefoam-dev. The wallFireSpread2D is from https://github.com/fireFoam-dev/fireFoam-dev . Thanks very much in advance. |
Quote:
The detailed steps are followings: cd ~ mkdir OpenFOAM cd OpenFOAM/ git clone https://github.com/OpenFOAM/OpenFOAM-2.2.x.git wget "http://downloads.sourceforge.net/foam/ThirdParty-2.2.2.tgz?use_mirror=mesh" -O ThirdParty-2.2.x.tgz tar -zxvf ThirdParty-2.2.x.tgz mv ThirdParty-2.2.2 ThirdParty-2.2.x rm -fr ThirdParty-2.2.x.tgz cd OpenFOAM-2.2.x/ source etc/bashrc export WM_NCOMPPROCS=8 export PATH=/usr/local/gcc-4.7.2/bin/:$PATH # enable readline support for setSet and add curses library # edit ~/OpenFOAM/OpenFOAM-2.2.x/applications/utilities/mesh/manipulation/setSet/Allwmake - export LINK_FLAGS="-lreadline" + export LINK_FLAGS="-lreadline -lcurses" ./Allwmake >& log.Allwmake & cd ~ git clone https://github.com/fireFoam-dev/fireFoam-2.2.x.git cd fireFoam-2.2.x ./Allwmake >& log.Allwmake & After installation, when I try the case WallFireSpread2D, the new problem come out : /*---------------------------------------------------------------------------*\ | ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | | \\ / O peration | Version: 2.2.x | | \\ / A nd | Web: www.OpenFOAM.org | | \\/ M anipulation | | \*---------------------------------------------------------------------------*/ Build : 2.2.x-1f35a0ff2a58 Exec : fireFoam Date : Aug 22 2016 Time : 15:58:13 Host : "zhou-fire" PID : 32256 Case : /root/OpenFOAM/root-2.2.x/run/wallFireSpread2D nProcs : 1 sigFpe : Enabling floating point exception trapping (FOAM_SIGFPE). fileModificationChecking : Monitoring run-time modified files using timeStampMaster allowSystemOperations : Disallowing user-supplied system call operations // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // FireFOAM Build Version: 9f8ab38ff7dce6108bc5b4c155b18de7c8a3c4ba FireFOAM Build Time Stamp: Mon Aug 22 11:44:08 JST 2016 ************************************************** ** Create time Create mesh for time = 0 Reading g Creating combustion model Selecting combustion model eddyDissipationModel<psiThermoCombustion,gasHTherm oPhysics> Selecting thermodynamics package { type hePsiThermo; mixture singleStepReactingMixture; transport sutherland; thermo janaf; energy sensibleEnthalpy; equationOfState perfectGas; specie specie; } Selecting chemistryReader foamChemistryReader Fuel heat of combustion :4.63572e+07 stoichiometric air-fuel ratio :15.5715 stoichiometric oxygen-fuel ratio :3.62829 Maximum products mass concentrations: H2O: 0.0986136 CO2: 0.180679 N2: 0.720707 Combustion mode: explicit Reading thermophysical properties Creating component thermo properties: multi-component carrier - 5 species no liquid components no solid components Creating field rho Reading field p_rgh Reading field U Reading/calculating face flux field phi Creating turbulence model Selecting turbulence model type LESModel Selecting LES turbulence model oneEqEddy Selecting LES delta type cubeRootVol --> FOAM Warning : From function cubeRootVolDelta::calcDelta() in file cubeRootVolDelta/cubeRootVolDelta.C at line 52 Case is 2D, LES is not strictly applicable oneEqEddyCoeffs { Prt 1; ce 1.048; ck 0.094; } stoichiometric mixture fraction is = 0.0603444 Creating field DpDt Calculating field g.h Creating pyrolysis model collection Selecting pyrolysisModel reactingOneDim21 Selecting region model functions none --> FOAM FATAL ERROR: Cannot find file "points" in directory "panelRegion/polyMesh" in times 0 down to constant From function Time::findInstance(const fileName&, const word&, const IOobject::readOption, const word&) in file db/Time/findInstance.C at line 203. FOAM exiting Could you give me some suggestions? Best regards zhou |
Hi zhoubiao
I ran the this case without any problem in OpenFOAM-2.4.x. The error is due to you haven't run the geometry commands. Please run these commands before running the fireFoam command.
blockMesh setSet -batch system/burner.setSet setsToZones -noFlipMap createPatch -overwrite setSet -batch system/panel.setSet extrudeToRegionMesh -overwrite These commands creates the panelRegion/polyMesh in the constant folder. These commands are already there in the case in the mesh.sh script. or you can directly run the run.sh script which will run the all commands. Thanks Manjunath Reddy |
Quote:
Thanks very much for your help. Now, it works. Thanks. However, when I use paraview, the new problems come out: root@zhou-fire:~/OpenFOAM/root-2.2.x/run/wallFireSpread2D# paraview ERROR: In /build/buildd/paraview-3.14.1/VTK/IO/vtkOpenFOAMReader.cxx, line 6875 vtkOpenFOAMReaderPrivate (0x44e6320): boundaryField wall not found in object IDefault at time = 0 ERROR: In /build/buildd/paraview-3.14.1/VTK/IO/vtkOpenFOAMReader.cxx, line 6875 vtkOpenFOAMReaderPrivate (0x44e6320): boundaryField wall not found in object N2 at time = 0 ERROR: In /build/buildd/paraview-3.14.1/VTK/IO/vtkOpenFOAMReader.cxx, line 6875 vtkOpenFOAMReaderPrivate (0x44e4e80): boundaryField oneDEmptyPatch not found in object Qr at time = 0 ERROR: In /build/buildd/paraview-3.14.1/VTK/IO/vtkOpenFOAMReader.cxx, line 6875 vtkOpenFOAMReaderPrivate (0x44e4e80): boundaryField oneDEmptyPatch not found in object T at time = 0 ERROR: In /build/buildd/paraview-3.14.1/VTK/IO/vtkOpenFOAMReader.cxx, line 6875 vtkOpenFOAMReaderPrivate (0x44e4e80): boundaryField oneDEmptyPatch not found in object Y0Default at time = 0 ERROR: In /build/buildd/paraview-3.14.1/VTK/IO/vtkOpenFOAMReader.cxx, line 6875 vtkOpenFOAMReaderPrivate (0x44e4e80): boundaryField oneDEmptyPatch not found in object Ydefault at time = 0 ERROR: In /build/buildd/paraview-3.14.1/VTK/IO/vtkOpenFOAMReader.cxx, line 6875 vtkOpenFOAMReaderPrivate (0x44e4e80): boundaryField oneDEmptyPatch not found in object v at time = 0 ERROR: In /build/buildd/paraview-3.14.1/VTK/IO/vtkOpenFOAMReader.cxx, line 6875 vtkOpenFOAMReaderPrivate (0x44e4e80): boundaryField panel_top not found in object p at time = 0 ERROR: In /build/buildd/paraview-3.14.1/VTK/IO/vtkOpenFOAMReader.cxx, line 6875 vtkOpenFOAMReaderPrivate (0x44e6320): boundaryField wall not found in object IDefault at time = 0 ERROR: In /build/buildd/paraview-3.14.1/VTK/IO/vtkOpenFOAMReader.cxx, line 6875 vtkOpenFOAMReaderPrivate (0x44e6320): boundaryField wall not found in object N2 at time = 0 ERROR: In /build/buildd/paraview-3.14.1/VTK/IO/vtkOpenFOAMReader.cxx, line 6875 vtkOpenFOAMReaderPrivate (0x44e4e80): boundaryField oneDEmptyPatch not found in object Qr at time = 0 ERROR: In /build/buildd/paraview-3.14.1/VTK/IO/vtkOpenFOAMReader.cxx, line 6875 vtkOpenFOAMReaderPrivate (0x44e4e80): boundaryField oneDEmptyPatch not found in object T at time = 0 ERROR: In /build/buildd/paraview-3.14.1/VTK/IO/vtkOpenFOAMReader.cxx, line 6875 vtkOpenFOAMReaderPrivate (0x44e4e80): boundaryField oneDEmptyPatch not found in object Y0Default at time = 0 ERROR: In /build/buildd/paraview-3.14.1/VTK/IO/vtkOpenFOAMReader.cxx, line 6875 vtkOpenFOAMReaderPrivate (0x44e4e80): boundaryField oneDEmptyPatch not found in object Ydefault at time = 0 ERROR: In /build/buildd/paraview-3.14.1/VTK/IO/vtkOpenFOAMReader.cxx, line 6875 vtkOpenFOAMReaderPrivate (0x44e4e80): boundaryField oneDEmptyPatch not found in object v at time = 0 ERROR: In /build/buildd/paraview-3.14.1/VTK/IO/vtkOpenFOAMReader.cxx, line 6875 vtkOpenFOAMReaderPrivate (0x44e4e80): boundaryField panel_top not found in object p at time = 0 ERROR: In /build/buildd/paraview-3.14.1/VTK/IO/vtkOpenFOAMReader.cxx, line 6875 vtkOpenFOAMReaderPrivate (0x44e6320): boundaryField wall not found in object IDefault at time = 0 ERROR: In /build/buildd/paraview-3.14.1/VTK/IO/vtkOpenFOAMReader.cxx, line 6875 vtkOpenFOAMReaderPrivate (0x44e6320): boundaryField wall not found in object N2 at time = 0 ERROR: In /build/buildd/paraview-3.14.1/VTK/IO/vtkOpenFOAMReader.cxx, line 6875 vtkOpenFOAMReaderPrivate (0x44e4e80): boundaryField oneDEmptyPatch not found in object Qr at time = 0 ERROR: In /build/buildd/paraview-3.14.1/VTK/IO/vtkOpenFOAMReader.cxx, line 6875 vtkOpenFOAMReaderPrivate (0x44e4e80): boundaryField oneDEmptyPatch not found in object T at time = 0 ERROR: In /build/buildd/paraview-3.14.1/VTK/IO/vtkOpenFOAMReader.cxx, line 6875 vtkOpenFOAMReaderPrivate (0x44e4e80): boundaryField oneDEmptyPatch not found in object Y0Default at time = 0 ERROR: In /build/buildd/paraview-3.14.1/VTK/IO/vtkOpenFOAMReader.cxx, line 6875 vtkOpenFOAMReaderPrivate (0x44e4e80): boundaryField oneDEmptyPatch not found in object Ydefault at time = 0 ERROR: In /build/buildd/paraview-3.14.1/VTK/IO/vtkOpenFOAMReader.cxx, line 6875 vtkOpenFOAMReaderPrivate (0x44e4e80): boundaryField oneDEmptyPatch not found in object v at time = 0 ERROR: In /build/buildd/paraview-3.14.1/VTK/IO/vtkOpenFOAMReader.cxx, line 6875 vtkOpenFOAMReaderPrivate (0x44e4e80): boundaryField panel_top not found in object p at time = 0 ERROR: In /build/buildd/paraview-3.14.1/VTK/IO/vtkOpenFOAMReader.cxx, line 6875 vtkOpenFOAMReaderPrivate (0x44e6320): boundaryField wall not found in object IDefault at time = 0 ERROR: In /build/buildd/paraview-3.14.1/VTK/IO/vtkOpenFOAMReader.cxx, line 6875 vtkOpenFOAMReaderPrivate (0x44e6320): boundaryField wall not found in object N2 at time = 0 ERROR: In /build/buildd/paraview-3.14.1/VTK/IO/vtkOpenFOAMReader.cxx, line 6875 vtkOpenFOAMReaderPrivate (0x44e4e80): boundaryField oneDEmptyPatch not found in object Qr at time = 0 ERROR: In /build/buildd/paraview-3.14.1/VTK/IO/vtkOpenFOAMReader.cxx, line 6875 vtkOpenFOAMReaderPrivate (0x44e4e80): boundaryField oneDEmptyPatch not found in object T at time = 0 ERROR: In /build/buildd/paraview-3.14.1/VTK/IO/vtkOpenFOAMReader.cxx, line 6875 vtkOpenFOAMReaderPrivate (0x44e4e80): boundaryField oneDEmptyPatch not found in object Y0Default at time = 0 ERROR: In /build/buildd/paraview-3.14.1/VTK/IO/vtkOpenFOAMReader.cxx, line 6875 vtkOpenFOAMReaderPrivate (0x44e4e80): boundaryField oneDEmptyPatch not found in object Ydefault at time = 0 ERROR: In /build/buildd/paraview-3.14.1/VTK/IO/vtkOpenFOAMReader.cxx, line 6875 vtkOpenFOAMReaderPrivate (0x44e4e80): boundaryField oneDEmptyPatch not found in object v at time = 0 ERROR: In /build/buildd/paraview-3.14.1/VTK/IO/vtkOpenFOAMReader.cxx, line 6875 vtkOpenFOAMReaderPrivate (0x44e4e80): boundaryField panel_top not found in object p at time = 0 Could you give me some suggestions? I am the beginner of OpenFOAM. I am sorry for troubling you. Thanks again. Best regards Zhou |
Hi,
Use the paraFoam command to see the results in paraview. Thanks Manjunath |
Hi Zhou,
Sorry see the file IDefault file in the zero folder. which has to be like this boundaryField { region0_to_panelRegion_panel { type greyDiffusiveRadiation; T T; emissivityMode solidRadiation; //solidThermo; //lookup; // emissivity uniform 1.0; value uniform 0; } ".*" { type greyDiffusiveRadiation; T T; emissivityMode lookup; //solidThermo emissivity uniform 1.0; value uniform 0; } } I think in that file some boundary condition is missing. Thanks Manju |
Unknown combustion model when running firefoam tutorial case
Dear Zhou,
Hi, I am very new to OpenFOAM and fireFoam and now I am trying to run the fireFoam tutorial case: Singlebox, I face the same problem as shown: --> FOAM FATAL ERROR: Unknown psiCombustionModel type eddyDissipationModel<psiThermoCombustion,gasHTherm oPhysics> Valid combustionModels are : 17 ( noCombustion<psiThermoCombustion> zoneCombustion<psiCombustionModel> infinitelyFastChemistry<psiThermoCombustion,gasHTh ermoPhysics> diffusion<psiThermoCombustion,constGasEThermoPhysi cs> infinitelyFastChemistry<psiThermoCombustion,constG asEThermoPhysics> PaSR<psiChemistryCombustion> laminar<psiChemistryCombustion> FSD<psiThermoCombustion,constGasHThermoPhysics> infinitelyFastChemistry<psiThermoCombustion,constG asHThermoPhysics> diffusion<psiThermoCombustion,gasEThermoPhysics> diffusion<psiThermoCombustion,constGasHThermoPhysi cs> diffusion<psiThermoCombustion,gasHThermoPhysics> infinitelyFastChemistry<psiThermoCombustion,gasETh ermoPhysics> EDC<psiChemistryCombustion> FSD<psiThermoCombustion,gasEThermoPhysics> FSD<psiThermoCombustion,constGasEThermoPhysics> FSD<psiThermoCombustion,gasHThermoPhysics> ) My openFoam version is 5.x and I reinstall the firefoam-dev use the same method as yours. But there is still the same error. It seems like firefoam have not be successfully installed, but I could run case with other combustion model. So could you please help and tell me how to figure it out please? Thank you in advance! |
Hi, The problem is your boundry condition. Please select the available combustion model. Sometimes, the model used in case is not included in the current version of firefoam.
If you still have question. Please contact me. Best regards Zhou |
All times are GMT -4. The time now is 13:37. |