- **OpenFOAM Programming & Development**
(*https://www.cfd-online.com/Forums/openfoam-programming-development/*)

- - **How to extract Differential Equations Matrix Coeff**
(*https://www.cfd-online.com/Forums/openfoam-programming-development/104108-how-extract-differential-equations-matrix-coeff.html*)

How to extract Differential Equations Matrix CoeffHello Foamers!
I'm pretty new in OpenFoam world, but not in CFD. I've spent 3-4 months working with OP so I have the generals although my field are mathematics, not aerodynamics. I'm working on differential equations systems acceleration using hybrid methods (CPU-GPU) for my thesis. My question is: How can I get an output of OP with the coefficients matrix (the matrix which OpenFoam solves later)?Thank you. PD: - I will publish the results and the source under GNU license. - Sorry about my english |

Did you look here?
src » finiteVolume » fvMatrices » fvMatrix There are a lot of options for output I think. |

Thanks for your help.
I'm still trying to find the way. This link helped me, so perhaps it could be useful for someone. :D http://188.40.164.115/wordpress/?p=39#comment-44 |

Samuel, if you want to extract these values at debugging time and many other debug hacks you have gdbOF
http://openfoamwiki.net/index.php/Contrib_gdbOF Regards |

Coeff. Matrix. It's correct?Hello again!
I've been working with other stuff for some time so I've come back with OpenFOAM. I've write out the matrix coefficients in a file for the cavity (2D) tutorial solved with icoFoam. http://farm9.staticflickr.com/8191/8...4486b119af.jpg Note that coeff. [1][1] is on the left bottomMy question is, it is correct the addressing? Are there additional terms out of diagonals? (Wiki' figure is different from mine but I'm not sure if that would be extendible for 2D cases or only for 3D ones... :confused:)http://farm9.staticflickr.com/8464/8...260f5fef55.jpg I'm reading some post of addressing... Thank you in advance. |

All times are GMT -4. The time now is 07:57. |