CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Running, Solving & CFD

solving a set of coupled equation in foam

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   September 15, 2014, 07:05
Default solving a set of coupled equation in foam
  #1
Member
 
Peng Liang
Join Date: Mar 2014
Posts: 60
Rep Power: 12
tjliang is on a distinguished road
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++?
tjliang is offline   Reply With Quote

Old   September 15, 2014, 12:30
Default
  #2
Senior Member
 
Olivier
Join Date: Jun 2009
Location: France, grenoble
Posts: 272
Rep Power: 18
olivierG is on a distinguished road
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
olivierG is offline   Reply With Quote

Old   September 15, 2014, 16:05
Default
  #3
Member
 
Peng Liang
Join Date: Mar 2014
Posts: 60
Rep Power: 12
tjliang is on a distinguished road
Quote:
Originally Posted by olivierG View Post
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
Thank you oliver, your answer has brought great hope for me. I would be the most greatful of you if you could offer some works of what you have done about that as a tutorial for me.I am really confused of this problem and struggling for it.
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
tjliang is offline   Reply With Quote

Old   September 16, 2014, 06:43
Default
  #4
Member
 
Peng Liang
Join Date: Mar 2014
Posts: 60
Rep Power: 12
tjliang is on a distinguished road
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.
tjliang is offline   Reply With Quote

Old   September 19, 2014, 05:04
Default
  #5
Senior Member
 
Olivier
Join Date: Jun 2009
Location: France, grenoble
Posts: 272
Rep Power: 18
olivierG is on a distinguished road
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
olivierG is offline   Reply With Quote

Old   November 10, 2014, 08:44
Default
  #6
Member
 
Peng Liang
Join Date: Mar 2014
Posts: 60
Rep Power: 12
tjliang is on a distinguished road
Quote:
Originally Posted by olivierG View Post
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
Hello Oliver,

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.
tjliang is offline   Reply With Quote

Reply


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 Off
Pingbacks are On
Refbacks are On


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


All times are GMT -4. The time now is 22:21.