Possibility to transport a Matrix?
Dear Friends,
I want to introduct a new 3x3 elements variable Matrix into pimpleFoam or pisoFoam by transport equation. (noncoupled) the basis equation is (in reality it is more complex): ddt(S) +(U.grad)S =f1(grad(U).S+S.grad(U)) in the equation, S is the 3x3 element matrix. Is it possible? Thanks! 
Hello, yuhai.
I haven't used it yet, but have you tried volTensorField or volSymmTensorField? Typedef, given in src » finiteVolume » fields » volFields » volFieldsFwd.H: typedef GeometricField<symmTensor, fvPatchField, volMesh> volSymmTensorField; typedef GeometricField<tensor, fvPatchField, volMesh> volTensorField; And detailed description of available operations with tensors and symmTensors is given in ProgrammersGuide at p. 15 and below (you can easily google and download it). 
Quote:

All times are GMT 4. The time now is 23:27. 