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

solving a set of coupled equation in foam

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

Reply
 
LinkBack Thread Tools Display Modes
Old   September 15, 2014, 06:05
Default solving a set of coupled equation in foam
  #1
New Member
 
Peng Liang
Join Date: Mar 2014
Posts: 23
Rep Power: 3
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, 11:30
Default
  #2
Senior Member
 
Olivier
Join Date: Jun 2009
Location: France, grenoble
Posts: 234
Rep Power: 9
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, 15:05
Default
  #3
New Member
 
Peng Liang
Join Date: Mar 2014
Posts: 23
Rep Power: 3
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, 05:43
Default
  #4
New Member
 
Peng Liang
Join Date: Mar 2014
Posts: 23
Rep Power: 3
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, 04:04
Default
  #5
Senior Member
 
Olivier
Join Date: Jun 2009
Location: France, grenoble
Posts: 234
Rep Power: 9
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
New Member
 
Peng Liang
Join Date: Mar 2014
Posts: 23
Rep Power: 3
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

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
conjugate heat transfer in OpenFOAM skuznet OpenFOAM Running, Solving & CFD 62 January 26, 2015 02:45
buoyantSimpleFoam and watertank Tobi OpenFOAM Running, Solving & CFD 48 December 26, 2014 09:49
Maximum number of iterations exceeded chtmultiregionsimpleFoam Moncef OpenFOAM Running, Solving & CFD 5 May 19, 2014 23:50
High Courant Number @ icoFoam Artex85 OpenFOAM Running, Solving & CFD 9 January 3, 2012 09:06
IcoFoam parallel woes msrinath80 OpenFOAM Running, Solving & CFD 9 July 22, 2007 02:58


All times are GMT -4. The time now is 02:37.