|
[Sponsors] |
August 23, 2013, 12:38 |
Matrix in OpenFoam
|
#21 |
Member
Hassan
Join Date: Oct 2012
Location: Iran
Posts: 63
Rep Power: 14 |
Hello Mr. Bruno
According to the reference that it's address link is below, in page 53; http://www.diva-portal.org/smash/get...T01.pdf I can,t undrestand that what is the placeholder matrix in openFoam? and how get this equations: u(0)=[2,0] u(1)=[3,1] l(0)=[0,2] l(1)=[1,3] UpperAddr=(2,3) LowerAddr=(0,1) If it is possible for you, please explain a little about this concept. Best regards, Hassan |
|
August 24, 2013, 20:14 |
|
#22 |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,981
Blog Entries: 45
Rep Power: 128 |
Hi Hassan,
Sorry, but this is beyond my experience level. My suggestion is that you'll have to search for more information on this topic, possibly among the reference thesis made around OpenFOAM and the OpenFOAM Programmers Guide: http://foam.sourceforge.net/docs/Gui...mmersGuide.pdf Good luck! Best regards, Bruno
__________________
|
|
August 25, 2013, 02:13 |
|
#23 |
Member
Hassan
Join Date: Oct 2012
Location: Iran
Posts: 63
Rep Power: 14 |
thank you Mr. Bruno
|
|
August 26, 2013, 04:12 |
Ueqn
|
#24 |
Member
Hassan
Join Date: Oct 2012
Location: Iran
Posts: 63
Rep Power: 14 |
Hi,
In the icoFoam solver, where is the top level of Ueqn where Navier-stoke equation carries out? best regards, Hassan |
|
August 26, 2013, 18:12 |
|
#25 |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,981
Blog Entries: 45
Rep Power: 128 |
Hi Hassan,
The best I can do on this question is to point you to this wiki page: http://openfoamwiki.net/index.php/IcoFoam - it basically explains how the icoFoam solver works. Best regards, Bruno
__________________
|
|
September 9, 2013, 15:25 |
|
#26 |
Member
Hassan
Join Date: Oct 2012
Location: Iran
Posts: 63
Rep Power: 14 |
Hi friends,
I can't understand the PCG linear solver how work in the icoFoam solver? In other words, which part of the icoFoam.C related to the PCG linear solver and use it? please show me. Regards, Hassan |
|
September 9, 2013, 15:38 |
|
#27 |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,981
Blog Entries: 45
Rep Power: 128 |
Hi Hassan,
The PCG solver is not available directly to icoFoam. It's used very deep into the solve() methods and equation solving algorithms. Some more reading material:
Bruno
__________________
|
|
September 9, 2013, 16:06 |
|
#28 |
Member
Hassan
Join Date: Oct 2012
Location: Iran
Posts: 63
Rep Power: 14 |
Thanks.
Regards, Hassan. Last edited by luckycfd; September 20, 2013 at 15:08. |
|
October 10, 2013, 14:34 |
|
#29 |
Member
Hassan
Join Date: Oct 2012
Location: Iran
Posts: 63
Rep Power: 14 |
Dear Foamers,
How can I extract the linear system (AX=B) from the cavity case in tutorials using OpenFOAM? Regards, Hassan |
|
December 9, 2013, 02:29 |
extract the linear system
|
#30 |
Member
Hassan
Join Date: Oct 2012
Location: Iran
Posts: 63
Rep Power: 14 |
Hi dear Bruno,
Could I use the PCG linear solver for my linear system (Ax=b) separately? In the other words, I want to send two input files A and b, then get the x from this solver? yes or no please? regards, Hassan |
|
December 28, 2013, 15:22 |
|
#31 |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,981
Blog Entries: 45
Rep Power: 128 |
Hi Hassan,
I'm sorry to say that I don't know the answer. In theory, it should be possible. AFAIK, do keep in mind that PCG will not be able to give you an exact solution. At most, it's able to give you a partial/possible near solution, but not an exact one: http://www.cfd-online.com/Wiki/Conju...adient_methods If I had to start investigating into this, I would have a look into the source code experiments that try to use one or more GPUs to help solve simulations faster, such as:
Best regards, Bruno
__________________
|
|
January 15, 2014, 08:42 |
|
#32 | |
New Member
Meher
Join Date: Jan 2014
Posts: 13
Rep Power: 12 |
Quote:
I am also working on the same problem of solving sparse linear matrix (AX=B) using PCG solver. Did you find any solution ? Any useful inputs from your side apart from what is available here? Thanks, Meher. |
||
January 24, 2014, 14:28 |
|
#33 |
Member
Hassan
Join Date: Oct 2012
Location: Iran
Posts: 63
Rep Power: 14 |
Hi Meher,
thanks for your attention, but no. |
|
Tags |
compile, linear solver, openfoam |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Fatal overflow in linear solver (RSM) | Luis | CFX | 12 | October 16, 2019 18:36 |
How to avoid checkerboard? | dohnie | OpenFOAM Programming & Development | 7 | January 26, 2015 04:12 |
ERROR #004100018; Fatal overflow in linear solver | Attila | CFX | 1 | April 13, 2012 23:22 |
ParaView Compilation | jakaranda | OpenFOAM Installation | 3 | October 27, 2008 12:46 |
free C code for large sparse matrix linear solver | ztdep | Main CFD Forum | 7 | May 24, 2007 15:14 |