CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Running, Solving & CFD

coalChemistryFoam: Where can I find more information about the models?

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   September 19, 2009, 07:05
Default coalChemistryFoam: Where can I find more information about the models?
  #1
Member
 
Michele Vascellari
Join Date: Mar 2009
Posts: 70
Rep Power: 17
mighelone is on a distinguished road
Hello!

I have seen with great pleasure that in the new version of OpenFoam (1.6), a coal chemistry lagrangian solver has been implemented.

Where can I find more information about the models considered (i.e. de-volatilization, heterogeneous reactions) and about the lagrangian treatment of solid phase.

Thank you in advance for your attention.

Regards

Michele
mighelone is offline   Reply With Quote

Old   October 27, 2015, 08:16
Default dilute and dense flow
  #2
New Member
 
Shuai Wang
Join Date: Mar 2014
Posts: 26
Rep Power: 12
Shuai_W is on a distinguished road
Dear mighelone,

I want to model coal combustion in a dense fluidized bed, can you give me some advice?
Best regards!

Wang
Shuai_W is offline   Reply With Quote

Old   December 3, 2015, 05:24
Default Creating new solver to our directory for modification
  #3
New Member
 
NGUYENVB
Join Date: Aug 2015
Posts: 11
Rep Power: 11
vanbonguyen is on a distinguished road
Dear Foamers,

I tried to create a new solver for coalChemistryFoam solver in my own directory using openfoam 2.1.1 version. I have copied the library at src/lagrangian/coalCombustion/ to my own src/lagrangian/mycoalCombustion/ folder, i also copied the solver from application/solvers/lagrangian/coalChemistryFoam/ to my own folder /nguyen2.1.1/applications/solvers/lagragian/mycoalChemistryFoam. I have modified the files and options files in both src and solver as the following:
I) in files at solvers:
1) in files file
EXE = $(FOAM_USER_APPBIN)/mycoalChemistryFoam
2) in options file
-I$(WM_PROJECT_USER_DIR)/src/lagrangian/mycoalCombustion/lnInclude \
-L$(WM_PROJECT_USER_DIR)/lib/$(WM_OPTIONS) \
-lmycoalCombustion \

II) in files at src
1) in files file
LIB = $(FOAM_LIBBIN)/libmycoalCombustion

When i compile for the library in src. i think it successfully. However, when i comile for the solver, it got the following error. Could anyone help me fix it? Thank you very much!

nguyen@nguyen-Precision-T7610:~/OpenFOAM/nguyen-2.1.1/applications/solvers/lagrangian/mycoalChemistryFoam$ wmake
Making dependency list for source file coalChemistryFoam.C
SOURCE=coalChemistryFoam.C ; g++ -m64 -Dlinux64 -DWM_DP -Wall -Wextra -Wno-unused-parameter -Wold-style-cast -Wnon-virtual-dtor -O3 -DNoRepository -ftemplate-depth-100 -I/home/nguyen/OpenFOAM/OpenFOAM-2.1.1/src/finiteVolume/lnInclude -I/home/nguyen/OpenFOAM/OpenFOAM-2.1.1/src/meshTools/lnInclude -I/home/nguyen/OpenFOAM/OpenFOAM-2.1.1/src/turbulenceModels/compressible/turbulenceModel -I/home/nguyen/OpenFOAM/OpenFOAM-2.1.1/src/lagrangian/basic/lnInclude -I/home/nguyen/OpenFOAM/OpenFOAM-2.1.1/src/lagrangian/intermediate/lnInclude -I/home/nguyen/OpenFOAM/nguyen-2.1.1/src/lagrangian/mycoalCombustion/lnInclude -I/home/nguyen/OpenFOAM/OpenFOAM-2.1.1/src/lagrangian/distributionModels/lnInclude -I/home/nguyen/OpenFOAM/OpenFOAM-2.1.1/src/thermophysicalModels/specie/lnInclude -I/home/nguyen/OpenFOAM/OpenFOAM-2.1.1/src/thermophysicalModels/basic/lnInclude -I/home/nguyen/OpenFOAM/OpenFOAM-2.1.1/src/thermophysicalModels/properties/liquidProperties/lnInclude -I/home/nguyen/OpenFOAM/OpenFOAM-2.1.1/src/thermophysicalModels/properties/liquidMixtureProperties/lnInclude -I/home/nguyen/OpenFOAM/OpenFOAM-2.1.1/src/thermophysicalModels/properties/solidProperties/lnInclude -I/home/nguyen/OpenFOAM/OpenFOAM-2.1.1/src/thermophysicalModels/properties/solidMixtureProperties/lnInclude -I/home/nguyen/OpenFOAM/OpenFOAM-2.1.1/src/thermophysicalModels/thermophysicalFunctions/lnInclude -I/home/nguyen/OpenFOAM/OpenFOAM-2.1.1/src/thermophysicalModels/reactionThermo/lnInclude -I/home/nguyen/OpenFOAM/OpenFOAM-2.1.1/src/thermophysicalModels/SLGThermo/lnInclude -I/home/nguyen/OpenFOAM/OpenFOAM-2.1.1/src/thermophysicalModels/chemistryModel/lnInclude -I/home/nguyen/OpenFOAM/OpenFOAM-2.1.1/src/thermophysicalModels/radiationModels/lnInclude -I/home/nguyen/OpenFOAM/OpenFOAM-2.1.1/src/regionModels/regionModel/lnInclude -I/home/nguyen/OpenFOAM/OpenFOAM-2.1.1/src/regionModels/surfaceFilmModels/lnInclude -I/home/nguyen/OpenFOAM/OpenFOAM-2.1.1/src/ODE/lnInclude -I/home/nguyen/OpenFOAM/OpenFOAM-2.1.1/src/combustionModels/lnInclude -Ihome/nguyen/OpenFOAM/OpenFOAM-2.1.1/applications/solvers/combustion/reactingFoam -IlnInclude -I. -I/home/nguyen/OpenFOAM/OpenFOAM-2.1.1/src/OpenFOAM/lnInclude -I/home/nguyen/OpenFOAM/OpenFOAM-2.1.1/src/OSspecific/POSIX/lnInclude -fPIC -c $SOURCE -o Make/linux64GccDPOpt/coalChemistryFoam.o
In file included from /home/nguyen/OpenFOAM/OpenFOAM-2.1.1/src/OpenFOAM/lnInclude/Field.H:360:0,
from /home/nguyen/OpenFOAM/OpenFOAM-2.1.1/src/OpenFOAM/lnInclude/labelField.H:39,
from /home/nguyen/OpenFOAM/OpenFOAM-2.1.1/src/OpenFOAM/lnInclude/primitiveFields.H:37,
from /home/nguyen/OpenFOAM/OpenFOAM-2.1.1/src/OpenFOAM/lnInclude/pointField.H:36,
from /home/nguyen/OpenFOAM/OpenFOAM-2.1.1/src/OpenFOAM/lnInclude/edge.H:40,
from /home/nguyen/OpenFOAM/OpenFOAM-2.1.1/src/OpenFOAM/lnInclude/edgeList.H:32,
from /home/nguyen/OpenFOAM/OpenFOAM-2.1.1/src/OpenFOAM/lnInclude/primitiveMesh.H:57,
from /home/nguyen/OpenFOAM/OpenFOAM-2.1.1/src/OpenFOAM/lnInclude/polyMesh.H:44,
from /home/nguyen/OpenFOAM/OpenFOAM-2.1.1/src/finiteVolume/lnInclude/fvMesh.H:50,
from /home/nguyen/OpenFOAM/OpenFOAM-2.1.1/src/finiteVolume/lnInclude/fvCFD.H:7,
from coalChemistryFoam.C:38:
/home/nguyen/OpenFOAM/OpenFOAM-2.1.1/src/OpenFOAM/lnInclude/Field.C: In member function ‘void Foam::Field<Type>erator=(const Foam::VectorSpace<Form, Cmpt, nCmpt>&)’:
/home/nguyen/OpenFOAM/OpenFOAM-2.1.1/src/OpenFOAM/lnInclude/Field.C:680:42: warning: typedef ‘VSType’ locally defined but not used [-Wunused-local-typedefs]
typedef VectorSpace<Form,Cmpt,nCmpt> VSType;
^
In file included from /home/nguyen/OpenFOAM/OpenFOAM-2.1.1/src/finiteVolume/lnInclude/mappedFixedPushedInternalValueFvPatchField.H:150:0 ,
from /home/nguyen/OpenFOAM/OpenFOAM-2.1.1/src/finiteVolume/lnInclude/mappedFixedPushedInternalValueFvPatchFields.H:29,
from /home/nguyen/OpenFOAM/OpenFOAM-2.1.1/src/regionModels/regionModel/lnInclude/singleLayerRegionTemplates.C:29,
from /home/nguyen/OpenFOAM/OpenFOAM-2.1.1/src/regionModels/regionModel/lnInclude/singleLayerRegion.H:166,
from /home/nguyen/OpenFOAM/OpenFOAM-2.1.1/src/regionModels/surfaceFilmModels/lnInclude/surfaceFilmModel.H:40,
from /home/nguyen/OpenFOAM/OpenFOAM-2.1.1/src/lagrangian/intermediate/lnInclude/SurfaceFilmModel.C:27,
from /home/nguyen/OpenFOAM/OpenFOAM-2.1.1/src/lagrangian/intermediate/lnInclude/SurfaceFilmModel.H:275,
from /home/nguyen/OpenFOAM/OpenFOAM-2.1.1/src/lagrangian/intermediate/lnInclude/KinematicCloud.C:34,
from /home/nguyen/OpenFOAM/OpenFOAM-2.1.1/src/lagrangian/intermediate/lnInclude/KinematicCloud.H:577,
from /home/nguyen/OpenFOAM/OpenFOAM-2.1.1/src/lagrangian/intermediate/lnInclude/ThermoCloud.H:42,
from /home/nguyen/OpenFOAM/OpenFOAM-2.1.1/src/lagrangian/intermediate/lnInclude/basicThermoCloud.H:35,
from coalChemistryFoam.C:40:
/home/nguyen/OpenFOAM/OpenFOAM-2.1.1/src/finiteVolume/lnInclude/mappedFixedPushedInternalValueFvPatchField.C: In member function ‘virtual void Foam::mappedFixedPushedInternalValueFvPatchField<T ype>::updateCoeffs()’:
/home/nguyen/OpenFOAM/OpenFOAM-2.1.1/src/finiteVolume/lnInclude/mappedFixedPushedInternalValueFvPatchField.C:98:57 : warning: typedef ‘FieldType’ locally defined but not used [-Wunused-local-typedefs]
typedef GeometricField<Type, fvPatchField, volMesh> FieldType;
^
In file included from coalChemistryFoam.C:61:0:
/home/nguyen/OpenFOAM/OpenFOAM-2.1.1/src/finiteVolume/lnInclude/readTimeControls.H: In function ‘int main(int, char**)’:
/home/nguyen/OpenFOAM/OpenFOAM-2.1.1/src/finiteVolume/lnInclude/readTimeControls.H:38:8: warning: unused variable ‘maxDeltaT’ [-Wunused-variable]
scalar maxDeltaT =
^
In file included from /home/nguyen/OpenFOAM/OpenFOAM-2.1.1/src/lagrangian/intermediate/lnInclude/PhaseChangeModel.H:235:0,
from /home/nguyen/OpenFOAM/OpenFOAM-2.1.1/src/lagrangian/intermediate/lnInclude/ReactingCloud.C:29,
from /home/nguyen/OpenFOAM/OpenFOAM-2.1.1/src/lagrangian/intermediate/lnInclude/ReactingCloud.H:323,
from /home/nguyen/OpenFOAM/nguyen-2.1.1/src/lagrangian/mycoalCombustion/lnInclude/coalCloud.H:38,
from coalChemistryFoam.C:41:
/home/nguyen/OpenFOAM/OpenFOAM-2.1.1/src/lagrangian/intermediate/lnInclude/PhaseChangeModel.C: In instantiation of ‘Foam::PhaseChangeModel<CloudType>::PhaseChangeMod el(const Foam::PhaseChangeModel<CloudType>&) [with CloudType = Foam::ReactingCloud<Foam::ThermoCloud<Foam::Kinema ticCloud<Foam::Cloud<Foam::ReactingMultiphaseParce l<Foam::ReactingParcel<Foam::ThermoParcel<Foam::Ki nematicParcel<Foam:article> > > > > > > >]’:
/home/nguyen/OpenFOAM/OpenFOAM-2.1.1/src/lagrangian/intermediate/lnInclude/PhaseChangeModel.H:139:13: required from ‘Foam::autoPtr<Foam::PhaseChangeModel<CloudType> > Foam::PhaseChangeModel<CloudType>::clone() const [with CloudType = Foam::ReactingCloud<Foam::ThermoCloud<Foam::Kinema ticCloud<Foam::Cloud<Foam::ReactingMultiphaseParce l<Foam::ReactingParcel<Foam::ThermoParcel<Foam::Ki nematicParcel<Foam:Particle> > > > > > > >]’
/home/nguyen/OpenFOAM/OpenFOAM-2.1.1/src/lagrangian/intermediate/lnInclude/ReactingCloud.C:171:42: required from ‘Foam::ReactingCloud<CloudType>::ReactingCloud(Foa m::ReactingCloud<CloudType>&, const Foam::word&) [with CloudType = Foam::ThermoCloud<Foam::KinematicCloud<Foam::Cloud <Foam::ReactingMultiphaseParcel<Foam::ReactingParc el<Foam::ThermoParcel<Foam::KinematicParcel<Foam:P article> > > > > > >]’
/home/nguyen/OpenFOAM/OpenFOAM-2.1.1/src/lagrangian/intermediate/lnInclude/ReactingMultiphaseCloud.C:125:50: required from ‘Foam::ReactingMultiphaseCloud<CloudType>::Reactin gMultiphaseCloud(Foam::ReactingMultiphaseCloud<Clo udType>&, const Foam::word&) [with CloudType = Foam::ReactingCloud<Foam::ThermoCloud<Foam::Kinema ticCloud<Foam::Cloud<Foam::ReactingMultiphaseParce l<Foam::ReactingParcel<Foam::ThermoParcel<Foam::Ki nematicParcel<Foam:Particle> > > > > > > >]’
/home/nguyen/OpenFOAM/OpenFOAM-2.1.1/src/lagrangian/intermediate/lnInclude/ReactingMultiphaseCloud.H:186:13: required from ‘Foam::autoPtr<Foam::Cloud<typename CloudType:ParticleType> > Foam::ReactingMultiphaseCloud<CloudType>::clone(co nst Foam::word&) [with CloudType = Foam::ReactingCloud<Foam::ThermoCloud<Foam::Kinema ticCloud<Foam::Cloud<Foam::ReactingMultiphaseParce l<Foam::ReactingParcel<Foam::ThermoParcel<Foam::Ki nematicParcel<Foam:Particle> > > > > > > >; typename CloudType:ParticleType = Foam::ReactingMultiphaseParcel<Foam::ReactingParce l<Foam::ThermoParcel<Foam::KinematicParcel<Foam:Pa rticle> > > >]’
/home/nguyen/OpenFOAM/OpenFOAM-2.1.1/src/lagrangian/intermediate/lnInclude/ReactingMultiphaseCloud.C:221:40: required from ‘void Foam::ReactingMultiphaseCloud<CloudType>::storeSta te() [with CloudType = Foam::ReactingCloud<Foam::ThermoCloud<Foam::Kinema ticCloud<Foam::Cloud<Foam::ReactingMultiphaseParce l<Foam::ReactingParcel<Foam::ThermoParcel<Foam::Ki nematicParcel<Foam:Particle> > > > > > > >]’
/home/nguyen/OpenFOAM/OpenFOAM-2.1.1/src/lagrangian/intermediate/lnInclude/KinematicCloud.C:95:9: required from ‘void Foam::KinematicCloud<CloudType>::solve(TrackData&) [with TrackData = Foam::ReactingParcel<Foam::ThermoParcel<Foam::Kine maticParcel<Foam:Particle> > >::TrackingData<Foam::ReactingMultiphaseCloud<Foam ::ReactingCloud<Foam::ThermoCloud<Foam::KinematicC loud<Foam::Cloud<Foam::ReactingMultiphaseParcel<Fo am::ReactingParcel<Foam::ThermoParcel<Foam::Kinema ticParcel<Foam:Particle> > > > > > > > > >; CloudType = Foam::Cloud<Foam::ReactingMultiphaseParcel<Foam::R eactingParcel<Foam::ThermoParcel<Foam::KinematicPa rcel<Foam:Particle> > > > >]’
/home/nguyen/OpenFOAM/OpenFOAM-2.1.1/src/lagrangian/intermediate/lnInclude/ReactingMultiphaseCloud.C:250:9: required from ‘void Foam::ReactingMultiphaseCloud<CloudType>::evolve() [with CloudType = Foam::ReactingCloud<Foam::ThermoCloud<Foam::Kinema ticCloud<Foam::Cloud<Foam::ReactingMultiphaseParce l<Foam::ReactingParcel<Foam::ThermoParcel<Foam::Ki nematicParcel<Foam:Particle> > > > > > > >]’
coalChemistryFoam.C:84:28: required from here
/home/nguyen/OpenFOAM/OpenFOAM-2.1.1/src/lagrangian/intermediate/lnInclude/PhaseChangeModel.C:85:1: error: uninitialized reference member ‘Foam::PhaseChangeModel<Foam::ReactingCloud<Foam:: ThermoCloud<Foam::KinematicCloud<Foam::Cloud<Foam: :ReactingMultiphaseParcel<Foam::ReactingParcel<Foa m::ThermoParcel<Foam::KinematicParcel<Foam:Particl e> > > > > > > > >::dict_’ [-fpermissive]
Foam::PhaseChangeModel<CloudType>::PhaseChangeMode l
^
make: *** [Make/linux64GccDPOpt/coalChemistryFoam.o] Error 1
nguyen@nguyen-Precision-T7610:~/OpenFOAM/nguyen-2.1.1/applications/solvers/lagrangian/mycoalChemistryFoam$

Thank you!
NGUYEN VAN BO
vanbonguyen is offline   Reply With Quote

Old   December 5, 2015, 03:25
Default I fixed the problem! thanks
  #4
New Member
 
NGUYENVB
Join Date: Aug 2015
Posts: 11
Rep Power: 11
vanbonguyen is on a distinguished road
I fixed the problem! thanks
vanbonguyen is offline   Reply With Quote

Old   December 5, 2015, 03:36
Default Congratulate to your success
  #5
New Member
 
Shuai Wang
Join Date: Mar 2014
Posts: 26
Rep Power: 12
Shuai_W is on a distinguished road
Dear vanbonguyen,
I am very sorry that I reply you very late, at first, congratulations for your success. Frankly speaking, I do not have many materials for this model, I refer to the “ANSYS Fluent Theory Guide16.0”. I want to develop a model to simulate dense-phase fluidized bed with coal combustion or gasification. Do you simulate pulverized coal combustion? If so, I think it is easy to simulate that using this solver.


Best regards!
WANG
Shuai_W is offline   Reply With Quote

Reply

Tags
coal, lagrangian, openfoam 1.6


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
[swak4Foam] difficulties installing swak4foam newbie29 OpenFOAM Community Contributions 120 October 21, 2022 05:01
simpleFoam parallel AndrewMortimer OpenFOAM Running, Solving & CFD 12 August 7, 2015 19:45
[swak4Foam] Error bulding swak4Foam sfigato OpenFOAM Community Contributions 18 August 22, 2013 13:41
CFX problem in ubuntu (linux) Vigneshramaero CFX 0 July 13, 2012 11:22
Information about different turbulence models Mehul Kinariwala Main CFD Forum 1 July 5, 2000 00:32


All times are GMT -4. The time now is 14:48.