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/)
-   -   msha solve Eqn programming in C using FOAM (https://www.cfd-online.com/Forums/openfoam-solving/59250-msha-solve-eqn-programming-c-using-foam.html)

msha December 27, 2007 06: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 02:40

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

msha January 6, 2008 07: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 15:00.