|September 10, 2013, 06:26||
twoPhaseEulerFoam & Source term
Join Date: Jul 2010
Posts: 156Rep Power: 7
I'm willing to include a mass source term in twoPhaseEulerFoam solver :
S_Mass = - rho1 * alpha1 / dT, with dT the time step.
It should extract the mass of the phase1 (dispersed phase) in a zone I define with a function :
F = 1 if I activate the source term,
That's for the theory. I'm stuck with the OpenFOAM code now.
Since the equation is in volumic form, I wrote :
fvm::laplacian(Dp,p) == fvc::div(phiHByA) + F*alpha1/(runTime.deltaT().value)
Does it seems correct to you ?
|Thread||Thread Starter||Forum||Replies||Last Post|
|transient source term||strakakl||OpenFOAM||38||November 19, 2013 02:18|
|Problem of SOURCE term gradient in UDS||wind||Fluent UDF and Scheme Programming||5||June 21, 2013 05:39|
|build problem swak4Foam OF 2.2.0||mcathela||OpenFOAM Installation||14||April 23, 2013 13:59|
|Compiling gmshFoam with OpenFOAM-1.5||BlGene||Open Source Meshers: Gmsh, Netgen, CGNS, ...||10||August 6, 2009 04:26|
|UDFs for Scalar Eqn - Fluid/Solid HT||Greg Perkins||FLUENT||0||October 11, 2000 03:43|