What are the variables "conservative_"?
Hi,
I am using SU2 V2.0.7 1.When the result of turbulent flow over flat plate is opened in ParaView, I see that there are variables "conservative_1","conservative_2"...."conservative _5". What are these variables? 2.Where is velocity? This used to be there with SU2 V2.0.0 3.Which one is density? Sreekanth 
Hi Sreekanth,
The conservative variables for the governing flow equations (Euler, NS, RANS) are the mass, momentum, and energy, i.e. U = ( density, density*velocity, density*energy)^T. Therefore, the density is the first conservative variable, and in order to get the velocity, you should divide the momentum components by the density. In 2D, for example, the xvelocity would then be vel_x = Conservative_2/Conservative_1. Cheers, Tom 
Conservatives
Hi,
Based on the above explanation , I would have 4 conservatives for a 2D problem and 5 for 3D problem. I did a 2D problem in SU2 with Physical_problem = Navier stokes and KIND_TURB_MODEL= SA I get 5 conservative variables . If its a 3D problem, I get 6 conservatives. Which is the extra conservative variable calculated? 
Quote:
The extra conservative variable is eddyviscosity variable in SA turbulent model. Merry Xmas and happy new year. Good Luck 
Thanks
Merry X'mas and Happy new year 
Missing functionabilities?
Hi all,
I would like to continue this thread, if I may, with a question with regard to the conservation variables. Sreekanth mentioned that the velocity parameter has disappeared in version 3.0, while it was there in the second version. I noticed the same, which I found quite a shame. The transition also changed the output parameters of flow.vtk files. With v2.0 flow.vtk files, I was able to visualize the direction of flow or velocity with the usage of glyphs in Paraview. I haven't found a way to achieve the same with v3.0 flow.vtk files. Does anybody know how I can achieve this? Moreover, the v3.0 flow.vtk files also seem to miss the streamline functionability in Paraview. Do I have to convert the flow.vtk files to be able to use this functions? If yes, how can I do this? Thanks in advance! Niels 
Hi,
To get the velocity vector , you have to use the filter 'calculator' in paraview. For 3D, the new variable should be "conservative2"/"conservative1"*iHat+"conservative3"/"conservative1"*jHat + "conservative4"/"conservative1"*kHat. This will give velocity vector (u,v,w) . After that, you can apply streamlines I hope this is what you asked about. Sreekanth 
Quote:

Quote:

Hi,
Also, all these variables are scaled. So to get the actual value of velocity, you must multiply it with the value of reference velocity. 
3D RANS conservatives
I've just run the RANS Onera wing and trying to understand the resultant data. So I understand that the first 4 conservatives are [\rho, \rho u, \rho v, \rho w] and the last two represent energy. What type of energy? Whats the difference? Does turbulence come into it? I wasn't able to find specifics in the documentation.
From FAQ: "For example, in the RANS solver additional turbulent terms are needed" 
Quote:
http://www.cfdonline.com/Wiki/SpalartAllmaras_model http://www.cfdonline.com/Wiki/SST_komega_model 
Hi have also a questions regarding the conservative variables and the residuals (res[0], res[1],...):
I have a 2D, unsteady (compressible), RANS (SA) case where I have a problematic behaviour of res[3]. My res[4] is always zero, so i guess this must be the momentum residual for zdirection. From the SU2FAQ and this previous conversation, i know that: conservative1 = density; (mass conservation) conservative2, conservative3, conservative4 = x,y,zmomentum; (mom. conservation) conservative5 = energy (e. conservation) and the eddy viscosity So the intuitive thought would be: res[0} = density residual ??? res[1}, res[2}, res[3}= x,y,zmomentum residual ??? res[4} = residual of energy conservation ????? resturb[0} = must be eddy visc. But this doesn't make sense to my first conclusion that my residual res[4] , which is always zero must be for zmomentum. And also that i would have a nonzero residual for zmomentum, if res[3] would be the residual for zmomentum. So, my question is: which residual (res[0], res[1],...) corresponds to which quantity? I was not able to find any hint in the web....please help =) 
Quote:
I believe what is going on here is that, probably for code simplicity/efficiency, the four residuals from the 2dimensional problem are output into the first four columns, with the extraneous column left as zero. This means that res[0] is the density, in the twoD case res[12] are the momentum residuals, and res[3] is the energy residual. For the 3D case it would be res[13] for momentum and res[4] for energy. Sorry that this is not clearer  the output code is abstracted to avoid repeated code for different physical problems, and as a consequence includes less problemspecific detail in some parts of the output, including this portion as you note being vague as to which residual is associated with which variable. Thank you for posting, this feedback can help inform future code updates. 
Thank you very much!

All times are GMT 4. The time now is 17:59. 