Temperature-dependent emissivity for DOM boundary condition
Hi, I am learning how to use buoyantSimpleRadiationFoam and looking at the tutorial
tutorials/heatTransfer/buoyantSimpleRadiationFoam/hotRadiationRoomFvDOM. In this tutorial a constant emissivity is used for DOM: Code:
dimensions [1 0 -3 0 0 0 0]; |
Hi,
1) a quick and 'not recommended' option would to modify the boundary condition and recompile it in the following file src/thermophysicalModels/radiation/lnInclude/greyDiffusiveRadiationMixedFvPatchScalarField.C you will find refValue() = emissivity_*4.0*radiation::sigmaSB.value()*pow4(Tp ) /Foam::mathematicalConstant::pi; you can replace it by (e.g.) emissivity_*(Tp/1000)*4.0*radiation::sigmaSB.value()*pow4(Tp) /Foam::mathematicalConstant::pi; where Tp is the wall temperature and 1000 a linear factor you will need to recompile the boundary condition by executing "wmake libso" in the directory 'src/thermophysicalModels/radiation' 2) recommended method: read "Implement boundary condition" at http://www.tfd.chalmers.se/~hani/kurser/OS_CFD_2007/ It is explained how to copy the boundary condition (including .H file) in your own 'run' directory, modify it and recompile it. I hope this helps... Jean |
Thanks for your help, Jean. I will follow your second suggestion.
|
Now I have another question about how to use temperature-dependent absorption coefficient. I am studying the case tutorials/heatTransfer/buoyantSimpleRadiationFoam/hotRadiationRoom. To use greyMeanAbsorptionEmision model, the radiationProperties dictionary was modified as
Code:
radiation on; Code:
air Code:
keyword fields is undefined in dictionary "/home/navier/foam/buoyantSimpleRadiationFoam/hotRadiationRoom/constant/speciesTable" |
All times are GMT -4. The time now is 06:17. |