|
[Sponsors] |
EngineFoam 2 moving pistons towards eachother |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
November 7, 2005, 11:41 |
Hello everybody,
I would li
|
#1 |
Member
Guido Adriaensen
Join Date: Mar 2009
Posts: 56
Rep Power: 17 |
Hello everybody,
I would like to simulate the following with the engineFoam solver of openFoam: I have cilinder in which two pistons move towards eachother. Is it possible to simulate this with the engineFoam, by simply adjusting the cilinderHead type to symmetry? I have not tried this, I will try this tomorrow, unless someone can already tell me that this will not work. If this will not work, could you please tell me how this would be possible to simulate in openFoam? Thanks for your input! Regards Guido Adriaensen |
|
November 7, 2005, 11:56 |
Hi Guido,
that sounds somet
|
#2 |
Member
Tommaso Lucchini
Join Date: Mar 2009
Posts: 87
Rep Power: 17 |
Hi Guido,
that sounds something interesting on the engine point of view! Try to consider the cylinderHead as a symmetryPlane and then check the pressure value you get at the end of the compression stroke and the velocity field. In this way you can understand if the assumption is good or not. If you want to do something a bit "better" and simulate the full geometry you should have to modify the movePiston.H file to allow the motion of both the pistons. To do that you have to study the following files: $FOAM_SRC/engine/include/movePiston.H $FOAM_SRC/engine/include/createEngineMovingMesh.H $FOAM_SRC/engine/engineTime/engineTime.H $FOAM_SRC/engine/engineTime/engineTime.C and then modify a bit the movePiston.H and createEngineMovingMesh.H files have fun! tommaso |
|
November 8, 2005, 02:58 |
Hi Tommaso,
Thanx for your
|
#3 |
Member
Guido Adriaensen
Join Date: Mar 2009
Posts: 56
Rep Power: 17 |
Hi Tommaso,
Thanx for your reply! I will modify the kivatest case and try to run it today with the cylinderhead specified as symmetryPlane. I will keep you informed on the progress. This will be just the start however, I want to simulate the full geometry and thus will have to adjust those files you mentioned. Regards Guido Adriaensen |
|
November 9, 2005, 11:21 |
Hello!
I've simulated the c
|
#4 |
Member
Guido Adriaensen
Join Date: Mar 2009
Posts: 56
Rep Power: 17 |
Hello!
I've simulated the compression stroke with the cylinderhead defined as symmetryPlane. Everything seemes to be going fine :-). Currently I'm working on the second approach, the simulation of the full geometry. I've studied the movePiston.H, createEngineMovingMesh.H and engineTime.C / engineTime.H files. Currently I'm editing these files in order to simulate the two moving pistons. If I have some results for that as well or run in to trouble (hopefully the first :-) ) I will report it here. |
|
November 10, 2005, 11:26 |
Hello,
Is the TF9307 report
|
#5 |
Member
Guido Adriaensen
Join Date: Mar 2009
Posts: 56
Rep Power: 17 |
Hello,
Is the TF9307 report available on the net? Or could somebody email it to me? I would appreciate it very much. I have been working on the simulation of the full geometry, for which I have adjusted the movePiston.H and createEngineMovingMesh.H and engineTime.C (and .H) files. But when I try to run my case I get an error that the patch of cylinderHead is not found. The error refers to /home/dm2/henry/.../createEngineMovingMesh.H. I have altered the createEngineMovingMesh.H file( I have commented the part where it should raise the fatal error when no cylinderHead-patch is found), but it seems like it does not use my altered file. For the 2 moving pistons there is no cylinderHead, that why it is not found of course. I'm using version 1.1 of OpenFOAM. Regards Guido Adriaensen |
|
November 11, 2005, 10:15 |
Hi Guido,
I have the TF9307,
|
#6 |
Member
Tommaso Lucchini
Join Date: Mar 2009
Posts: 87
Rep Power: 17 |
Hi Guido,
I have the TF9307, so you can write me and I can send it to you. Concerning the error you got, did you recompile the engineFoam application before running it? Bye Tommaso |
|
November 15, 2005, 08:56 |
Hi,
Thank you very much Tom
|
#7 |
Member
Guido Adriaensen
Join Date: Mar 2009
Posts: 56
Rep Power: 17 |
Hi,
Thank you very much Tommaso for the report! Since I'm using openFOAM 1.1, I cannot use the boundary condition for wallFixedTemp and movingWallFixedTemp, but I would like to use these boundary conditions. As mentioned in http://www.cfd-online.com/OpenFOAM_D...ages/1/37.html there is an error in the heat transfer, which relates to the wrong temperature. This would be corrected in the thermodynamics package of version 1.1.1. Does anybody have the correct files that I could use, or tell me which ones I have to adjust in order for engineFoam to be able to run with these boundary conditions. Or should I upgrade to version 1.2? Thanks for the info! Guido |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Parallel run with engineFoam | francesco | OpenFOAM Running, Solving & CFD | 4 | October 5, 2014 16:49 |
Weird problem with engineFoam tutorial | chris1980 | OpenFOAM Running, Solving & CFD | 29 | August 28, 2013 07:53 |
[mesh manipulation] Moving Mesh engineFoam Addremove layer | gbracing | OpenFOAM Meshing & Mesh Conversion | 1 | February 18, 2009 05:35 |
[mesh manipulation] Refining mesh in engineFoam | johan | OpenFOAM Meshing & Mesh Conversion | 1 | December 2, 2008 04:58 |
Parallel run with engineFoam | francesco | OpenFOAM Bugs | 1 | November 25, 2008 08:06 |