- **OpenFOAM Running, Solving & CFD**
(*http://www.cfd-online.com/Forums/openfoam-solving/*)

- - **Equation syntax**
(*http://www.cfd-online.com/Forums/openfoam-solving/59978-equation-syntax.html*)

Hi all,
is the following syntHi all,
is the following syntax correct? fvMatrix pEqn ( G1*fvm::div(phi,p) - G2*fvm::laplacian(p) - fvm::Sp(F(p)) ); solve(pEqn); where p is a field that has to be calculated G1 is a funcion of x,y,z (mesh coordinates) G2 is a geometricField already calculated F(p) is a function of the field that has to be calculated Besides if U is a volVectorField which is Known and c is a volScalarField that has to be determined can I write fvm::div(U,c)? Thanks in advance Bye Miriam |

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