BuoyantBoussinesq(Pimple/Piso)Foam, changed equation from OF 1.6 to 1.7 ???
Hi Folks,
one question regarding the changes from OF 1.6 to 1.7 in the buoyantBoussinesq(Piso/Pimple)Foam solver. I think the implementation of splitting the pressure according to p = p_rgh + rho*g.x is not fully correct. The pressure equation in OF 1.7 seems OK, since in the Rhie-Chow formulation the contributions from the static pressure cancel and we are left with: Code:
phi = (fvc::interpolate(U) & mesh.Sf()) Code:
surfaceScalarField phiU In contrast, in the momentum equation the term for the buoyancy ( and gravity) force has changed from (OF 1.6) Code:
fvc::reconstruct( ... Code:
fvc::reconstruct( ... Is this really a bug or do I miss some point? Thanks for any comment... Regards, Jan Edit: In the meantime I am pretty sure this is indeed a bug and I submitted a bugreport. Edit: Problem is solved. This bug was fixed a few days ago in the git repository. |
Dear Foamers,
can someone explain me why OF1.7 still uses HTML Code:
- ghf*fvc::snGrad(rhok)*mesh.magSf() HTML Code:
fvc::interpolate(rhok)*(g & mesh.Sf()) I do not understand why the gradient of the densitiy is used while in the equations I find in literature it has to be just the densitiy multiplied with the constant g. Can someone help me? Is this still a bug or do I overlook something? |
|
Quote:
You wrote that the term in OF17 was formulated with an error, am I correct? But still if i look OF171 (Ubuntu package installed via apt-get): Code:
UEqn Regards, Alexander |
All times are GMT -4. The time now is 01:58. |