Hello,
I'm using the fuel combustion case and I want to add a source term for the mass equation of mixture (equation of rho) but density is not a transported variable. Does anyone know how to do it? Or how to add a mass directly to the mass flow not using cs_user_source_term?
Best regard!
Ken
Mass source term
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: Mass source term
Hello,
Which version of the code are you using ? There is a specific mechanism for mass source terms, and some examples in the code, but the system has changed between v6.2 and earlier versions.
Regards,
Yvan
Which version of the code are you using ? There is a specific mechanism for mass source terms, and some examples in the code, but the system has changed between v6.2 and earlier versions.
Regards,
Yvan
Re: Mass source term
Hi,
Thank you for your reply.
I'm using ver 5.0. Is it possible for this version? If yes, could you please tell me how?
Many thanks
Regard,
Ken
Thank you for your reply.
I'm using ver 5.0. Is it possible for this version? If yes, could you please tell me how?
Many thanks
Regard,
Ken
-
- Posts: 4208
- Joined: Mon Feb 20, 2012 3:25 pm
Re: Mass source term
Hello,
Yes, you should check the user documentation pdf, and the cs_user_mass_source_terms.f90 user example.
You will see in the example that the pressure term is used to store the mass flow (as there is no pressure mass source term).
Best regards,
Yvan
Yes, you should check the user documentation pdf, and the cs_user_mass_source_terms.f90 user example.
You will see in the example that the pressure term is used to store the mass flow (as there is no pressure mass source term).
Best regards,
Yvan
Re: Mass source term
Hello,
Thank you very much for your help, I got the solution.
Best regards,
Ken
Thank you very much for your help, I got the solution.
Best regards,
Ken