CFD Online Discussion Forums

CFD Online Discussion Forums (
-   OpenFOAM Programming & Development (
-   -   can rho2 be varied in interfoam solver (

shash July 24, 2012 12:53

can rho2 be varied in interfoam solver
hi all,
I have been working on a problem which requires the rho of one of the fluids in interfoam solver to vary with a scalarfield "s" so that means rho is now itself a volscalarfield thou it has been defined as a dimensionedscalar in interfoam, when i create rho2 as volscalarfield i am getting lots of errors probably because some of the functions which take dimensionedscalar as argument are receiving volscalarfield.

can someone please explain me what should i do to implement varying rho in interfoam.

All times are GMT -4. The time now is 19:05.