|January 29, 2012, 02:04||
How to extract Ax=B from solver for debugging
Join Date: Jan 2012
Posts: 4Rep Power: 6
I'm current viewing through the source code for icoFOAM. However I'm really interest in the actually matrix A and B in the Ax=B. I'm planning on tweaking the solver a litle and want to see the actual change on the A and B matrix for debugging purpose. I'm a little stuck as writing the A, the x, the B matrix out to a ascii file for analysis..
Any help is appreciated!!!
|January 29, 2012, 08:15||
Join Date: Mar 2009
Location: Campinas, Brasil
Posts: 137Rep Power: 9
You can find some information in this page of the wiki:
I hope it helps,
|January 30, 2012, 09:32||
Santiago Marquez Damian
Join Date: Aug 2009
Location: Santa Fe, Santa Fe, Argentina
Posts: 430Rep Power: 15
Hi Sontac, I think the perfect tool for you is gdbOF
it is a tool attachable to gdb that helps you to extract FOAM data from memory in a transparent way, in your case you have to use the gdbOF tool
which dumps the matrix to a file
Santiago MÁRQUEZ DAMIÁN, Ph.D.
Research Center for Computational Methods (CIMEC) - CONICET/UNL
Tel: 54-342-4511594 Int. 7032
Colectora Ruta Nac. 168 / Paraje El Pozo
(3000) Santa Fe - Argentina.
|Thread||Thread Starter||Forum||Replies||Last Post|
|A New Solver for Supersonic Combustion||nakul||OpenFOAM||6||March 30, 2014 03:00|
|A New Solver for Supersonic Combustion||nakul||OpenFOAM Announcements from Other Sources||18||February 19, 2013 08:48|
|Working directory via command line||Luiz||CFX||4||March 6, 2011 21:02|
|why the solver reject it? Anyone with experience?||bearcat||CFX||6||April 28, 2008 14:08|
|Error during Solver||cfd guy||CFX||4||May 8, 2001 06:04|