Hi guys,
I wanted to ask you if it is possible and how can I select only the fluid volumes (cells) to impose a source term on them and exclude the boundary faces.
Thanks.
Costas
cs_user_source_terms
Forum rules
Please read the forum usage recommendations before posting.
Please read the forum usage recommendations before posting.
cs_user_source_terms
Last edited by C0st4s on Mon Aug 27, 2018 3:41 pm, edited 1 time in total.
-
- Posts: 4209
- Joined: Mon Feb 20, 2012 3:25 pm
Re: cs_user_source_terms
Hello,
I am not sure I understand what you want to do.
Source terms apply to volume cells, not boundary faces, so should not need any extra filtering of your volume criteria.
Regards,
Yvan
I am not sure I understand what you want to do.
Source terms apply to volume cells, not boundary faces, so should not need any extra filtering of your volume criteria.
Regards,
Yvan
Re: cs_user_source_terms
Hello Yvan,
Thank you for your response. I was a bit confused with the cell_f_vol because basically I want to impose a uniform heat flux on the boundary walls and have the source term on the cells to balance out.
Regards,
Costas
Thank you for your response. I was a bit confused with the cell_f_vol because basically I want to impose a uniform heat flux on the boundary walls and have the source term on the cells to balance out.
Regards,
Costas
Last edited by C0st4s on Mon Aug 27, 2018 3:41 pm, edited 1 time in total.
Re: cs_user_source_terms
In addition to the last post, how can I calculate the mass flow rate for each cell?
Kind regards,
Costas
Kind regards,
Costas
Last edited by C0st4s on Mon Aug 27, 2018 3:41 pm, edited 1 time in total.
-
- Posts: 4209
- Joined: Mon Feb 20, 2012 3:25 pm
Re: cs_user_source_terms
Hello,
As the mass flow on faces is available, summing it over a cell is possible. Check also the predefined functions in the user examples for "balance_by_zone" (which unfortunately se to have an incorrect link in the Doxygen documentation, which we need to fix)."
Regards,
Yvan
As the mass flow on faces is available, summing it over a cell is possible. Check also the predefined functions in the user examples for "balance_by_zone" (which unfortunately se to have an incorrect link in the Doxygen documentation, which we need to fix)."
Regards,
Yvan