cs_wall_functions.h
Posted: Tue Jan 26, 2021 4:05 pm
Hello,
What cells are used in the calculation process by the "cs_wall_functions.h" function?
I am assuming that it is applied on the cells adjacent to a wall boundary.
I am trying to implement a wall function that considers, in predicting the velocity distribution, the pressure gradient.
I calculated the pressure gradient in "cs_user_boundary_conditions.f90" subroutine for the cells adjacent to the wall boundary, and then I transfer the pressure gradient variable to the "cs_wall_functions.h" function.
To be sure that I pass correctly the data from the FORTRAN subroutine to "cs_wall_functions.h" function, I write the pressure gradient variable in 2 text files, from FORTRAN subroutine and from "cs_wall_functions.h" function.
When I compare the text files, I see that I have a smaller number of entries in the FORTRAN subroutine than the "cs_wall_functions.h" function.
Shouldn't I have the same number of entries in both text files?
For calculating the pressure gradient on the cell adjacent to the wall, I used the "getfbr" subroutine and then "ifabor" function.
Best regards,
Ionut
What cells are used in the calculation process by the "cs_wall_functions.h" function?
I am assuming that it is applied on the cells adjacent to a wall boundary.
I am trying to implement a wall function that considers, in predicting the velocity distribution, the pressure gradient.
I calculated the pressure gradient in "cs_user_boundary_conditions.f90" subroutine for the cells adjacent to the wall boundary, and then I transfer the pressure gradient variable to the "cs_wall_functions.h" function.
To be sure that I pass correctly the data from the FORTRAN subroutine to "cs_wall_functions.h" function, I write the pressure gradient variable in 2 text files, from FORTRAN subroutine and from "cs_wall_functions.h" function.
When I compare the text files, I see that I have a smaller number of entries in the FORTRAN subroutine than the "cs_wall_functions.h" function.
Shouldn't I have the same number of entries in both text files?
For calculating the pressure gradient on the cell adjacent to the wall, I used the "getfbr" subroutine and then "ifabor" function.
Best regards,
Ionut