|
[Sponsors] |
![]() |
![]() |
#1 |
Member
Sai Guruprasad Jakkala
Join Date: Jan 2017
Posts: 34
Rep Power: 8 ![]() |
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). |
|
![]() |
![]() |
![]() |
![]() |
#2 |
Member
Sai Guruprasad Jakkala
Join Date: Jan 2017
Posts: 34
Rep Power: 8 ![]() |
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 |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Divergence detected in AMG solver. VOF. | Mr.Mister | Fluent Multiphase | 3 | September 21, 2022 04:34 |
Error SIGSEGV using VOF and UDF | JERC_UTFSM | Fluent UDF and Scheme Programming | 14 | November 7, 2021 23:17 |
Fail to converge when solving with a fabricated solution | zizhou | FLUENT | 0 | March 22, 2021 06:33 |
[ANSYS Meshing] Help with element size | sandri_92 | ANSYS Meshing & Geometry | 14 | November 14, 2018 07:54 |
fluent divergence for no reason | sufjanst | FLUENT | 2 | March 23, 2016 16:08 |