CFD Online Discussion Forums

CFD Online Discussion Forums (http://www.cfd-online.com/Forums/)
-   OpenFOAM (http://www.cfd-online.com/Forums/openfoam/)
-   -   bubbleInterTrackFoam and Mass transport (http://www.cfd-online.com/Forums/openfoam/90486-bubbleintertrackfoam-mass-transport.html)

kel85uk July 12, 2011 00:10

bubbleInterTrackFoam and Mass transport
 
2 Attachment(s)
Hi all,

I am trying to model mass transfer across a bubble interface using bubbleInterTrackFoam, but when I added the scalar transport equation into the solver, it does not solve anything.

The following is an excerpt of the solver. Any help and suggestions on how to make this work? Thank you

Kelvin

Code:

#              include "continuityErrs.H"

                // Momentum corrector
                U -= fvc::grad(p)/AU;
                U.correctBoundaryConditions();
            }

//#          include "solveBulkSurfactant.H"
#          include "species_transfer.H"

            interface.correctPoints();

#          include "freeSurfaceContinuityErrs.H"
        }     

#      include "updateMovingReferenceFrame.H"

#      include "volContinuity.H"

Code:

Info << "Solving the species field" << endl;

DT = fluidIndicator*( DTA - DTB ) + DTB;

solve
(
  fvm::ddt(C_O2)
  + fvm::div(phi - fvc::meshPhi(rho,U), C_O2)
  //+ fvm::div(phi, C_O2)
  == fvm::laplacian(DT, C_O2)
);


Bernhard July 12, 2011 03:47

I have the impression that you are now solving the convection-diffusion equation in two seperate domains (you can easily check that I think with a simple case).
For the mass transfer across the interface, you should somehow communicate between the patches freeSurface(Shadow).

hfsf December 24, 2012 08:25

bubbleInterTrackFoam + Mass Transport
 
Kel85uk,

I would like to know if you could share your bubbleInterTrackFam + Mass transport implementation with me. I'm working with the same topíc, a falling drop with the conjugated solute transport to the exterior, but I'm having trouble even setting the case. Any help is appreciated :D.

Best regards,

Hanniel Freitas


All times are GMT -4. The time now is 21:16.