Hi
I have a quick question about the mass source subroutine. When I specify the mass source, smacel(ieltsm,ipr) is the mass injection rate, and when itypsm(ieltsm,ivar)=1, I can also specify a variable (ivar) of the mass source, like: smacel(ieltsm,ivar)=300. So when this variable is temperature, which word should I replace "ivar"? Thanks a lot.
Best Regards!
Jundi He
Quick question about the mass source subroutine
Forum rules
Please read the forum usage recommendations before posting.
Please read the forum usage recommendations before posting.
-
- Posts: 4208
- Joined: Mon Feb 20, 2012 3:25 pm
Re: Quick question about the mass source subroutine
Hello,
You have some partial info here: http://code-saturne.org/doxygen/src/field.html and in the user pdf.
But in your case, assuming the temperature is the solved variable, you can use
Yvan
You have some partial info here: http://code-saturne.org/doxygen/src/field.html and in the user pdf.
But in your case, assuming the temperature is the solved variable, you can use
Regards,ivar = isca(iscalt)
Yvan
Re: Quick question about the mass source subroutine
Yvan:
Thanks for the link, so the temperature of the mass source in one cell is smacel(ieltsm,isca(iscalt)), am I correct? Many thanks!
Best Regards!
Jundi He
Thanks for the link, so the temperature of the mass source in one cell is smacel(ieltsm,isca(iscalt)), am I correct? Many thanks!
Best Regards!
Jundi He