|
[Sponsors] |
July 5, 2013, 01:45 |
Developing a solver for OpenFOAM-combustion
|
#1 |
Member
Thamali
Join Date: Jul 2013
Posts: 67
Rep Power: 12 |
Hi all,
I am a amateur to OpenFOAM as well as C++.Gone through the User Guide and Programmers guide.And learnt basics of C++. My next point is to develop a solver related to wood chip combustion. I am not clear about,steps to start compiling.Running OpenFoam in a virtual machine. To start compiling do I have to download a C++ compiler first or I can use text editor directly. Confused,please help. |
|
July 5, 2013, 04:33 |
|
#2 |
Senior Member
Anton Kidess
Join Date: May 2009
Location: Germany
Posts: 1,377
Rep Power: 29 |
Learn how to compile your own solver by following this tutorial: http://openfoamwiki.net/index.php/Ho...ure_to_icoFoam. Don't just read it, but actually work through it.
__________________
*On twitter @akidTwit *Spend as much time formulating your questions as you expect people to spend on their answer. |
|
July 8, 2013, 07:00 |
|
#3 |
Member
Thamali
Join Date: Jul 2013
Posts: 67
Rep Power: 12 |
Dear Kidess,
Thanks a lot.i went through the link.It solved many problems I had on how to start working in OpenFoam. Last edited by Thamali; July 10, 2013 at 00:00. |
|
July 10, 2013, 00:01 |
icoFoam.C
|
#4 |
Member
Thamali
Join Date: Jul 2013
Posts: 67
Rep Power: 12 |
Now I am trying to going in to icoFoam directory and understand the icoFoam.C.
I could not get what is this UEqn.A() and UEqn.H(). Can anybody help me please? |
|
July 10, 2013, 02:43 |
|
#5 |
Senior Member
Anton Kidess
Join Date: May 2009
Location: Germany
Posts: 1,377
Rep Power: 29 |
Have a look here http://bit.ly/12gLP8x (or right here)
__________________
*On twitter @akidTwit *Spend as much time formulating your questions as you expect people to spend on their answer. |
|
July 10, 2013, 04:50 |
|
#6 |
Member
Thamali
Join Date: Jul 2013
Posts: 67
Rep Power: 12 |
||
July 11, 2013, 00:32 |
.A()
|
#7 |
Member
Thamali
Join Date: Jul 2013
Posts: 67
Rep Power: 12 |
Hi All,
I am trying to understand the .A() member function of fvMatrix<Type> class. checking fvMatrix.C file.(line no 722 onwards) http://foam.sourceforge.net/docs/cpp/a04763_source.html Could someone please explain about this.I know that .A() function converts vector to a scalar.But what is the use of this function.Please try to help. |
|
July 11, 2013, 01:33 |
.A()
|
#8 |
Member
Thamali
Join Date: Jul 2013
Posts: 67
Rep Power: 12 |
wow,got it.
.A() is for central coefficient,although I did not try to understand fvMatrix.C file.Found it from CFD book.That is what we are getting in discretised equation aP. like as follows(will be different according to the system.) aP = aW + aE + aS + aN + aB + aT + ∆F |
|
July 11, 2013, 05:26 |
|
#9 | |
Member
Thamali
Join Date: Jul 2013
Posts: 67
Rep Power: 12 |
Quote:
The above mentioned is related.But,if anyone interested in the matter,please go through "Rhie-Chow" interpolation in openFoam. Thanks. |
||
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
thobois class engineTopoChangerMesh error | Peter_600 | OpenFOAM | 4 | August 2, 2014 09:52 |
combustion problem | mcnair | CFX | 9 | March 22, 2011 14:06 |
Working directory via command line | Luiz | CFX | 4 | March 6, 2011 20:02 |
Using a user-defined solver in OF | ozzythewise | OpenFOAM Running, Solving & CFD | 3 | February 8, 2011 15:28 |
premixed combustion - parallel solver error | Craig | FLUENT | 0 | October 14, 2008 15:07 |