CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   OpenFOAM Running, Solving & CFD (https://www.cfd-online.com/Forums/openfoam-solving/)
-   -   Heat Flux boundary condition for multiphase problem (https://www.cfd-online.com/Forums/openfoam-solving/223902-heat-flux-boundary-condition-multiphase-problem.html)

bibin.sme January 31, 2020 05:09

Heat Flux boundary condition for multiphase problem
 
Deart All,

How can I define the wall heat flux boundary condition for mutliphase flows.

For single phase flow we used to define this in "T" file in "0" folder for a particular patch as ( dT/dn = q/kf )

In the similar way if i wants to define for multiphase flow ie as ( dT/dn = q/keff) . where "keff" is a scalar filed and is a function of alpha as keff=alpha*kl +(1-alpha) * kv)

How can I do this? Can anyone suggest a solution for this problem?

Thanks & Regards,
Bibin

regard January 31, 2020 05:35

hi
i use groovy bc for heat flux in the wall
i hope this code can help you
Quote:

type groovyBC;
valueExpression "327.15";
gradientExpression "q/(K1*alpha1+K2*(1.0-alpha1))";
fractionExpression "0";
variables "q=20000;K1=0.06;K2=0.03;";
timelines ();
value uniform 327.15;

bibin.sme January 31, 2020 10:29

Thank you.... its working

bibin.sme January 31, 2020 22:55

Aslo can u please tell whether it changes at all timesteps or for the first timestep..?? As alpha1 is a function of time...

Thanks &
Regards
Bibin

regard February 2, 2020 06:11

yes
it changes

bibin.sme February 2, 2020 12:05

Thank you so muchh...

Can I ask a quick logical question. Can we model boiling with simple Lee model (Below) without modelling the nucleation site etc..

m ̇ = rc* (1 − alphal)*ρv *(T − T sat)/Tsat for condensation T < T sat
m ̇ = re* alphal*ρl *(T sat− T)/Tsat for evaporation T > T sat

could you please share your thoughts.. any informations or doc??

Regards,
Bibin

regard February 2, 2020 12:57

you can see the phasechangeheatfoam solver in the following link
click here

in this solver lee model is exist


All times are GMT -4. The time now is 13:22.