View Issue Details

IDProjectCategoryView StatusLast Update
0004133OpenFOAMBugpublic2024-08-13 10:10
Reporterrcarneiro Assigned Towill  
PrioritynormalSeverityminorReproducibilityhave not tried
Status resolvedResolutionfixed 
Product Version12 
Fixed in Versiondev 
Summary0004133: Brownian force - Lagrangian
DescriptionHello everyone,

I want to report what seems to be an error in calculating particle acceleration due to Brownian force when turbulence is true. From the code below, we can see that the units of 'f' are [(m/s^2) K] indicating that something is incorrect. Could you please double-check this equation?

    // Boltzmann constant
    const scalar kb = physicoChemical::k.value();

    scalar f = 0;
    if (turbulence_)
    {
        const label celli = p.cell();
        const volScalarField& k = *kPtr_;
        const scalar kc = k[celli];
        const scalar Dp = kb*Tc*cc/(3*mathematical::pi*muc*dp);
        f = sqrt(2.0*sqr(kc)*sqr(Tc)/(Dp*dt));
    }

Furthermore, it is not fully clear to me why, in the presence of turbulence, the calculation of the Brownian force is different from when there is no turbulence. Is there any publication mentioning this?

Thank you for your time.

Regards, Rui
TagsNo tags attached.

Activities

will

2024-08-13 10:10

manager   ~0013368

I agree with your dimensional analysis. The implementation must be wrong. Whilst I can find a similar expression for Dp in the reference, I can't find an expression for how that is turned into a force, or anything depending on the turbulent kinetic energy. So, I have removed this part of the model. The non-turbulent part, by contrast, appears to be dimensionally consistent and matches the reference.

https://github.com/OpenFOAM/OpenFOAM-dev/commit/9ca88df33f043621af7d127180a96a4bb88ac21c

Issue History

Date Modified Username Field Change
2024-08-12 10:09 rcarneiro New Issue
2024-08-13 10:10 will Assigned To => will
2024-08-13 10:10 will Status new => resolved
2024-08-13 10:10 will Resolution open => fixed
2024-08-13 10:10 will Fixed in Version => dev
2024-08-13 10:10 will Note Added: 0013368