CFD Online Discussion Forums

CFD Online Discussion Forums (
-   OpenFOAM Pre-Processing (
-   -   A matrix field (

Nathanael3 May 2, 2013 10:02

A matrix field

I would like to simulate a reacting flow. There would be around 40 chemical species. So, I would like to know if it was possible to create a 40x40 matrix as a field, so it can store the chemical species concentrations.
It would save me the creation of 40 volScalarFields.

I had a look to volVectorField, it seems limited to 3x1, and volTensorField, limited to 3x3.


All times are GMT -4. The time now is 22:35.