|
[Sponsors] |
June 24, 2013, 11:28 |
InterFoam - Gradient of Surface Field
|
#1 |
New Member
Thomas
Join Date: May 2013
Posts: 1
Rep Power: 0 |
Hi all!
I have a problem with the gradient of the surface field muEff. The original piece of code from InterFoam is Code:
surfaceScalarField muEff ( "muEff", twoPhaseProperties.muf() + fvc::interpolate(rho*turbulence->nut()) ); fvVectorMatrix UEqn ( fvm::ddt(rho, U) + fvm::div(rhoPhi, U) - fvm::laplacian(muEff, U) - (fvc::grad(U) & fvc::grad(muEff)) //- fvc::div(muEff*(fvc::interpolate(dev(fvc::grad(U))) & mesh.Sf())) - rho*g ); Code:
gradSchemes { default none; grad(p) Gauss linear corrected; grad(p_rgh) Gauss linear corrected; grad(pcorr) Gauss linear corrected; grad(U) Gauss linear corrected; grad(alpha1) Gauss linear corrected; } Is this a bug or did I just miss something? Thanks! |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Diverging result for Temperature field in interFoam | ovie | OpenFOAM Running, Solving & CFD | 105 | December 6, 2021 10:02 |
[Gmsh] Problem with Gmsh | nishant_hull | OpenFOAM Meshing & Mesh Conversion | 23 | August 5, 2015 03:09 |
estimating temp. gradient from temp. field | xiyuqiu | Main CFD Forum | 2 | April 12, 2013 18:22 |
Interfoam... free surface simulation urgent | lostin4ever | Main CFD Forum | 4 | October 12, 2010 09:29 |
Dynamic Gradient Adaption: Mulitple Field Variable | Steve | FLUENT | 0 | July 12, 2005 18:36 |