CFD Online Discussion Forums

CFD Online Discussion Forums (http://www.cfd-online.com/Forums/)
-   OpenFOAM (http://www.cfd-online.com/Forums/openfoam/)
-   -   pyrolysis in fireFoam (http://www.cfd-online.com/Forums/openfoam/90675-pyrolysis-firefoam.html)

windwin July 18, 2011 09:44

pyrolysis in fireFoam
 
hi guys!

now im starting to work on the pyrolysis with fireFoam, but i m not sure that firefoam can do this simulation of pyrolysis, so do you have any ideas or experiences on it ? thank you for your informations.


in fact, i tried a example of fireFoam for pyrolsis named 1DpyrolysisTest, and i got the following error message


-----------------------------------------------------------------------------------------------------------------


/*---------------------------------------------------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: 2.0.0 |
| \\ / A nd | Web: www.OpenFOAM.com |
| \\/ M anipulation | |
\*---------------------------------------------------------------------------*/
Build : 2.0.0-d79727c3fca7
Exec : fireFoam
Date : Jul 18 2011
Time : 22:24:05
Host : ubuntu
PID : 4424
Case : /home/gaofeng/openfoam/1DpyrolysisTest
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

// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
Create time

--> FOAM Warning :
From function dlLibraryTable::open(const fileName&)
in file db/dynamicLibrary/dlLibraryTable/dlLibraryTable.C at line 99
could not load "libfvPatchFieldsPyrolysis.so"
Create mesh for time = 0

Reading chemistry properties


Reading g
Reading thermophysical properties

Selecting thermodynamics package hsPsiMixtureThermo<singleStepReactingMixture<gasTh ermoPhysics>>
Selecting chemistryReader foamChemistryReader
Fuel heat of combustion :5.00312e+07
stoichiometric air-fuel ratio :3.98918
stoichiometric oxygen-fuel ratio :3.98918
Creating component thermo properties:
multi-component carrier - 5 species
no liquid components
no solid components
Creating field rho


Reading field U

Reading/calculating face flux field phi

Creating turbulence model

Selecting turbulence model type LESModel
Selecting LES turbulence model oneEqEddy
--> 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;
}

Creating combustion model

Selecting combustion model infinitelyFastChemistry
Creating field DpDt

Calculating field g.h


Constructing reacting cloud
Constructing particle forces
Selecting particle force sphereDrag
Selecting particle force gravity
Constructing cloud functions
none
Selecting dispersion model none
Selecting injection model manualInjection
Constructing 2-D injection
Selecting distribution model uniform
Selecting patch interaction model standardWallInteraction
Selecting surface film model none
Selecting U integration scheme Euler
Selecting heat transfer model RanzMarshall
Selecting T integration scheme analytical
Selecting composition model singlePhaseMixture


--> FOAM FATAL ERROR:
solids requested, but object is not allocated

From function const Foam::solidMixtureProperties& Foam::SLGThermo::solids() const
in file SLGThermo/SLGThermo.C at line 140.

FOAM aborting

#0 Foam::error::printStack(Foam::Ostream&) in "/opt/openfoam200/platforms/linuxGccDPOpt/lib/libOpenFOAM.so"
#1 Foam::error::abort() in "/opt/openfoam200/platforms/linuxGccDPOpt/lib/libOpenFOAM.so"
#2 Foam::SLGThermo::solids() const in "/opt/openfoam200/platforms/linuxGccDPOpt/lib/libSLGThermo.so"
#3 Foam::CompositionModel<Foam::ReactingCloud<Foam::T hermoCloud<Foam::KinematicCloud<Foam::Cloud<Foam:: ReactingParcel<Foam::ThermoParcel<Foam::KinematicP arcel<Foam::particle> > > > > > > >::adddictionaryConstructorToTable<Foam::SinglePha seMixture<Foam::ReactingCloud<Foam::ThermoCloud<Fo am::KinematicCloud<Foam::Cloud<Foam::ReactingParce l<Foam::ThermoParcel<Foam::KinematicParcel<Foam::p article> > > > > > > > >::New(Foam::dictionary const&, Foam::ReactingCloud<Foam::ThermoCloud<Foam::Kinema ticCloud<Foam::Cloud<Foam::ReactingParcel<Foam::Th ermoParcel<Foam::KinematicParcel<Foam::particle> > > > > > >&) in "/opt/openfoam200/platforms/linuxGccDPOpt/lib/liblagrangianIntermediate.so"
#4
in "/opt/openfoam200/platforms/linuxGccDPOpt/bin/fireFoam"
#5
in "/opt/openfoam200/platforms/linuxGccDPOpt/bin/fireFoam"
#6
in "/opt/openfoam200/platforms/linuxGccDPOpt/bin/fireFoam"
#7 __libc_start_main in "/lib/i386-linux-gnu/libc.so.6"
#8
in "/opt/openfoam200/platforms/linuxGccDPOpt/bin/fireFoam"

-------------------------------------------------------------------------------

i can not really understand what this message want to tell me , so i am so appricate it if someone can help me , thanks in advance !

best

x056kuf September 26, 2011 08:11

I resolve this error as follows:

open the file "thermophysicalProperties" in dictionary /constant

and add at end of file:

liquids
{
liquidComponents (H2O);

H2O
{
defaultCoeffs yes;
}
}


solids
{
solidComponents ();
}


All times are GMT -4. The time now is 20:57.