|
[Sponsors] |
March 21, 2016, 13:12 |
Viscous heating in chtMultiRegionFoam
|
#1 |
Member
Pekka Pasanen
Join Date: Feb 2012
Location: Finland
Posts: 87
Rep Power: 14 |
Hi, I just made initial implementation of viscous heating into chtMultiRegionFoam. This is the modified EEqn:
Code:
volScalarField& he = thermo.he(); volTensorField gradU = fvc::grad(U); // tau = 2*mu*D, D = deformation rate tensor volTensorField tau = turb.muEff() * (gradU + gradU.T()); fvScalarMatrix EEqn ( fvm::ddt(rho, he) + fvm::div(phi, he) + fvc::ddt(rho, K) + fvc::div(phi, K) + ( he.name() == "e" ? fvc::div ( fvc::absolute(phi/fvc::interpolate(rho), U), p, "div(phiv,p)" ) : -dpdt ) - fvm::laplacian(turb.alphaEff(), he) == rho*(U&g) + fvc::div(tau & U) // viscous heating + rad.Sh(thermo) + fvOptions(rho, he) ); I basically tried to implement the other missing mechanical source, which is div(tau & U), and tau = turb.muEff() * (gradU + gradU.T()). I'm wishing for comments and feedback, you can get the code from here: https://github.com/zordiack/foam-dev |
|
February 9, 2018, 04:34 |
|
#2 |
New Member
Nico B.
Join Date: Feb 2017
Posts: 1
Rep Power: 0 |
Hi, Zordiack,
I have adopted your viscous heating code in chtMultiRegionSimpleFoam. In addition, I implemented a temperature-dependent viscosity model. My investigations deal with journal bearings. So I compared the calculation results with a state-of-the-art bearing program. Standing now, I am very satisfied. Thank you very much nbuchi |
|
May 12, 2022, 03:30 |
|
#3 |
New Member
Amit Makhija
Join Date: Apr 2018
Posts: 11
Rep Power: 8 |
Hello,
Could you please help in writing the viscous dissipation term in OpenFOAM v9? I tried but was unable to figure out how to write the expression for shear-stress symmetric tensor ((gradU + gradU.T())). |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
calculating the viscous stress tensor tau for viscous dissipation heating | dgadensg | OpenFOAM Programming & Development | 5 | January 17, 2023 16:20 |
compressibleInterFoam incl. viscous dissipation heating | vigges | OpenFOAM Programming & Development | 5 | June 10, 2018 07:06 |
Viscous Heating of polymer in Ansys | verdesca2 | Structural Mechanics | 0 | August 21, 2014 11:50 |
viscous heating and constant wall temperature | abir | FLUENT | 5 | May 17, 2013 13:17 |
Viscous heating | Pipin | FLUENT | 3 | July 14, 2008 13:05 |