CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Programming & Development

Dimensions of det() is wrong

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   February 6, 2014, 08:22
Default Dimensions of det() is wrong
  #1
New Member
 
Balajee
Join Date: Dec 2013
Posts: 13
Rep Power: 12
bala_gk1988 is on a distinguished road
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
bala_gk1988 is offline   Reply With Quote

Reply

Tags
dimensions, error, openfoam


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
ICEM to Fluent (2D Geometry): File has wrong dimensions? mullzer FLUENT 2 December 24, 2021 01:02
udf error srihari FLUENT 1 October 31, 2016 14:18
read 2d mesh from icem to fluent, error: file has wrong dimensions. yuhehuan FLUENT 4 December 28, 2012 21:41
CrankNicholson returns wrong dimensions and sound speed when mesh is moving lillberg OpenFOAM Bugs 6 May 4, 2009 17:53
wrong dimensions when reading mesh file stella FLUENT 3 October 12, 2005 12:30


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