CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   OpenFOAM Programming & Development (https://www.cfd-online.com/Forums/openfoam-programming-development/)
-   -   engine simulation with valve motion and spray process (https://www.cfd-online.com/Forums/openfoam-programming-development/152310-engine-simulation-valve-motion-spray-process.html)

xianqiejiao April 28, 2015 11:14

engine simulation with valve motion and spray process
 
Hi everyone,

I am working on cold engine simulation with valve motion and spray process. As I am new to this field, I have got few questions here:

1) Which solver should I use, coldEngineFoam in of2.3 or diselEngineFoam in of3.1-ext? It seems to me that diselEngineFoam in of3.1-ext would be better as there is no spray process in coldEningeFoam.

2) How can I get the valve motion? Now I have got my mesh file, converted from KIVA. And I have managed to get the piston moving with coldEngineFoam. But I don't know what to do when it comes to the valves motion. Could anyone provide any suggestion on this?

Many thanks in advance. : )

Bo

xianqiejiao April 29, 2015 05:28

Hi everyone,

After searching through the threads, I believe I have found the answer to the first question. The appropriate solver should be the sonicTurbDyMEngineFoam. Please correct me if I am wrong.

However, after looking into its source code, I still have no idea how to get this solver running. Anyone could help me with this? One simple case would be great! Many thanks. (BXW308@bham.ac.uk)

dkxls April 30, 2015 08:23

Tentatively, I would go with OpenFOAM 2.3.x and sprayEngineFoam.
The setup should be rather straight forward, starting from the lagrangian/sprayFoam/aachenBomb tutorial and adding the moving mesh parts from combustion/engineFoam/kivaTest.

Though I have never used it myself, I have only used sprayFoam, which works well nowadays in OpenFOAM 2.3.x.

xianqiejiao April 30, 2015 09:14

2 Attachment(s)
Quote:

Originally Posted by dkxls (Post 544457)
Tentatively, I would go with OpenFOAM 2.3.x and sprayEngineFoam.
The setup should be rather straight forward, starting from the lagrangian/sprayFoam/aachenBomb tutorial and adding the moving mesh parts from combustion/engineFoam/kivaTest.

Though I have never used it myself, I have only used sprayFoam, which works well nowadays in OpenFOAM 2.3.x.

Hi Armin, firstly thank you very much for the answer. I will try setting up sprayEngineFoam during the weekend.

Talking about the kivaTest, it brings another concern to me. Can I even transfer a kiva mesh into openfoam and make the valve moving? Currently I have got the kiva mesh, and converted it to OpenFoam with kivaToFoam. Finally, I get the cylinder mesh and a moving piston. However, making the valve moving seems a lot difficult than this.

In my converted kiva mesh, I get patches such as piston, valves, liner, cylinderHead, presin and presout (see as attachment), but no "stemPatch" "CurtainIncylinderPatch" "detachInPortPatch" and so on as shown in EngineValve.C ( which in my opinion is a necessary class for valve motion) . I am wondering is it possible I can get these valves from kiva like this moving at all?

Many thanks!


All times are GMT -4. The time now is 22:53.