CFD Online Discussion Forums

CFD Online Discussion Forums (http://www.cfd-online.com/Forums/)
-   OpenFOAM Programming & Development (http://www.cfd-online.com/Forums/openfoam-programming-development/)
-   -   How do I access a volScalarField in a submodel of the class radiationModel? (http://www.cfd-online.com/Forums/openfoam-programming-development/120537-how-do-i-access-volscalarfield-submodel-class-radiationmodel.html)

tos July 9, 2013 06:05

How do I access a volScalarField in a submodel of the class radiationModel?
 
Hi Everyone

I included a standard radiation model (P1 with constantAbsorptionEmission) into the compressibleTwoPhaseEulerFoam solver by including a source term in the energy equation. Now I want to extend the constantAbsorptionEmission model to use the volScalarField "alpha1" (solid fraction) of the compressibleTwoPhaseEulerFoam solver to enable a solid fraction dependent absorptionEmission model.

How can I access this volScalarField in the radiation model?

Thank you!


All times are GMT -4. The time now is 06:23.