|
[Sponsors] |
May 3, 2022, 15:16 |
Divergence of SymmTensor
|
#1 |
Member
Sai Guruprasad Jakkala
Join Date: Jan 2017
Posts: 34
Rep Power: 9 |
I am trying to write a new Particle Dispersion Model in OpenFOAM. The model requires the divergence of the Reynolds stress tensor. I am able to read the Reynolds stress tensor into the model and am able to perform the fvc::div operation.
My doubt is if this approach is correct. I tried fvc::div(U) in the same way and it gave really high values (O(1)) which are not correct because the simulation has converged and the fvc::div(U) should be a small value (O(1e-3)). So now I have doubts if fvc::div(R) is giving the right values. I have the phi variable too which I think is U*surfaceArea. I computed div(phi, U) and div(phi), and both gave small values in O(1e-3). Should I be using phi to compute the divergence of R? I am getting an error if I use fvc::div(phi,R). |
|
June 19, 2022, 23:25 |
|
#2 |
Member
Sai Guruprasad Jakkala
Join Date: Jan 2017
Posts: 34
Rep Power: 9 |
Hey,
Can anyone help me with this? I need to take the divergence of Reynolds Stress for my model. Thanks |
|
Tags |
divergence, openfoam, programming, reynold's stress |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Divergence detected in AMG solver. VOF. | Mr.Mister | Fluent Multiphase | 5 | November 22, 2024 07:32 |
Error SIGSEGV using VOF and UDF | JERC_UTFSM | Fluent UDF and Scheme Programming | 14 | November 8, 2021 00:17 |
Fail to converge when solving with a fabricated solution | zizhou | FLUENT | 0 | March 22, 2021 07:33 |
[ANSYS Meshing] Help with element size | sandri_92 | ANSYS Meshing & Geometry | 14 | November 14, 2018 08:54 |
fluent divergence for no reason | sufjanst | FLUENT | 2 | March 23, 2016 17:08 |