|
[Sponsors] |
April 7, 2023, 12:22 |
Difference between alphat and mut
|
#1 |
New Member
Felipe Silva Maffei
Join Date: Dec 2015
Posts: 12
Rep Power: 10 |
Hello everyone!
I am programming a solver where I need to reload the compressible turbulent field. I can successfully realize the reading, however, the values diverge when I compare the turbulent read variables (mut and alphat) and the one calculated with the read turbulence field (let's say k and omega). I am sure about the code for calculating the variable mut because I get it from the turbulence model code (just rewrite it In my solver). I can't say the same to alphat but I am using (mut+mu)/Prandtl. Also I have changed the time write to binary with a precision of 30 cases. The same happens when I create the turbulence object with: Code:
Info<< "Creating turbulence model\n" << endl; autoPtr<compressible::turbulenceModel> turbulence ( compressible::turbulenceModel::New ( rho, U, phi, thermo ) ); For what I programming, I really need to be able to compute the mut and alphat from the turbulent field and be consistent with the calculated primitive field. Why am I having these diverging values? |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
error adding void fraction into the solver & Error when chemistry is on | cmigueis | OpenFOAM Programming & Development | 23 | August 14, 2016 15:53 |
mut and alphat & compressible flow | sasanghomi | OpenFOAM | 2 | September 17, 2013 15:42 |
an odd(at least for me!) reconstructPar error on a field | immortality | OpenFOAM Running, Solving & CFD | 3 | June 3, 2013 23:36 |
XiFoam floating point error..mut error? | achinta | OpenFOAM | 8 | July 31, 2012 05:48 |
turbulent jet simulation | antonio_ing | OpenFOAM Running, Solving & CFD | 5 | September 16, 2010 03:31 |