CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   OpenFOAM Running, Solving & CFD (https://www.cfd-online.com/Forums/openfoam-solving/)
-   -   what does '^' mean in the 'LiftForce.C' file? (https://www.cfd-online.com/Forums/openfoam-solving/236370-what-does-mean-liftforce-c-file.html)

balloon May 27, 2021 01:27

what does '^' mean in the 'LiftForce.C' file?
 
In the LiftForce.C file, there is a code for the particle lift force:

Code:

value.Su() = mass/p.rho()*td.rhoc()*Cl*((td.Uc() - p.U())^curlUc);
As far as I know, the equation of the lift force is something like:
F_{lift} = \rho_f \times V \times C_L \times (U_f-U_p) \times |\frac{dU_f}{dy}|.

So, is this "^" in the code simply means multiplication?

mAlletto May 27, 2021 02:53

In the openfoam programmer guide you will find the whole list of overloaded operators and their definition

balloon May 27, 2021 06:48

Quote:

Originally Posted by mAlletto (Post 804759)
In the openfoam programmer guide you will find the whole list of overloaded operators and their definition

Thanks for your prompt reply. I got it from the guide, it simply means the Cross product of two vectors.


All times are GMT -4. The time now is 00:25.