Dimensions of det() is wrong
This issue is already resolved in http://www.openfoam.org/mantisbt/view.php?id=1017
dimensionedScalar det(const dimensionedTensor& dt) { return dimensionedScalar ( "det("+dt.name()+')', pow(dt.dimensions(),tensor::dim), det(dt.value()) ); } The reporter says dt.dimensions() * tensor::dim will produce correct dimensions. But the * operation between dimension set and dim is not allowed. What should I do |
All times are GMT -4. The time now is 09:01. |