volVolumeField from volSurfaceField
Greetings !
To make a volVolumeField consisting of 3 volScalarField i tried this code? but it doesn't work. Code:
volTensorField gradq = fvc::grad(q); The main goal is to make a vector (dq/dx , dq/dy , dq/dz), and I can't think how to do it without extracting diagonal elements from grad(q) tensor. Thanks for helping, best regards. |
All times are GMT -4. The time now is 00:51. |