In fact, I am a new user, and I don’t have any ideas about Fortran, so when I followed the tutorial, I can’t understand the sample file ‘cs_user_physical_properties.f90’ at all, so could you please give me a correct sample file ‘cs_user_physical_properties.f90’ about the second tutorial, and could you please tell me that where I can find the definition of all the properties, like pressure, density…
Can I amend the ‘Example 1’ with the equation ρ=ρc*(1-β*(T-Tc)) and β=kμRa/(ρ^2Cpg*(Th-Tc)*L^3) like this:
The “solution” XML and user subroutines for the tutorials are in the “examples” directory in the code sources.
Yes, using MEI should in theory be equivalent to coding in a user subroutine (it is more practical if you do not otherwise need user subroutines, though performance is slightly reduced).
Thank you very much for your responding, do you mean that I need to follow the “examples” in the user subroutines of the sample file ‘cs_user_physical_properties.f90’?
But the equation ‘ρ=ρc*(1-β*(T-Tc)) and β=kμRa/(ρ^2Cpg*(Th-Tc)*L^3)’ of the tutorial has much more variables than the examples, I don’t know whether these new variables are declared in those double precision.