CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   STAR-CCM+ (https://www.cfd-online.com/Forums/star-ccm/)
-   -   Derivate Equation (https://www.cfd-online.com/Forums/star-ccm/161002-derivate-equation.html)

fabriciotb October 16, 2015 19:03

Derivate Equation
 
Hello.

I would like to know how is the more practical way to insert a partial derivate equation (dT/dx).

Thanks.

me3840 October 17, 2015 01:18

The only method of doing this would be to use user coding, and I'm not entirely sure if that's even possible.

You are better off using OpenFOAM for this.

mi_cfd October 19, 2015 18:28

You can define a user field function and use the operator grad($phi), where phi is any scalar quantity.

The resulting function is the vector: d_phi/dx i + d_phi/dy j + d_phi/dz k

So, you can then use any component of the function for further calculations.


All times are GMT -4. The time now is 19:18.