|
[Sponsors] |
How to do : DNS simulatin of compressible flow with acounting bulk-viscosity effects |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
May 6, 2019, 07:35 |
How to do : DNS simulatin of compressible flow with acounting bulk-viscosity effects
|
#1 |
New Member
Bhanuday Sharma
Join Date: Jun 2015
Posts: 18
Rep Power: 10 |
In the N-S equation, we have two viscosities, viz., shear and bulk viscosity. However, in almost every CFD software, e.g., Fluent, OpenFOAM, the bulk viscosity is assumed to be zero. I wish to carry out DNS simulation where I can specify a nonzero bulk viscosity. My question is -- How can I implement it? Right now, I am open to any software. So you can answer this question in reference to the software of your expertise.
Thank you very much in advance. |
|
May 6, 2019, 08:44 |
|
#2 | |
Senior Member
Filippo Maria Denaro
Join Date: Jul 2010
Posts: 6,768
Rep Power: 71 |
Quote:
Well, the implementation via UDF in Fluent can be done, as well as you can write a subroutine in OF. What is exactly your problem in the implementation? |
||
May 6, 2019, 13:07 |
|
#3 |
Senior Member
Lucky
Join Date: Apr 2011
Location: Orlando, FL USA
Posts: 5,674
Rep Power: 65 |
In OpenFOAM, you pop open your favorite compressible flow solver and go to UEqn.H and add the term with the second viscosity. Recompile your new solver and voila.
Alternatively you can just add a source term to the momentum equation using an fvOptions. That's the gist of it. It easily gets more complicated depending on what exactly you are trying to implement. |
|
May 7, 2019, 04:49 |
Thank you for the answer. One more query.
|
#4 |
New Member
Bhanuday Sharma
Join Date: Jun 2015
Posts: 18
Rep Power: 10 |
Thank you Prof. Denaro and Dr. Tran for your quick response. I have checked both the options -- UDF in Fluent and UEqn.H in OpenFOAM. Adding source term in momentum and energy equations using DEFINE_SOURCE macro of UDF seems good to me. Thank you very much again.
Now, I have another query that - to carry out a DNS simulation, can I use the Laminar model along with sufficiently fine grid and small timestep? Because, as far as I can see, in both the cases, i.e., laminar model and DNS, set of equations being solved are same. |
|
May 7, 2019, 04:54 |
|
#5 | |
Senior Member
Filippo Maria Denaro
Join Date: Jul 2010
Posts: 6,768
Rep Power: 71 |
Quote:
|
||
May 8, 2019, 10:12 |
|
#6 |
Senior Member
Lucky
Join Date: Apr 2011
Location: Orlando, FL USA
Posts: 5,674
Rep Power: 65 |
Yes, use an unsteady laminar model and respect the grid resolution requirements for DNS (and the discretization options you use). You will be stuck with the discretization options available in whatever software you decide to use, but you have to live with it. You can make up for it using finer grids (which makes your DNS even more like a true DNS).
In Fluent you may/may not need to type something into the TUI to activate the bounded central differencing schemes for the laminar case. I can't remember off the top of my head. |
|
Tags |
bulk viscosity |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Keeping intermediate files | OVS | SU2 | 5 | December 5, 2021 11:41 |
mass flow in is not equal to mass flow out | saii | CFX | 12 | March 19, 2018 05:21 |
Compressible flow in vacuum condition | aerocfd | FLUENT | 0 | December 2, 2015 19:48 |
Newbie to compressible, viscous flow. Advice on approach to problem? | bzz77 | Main CFD Forum | 4 | December 4, 2012 07:59 |
fluid flow fundas | ram | Main CFD Forum | 5 | June 17, 2000 21:31 |