How to read the phaseName: alpha.water from the code
Dear All,
Maybe it is a bit boring question but I just wondered that how the code read the alpha1 phaseName as alpha.water in the compressibleInterFoam solver? When I looked at the code, I could not see anywhere alpha1 phaseName assigned as alpha.water. First I looked at createFields where alpha1 is seen: Code:
Info<< "Constructing twoPhaseMixtureThermo\n" << endl; then looked at twoPhaseMixtureThermo.H which in inherited twoPhaseMixute: Code:
class twoPhaseMixtureThermo Code:
class twoPhaseMixture Code:
phase1Name_(wordList(dict.lookup("phases"))[0]), So, my question is how the alpha.water is assigned to name of alpha1? I may overlook something. :( Thank you |
Ok sorry for boring question. I found it finally. It reads from const/thermophyPro dic.
|
Quote:
|
All times are GMT -4. The time now is 04:12. |