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

- - **Representation of Term**
(*https://www.cfd-online.com/Forums/openfoam-solving/72452-representation-term.html*)

Representation of TermHi Foamers,
I am trying to represent the term tensor & grad(U), being both tensor and grad(U) order 2 tensors. I am considering this term as a source, however I do use neither Sp, Su or SuSp to represent it. However, from a computacional point of view, is not better to discretize it using Sp, Su and SuSp. I tried Sp (tensor & grad(U), tensor), but it gave me a error. How I can represent this term? Regards, António Martins |

Hi titio
if you want to discrete the term in a explicit form, just calculate the value of your expression and add it to your equation. You don't have to use sp, su, susp. The coefficient of is Sp is a dimensionedScalar or volScalarField, however tensor & grad (U) gives a volVectorField.That may be the problem. regards,Junwei |

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