dieselEngineFoamLayer problems with spray
Hi.
I try simulate the compresson stroke of an engine. I am using 1.5-dev with a modified solver of dieselEngineFoam. The modified solver is able to add and remove cells. So far the movement of the piston with the topological changes didnt make troubble but when I want to inject fuel (for instance C7H16), it seems that the injected fuel doesn t influence the velocity and pressure field. The spray can be visualted with paraview (VTK). The residuals of C7H16 doesn t change for any reason. Furthermore the added gas mass becomes negative. When I try to run that case with dieselEngineFoam, it works. I assume that something is going wrong with the added layers. I appreciate any kind of hints. Has someone experiences with that kind of approaches? By interest I will upload a test case and the modified solver for adding and removing layers. Peter |
Problem solved.
I did a mistake in the YEqn.H file. Just a line was missing solve ( fvm::ddt(rho, Yi) + mvConvection->fvmDiv(phi, Yi) - fvm::laplacian(turbulence->muEff(), Yi) == dieselSpray.evaporationSource(i) <--- added + kappa*chemistry.RR(i), mesh.solver("Yi") ); regards |
Spray
I understand that you added the source term to the equation. Were you able to add the spray source terms for both momentum and energy equation. Can you share how were you able to add all the spray source terms (mass, mometum and energy).
|
All times are GMT -4. The time now is 07:22. |