|
[Sponsors] |
May 24, 2020, 21:49 |
What is the difference between phiU and HybA
|
#1 |
Member
Sam
Join Date: May 2019
Posts: 64
Rep Power: 7 |
this relates to an incompressible solver. I have updated a modified solver by relating it to interFoam to openfoam 7 from openfoam 2.4. However it treats phiU with HybA instead. I wish to understand the difference if any so I can minimise errors.
So can someone tell me the difference between the two. 1) (openfoam version 2.4) volScalarField rAU(1.0/UEqn.A()); surfaceScalarField rAUf(fvc::interpolate(rAU)); U = rAU*UEqn.H(); surfaceScalarField phiU ( "phiU", (fvc::interpolate(U) & mesh.Sf()) + fvc::interpolate(rho*rAU)*fvc::ddtCorr(U, phi) ); fvOptions.makeRelative(phiU); adjustPhi(phiU, U, p_rgh); 2) (openfoam 7.0) { volScalarField rAU(1.0/UEqn.A()); surfaceScalarField rAUf("rAUf", fvc::interpolate(rAU)); volVectorField HbyA(constrainHbyA(rAU*UEqn.H(), U, p_rgh)); surfaceScalarField phiHbyA ( "phiHbyA", (fvc::interpolate(HbyA) & mesh.Sf()) + MRF.zeroFilter(fvc::interpolate(rho*rAU)*fvc::ddtC orr(U, phi)) ); MRF.makeRelative(phiHbyA); adjustPhi(phiHbyA, U, p_rgh); Thank you |
|
May 25, 2020, 15:22 |
|
#2 |
Member
Sam
Join Date: May 2019
Posts: 64
Rep Power: 7 |
I've believe I have resolved this. It is due to the changes made in openfoam version 2.1 i think. Which changed phiU to phiHbyA
|
|
May 26, 2020, 03:38 |
|
#3 |
Senior Member
|
Possibly any of below helps.
1. Extensive list on http://sourceflux.de/blog/101-things...ting-openfoam/ 2. Moukalled, Manga and Darwish, The finite volume method in computational fluid dynamics, Springer 2015 , http://www.springer.com/gp/book/9783...14/6.2018-1955 3. General introduction and subsequently moving into interFOAM http://infofich.unl.edu.ar/upload/3b...8wXLbV3yHH34UU 4. Wolf Dynamics: http://www.wolfdynamics.com/our-serv...ing.html?id=50 5. From simple to more detailed http://www.hpc.lsu.edu/training/week...f_20160224.pdf |
|
Tags |
incompressible, peqn.h, pressure |
|
|