CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Running, Solving & CFD

interFoam fvSchemes for Convection Equation

Register Blogs Community New Posts Updated Threads Search

 
 
LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
Old   February 7, 2012, 22:29
Question interFoam fvSchemes for Convection Equation
  #1
Member
 
carowjp's Avatar
 
Jim Carow
Join Date: Apr 2010
Location: Michigan, USA
Posts: 41
Rep Power: 16
carowjp is on a distinguished road
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)
   );
As a test case I am solving a lid drive cavity case with a viscoelastic solid disk as the second phase. The fluid velocities and behavior seems correct however I am observing 'ripples' on the surface of the disk which seem artificial (please see the attached). The solid also orbits around the cavity faster than the benchmark.

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;
}
and

Code:
PISO
{
    momentumPredictor yes;
    nCorrectors     3;
    nNonOrthogonalCorrectors 0;
    nAlphaCorr      1;
    nAlphaSubCycles 2;
    cAlpha          2;
}
thank you,

James
Attached Images
File Type: png wiggles.png (13.2 KB, 153 views)
File Type: png wiggles2.png (17.4 KB, 134 views)
carowjp is offline   Reply With Quote

 

Tags
diffusion, fvschemes, interfoam, viscoelasticfluid


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are On


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


All times are GMT -4. The time now is 09:19.