CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > OpenFOAM Programming & Development

How to extract Differential Equations Matrix Coeff

Register Blogs Members List Search Today's Posts Mark Forums Read

Reply
 
LinkBack Thread Tools Display Modes
Old   July 3, 2012, 07:13
Post How to extract Differential Equations Matrix Coeff
  #1
New Member
 
Samuel Rodriguez Bernabeu
Join Date: Mar 2012
Location: Leon, Spain
Posts: 3
Rep Power: 4
srodrb is on a distinguished road
Hello 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
srodrb is offline   Reply With Quote

Old   July 6, 2012, 07:46
Default
  #2
Senior Member
 
Steven van Haren
Join Date: Aug 2010
Location: The Netherlands
Posts: 149
Rep Power: 5
stevenvanharen is on a distinguished road
Did you look here?

src » finiteVolume » fvMatrices » fvMatrix

There are a lot of options for output I think.
stevenvanharen is offline   Reply With Quote

Old   July 31, 2012, 06:22
Default
  #3
New Member
 
Samuel Rodriguez Bernabeu
Join Date: Mar 2012
Location: Leon, Spain
Posts: 3
Rep Power: 4
srodrb is on a distinguished road
Thanks for your help.

I'm still trying to find the way. This link helped me, so perhaps it could be useful for someone.

http://188.40.164.115/wordpress/?p=39#comment-44
srodrb is offline   Reply With Quote

Old   August 1, 2012, 15:27
Default
  #4
Senior Member
 
santiagomarquezd's Avatar
 
Santiago Marquez Damian
Join Date: Aug 2009
Location: Santa Fe, Santa Fe, Argentina
Posts: 404
Rep Power: 13
santiagomarquezd will become famous soon enough
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
__________________
Santiago MÁRQUEZ DAMIÁN, Ph.D.
Post-doctoral Fellow
Research Center for Computational Mechanics (CIMEC) - CONICET/FICH-UNL
T.E.: 54-342-4511594 Ext. 1005
Güemes 3450 - (3000) Santa Fe
Santa Fe - Argentina
http://www.cimec.org.ar
santiagomarquezd is offline   Reply With Quote

Old   October 30, 2012, 04:14
Default Coeff. Matrix. It's correct?
  #5
New Member
 
Samuel Rodriguez Bernabeu
Join Date: Mar 2012
Location: Leon, Spain
Posts: 3
Rep Power: 4
srodrb is on a distinguished road
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.



Note that coeff. [1][1] is on the left bottom

My 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... )




I'm reading some post of addressing... Thank you in advance.
srodrb is offline   Reply With Quote

Reply

Tags
matrix, openfoam

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Force can not converge colopolo CFX 13 October 4, 2011 22:03
differential equations cosine CFX 1 May 31, 2010 07:22
OpenFOAM version 1.6 details lakeat OpenFOAM Running, Solving & CFD 42 August 26, 2009 21:47
Error: Could'nt allocate fine level coeff matrix Khan FLUENT 1 July 7, 2006 01:44
free " ordinary differential equations solver" ztdep Main CFD Forum 2 March 21, 2006 01:58


All times are GMT -4. The time now is 05:52.