How to extract Ax=B from solver for debugging
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!!!
You can find some information in this page of the wiki:
I hope it helps,
maybe pythonflu is a valuable tool for you
see this post why it might help you
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
|All times are GMT -4. The time now is 05:22.|