fvSchemes in bubbleFoam
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. |
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; Code:
volScalarField a = -b*c; Code:
volScalarField a Best, |
All times are GMT -4. The time now is 01:44. |