integration over a slice
Posted: Mon Oct 31, 2022 5:04 am
Dear expert team,
I want to calculate an integration over a slice. I plan to add a variable using "cs_parameters_add_property", then do the integration in cs_user_extra_operations. The version I'm using is 6.0.8.
The definition of the new variable (swirl number) is attached, and the simulation domain is a pipe. Ux is the streamwise velocity, U_theta is the tangential velocity, which can be calculated based on Uy and Uz. r is the radial distance from the axis. R is the radius of the pipe.
The geometry is using x-y-z coordinates. I need to calculate the swirl number at 3 streamwise locations and need the time monitoring of the 3 swirl numbers.
Do you have any guidance on how to do the integration?
Best regards,
Xiaoxue
I want to calculate an integration over a slice. I plan to add a variable using "cs_parameters_add_property", then do the integration in cs_user_extra_operations. The version I'm using is 6.0.8.
The definition of the new variable (swirl number) is attached, and the simulation domain is a pipe. Ux is the streamwise velocity, U_theta is the tangential velocity, which can be calculated based on Uy and Uz. r is the radial distance from the axis. R is the radius of the pipe.
The geometry is using x-y-z coordinates. I need to calculate the swirl number at 3 streamwise locations and need the time monitoring of the 3 swirl numbers.
Do you have any guidance on how to do the integration?
Best regards,
Xiaoxue