|
[Sponsors] |
How to write the Coefficient Matrix in a file |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
October 8, 2014, 12:09 |
How to write the Coefficient Matrix in a file
|
#1 |
New Member
Andrea
Join Date: Sep 2014
Posts: 17
Rep Power: 11 |
Hi Foamers,
i'm pretty new to OpenFoam and i need to extract the Coefficient Matrix from icoFoam and write it in a file. If i have understood how icoFoam works the Coefficient Matrix is UEqn. So is there a command to write it in a file? Regards Andrea |
|
October 9, 2014, 10:28 |
How to write the Coefficient Matrix in a file
|
#2 |
Member
Manjunath Reddy
Join Date: Jun 2013
Posts: 47
Rep Power: 12 |
Hiiiii Andrea,
You can print coefficient matrix on the terminal while solving the U equation using Info<< UEqn.upper() <<endl; , Info<< UEqn.diag() << endl;, Info<< UEqn.lower() << endl; You can get more information on lower and diag and upper triangular matrices in here http://openfoamwiki.net/index.php/Op...es_in_OpenFOAM |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
[Other] OpenFOAM Installation for navalFoam | sachinlb | OpenFOAM Community Contributions | 22 | July 28, 2017 05:26 |
friction forces icoFoam | ofslcm | OpenFOAM | 3 | April 7, 2012 10:57 |
2.0.x on Mac OSX | niklas | OpenFOAM Installation | 74 | March 28, 2012 16:46 |
pisoFoam compiling error with OF 1.7.1 on MAC OSX | Greg Givogue | OpenFOAM Programming & Development | 3 | March 4, 2011 17:18 |
error while compiling the USER Sub routine | CFD user | CFX | 3 | November 25, 2002 15:16 |