|
[Sponsors] |
what is the correct way of giving transport properties for using in interFoam |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
November 29, 2019, 09:02 |
what is the correct way of giving transport properties for using in interFoam
|
#1 |
Senior Member
krishna kant
Join Date: Feb 2016
Location: Hyderabad, India
Posts: 133
Rep Power: 10 |
Hello All,
I was trying to include an artificial viscosity term in the momentum equation. Doing so I realized that momentum equation written in Ueqn.H is consistent with the dynamic viscosity and not the kinematic viscosity. But we gave the input in transport property as kinematic viscosity. So is it really the correct way ? My piece of code: art_mu=runTime.deltaT()*sigma*mag(fvc::grad(Hs)); MRF.correctBoundaryVelocity(U); fvVectorMatrix UEqn ( fvm::ddt(rho, U) + fvm::div(rhoPhi, U) - fvm::laplacian(art_mu, U) + MRF.DDt(rho, U) + turbulence->divDevRhoReff(rho, U) == fvOptions(rho, U) ); So If I try to include art_nu by dividing by rho then it say error of dimensions. Am I doing it correct way ? Are my interpretation correct? |
|
November 30, 2019, 13:17 |
|
#2 |
Super Moderator
Tobias Holzmann
Join Date: Oct 2010
Location: Tussenhausen
Posts: 2,708
Blog Entries: 6
Rep Power: 51 |
Hi,
a) please use code tags so that we can read you code snippet more properly b) we provide the kinematic viscosity and the density. Thus we can recalc the "constant" dynamic viscosity c) the following function: Code:
+ turbulence->divDevRhoReff(rho, U) divDevRhoReff = divergence of the deviatoric part of the Reynolds Stress tensor = shear rate tensor (: If you want to use your code, you need to remove the turbulence-> function and further: a) you do not take care about turbulent increase of mu b) you do not have stabilization terms included c) thus, your equation is not as stable as the one provided by FOAM directly
__________________
Keep foaming, Tobias Holzmann |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Evaporation due to Heat Transport using InterFoam (Correct Implementation?) | ovie | OpenFOAM | 14 | August 3, 2019 07:00 |
InterFoam and species transport | PKeller | OpenFOAM Running, Solving & CFD | 7 | October 7, 2014 02:40 |
interFoam | Hydraulic Jump | Correct boundary condition p_rgh | pythag0ra5 | OpenFOAM Running, Solving & CFD | 17 | September 5, 2014 04:31 |
Moving mesh | Niklas Wikstrom (Wikstrom) | OpenFOAM Running, Solving & CFD | 122 | June 15, 2014 06:20 |
Material Properties for Sat. Liquid and Sat. Vapor | Blackhawks84 | FLUENT | 0 | September 17, 2012 19:11 |