|
[Sponsors] |
May 14, 2018, 08:57 |
calculating tau
|
#1 |
New Member
Join Date: Sep 2017
Posts: 12
Rep Power: 8 |
||
May 14, 2018, 12:46 |
|
#2 |
Member
Alejandro Valeije
Join Date: Nov 2014
Location: Spain
Posts: 52
Rep Power: 11 |
Hi
I'm not 100% sure, because I'm taking code that I wrote years ago, but give it a try to this: twoSymm(fvc::grad(U)) In another thread, I have also found this definition, in case you want to try: UEqn.diag() Regards, Alex |
|
May 15, 2018, 07:36 |
|
#3 |
Member
Emad Tandis
Join Date: Sep 2010
Posts: 77
Rep Power: 15 |
Hello
you can use "tr(fvc::grad(U)) I" instead of diag(U). fvc::div(U) is correct as well but the first is better since it is calculated more correctly at boundaries. Last edited by EmadTandis; May 15, 2018 at 22:37. |
|
May 16, 2018, 03:20 |
|
#4 | ||
New Member
Join Date: Sep 2017
Posts: 12
Rep Power: 8 |
Hello,
i solved it with: Quote:
Quote:
|
|||
|
|
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 15:20 |
Questions on dynamicTopoFvMesh | danvica | OpenFOAM Running, Solving & CFD | 80 | April 16, 2019 16:58 |
DPMFoam - Serious Error --particle-laden flow in simple geometric config | benz25 | OpenFOAM Running, Solving & CFD | 27 | December 19, 2017 20:47 |
Problems in calculating the fluid traction on the current structure frame in 3D models | fw407 | OpenFOAM Running, Solving & CFD | 0 | August 6, 2008 12:04 |
How to update polyPatchbs localPoints | liu | OpenFOAM Running, Solving & CFD | 6 | December 30, 2005 17:27 |