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

How to get 'B' matrix scalaField from A[x] = B?

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   April 14, 2014, 11:21
Default How to get 'B' matrix scalaField from A[x] = B?
  #1
Member
 
Manjunath Reddy
Join Date: Jun 2013
Posts: 47
Rep Power: 12
manju819 is on a distinguished road
Hiiiii,


I've a fvScalarMatrix from which i need 'B' matrix how to extract that from the equation?

fvScalarMatrix TEqn
(
fvm::ddt(T) - fvm::laplacian(DT, T)
);

I used TEqn.source();

It is giving zeros. Please help me thank you

Regards
Manjunath
manju819 is offline   Reply With Quote

Old   April 14, 2014, 17:16
Default
  #2
ngj
Senior Member
 
Niels Gjoel Jacobsen
Join Date: Mar 2009
Location: Copenhagen, Denmark
Posts: 1,900
Rep Power: 37
ngj will become famous soon enoughngj will become famous soon enough
Well, it depends on your boundary and initial conditions.

If they for instance are zeroGradient with 0 internal field, then your source should also be a bunch of zeros.

Kind regards,

Niels
__________________
Please note that I do not use the Friend-feature, so do not be offended, if I do not accept a request.
ngj is offline   Reply With Quote

Old   April 15, 2014, 00:03
Default Hii NJG
  #3
Member
 
Manjunath Reddy
Join Date: Jun 2013
Posts: 47
Rep Power: 12
manju819 is on a distinguished road
It was the problem thank you very much

Regards
Manjunath
manju819 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
more equation in block matrix system yhaomin2007 OpenFOAM 1 September 6, 2012 08:33
Force can not converge colopolo CFX 13 October 4, 2011 22:03
How to find the product of A+ matrix and A- matrix arjun shanker Main CFD Forum 0 November 12, 2010 22:12
OpenFOAM version 1.6 details lakeat OpenFOAM Running, Solving & CFD 42 August 26, 2009 21:47
Elemtary matrix to CSR global matrix xueying Main CFD Forum 2 September 24, 2002 09:44


All times are GMT -4. The time now is 21:31.