CFD Online Discussion Forums

CFD Online Discussion Forums (
-   OpenFOAM Running, Solving & CFD (
-   -   msha solve Eqn programming in C using FOAM (

msha December 27, 2007 07:01

Any Help is deeply appreciated
Any Help is deeply appreciated;

I have these

volSymmTensorField R;
volSymmTensorField P = - twoSymm(R & fvc::grad(U_));
volScalarField G = 0.5 * tr(P);
solve (R == 2*I/3 - G*(P+2*I)) ;

written in foam file.
but in compile I recieve following error:

"invalid use of void funcion"

it seems that "solve" does not work in this way.

what can I do to solve an "implicit algebraic matrix equation" like this(i.e. without div,grad,laplacian,... )?

msha December 30, 2007 03:40

URGENT NEED PLS!!!!!!!!!!!!!!
URGENT NEED PLS!!!!!!!!!!!!!!!!!!!

msha January 6, 2008 08:03

ISn't there any one to help me
ISn't there any one to help me!!!!!

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