volTensorField
Hi,
I have the following code in OpenFoam: Quote:
Best regards |
Okay, let's break it down. The main part of the line is:
Code:
volTensorField tauMC("tauMC", <expression>); The <expression> is made up as follows: firstly, the deviatoric strain rate (see https://cpp.openfoam.org/v8/TensorI_8H_source.html) Code:
dev2(fvc::grad(U)().T())) Code:
turbulence->muEff() Code:
(!inviscid) |
Thanks a lot for the detailed explanation. I have now follow-up questions.
Where can I set muEff()? What is the difference between nuEff() and muEff()? Why does Temperature(T) appear in the following formulation of deviatoric strain rate? Code:
dev2(fvc::grad(U)().T())) |
Ok, you have a huge amount of reading to do, and to get anywhere with OpenFOAM you are going to have to learn to do your own research. Google is always useful, but also try and get to grips with the Doxygen pages, eg
https://cpp.openfoam.org/v8/. Search on there, and you will quickly find what muEff and nuEff are. Tracking down the .T() will be more difficult, but I already gave you a link to the Tensor.H class ... maybe take a look in there? I can easily answer your questions (time pernmitting) ... but it's a better strategy all round to help you answer your own questions, so take this as a challenge - any good luck my friend. |
All times are GMT -4. The time now is 09:06. |