solidWallHeatTransfer - calculation of Cp(Tw, patchi) in basic Solid
I try to implement a new BC called solidWallHeatTransfer. So I took the wallHeatTransfer BC from basicThermo to make the new BC for solids. Now there is the calculation of valueFraction():
const label patchi = patch().index();
const scalarField& Tw = thermo.T().boundaryField()[patchi];
const scalarField Cpw(thermo.Cp(Tw, patchi));
so thermo.alpha().boundaryField()[patchi]*patch().deltaCoeffs() should be K of the fluid -> in case of solid I just replaced it with K (const scalarField K = thermo.K(patchi); ) but how is Cpw calculated. I can't find the code or a description. It is dependent on the Temperature but in basicSolidThermo it is not possible to call the function Cp(Tw, patchi)!
I also really don't know the meaning of the valueFraction!
|All times are GMT -4. The time now is 09:19.|