Dear all,
I want to obtain the root-mean-square density of each point of the whole field and write them out like the pressure, density and velocity in .pyfrs. So, is there any way to change the [soln-plugin-writer] to get the root-mean-square density? This root-mean-square density means the square root of the arithmetic mean of the squares of the density values, which is varying with time.
Yours
Wan
Hi Kiny
you can use the time-average plugin ([soln-plugin-tavg]) for that, see the user guide. Have it write the time-average of the density squared, then take the square root as post-processing step in Paraview, for example.
Best
Giorgio
Hi Giorgio,Thank you. It works.
Hi,
I am doing supersonic CFD flows and I want PyFR to output the dynamic viscosity and temperature un the .vtu files like it does with the pressure and density. Is there any way to do this?
Thanks
Not directly without modifying code. But you can just calculate them in e.g. Paraview from the other quantities?
Peter
Professor Peter Vincent MSci ARCS DIC PhD FRAeS
Professor of Computational Fluid Dynamics
Department of Aeronautics
Imperial College London
South Kensington
London
SW7 2AZ
UK
I want to run a simulation of a Mach 4 flow in the intake of this scramjet to study the shock wave interaction with the boundary layer. The thing is, the order of magnitude of the residuals calculated in the residual.csv file is on the order of 10^5 when I use a Reynolds number based on the total ramp horizontal length (0.270 m), and when I use a Reynolds number based on the intake width (0.01016 m), it’s on the order of 10^3. I’m supposed to get the same result if I scale the domain by the same distance used for the Reynolds number.
That’s why I want to know what I’m doing wrong.
This is my .ini file and my mesh.
Regards Olaf.
I don’t understand your question. Could you rephrase?
Peter
Professor Peter Vincent MSci ARCS DIC PhD FRAeS
Professor of Computational Fluid Dynamics
Department of Aeronautics
Imperial College London
South Kensington
London
SW7 2AZ
UK
My question is: Regardless of how I define the Reynolds number If I do it consistently shouldn´t get the same order of magnitude on the residuals calculated in the .cvs file?. In others words shouldn´t I get the same result?.
That why I want to PyFR to output other field variables to see what I am doing wrong.
Regards Olaf.
If you scale the velocity by a factor of x then you should expect the velocity residuals to also change by a factor of x at the same level of convergence.
Regards, Freddie.