CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   STAR-CCM+ (https://www.cfd-online.com/Forums/star-ccm/)
-   -   Function (https://www.cfd-online.com/Forums/star-ccm/233310-function.html)

hosseiniazim January 21, 2021 02:28

Function
 
Hi every body
I need to find dynamic pressure so i wrote a this function:
${TotalPressure}[2]-${StaticPressure}

but its doesn't work. how i should do that?

ping January 21, 2021 03:05

get rid of the [2]. also depending on your model $Pressure is fine rather than static - read about all the pressure types here: Simulating Physics > Flow and Energy > Pressure

hosseiniazim January 21, 2021 03:22

OK so how i can find center of this pressure(hydrodynamic)?
my problem is a boat moving forward .its asymmetric problem so center of presser is not in the middle .i want find to longitudinal and horizontal distance of center of pressure respect to center of gravity.


All times are GMT -4. The time now is 13:20.