CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   OpenFOAM Running, Solving & CFD (https://www.cfd-online.com/Forums/openfoam-solving/)
-   -   Vector and tensor in lookup dictionary (https://www.cfd-online.com/Forums/openfoam-solving/58191-vector-tensor-lookup-dictionary.html)

arkangel August 27, 2008 04:07

I am ashamed to ask http://w
 
I am ashamed to ask http://www.cfd-online.com/OpenFOAM_D...part/happy.gif, this seems to be trivial

I want to read a dimensioned vector or tensor, It is possible to do it like with an scalar f. example:

dimensioned <tensor> Gamma(
openedDictionary.lookup("Gamma")
);

If so how is it syntax in dictionary ?

mkraposhin December 18, 2008 06:19

try without readScalar(...)
 
try without readScalar(...)


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