CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   STAR-CCM+ (https://www.cfd-online.com/Forums/star-ccm/)
-   -   Distributed drag force (https://www.cfd-online.com/Forums/star-ccm/216659-distributed-drag-force.html)

FSantoX April 15, 2019 12:22

Distributed drag force
 
Hey all,

I wanted to obtain some distributed values along a wall from my simulatio. For the pressure it was easy, as it is a direct measure. But I was also interested in obtaining a distribution for the drag force, something like force per distance or per area and plot it on top of the model, and also export it.

Has someone done something like that? I was thinking maybe use some tables or something like that, but I've had no clue how, so far.

me3840 April 15, 2019 19:44

You can just calculate drag with a field function and plot it just as you would any other scalar like pressure.

FSantoX April 17, 2019 15:05

Which Field functions would I use for that? The only way I was obtaining forces was through a report that takes the integral of a surface.

me3840 April 17, 2019 20:27

Just create a user field function using the pressure, wall shear, and area functions to calculate drag. The user guide has a good section on using user field functions.

FSantoX April 23, 2019 09:54

Quote:

Originally Posted by me3840 (Post 731119)
Just create a user field function using the pressure, wall shear, and area functions to calculate drag. The user guide has a good section on using user field functions.

Thanks, I was already familiar enough with field functions to make that, and it worked greatly.


All times are GMT -4. The time now is 17:59.