|
[Sponsors] |
How to extract Ax=B from solver for debugging |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
January 29, 2012, 01:04 |
How to extract Ax=B from solver for debugging
|
#1 |
New Member
Join Date: Jan 2012
Posts: 4
Rep Power: 14 |
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, 07:15 |
|
#2 |
Senior Member
Paulo Vatavuk
Join Date: Mar 2009
Location: Campinas, Brasil
Posts: 196
Rep Power: 17 |
Hi sontac,
You can find some information in this page of the wiki: http://openfoamwiki.net/index.php/Op...x_coefficients I hope it helps, Paulo |
|
January 30, 2012, 03:48 |
|
#3 |
Senior Member
|
Hi,
maybe pythonflu is a valuable tool for you see this post why it might help you http://www.cfd-online.com/Forums/ope...tml#post302921 |
|
January 30, 2012, 08:32 |
|
#4 |
Senior Member
Santiago Marquez Damian
Join Date: Aug 2009
Location: Santa Fe, Santa Fe, Argentina
Posts: 452
Rep Power: 23 |
Hi Sontac, I think the perfect tool for you is gdbOF
http://openfoamwiki.net/index.php/Contrib_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 pfvmatrixfull which dumps the matrix to a file Enjoy it!
__________________
Santiago MÁRQUEZ DAMIÁN, Ph.D. Research Scientist 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. http://www.cimec.org.ar |
|
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
A New Solver for Supersonic Combustion | nakul | OpenFOAM Announcements from Other Sources | 19 | February 27, 2024 09:44 |
[Other] A New Solver for Supersonic Combustion | nakul | OpenFOAM Community Contributions | 20 | February 22, 2019 09:08 |
Working directory via command line | Luiz | CFX | 4 | March 6, 2011 20: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 |