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

Any idea on this runtime error

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   February 4, 2009, 08:07
Default You can't construct a fvMatrix
  #1
Assistant Moderator
 
Bernhard Gschaider
Join Date: Mar 2009
Posts: 4,225
Rep Power: 51
gschaider will become famous soon enoughgschaider will become famous soon enough
You can't construct a fvMatrix for two fields. Probably you wanted to write fvc::laplacian(k).

Bernhard
__________________
Note: I don't use "Friend"-feature on this forum out of principle. Ah. And by the way: I'm not on Facebook either. So don't be offended if I don't accept your invitation/friend request
gschaider is offline   Reply With Quote

Old   February 4, 2009, 08:25
Default hi Bernhard, thx for the sugg
  #2
New Member
 
jiliang qiu
Join Date: Mar 2009
Posts: 3
Rep Power: 17
hqiu is on a distinguished road
hi Bernhard,
thx for the suggestion
but I am not quite following you. It's true that I used fvc::laplacian(k) in this code, but what does it have to do with 'construct a fvMatrix for two fields'?
hqiu is offline   Reply With Quote

Old   February 4, 2009, 09:22
Default you are right. if I comment ou
  #3
New Member
 
jiliang qiu
Join Date: Mar 2009
Posts: 3
Rep Power: 17
hqiu is on a distinguished road
you are right. if I comment out fvc::laplacian(k), there is no error any more, but still no idea why it's like this

actually I need fvc::laplacian(k), how can I handle this? any suggestion?
hqiu is offline   Reply With Quote

Old   February 4, 2009, 09:42
Default got it http://www.cfd-online.c
  #4
New Member
 
jiliang qiu
Join Date: Mar 2009
Posts: 3
Rep Power: 17
hqiu is on a distinguished road
got it thx
hqiu 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
CFX Runtime Priority Karsten CFX 0 April 26, 2006 05:33
FORTRAN Runtime Error bv Siemens 2 September 16, 2005 08:43
FORTRAN runtime error, Please help Harendra Siemens 3 August 23, 2005 04:49
fortran runtime error while calculating Anna (aka new-user) Siemens 2 December 2, 2004 12:35


All times are GMT -4. The time now is 20:46.