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

Vector and tensor in lookup dictionary

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   August 27, 2008, 04:07
Default I am ashamed to ask http://w
  #1
Member
 
O R
Join Date: Mar 2009
Posts: 50
Rep Power: 17
arkangel is on a distinguished road
I am ashamed to ask , 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 ?
arkangel is offline   Reply With Quote

Old   December 18, 2008, 05:19
Default try without readScalar(...)
  #2
Senior Member
 
mkraposhin's Avatar
 
Matvey Kraposhin
Join Date: Mar 2009
Location: Moscow, Russian Federation
Posts: 355
Rep Power: 21
mkraposhin is on a distinguished road
try without readScalar(...)
mkraposhin is offline   Reply With Quote

Reply


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
Dictionary maka OpenFOAM Bugs 3 February 18, 2009 10:26
[swak4Foam] FunkySetFields dictionary gschaider OpenFOAM Community Contributions 14 December 3, 2008 21:13
Symbol lookup error in 14 that was not present in 13 adona058 OpenFOAM Bugs 1 July 25, 2007 16:04
[OpenFOAM] Paraview symbol lookup error dewald ParaView 3 December 14, 2005 02:36
calculatin dot product between a tensor and vector Greg CFX 0 November 20, 2003 09:56


All times are GMT -4. The time now is 06:24.