|
[Sponsors] |
September 15, 2014, 07:05 |
solving a set of coupled equation in foam
|
#1 |
Member
Peng Liang
Join Date: Mar 2014
Posts: 60
Rep Power: 12 |
hello everyone,
i am now trying to solve 4 highly coupled equations in chtmultiregionfoam with 4 parameters(ne for electron number density, Te for electron temperature, Th for ion temperature and E for electric field). Those are all one dimensional and hopefully I can ,after calculation, to get the distribution of the 4 parameters along x axis. The 4 equations are highly coupled and need to be solved simultaneously. Has anyone good ideas about how to implement it into cht-solver using C++? |
|
September 15, 2014, 12:30 |
|
#2 |
Senior Member
Olivier
Join Date: Jun 2009
Location: France, grenoble
Posts: 272
Rep Power: 18 |
hello,
I have already done that, but with 1.6-ext version and coupled matrix. So take a look at the now foam extend 3.1, which have block coupled solver. With cht solver, you will have weak coupling, so very (very) small time step. Regards, olivier |
|
September 15, 2014, 16:05 |
|
#3 | |
Member
Peng Liang
Join Date: Mar 2014
Posts: 60
Rep Power: 12 |
Quote:
If you please , any useful hints or tutorials of yourself available please kindly sent to my email: liangpengtj@hotmail.com. Thanks a lot and best wishes! Your Peng |
||
September 16, 2014, 06:43 |
|
#4 |
Member
Peng Liang
Join Date: Mar 2014
Posts: 60
Rep Power: 12 |
By the way , i am still not sure if in openfoam, two temperatures (one for electron and another foe ions) can be at the same time defined. Are there any comparable models with that of mine? I wish someone could offer me help.Thanks a lot.
|
|
September 19, 2014, 05:04 |
|
#5 |
Senior Member
Olivier
Join Date: Jun 2009
Location: France, grenoble
Posts: 272
Rep Power: 18 |
Hello,
You could perfectly have 2 or 3 species temperature, but you need codding here. I can"t give you my plasma code since it is not free (job work). regards, olivier |
|
November 10, 2014, 08:44 |
|
#6 | |
Member
Peng Liang
Join Date: Mar 2014
Posts: 60
Rep Power: 12 |
Quote:
I have done the coding with two different temperature equation and also a set of equations which is also coupled with Te and Th, but every time I change the sequence of my equations I got quite different results( I have totally 12 equations, and I solve them not at the same time but one after another). So I want to ask if I use the coupled Matrix method in my ChtmultiregionFoam , will I get the results a little bit better, I mean my result will not depend on the sequence of the equation system. Can you offer me some suggestions? Thank you. |
||
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
buoyantSimpleFoam and watertank | Tobi | OpenFOAM Running, Solving & CFD | 100 | December 18, 2022 09:15 |
Maximum number of iterations exceeded chtmultiregionsimpleFoam | Moncef | OpenFOAM Running, Solving & CFD | 28 | July 13, 2020 15:26 |
conjugate heat transfer in OpenFOAM | skuznet | OpenFOAM Running, Solving & CFD | 99 | March 16, 2017 06:07 |
High Courant Number @ icoFoam | Artex85 | OpenFOAM Running, Solving & CFD | 11 | February 16, 2017 14:40 |
IcoFoam parallel woes | msrinath80 | OpenFOAM Running, Solving & CFD | 9 | July 22, 2007 03:58 |