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

solid particles in dieselFoam

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   January 26, 2018, 15:26
Default solid particles in dieselFoam
  #1
New Member
 
behnam
Join Date: Feb 2017
Posts: 2
Rep Power: 0
behnam71 is on a distinguished road
Hello foamers
I am working on simulating heavy fuel combustion with openfoam.
I do not know much about object-oriented programming, which makes it not easy to work with OpenFoam.
I use disealFoam and I want to define a solid carbon phase in it.
when parcels mass is smaller than minimum parcel mass droplets become solid (carbon), instead of adding neglected parcels to surrounding gas similar to the code below that is available in the file Parcel.C .

// remove parcel if it is 'small'
if (m() < sDB.minimumParcelMass())
{
keepParcel = false;

// ... and add the removed 'stuff' to the gas
forAll(nMass, i)
{
sDB.srhos()[i][celli] += nMass[i];
}

sDB.sms()[celli] += nMom;
sDB.shs()[celli] += m()*(nH + nPE);
}


Can anyone help me make these changes?
Many thanks
behnam71 is offline   Reply With Quote

Reply

Tags
dieselfoam, sprayfoam


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
trying to simulate two-phase jet flow with particles in surface injection ajkratos FLUENT 5 March 3, 2015 21:33
Sticking to Wall of solid Particles marcel_jay CFX 0 November 28, 2014 11:06
Variable Heat capacity of solid particles prX411 CFX 1 July 12, 2013 09:53
Solid particles in a flow asier FLUENT 0 June 15, 2013 16:56
Additional variable for lagrangian particles (dieselFoam) N. A. OpenFOAM 0 July 16, 2010 10:45


All times are GMT -4. The time now is 19:12.