Hello,
I would like to know if in CS 5.0, it is now possible to set a Steady-compressible case (in my case steam) using the GUI. Is it possible to get a guideline?
Stephane
Steady-Compressible flow
Forum rules
Please read the forum usage recommendations before posting.
Please read the forum usage recommendations before posting.
-
- Posts: 4125
- Joined: Mon Feb 20, 2012 3:25 pm
Re: Steady-Compressible flow
Hello,
There was no development in that regards to my knowledge.
Did you test / try to run ?
Regards,
Yvan
There was no development in that regards to my knowledge.
Did you test / try to run ?
Regards,
Yvan
-
- Posts: 11
- Joined: Wed Dec 09, 2015 3:50 am
Re: Steady-Compressible flow
Hello,
when using the GUI, the compressible model is not available with "steady flow" algorithm selected
.
Steph
when using the GUI, the compressible model is not available with "steady flow" algorithm selected
![Crying or Very Sad :cry:](./images/smilies/icon_cry.gif)
Steph
-
- Posts: 8
- Joined: Tue Apr 09, 2024 3:26 am
Re: Steady-Compressible flow
Dear Yvan and Steph,
It has been quite a few years since you have had this conversation, and I wanted to enquire whether there has been an update on this functionality. I am developing a case on CS 8.0.3, and the steady option is unavailable for the compressible solver in the GUI. Can this option be accessed without the GUI?
Any assistance on this would be greatly appreciated.
Best regards,
Sean Hanrahan
It has been quite a few years since you have had this conversation, and I wanted to enquire whether there has been an update on this functionality. I am developing a case on CS 8.0.3, and the steady option is unavailable for the compressible solver in the GUI. Can this option be accessed without the GUI?
Any assistance on this would be greatly appreciated.
Best regards,
Sean Hanrahan
-
- Posts: 4125
- Joined: Mon Feb 20, 2012 3:25 pm
Re: Steady-Compressible flow
Hello,
I do not think there has been any new development in this regard, though there has been work on another compressible model which may have different constraints.
Did you try forcing the pseudo-steady algorithm using a user-defined function (I.e. cs_user_parameters) ?
Best regards,
Yvan
I do not think there has been any new development in this regard, though there has been work on another compressible model which may have different constraints.
Did you try forcing the pseudo-steady algorithm using a user-defined function (I.e. cs_user_parameters) ?
Best regards,
Yvan
-
- Posts: 8
- Joined: Tue Apr 09, 2024 3:26 am
Re: Steady-Compressible flow
Hi Yvon,
Thanks for your help on this.
Could you please confirm that I have correctly modified the cs_user_parameters.c file.
void
cs_user_parameters(cs_domain_t *domain)
{
cs_time_step_options_t *time_opt = cs_get_glob_time_step_options();
time_opt->idtvar = CS_TIME_STEP_LOCAL;
}
For others reading this post, there is a good description of pseudo-steady algorithm in Essentials of Computational Fluid Mechanics, by Jens-Dominik Műller, page 65.
I have a question about the implementation of the pseudo-steady algorithm in Code Saturne.
Starting with your previous comments here: viewtopic.php?t=2558
You have mentioned that the pseudo-steady algorithm keeps pushing the time-stepping to a CFL number of 1. Does this mean that the CFL number defined in the GUI is not used in this calculation, or does this mean that the user defined CFL number correspond to the time-steps taken from this algorithm? Which time settings (in the GUI) are used by this algorithm?
Finally, I would just like to confirm whether CS_TIME_STEP_STEADY can be used for compressible flows without the GUI?
Best regards,
Sean Hanrahan
Thanks for your help on this.
Could you please confirm that I have correctly modified the cs_user_parameters.c file.
void
cs_user_parameters(cs_domain_t *domain)
{
cs_time_step_options_t *time_opt = cs_get_glob_time_step_options();
time_opt->idtvar = CS_TIME_STEP_LOCAL;
}
For others reading this post, there is a good description of pseudo-steady algorithm in Essentials of Computational Fluid Mechanics, by Jens-Dominik Műller, page 65.
I have a question about the implementation of the pseudo-steady algorithm in Code Saturne.
Starting with your previous comments here: viewtopic.php?t=2558
You have mentioned that the pseudo-steady algorithm keeps pushing the time-stepping to a CFL number of 1. Does this mean that the CFL number defined in the GUI is not used in this calculation, or does this mean that the user defined CFL number correspond to the time-steps taken from this algorithm? Which time settings (in the GUI) are used by this algorithm?
Finally, I would just like to confirm whether CS_TIME_STEP_STEADY can be used for compressible flows without the GUI?
Best regards,
Sean Hanrahan
-
- Posts: 4125
- Joined: Mon Feb 20, 2012 3:25 pm
Re: Steady-Compressible flow
Hello,
Yes, your setting seems OK.
I am not sure the pseudo-steady algorithm matches that on your reference, as I am not familiar with the book. It would be interesting to compare.
In our case, the code simply adjusts the time step in each cell so as to try to target a CFL of 1. The reference time step defines the initialization, and as you can see setting it through the GUI, the local time step cannot go under or above a given multiplier times this reference time step.
As for the compressible case, I doubt that this algorithm is currently compatible, but do not know whether it would be easy to adapt or not.
Best regards,
Yvan
Yes, your setting seems OK.
I am not sure the pseudo-steady algorithm matches that on your reference, as I am not familiar with the book. It would be interesting to compare.
In our case, the code simply adjusts the time step in each cell so as to try to target a CFL of 1. The reference time step defines the initialization, and as you can see setting it through the GUI, the local time step cannot go under or above a given multiplier times this reference time step.
As for the compressible case, I doubt that this algorithm is currently compatible, but do not know whether it would be easy to adapt or not.
Best regards,
Yvan