porosity model : usporo() subroutine called every time step?
Posted: Mon Nov 07, 2016 3:20 pm
Dear team,
I have a problem with porosity model in C_S 4.0. I try to define a porosity in some cells of the fluid domain that change dynamically during the computation.
I read in the user's guide that "To define the porosity, the user must fill in the subroutine usporo and set the keyword iporos to 1 in the cs user parameters file. This subroutine is called every time step."
I set the 'iporos' keyword to 1 in 'usipsu' subroutine of cs_user_parameters.f90 user's file and I try to define a porosity in 'usporo' subroutine of cs_user_porosity.f90 user's file (I don't use the GUI).
But the usporo subroutine seems to be called only once at the beginning of the job (even before the cs_user_initialization subroutine) and it's not called for later time steps. So my value for porosity can't be updated during the computation.
Could you please tell me if there's a trick to get usporo() called at each time steps?
Thank you for your feedback.
Jeremie
I have a problem with porosity model in C_S 4.0. I try to define a porosity in some cells of the fluid domain that change dynamically during the computation.
I read in the user's guide that "To define the porosity, the user must fill in the subroutine usporo and set the keyword iporos to 1 in the cs user parameters file. This subroutine is called every time step."
I set the 'iporos' keyword to 1 in 'usipsu' subroutine of cs_user_parameters.f90 user's file and I try to define a porosity in 'usporo' subroutine of cs_user_porosity.f90 user's file (I don't use the GUI).
But the usporo subroutine seems to be called only once at the beginning of the job (even before the cs_user_initialization subroutine) and it's not called for later time steps. So my value for porosity can't be updated during the computation.
Could you please tell me if there's a trick to get usporo() called at each time steps?
Thank you for your feedback.
Jeremie