|
[Sponsors] |
January 26, 2018, 16:26 |
solid particles in dieselFoam
|
#1 |
New Member
behnam
Join Date: Feb 2017
Posts: 2
Rep Power: 0 |
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 |
|
Tags |
dieselfoam, sprayfoam |
|
|
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 22:33 |
Sticking to Wall of solid Particles | marcel_jay | CFX | 0 | November 28, 2014 12:06 |
Variable Heat capacity of solid particles | prX411 | CFX | 1 | July 12, 2013 10:53 |
Solid particles in a flow | asier | FLUENT | 0 | June 15, 2013 17:56 |
Additional variable for lagrangian particles (dieselFoam) | N. A. | OpenFOAM | 0 | July 16, 2010 11:45 |