CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   OpenFOAM (https://www.cfd-online.com/Forums/openfoam/)
-   -   LiquidEvaporation and Particle&Wall Interaction (https://www.cfd-online.com/Forums/openfoam/184473-liquidevaporation-particle-wall-interaction.html)

liliu March 3, 2017 06:23

LiquidEvaporation and Particle&Wall Interaction
 
hi foamers,

I am currently working on the LiquidEvaporation files, and trying to add the " if droplets hit the wall, droplets will evaporate" into the code. In the LiquidEvaporation, it check that if the droplets reaches the critical condition, droplets will immediately evaporate. The relevant code is below,

if ((liquids_.Tc(X) - T) < SMALL)
{
if (debug)
{
WarningInFunction
<< "Parcel reached critical conditions: "
<< "evaporating all avaliable mass" << endl;
}


forAll(activeLiquids_, i)
{
const label lid = liqToLiqMap_[i];
dMassPC[lid] = GREAT;
}


return;
}

I think the code that I need should be pretty similar. But after searching for a while, i am still not clear how the particle&wall interaction can be called/used in the LiquidEvaporation file.

Anyone could give any idea, suggestions? would be really appreciated.

Best Wishes,
Li

liliu March 6, 2017 09:02

Anyone could give some idea? Thank you.


All times are GMT -4. The time now is 11:21.