Help with the units of enthalpy (h) in chtMultiRegionFoam
Hello everybody,
I'm struggling to understand how to set up a heat source in a solid region using the fvOptions framework with chtMultiregionFoam solver. However, I need to understand the governing equation used by the program. This is the equation found in the solveSolid.H file: Code:
tmp<fvScalarMatrix> hEqn Now, here come the main doubts I have:
That's all by now, I will appreciate any hint provided. Many thanks in advance! :) Alex |
Hi Alex,
did you yet manage to solve your problem? I got stuck on the same issue, how do I include a heat source in the hEqn and what are the enthalpy`s dimensions? If you were able to make any progress, I would really appreciate if you could share some Infos! Best regards, Martin Edit: The dimension seems to be J/kg. Info << mag(h) << provides a dimension set of [0 2 -2 0 0 0 0] |
Quote:
I wish I could give you a positive message, but no, I'm still waiting for any hint. Whenever I find a solution I will let you know. I hope you do the same in case you find it first :P Thanks for what you said about about the dimensions of enthalpy, where did you find it out? I have been lookig for it like crazy with no success. Cheers Alex |
Hi,
I saved the Enthalpy in solveSolid.H into a custom variable and made an output with Code:
Info << "myEnthalpy= " << myEnthalpy << nl << endl; |
Hi,
Quote:
Code:
tmp<volScalarField> talpha = thermo.alpha(); Quote:
Code:
template<class Type, class RhoType> Quote:
Code:
... Code:
//- Enthalpy/Internal energy [J/kg] |
Thank you so much Alexey, that was exactly what I was looking for! :)
Quote:
Quote:
I understand that I was pointing at the right direction, I only forgot to divide it by the time and multiply it by the volume, right? I guess that the field called fld in my case would be h(J/kg), then what is given by fvOptions would be Watts, is it right? Quote:
Regards, Alex |
Quote:
Quote:
|
All times are GMT -4. The time now is 01:58. |