Making density dependent on concentration
Hello,
My current solver is based on the incompressible pimpleFoam, in which I've added a solver for solute concentration C: Code:
solve Code:
rho = base_value + rho_factor * C Currently, the momentum equation is solved as follows: Code:
tmp<fvVectorMatrix> UEqn |
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 :)
|
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..
|
All times are GMT -4. The time now is 08:09. |