1

Previous: Mixture type Up: Structure and compilation Next: Appendix:         Fluid Mechanics

This is an automatically generated documentation by LaTeX2HTML utility. In case of any issue, please, contact us at info@cfdsupport.com.

Thermophysical model

The thermophysical model itself is instantiated in the second typedef in the source code. See figure crossref 3 for the inheritance structure. The TM here stands for the transport model, i.e. the sutherlandTransportsensibleInternalEnergyhConstThermoperfectGasspecie, which is defined with the first typedef. Also note that in the solver, the variable used for thermo object is just of type psiThermo, but after some digging, one would discover, that the variable is in fact of type hePsiThermopureMixturesutherlandTransportsensibleInternalEnergyhConstThermoperfectGasspecie. Reason for this is simple, the thermo object has to respect the type that was chosen in the thermophysicalProperties, but in the solver, you need to work with one type. So looking at figure crossref 3, the branch with psiThermo works as interface or a “handle”, whereas the branch with mixture type is the part where the heavy lifting is done.

snappyCFD

Figure: inheritance diagram of basic thermo classes