CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   OpenFOAM Programming & Development (https://www.cfd-online.com/Forums/openfoam-programming-development/)
-   -   Divergence operator : get divergence from product of three fields (https://www.cfd-online.com/Forums/openfoam-programming-development/186977-divergence-operator-get-divergence-product-three-fields.html)

AHRabiee April 26, 2017 02:30

Divergence operator : get divergence from product of three fields
 
Hi
I am trying to program a solver for my special incompressible flow problem.
this solver must solve an equation that includes a divergence operator.

div(U*U*T) : in which U is velocity and T is a volume Scalar Field. T is a known Field and U is unknown of the problem.

I tried fvm::div(phi,fvc::Sp(T,U)) but faced to syntax error in wmake process.

can anyone help me?
thanks


All times are GMT -4. The time now is 15:55.