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

Updating rho in ReactingMultiphaseParcel

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   August 2, 2016, 09:57
Default Updating rho in ReactingMultiphaseParcel
  #1
New Member
 
Amir
Join Date: Feb 2012
Posts: 12
Rep Power: 14
amirhoshangm is on a distinguished road
I'm using ReactingMultiphaseParcel in my simulation. I found that in a particle either volume or density can change .

Code:
    // Update particle density or diameter
    if (td.cloud().constProps().constantVolume())
    {
        this->rho_ = mass1/this->volume();
    }
    else
    {
        this->d_ = cbrt(mass1/this->rho_*6.0/pi);
    }
This is very limiting. for example, in the case of reaction/drying in a particle, both density and size might change.
Is'n it better to calculate effective density based on mass fraction of different components (similar to CpEff) and then calculate particle diameter? In this way both density and size can change at the same time. Does anyone have any idea about this?
amirhoshangm is offline   Reply With Quote

Old   August 2, 2016, 10:21
Default
  #2
New Member
 
Amir
Join Date: Feb 2012
Posts: 12
Rep Power: 14
amirhoshangm is on a distinguished road
Some thing like this
Code:
    // Update particle density or diameter
    if (td.cloud().constProps().constantVolume())
    {
        this->rho_ = mass1/this->volume();
    }
    else
    {
        this->rho_ = rhoEff(td, pc, T0, idG, idL, idS);

        this->d_ = cbrt(mass1/this->rho_*6.0/pi);
    }
amirhoshangm is offline   Reply With Quote

Reply


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
Problem about Rotor simulation whit high rotating speed Thomas pan OpenFOAM Running, Solving & CFD 4 June 20, 2018 06:24
writing execFlowFunctionObjects immortality OpenFOAM Post-Processing 30 September 15, 2013 06:16
what does this verbose error mean? immortality OpenFOAM Running, Solving & CFD 1 February 6, 2013 16:47
pisoFoam with k-epsilon turb blows up - Some questions Heroic OpenFOAM Running, Solving & CFD 26 December 17, 2012 03:34
Error log vw.cfd OpenFOAM 6 August 7, 2009 05:44


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