CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM

bubbleInterTrackFoam and Mass transport

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   July 12, 2011, 00:10
Default bubbleInterTrackFoam and Mass transport
  #1
New Member
 
Kelvin Loh
Join Date: Mar 2009
Posts: 25
Rep Power: 17
kel85uk is on a distinguished road
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)
);
Attached Files
File Type: h species_transfer.H (860 Bytes, 11 views)
File Type: c bubbleInterTrackFoam_SDWA.C (5.0 KB, 16 views)
kel85uk is offline   Reply With Quote

Old   July 12, 2011, 03:47
Default
  #2
Senior Member
 
Bernhard
Join Date: Sep 2009
Location: Delft
Posts: 790
Rep Power: 21
Bernhard is on a distinguished road
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).
Bernhard is offline   Reply With Quote

Old   December 24, 2012, 07:25
Default bubbleInterTrackFoam + Mass Transport
  #3
Member
 
Hanniel Freitas
Join Date: Jan 2012
Location: Natal, Brazil
Posts: 34
Rep Power: 14
hfsf is on a distinguished road
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 .

Best regards,

Hanniel Freitas
hfsf is offline   Reply With Quote

Old   May 11, 2016, 07:48
Default
  #4
New Member
 
Eli1993's Avatar
 
Arahata
Join Date: Mar 2016
Posts: 4
Rep Power: 10
Eli1993 is on a distinguished road
Hello everyone
I am using bubbleInterTrackFoam to simulate a bubble rising in a liquid column.I got some error like bellow


Create time

Create dynamic mesh for time = 0

Selecting dynamicFvMesh dynamicMotionSolverFvMesh
Selecting motion solver: laplace
Selecting motion diffusivity: uniform

Reading field p

Reading field U

Reading/calculating face flux field phi

Found free surface patch. ID: 1
Found free surface shadow patch. ID: 0


--> FOAM FATAL ERROR:
Error in B-to-A face patchToPatchInterpolation.

From function freeSurface::makeInterpolators()
in file makeFreeSurfaceData.C at line 105.

FOAM aborting



Can anyone pls tell me what to do
Eli1993 is offline   Reply With Quote

Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
mass flow in is not equal to mass flow out saii CFX 12 March 19, 2018 05:21
Water subcooled boiling Attesz CFX 7 January 5, 2013 03:32
HELP PLS: Simplefoam manipulated to add diffusive mass transport...but solver stops!! 1gn0rant OpenFOAM Running, Solving & CFD 1 August 13, 2010 11:02
PROBLEM: Scalar mass fraction Lorenzo Siemens 1 July 14, 2008 03:50
Mass transport within a jet Lam Main CFD Forum 0 August 23, 2007 15:17


All times are GMT -4. The time now is 18:44.