|
[Sponsors] |
February 7, 2012, 22:29 |
interFoam fvSchemes for Convection Equation
|
#1 |
Member
Jim Carow
Join Date: Apr 2010
Location: Michigan, USA
Posts: 41
Rep Power: 16 |
I have been implementing a solver for one phase of fluid and a second phase of viscoelastic solid based on interFoam. The constitutive equation for the solid depends on the left Cauchy-Green deformation tensor (B) which is calculated by an equation (similar to an upper convective derivative):
Code:
gradU = fvc::grad(U); L = gradU.T(); fvSymmTensorMatrix BEqn ( fvm::ddt(B) + fvm::div(phi, B) == twoSymm(B & L) ); I suspect numerical diffusion from the upwind differencing scheme used in the solution of BEqn. Sorry for the discourse but can anyone suggest alternative schemes or PISO settings which might improve this? I am using the following: Code:
divSchemes { default none; div(rho*phi,U) Gauss limitedLinearV 1; div(phi,alpha) Gauss vanLeer; div(phirb,alpha) Gauss interfaceCompression; div(phi,B) Gauss upwind; } Code:
PISO { momentumPredictor yes; nCorrectors 3; nNonOrthogonalCorrectors 0; nAlphaCorr 1; nAlphaSubCycles 2; cAlpha 2; } James |
|
Tags |
diffusion, fvschemes, interfoam, viscoelasticfluid |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Momentum equation of interFoam? | cfdfans | OpenFOAM | 10 | May 9, 2018 02:43 |
mass flow in is not equal to mass flow out | saii | CFX | 12 | March 19, 2018 05:21 |
Calculation of the Governing Equations | Mihail | CFX | 7 | September 7, 2014 06:27 |
Constant velocity of the material | Sas | CFX | 15 | July 13, 2010 08:56 |
interFoam + a scalar transport equation | CYMa | OpenFOAM | 1 | May 11, 2010 03:50 |