|
[Sponsors] |
June 23, 2014, 16:27 |
divdevreff in GenEddyVisc and GenSGSStress
|
#1 |
New Member
Xiangyu Gao
Join Date: Sep 2013
Location: West Lafayette, IN, USA
Posts: 29
Rep Power: 12 |
Hi, everyone!
I am confused about the difference between the expressions of divdevreff in GenEddyVisc and GenSGSStress. In GenEddyVisc, Code:
tmp<fvVectorMatrix> GenEddyVisc::divDevReff(volVectorField& U) const { return ( - fvm::laplacian(nuEff(), U) - fvc::div(nuEff()*dev(T(fvc::grad(U)))) ); } Code:
tmp<fvVectorMatrix> GenSGSStress::divDevReff ( volVectorField& U ) const { if (couplingFactor_.value() > 0.0) { return ( fvc::div(B_ + couplingFactor_*nuSgs_*fvc::grad(U)) + fvc::laplacian ( (1.0 - couplingFactor_)*nuSgs_, U, "laplacian(nuEff,U)" ) - fvm::laplacian(nuEff(), U) ); } else { return ( fvc::div(B_) + fvc::laplacian(nuSgs_, U, "laplacian(nuEff,U)") - fvm::laplacian(nuEff(), U) ); } } Billions of thanks! |
|
June 23, 2014, 21:07 |
|
#2 |
New Member
Xiangyu Gao
Join Date: Sep 2013
Location: West Lafayette, IN, USA
Posts: 29
Rep Power: 12 |
Just forget about this thread, I made a very terrible mistake.............
|
|
July 28, 2016, 18:23 |
|
#3 | |
Senior Member
Syavash Asgari
Join Date: Apr 2010
Posts: 473
Rep Power: 18 |
Quote:
I have a related question, I hope you can provide me some insight. Why nuSgs is included in GenSGSStress??! I look into the code and I see that nuSgs IO state is set to NO_READ, so how and why it is calculated?! Thanks, Syavash |
||
|
|