Basic tensor operations
Dear,
I would like to define a tensor like this: Code:
tensor D(w*Dm*I + ((alphaL-alphaT))*(U*U)/mag(U) + mag(U)*alphaT*I) - w, Dm, alphaL, alphaT are volScalarField objects, - I, tensor I (1,0,0,0,1,0,0,0,1). Then I would like to reuse D for example in expression like: Code:
D*grad(C) Can you help me please? Best regards, Bou |
All times are GMT -4. The time now is 18:29. |