|
[Sponsors] |
November 7, 2012, 12:19 |
non uniform nu model
|
#1 |
Member
Simone
Join Date: Sep 2012
Posts: 95
Rep Power: 14 |
Hi guys, I've got a question:
I would like to set up a simulation with a "laminar" turbulence model, but with non uniform values of nu over the domain. Is that possible in openFoam? Thanks Simone |
|
November 8, 2012, 10:52 |
|
#2 |
Senior Member
Kyle Mooney
Join Date: Jul 2009
Location: San Francisco, CA USA
Posts: 323
Rep Power: 18 |
Do you mean that you want a non-uniform Newtonian viscosity field?
|
|
November 8, 2012, 11:53 |
|
#3 |
Member
Simone
Join Date: Sep 2012
Posts: 95
Rep Power: 14 |
Yes, actually I want to use the distribution of nut of a different simulation and apply it to my new case, which has to run as a laminar case but with non uniform viscosity.
|
|
November 8, 2012, 12:18 |
|
#4 | |
Senior Member
Kyle Mooney
Join Date: Jul 2009
Location: San Francisco, CA USA
Posts: 323
Rep Power: 18 |
Quote:
Code:
volScalarField myNuField = nut; Code:
fvVectorMatrix UEqn ( fvm::ddt(U) + fvm::div(phi, U) - fvm::laplacian(myNuField, U) ); |
||
November 8, 2012, 12:30 |
|
#5 |
Member
Simone
Join Date: Sep 2012
Posts: 95
Rep Power: 14 |
That's a very clever idea! Thank you very much kmooney, I'll try as soon as I can. If it doesn't work I'll come back.
Cheers! |
|
January 31, 2013, 10:27 |
|
#6 |
Member
Simone
Join Date: Sep 2012
Posts: 95
Rep Power: 14 |
Hi again,
I come back to this thread because I've a doubt.. Since I have a non-uniform field of viscosity, besides the term suggested, fvm::laplacian(myNuField, U) shouldn't I insert even a term like: (fvc::grad(U) & fvc::grad(myNuField) To better understand my reasoning, think you have to derive the NS equation but with non-uniform spatial viscosity..if you then explode the viscous term, div(nu*grad(U)) you should obtain both the terms above, right? Cheers Simone |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
buoyantSimpleFoam for HVAC application | Mojtaba.a | OpenFOAM Running, Solving & CFD | 7 | November 16, 2017 16:49 |
LES supersonic free jet | martyn88 | OpenFOAM | 22 | April 17, 2015 07:00 |
How to set uniform heating boundary condition? | Sargam05 | OpenFOAM | 0 | September 11, 2012 11:09 |
singularity? | mihaipruna | OpenFOAM Running, Solving & CFD | 5 | April 24, 2012 18:18 |
Need help with boundary conditions: open to atmosphere | Wolle | OpenFOAM | 2 | April 11, 2011 08:32 |