|April 14, 2014, 11:21||
How to get 'B' matrix scalaField from A[x] = B?
Join Date: Jun 2013
Posts: 47Rep Power: 5
I've a fvScalarMatrix from which i need 'B' matrix how to extract that from the equation?
fvm::ddt(T) - fvm::laplacian(DT, T)
I used TEqn.source();
It is giving zeros. Please help me thank you
|April 14, 2014, 17:16||
Niels Gjoel Jacobsen
Join Date: Mar 2009
Location: Deltares, Delft, The Netherlands
Posts: 1,713Rep Power: 27
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.
Please note that I do not use the Friend-feature, so do not be offended, if I do not accept a request.
|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 23: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|