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

lagrangian coal modeling

Register Blogs Members List Search Today's Posts Mark Forums Read

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   March 22, 2013, 14:19
Default lagrangian coal modeling
  #1
New Member
 
xinyu
Join Date: Apr 2010
Location: Connecticut
Posts: 9
Blog Entries: 1
Rep Power: 16
xinyu is on a distinguished road
Hello All,

I am trying to implement a devolatilization model in OpenFOAM-1.7.1 which requires the knowledge of the temperature history of a parcel at any given time. Is there any way to achieve this with OpenFOAM's existing structure? Any suggestion is welcome=)
xinyu is offline   Reply With Quote

Old   August 3, 2015, 05:15
Default up
  #2
New Member
 
Khomenko Maxim
Join Date: Aug 2015
Posts: 16
Rep Power: 10
mbookin is on a distinguished road
Hi xinyu, have you found any OpenFOAM's existing structures to implement temperature history in it?
mbookin is offline   Reply With Quote

Old   August 18, 2015, 10:31
Default temperature history usage in openFOAM
  #3
New Member
 
Khomenko Maxim
Join Date: Aug 2015
Posts: 16
Rep Power: 10
mbookin is on a distinguished road
Does anybody know some hints or can advise in what direction to look for temperature history usage in OpenFOAM? Am I posting the question in the wrong topic? Can anyone suggest the right one?
mbookin is offline   Reply With Quote

Old   August 23, 2015, 10:52
Default
  #4
New Member
 
Khomenko Maxim
Join Date: Aug 2015
Posts: 16
Rep Power: 10
mbookin is on a distinguished road
Does anybody know any manual for DynamicField Class? I suppose that using .append method for sequential time steps, this class help to store temperature history in memory for the further use. Will this be appropriate in terms of memory and copying.
mbookin is offline   Reply With Quote

Old   October 12, 2015, 08:29
Default
  #5
New Member
 
Khomenko Maxim
Join Date: Aug 2015
Posts: 16
Rep Power: 10
mbookin is on a distinguished road
Hello everybody!

I'm using IOdictionary kjmaHistory to store temperature history List T_melt on disk.
Code:
List<DynamicList<scalar> > T_melt;// declaration the list of temperature history
T_melt.setSize(<size11>)// initial list of temperature history of size size11
IOdictionary kjmaHistory//declaration the dictionary
    (
        IOobject
        (
            "kjmaHistory",
            runTime.timeName(),
            mesh,
            IOobject::READ_IF_PRESENT,
            IOobject::AUTO_WRITE
        )
    );
kjmaHistory.add("T_melt",T_melt,true);// add list to dictionary
...
T_melt[cellI].append(T_history[cellI]);//update list
...
runTime.write()// write to disk
But runTime.write() writes only initial list to disk in dictionary but not the updated one. What am I doing wrong? Do I need to manualy update dictionary by kjmaHistory.set("T_melt",T_melt); before runTime.write() (that is not convenient because it updates every time step but not every timewrite step) or is there another way to store updated list?
mbookin is offline   Reply With Quote

Reply

Tags
coal, hisotry, temperature

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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
Coal combustion injection properties semo FLUENT 12 May 16, 2017 19:40
Modeling coal combustion with DPM Amit Katiyar FLUENT 4 November 21, 2014 05:21
how to define the velocity of coal when using DPM in modeling coal gasification? harry king FLUENT 1 May 6, 2012 22:11
Modeling question: coal combustion Pablo Sanchez FLUENT 4 August 28, 2006 01:32
COAL COMBUSTION modeling with CFX4.3 Isabel CFX 15 December 13, 2000 06:36


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