|
[Sponsors] |
engine simulation with mesh motion and topological changes |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
December 16, 2010, 12:55 |
engine simulation with mesh motion and topological changes
|
#1 |
Member
Join Date: Nov 2010
Posts: 86
Rep Power: 15 |
Hi guys,
I have been trying to figure out how to set up a case for a cold flow simulation of an ic engine. I found a tutorial using an old solver which is no loger present in openfoam 1.6-ext (neither in 1.5-ext), and I would like to learn how to set up a case with the newer OF versions. Has anybody had any success? I am trying my luck with sonicTurbDyMEngineFoam without success. In my first attempt I used mesh motion only without topological changes, using the velocityLaplacian solver, and the piston moved slightly, then I tried setting it up with laplacdFaceDecomposition solver, but it gets stucked as soon as it gets to mesh.update(). I am really not sure if I have set up the case, and it appears to be almost no information on the net or forums, and the little information there is, is for previous versions using libraries that are apparently not there any more. Any ideas??? I would very much appreciate it. Frederic Muller |
|
December 18, 2010, 11:37 |
|
#2 |
Senior Member
Join Date: Oct 2009
Posts: 140
Rep Power: 17 |
Can you send me ur tutorial. I have some experiences with engineDyMFoam for 1.5-dev. I propably can help u, at least with the mesh motion. I know this is a quite challenging topic.
Regards Peter |
|
December 20, 2010, 05:16 |
|
#3 |
Member
Join Date: Nov 2010
Posts: 86
Rep Power: 15 |
Hi Peter,
thanks for your reply. I have attached the tutorial file i got for an older OpenFOAM-ext version. there, -270 is the initial time directory, I had to remove the rest of them, except for the last one, because it was too big to upload here, but if you need the rest of the time directories please let me know and I will find a way to upload them. I appreciate any guidelines you could give me. best regards, Alberto |
|
December 20, 2010, 07:26 |
help
|
#4 |
New Member
Josiah Xu
Join Date: Jan 2010
Posts: 8
Rep Power: 16 |
Hi Peter,
You said you have experience on the engineDyMFoam in 1.5-dev. Do you mean "icoDyMEngineFoam" ? Curently, I am also troubled by using "simpleEngine" case to realize the mesh layerAdditionRemoval. If you run it succesfully,please help me. Can you send me your case? My email address is faithhidy@hotmail.com . Merry Christmas to you~ Josiah |
|
December 20, 2010, 07:44 |
|
#5 |
Senior Member
Join Date: Oct 2009
Posts: 140
Rep Power: 17 |
For the moment I still struggling with installing 16-ext in my system. I will come back to u guys as soon as possible. you can also contact me on my email.
|
|
December 20, 2010, 08:16 |
|
#6 |
Member
Join Date: Nov 2010
Posts: 86
Rep Power: 15 |
@Josiah: Hey Josiah, I think we are stuck at the same part. I am trying to use sonicTurbDyMEngineFoam, and am also stuck with the topological changes. Mesh motion without topological changes seems to work, but I have only tried it with the velocityComponentLaplacian solver. Of course this is not enough, there is very little information about dictionary setup, etc, available. If you know anything please let me know, and I'll do the same for you.
@Peter: sure thing, don't worry, if we can be of help, please let us know. |
|
January 8, 2011, 08:17 |
|
#7 |
Senior Member
Join Date: Oct 2009
Posts: 140
Rep Power: 17 |
Ok guys. I am ready Sorry for the big delay.
I would suggest we open a new group for ic engine simulations. Since something like this doesen t really exist. I opened a discussion group http://www.extend-project.de/user-gr...s/viewgroup/48. Join this group! We can discuss our projects together. |
|
January 8, 2011, 10:21 |
|
#8 |
Senior Member
Sandeep Menon
Join Date: Mar 2009
Location: Amherst, MA
Posts: 403
Rep Power: 25 |
Will something like this work? The only limitation is that you would be restricted to pure tetrahedral / triangular meshes.
http://www.ecs.umass.edu/~smenon/Mov...stonMotion.avi This stuff is already in 1.6-ext. Look at the circCylinder3d tutorial for some ideas. I can probably try and help you guys set it up, so let me know. |
|
January 8, 2011, 14:30 |
|
#9 |
Senior Member
Join Date: Oct 2009
Posts: 140
Rep Power: 17 |
This is great
This is exactly what I am looking for. I will like to set up a case. Do u think it is also possible with spray interaction? I would like to simulate a direct injection engine, with spray.... Do you thin it s possible to use it with dieselEngineFoam? Peter |
|
January 8, 2011, 14:35 |
|
#10 |
Senior Member
Sandeep Menon
Join Date: Mar 2009
Location: Amherst, MA
Posts: 403
Rep Power: 25 |
I'm pretty sure it would be possible. The code for cloudMapping is not in there yet, but I think that should be taken care of with just one line of code. I would suggest getting getting the mesh to work first, then adding a flow solver, and finally adding the spray stuff.
|
|
January 8, 2011, 14:58 |
|
#11 |
Senior Member
Join Date: Oct 2009
Posts: 140
Rep Power: 17 |
Great I will do my best and working hard on it. Hope to provide you guys soon with a solution and of course everyone is welcome in contributing to it.
Peter |
|
January 13, 2011, 06:07 |
|
#12 |
Member
Join Date: Nov 2010
Posts: 86
Rep Power: 15 |
wow that is really amazing, it is also exactly what I am trying to do is it possible to do the same with 2 tilted valves? if you could help us set up this case, we would really appreciate it I have been trying for a while now, I've only got to moving the piston with layering, but as soon as I introduce the valves (straight in 2D still ) it doesn't go past the first iteration. Any ideas??
best regards, abm |
|
January 13, 2011, 09:38 |
|
#13 |
Senior Member
Sandeep Menon
Join Date: Mar 2009
Location: Amherst, MA
Posts: 403
Rep Power: 25 |
The video there uses two tilted valves - so no problem there. I can probably try and set up a simple demo case, but that might take me a little time, so I may not be able to get to it immediately.
|
|
January 13, 2011, 10:27 |
|
#14 |
Member
Join Date: Nov 2010
Posts: 86
Rep Power: 15 |
Thanks I would really appreciate it, I have been struggling with this for quite some time now. Are you using 1.5-dev or 1.6-dev? I guess the setup will be pretty much the same anyways. Don't worry if it takes you a while, any help you can provide now will be very much appreciated. I am really looking forward to seeing how you did that
|
|
January 13, 2011, 14:49 |
|
#15 |
Senior Member
Join Date: Oct 2009
Posts: 140
Rep Power: 17 |
Me too
@abminternet i am working for the moment on a modification of the accordionEngineMesh class. I try to add to the piston motion a layering. If you have experiences in it we can create a new class in the meantime. Peter |
|
January 14, 2011, 05:54 |
|
#16 |
Member
Join Date: Nov 2010
Posts: 86
Rep Power: 15 |
@Peter: Hi Peter, my programming skills are a bit limited but I would be quite interested on that, but I thought the accordionEngineMesh class already performed layering for the piston, am I mistaken?
Last edited by abminternet; January 14, 2011 at 06:18. |
|
January 15, 2011, 09:53 |
|
#17 |
Senior Member
Join Date: Oct 2009
Posts: 140
Rep Power: 17 |
I ve done somet simulation with the accordion class. And it uses no layering.
Have u seen someone who did that? I will try to add it But it will take me a while since I am also not so good in C++. Which strategies do u use for moving the mesh and which version of OpenFoam do u use? |
|
January 18, 2011, 05:20 |
|
#18 |
Member
Join Date: Nov 2010
Posts: 86
Rep Power: 15 |
I haven't actually used it or seen it work, but the description of the class at the beginning of the code says that layers are added and removed for the piston.
perhaps the class is not complete? let me know of your progress and if I can help, as I am also interested . At the moment I am using OpenFOAM 1.6-ext, with sonicTurbDyMEngineFoam. dynamicFvMesh simpleEngineTopoFvMesh; solver laplaceFaceDecomposition; diffusivity uniform 1.0; it seems it only works with solvers based on the laplace equation for motion. Even though I still don't get past the first iteration :S, it seems to update the mesh, but I'm having troubles with my Temperature Boundary conditions. I am working at the moment with vertical valves while I get to know how it all works, but my aim is to do tilted valves with edge swapping and smoothing, or something similar so I'll be glad to see Sandeep's test case |
|
January 18, 2011, 14:16 |
|
#19 |
Senior Member
Sandeep Menon
Join Date: Mar 2009
Location: Amherst, MA
Posts: 403
Rep Power: 25 |
I've posted a simple case for tilted valves. Use with moveDynamicMesh. It should be sufficient to give an idea about how it would be done.
You can find the necessary files here: http://www.ecs.umass.edu/~smenon/tarballs/enginePointPatchFields.tgz http://www.ecs.umass.edu/~smenon/tarballs/simpleEngine.tgz It's probably helpful to use ParaView to see how the patches are defined. |
|
January 18, 2011, 14:16 |
|
#20 |
Senior Member
Join Date: Oct 2009
Posts: 140
Rep Power: 17 |
Since you are also using 1.6-ext, could you check if the dieselFoam tut runs for you to the end? For me it doesn t. I would like to include this solver, too. So I have to be sure if this is a bug or my Foam verison doesnt work properly.
I am also waiting unpaticently on the test case of Sandeep Last edited by Peter_600; January 31, 2011 at 05:23. |
|
|
|
LinkBacks (?)
LinkBack to this Thread: https://www.cfd-online.com/Forums/openfoam-solving/83177-engine-simulation-mesh-motion-topological-changes.html
|
||||
Posted By | For | Type | Date | |
Untitled document | This thread | Refback | February 4, 2014 12:36 |
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Dynamic moving mesh | Pei-Ying Hsieh (Hsieh) | OpenFOAM Running, Solving & CFD | 64 | June 7, 2012 11:04 |
engine simulation with mesh motion and topological changes | abminternet | OpenFOAM | 0 | December 16, 2010 12:47 |
[Commercial meshers] Good mesh for pistoncylinder application | Serkan Cetin | OpenFOAM Meshing & Mesh Conversion | 4 | November 3, 2010 08:36 |
Radiation and miscellaneous enhancements | vtk_fan | OpenFOAM Running, Solving & CFD | 6 | February 18, 2008 00:49 |
Valve action | Hrvoje Jasak (Hjasak) | OpenFOAM Running, Solving & CFD | 0 | January 13, 2005 14:23 |