CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Programming & Development

Difference between alphat and mut

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   April 7, 2023, 12:22
Default Difference between alphat and mut
  #1
New Member
 
Felipe Silva Maffei
Join Date: Dec 2015
Posts: 12
Rep Power: 10
Maffei is on a distinguished road
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
    )
);
and made the comparison using turbulence->aphat() and turbulence->mut() after run the turbulence->correct().

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?
Maffei is offline   Reply With Quote

Reply


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
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


All times are GMT -4. The time now is 08:51.