|
[Sponsors] |
February 23, 2012, 18:37 |
fvSchemes in bubbleFoam
|
#1 |
Member
Jeong Kim
Join Date: Feb 2010
Posts: 42
Rep Power: 16 |
I was trying to modify bubbleFoam before going to more complex problems.
When I looked at "fvSchmes" located in the systmes foler of bubbleFoam, I was not sure about it. Here are two questions. Q1. I think I have to consider below shemes for Rca and Rcb, respectively, but why are they not included in the schemes? ... div(phiRa, Ua) Gauss limitedLinearV 1; //why is it not included? div(phiRb, Ub) Gauss limitedLinearV 1; //why is it not included? ... div(phir, alpha) Gauss limitedLinear01 1; //Need for alpha continuity equation? ... Q2. I think I could use div(Rca) and div(Rcb), but it could not work. The solver looked for div(-nuEffa*grad(Ua).T()) and div(-nuEffb*grad(Ub).T()). In UEqns.H, volTensorField Rca = -nuEffa*(fvc::grad(Ua)().T()); Rca = Rca + ...; I would really appreciate that if you could give some commenst to me. |
|
February 24, 2012, 03:51 |
|
#2 | |||
Senior Member
Alberto Passalacqua
Join Date: Mar 2009
Location: Ames, Iowa, United States
Posts: 1,912
Rep Power: 36 |
Quote:
Code:
fvm::div(phiRa, Ua, "div(phia,Ua)") Quote:
Code:
fvm::div(-fvc::flux(-phir, beta, scheme), alpha, scheme) Code:
word scheme("div(phi,alpha)"); Quote:
Code:
div((-nuEffa*T(grad(Ua)))) Gauss linear; div((-nuEffb*T(grad(Ub)))) Gauss linear; Code:
volScalarField a = -b*c; Code:
volScalarField a ( "a", -b*c ); Best,
__________________
Alberto Passalacqua GeekoCFD - A free distribution based on openSUSE 64 bit with CFD tools, including OpenFOAM. Available as in both physical and virtual formats (current status: http://albertopassalacqua.com/?p=1541) OpenQBMM - An open-source implementation of quadrature-based moment methods. To obtain more accurate answers, please specify the version of OpenFOAM you are using. |
||||
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
interFoam / bubbleFoam to simulate an aerated tank | Meratb | OpenFOAM Running, Solving & CFD | 3 | November 6, 2020 12:45 |
fvschemes and fvsolutions in MRFSimpleFoam | renyun0511 | OpenFOAM Running, Solving & CFD | 23 | August 3, 2011 05:07 |
a question about bubbleFoam | xck1986 | OpenFOAM | 1 | June 21, 2011 10:30 |
Inputs for bubbleFoam | rans2009 | OpenFOAM | 0 | October 8, 2009 08:59 |
bubbleFoam | rans2009 | OpenFOAM | 3 | October 5, 2009 05:28 |