CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   OpenFOAM (https://www.cfd-online.com/Forums/openfoam/)
-   -   MassFlowRate (https://www.cfd-online.com/Forums/openfoam/77757-massflowrate.html)

Rickard.Solsjo July 2, 2010 08:11

MassFlowRate
 
Hi, I want to inject fuel in a gaseous phase using diselFoam.
The gas-phase is no problem since I just increase the temperature.
The thing is that is want to have two injections using 0.7mg of fuel at each injection with a 200microseconds injection duration.

I thought that is simply could write something like

mass 1.4e-6;
nParcels 2;

massFlowRate
(0 0)
(0.0002 0.0016)
(0.003 0)
(0.0032 0.0016)

the 0.0016 was calculated using Cd*Af*sqrt(deltaP*2*rho(fuel))

Any good reason why this do not work? I have looked at the other threads still my problems remains.

Thx
R

Rickard.Solsjo July 10, 2010 05:12

I guess i fixed my own problem.
Important notice is that the pressureProfile must be added
I try to use injection as a delta function or whatever you wanna call it.

so .
mas...
(0.00019 0)
(0.00020 1.0)
(0.00021 0)

(0.00319 0)
(0.00320 1.0)
(0.00321 0)

press..
(0.00019 1.0)
(0.00321 1.0)

Hopefull dieselfoam calculates the massflowrate on its own-


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