CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > SU2

TNE2-Solver output

Register Blogs Community New Posts Updated Threads Search

Like Tree1Likes
  • 1 Post By saitej09

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   September 4, 2014, 04:42
Default TNE2-Solver output
  #1
New Member
 
Saiteja
Join Date: Aug 2014
Posts: 13
Rep Power: 12
saitej09 is on a distinguished road
The tne2 euler and NS solver output doesnot have variable like mass fraction of the different species. how to add these to the output list ? Also, if some one can confirm what the variables conservative 1-10 actually denote/mean, it will be very helpful.
Vino likes this.
saitej09 is offline   Reply With Quote

Old   September 5, 2014, 05:40
Default
  #2
New Member
 
Facundo
Join Date: Jun 2012
Posts: 22
Rep Power: 14
akun646 is on a distinguished road
Quote:
Originally Posted by saitej09 View Post
The tne2 euler and NS solver output doesnot have variable like mass fraction of the different species. how to add these to the output list ? Also, if some one can confirm what the variables conservative 1-10 actually denote/mean, it will be very helpful.
Hi there!

I was looking at the source files, but I have to say that I don't really have experiences in programing so just trying to give my opinions and hoping someone with more experiences to give their suggestions.

I tried to run the tutorial case for TNE2 and had Conservative_1 to 7. This is because in the tutorial the N2 model was used so there are two species. Therefore, in my opinions, after having a look in the source files:

Conservative_1: density

Conservative_2: density*Mass Fraction Species 1
Conservative_3: density*Mass Fraction Species 2
(from Conservative_2 to Conservative_2+n should depend on your number of species)

Conservative_4: density*VelocityX
Conservative_5: density*VelocityY
(depending on the dimension of the problem)

and in the case of the tutorial, the last two conservative parameters should be:
Conservative_6: density*Mixture total energy
Consevative_7: density*Vibration-electronic energy

These are my "feelings" about what the solution variables should be, so hoping some else with more experiences can give the right answer!!

Cheers!!

Facundo
akun646 is offline   Reply With Quote

Old   September 9, 2014, 14:07
Default
  #3
Member
 
Sean R. Copeland
Join Date: Jan 2013
Posts: 40
Rep Power: 13
copeland is on a distinguished road
Hello Saitej and Facundo,

The TNE2 outputs are as follows:

Conservative_1 - Density of species '1'
...
Conservative_nSp - Density of species 'nSpecies'
Conservative_nSp+1 - X-momentum
Conservative_nSp+2 - Y-momentum
(Conservative_nSp+nDim) - Z-momentum
Conservative_nSp+nDim+1 - Total energy per unit volume
Conservative_nSp+nDim+2 - Vib-el. energy per unit volume

So, for example, if you are running a 3D simulation with the N2 gas model, you should have 2+3+2=7 conserved variables that follow the mapping above. Similarly, if you are running the 5 species air gas model in 2D, you should have 5+2+2 = 9 conserved variables. To acquire the mass fractions, you must do a post-processing step to locally sum all the densities to get the mixture density, then divide the species density by the mixture density.

There are also primitive variables (Pressure, Temperature, etc.) that are printed to the output file for convenience, and they should be labeled clearly.



Hope that helps,
Sean
copeland is offline   Reply With Quote

Old   September 11, 2014, 09:23
Thumbs up
  #4
New Member
 
Facundo
Join Date: Jun 2012
Posts: 22
Rep Power: 14
akun646 is on a distinguished road
Quote:
Originally Posted by copeland View Post
Hello Saitej and Facundo,

The TNE2 outputs are as follows:

Conservative_1 - Density of species '1'
...
Conservative_nSp - Density of species 'nSpecies'
Conservative_nSp+1 - X-momentum
Conservative_nSp+2 - Y-momentum
(Conservative_nSp+nDim) - Z-momentum
Conservative_nSp+nDim+1 - Total energy per unit volume
Conservative_nSp+nDim+2 - Vib-el. energy per unit volume

So, for example, if you are running a 3D simulation with the N2 gas model, you should have 2+3+2=7 conserved variables that follow the mapping above. Similarly, if you are running the 5 species air gas model in 2D, you should have 5+2+2 = 9 conserved variables. To acquire the mass fractions, you must do a post-processing step to locally sum all the densities to get the mixture density, then divide the species density by the mixture density.

There are also primitive variables (Pressure, Temperature, etc.) that are printed to the output file for convenience, and they should be labeled clearly.



Hope that helps,
Sean
Hi Sean,

thank you very much for the explanation, it is really clear!!!

Facundo
akun646 is offline   Reply With Quote

Old   January 28, 2015, 01:23
Default
  #5
New Member
 
Sachchit Vekaria
Join Date: Dec 2013
Posts: 18
Rep Power: 13
Sachchit is on a distinguished road
Quote:
Originally Posted by copeland View Post
Hello Saitej and Facundo,

The TNE2 outputs are as follows:

Conservative_1 - Density of species '1'
...
Conservative_nSp - Density of species 'nSpecies'
Conservative_nSp+1 - X-momentum
Conservative_nSp+2 - Y-momentum
(Conservative_nSp+nDim) - Z-momentum
Conservative_nSp+nDim+1 - Total energy per unit volume
Conservative_nSp+nDim+2 - Vib-el. energy per unit volume

So, for example, if you are running a 3D simulation with the N2 gas model, you should have 2+3+2=7 conserved variables that follow the mapping above. Similarly, if you are running the 5 species air gas model in 2D, you should have 5+2+2 = 9 conserved variables. To acquire the mass fractions, you must do a post-processing step to locally sum all the densities to get the mixture density, then divide the species density by the mixture density.

There are also primitive variables (Pressure, Temperature, etc.) that are printed to the output file for convenience, and they should be labeled clearly.



Hope that helps,
Sean
Hi,

I have been reading the paper "Adjoint-Based Goal-Oriented Mesh Adaptation for Nonequilibrium Hypersonic Flows" and also the "Multidimensional Simulation of Plasma in Argon through a Shock in Hypersonic Flow". In both the paper momentum equation and energy (/vibrational) is solved for each specie. I have a doubt that by solving those equations we should get momentum for each specie and same goes for Energy (/vibrational), mach number and so on.

I am new to plasma flows. So pardon me if this question is silly. And if there is some way to calculate all the mentioned properties from those given conservative variables kindly let me know.

Thanks in Advance,
Sachchit
Sachchit is offline   Reply With Quote

Reply

Tags
output data, tne2 euler, tne2 navierstokes


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
ICEM export mesh Youen ANSYS Meshing & Geometry 34 April 23, 2017 13:15
Creating New Solver: For particle-laden compressible jets sankarv OpenFOAM Running, Solving & CFD 17 December 3, 2014 20:41
OpenCL linear solver for OpenFoam 1.7 (alpha) will come out very soon qinmaple OpenFOAM Announcements from Other Sources 4 August 10, 2012 12:00
Working directory via command line Luiz CFX 4 March 6, 2011 21:02
why the solver reject it? Anyone with experience? bearcat CFX 6 April 28, 2008 15:08


All times are GMT -4. The time now is 15:54.