|
[Sponsors] |
November 9, 2010, 04:53 |
Making density dependent on concentration
|
#1 |
New Member
Join Date: Aug 2010
Posts: 14
Rep Power: 15 |
Hello,
My current solver is based on the incompressible pimpleFoam, in which I've added a solver for solute concentration C: Code:
solve ( fvm::ddt(C) + fvm::div(phi, C) - fvm::laplacian(Diff, C) ); Code:
rho = base_value + rho_factor * C Currently, the momentum equation is solved as follows: Code:
tmp<fvVectorMatrix> UEqn ( fvm::ddt(U) + fvm::div(phi, U) + turbulence->divDevReff(U) ); |
|
November 9, 2010, 13:17 |
|
#2 |
Member
Patricio Bohorquez
Join Date: Mar 2009
Location: Jaén, Spain
Posts: 95
Rep Power: 17 |
Have a look at settlingFoam, which implements a solver for the transport of solid particles in an incompressible fluid by means of a mixture model. The description of the solver can be found in Brennan's thesis. Maybe these resources will inspire you
|
|
November 18, 2010, 09:21 |
|
#3 |
New Member
Join Date: Aug 2010
Posts: 14
Rep Power: 15 |
I've been going through settlingFoam, however I'm still having difficulties getting this to work - whatever approach I take, I end up with a dead-end. This seems like something that should be simple to implement? Any more help would be appreciated..
|
|
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
OpenFOAM on MinGW crosscompiler hosted on Linux | allenzhao | OpenFOAM Installation | 127 | January 30, 2009 19:08 |
DxFoam reader update | hjasak | OpenFOAM Post-Processing | 69 | April 24, 2008 01:24 |
DecomposePar links against liblamso0 with OpenMPI | jens_klostermann | OpenFOAM Bugs | 11 | June 28, 2007 17:51 |
REAL GAS UDF | brian | FLUENT | 6 | September 11, 2006 08:23 |
Warning 097- | AB | Siemens | 6 | November 15, 2004 04:41 |