|
[Sponsors] |
How to implement bulk viscosity in Navier stokes eqn using UDF? |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
June 26, 2022, 07:02 |
How to implement bulk viscosity in Navier stokes eqn using UDF?
|
#1 |
Member
Odisha
Join Date: Jan 2020
Posts: 59
Rep Power: 6 |
Hello everyone,
I'm trying to implement the bulk viscosity term in the X-momentum equation using a UDF in FLUENT. From my understanding of the UDF manual, the best way to go about it is to model the bulk-viscosity term as a "source" term. So I worked out the source term and wrote a small code for it (please find the attached PDF for the code.) I then started FLUENT and compiled my UDF. It showed no errors. However, when I start the calculation, the 'continuity' & 'X-velocity' residuals blow up and the calculation stops. This means there's some problem with the code or my source term. I will appreciate any help on this matter. Sincerely, Sibasish |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Viscosity UDF works when interpreted, Doesn't when compiled? | bloodflow | Fluent UDF and Scheme Programming | 4 | April 11, 2019 10:06 |
Bulk Viscosity Database | pflaume | Main CFD Forum | 5 | February 5, 2019 16:07 |
Bulk Viscosity | Tobi | OpenFOAM | 0 | January 18, 2017 17:36 |
ILU for Navier stokes problems | Raju | Main CFD Forum | 5 | July 29, 2006 15:15 |
implementation of Bigham viscosity by UDF | Bob | FLUENT | 0 | February 28, 2002 09:24 |