|
[Sponsors] |
engine simulation with mesh motion and topological changes |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
January 18, 2011, 14:25 |
|
#21 |
Senior Member
Join Date: Oct 2009
Posts: 140
Rep Power: 17 |
That was quick Thank you very much. I will have a look on it.
|
|
January 18, 2011, 15:21 |
|
#22 | |
Senior Member
Join Date: Oct 2009
Posts: 140
Rep Power: 17 |
I didn t succeed in compiling the file you have attached. I get this error:
Quote:
|
||
January 18, 2011, 15:23 |
|
#23 |
Senior Member
Sandeep Menon
Join Date: Mar 2009
Location: Amherst, MA
Posts: 403
Rep Power: 25 |
Please use 'wmake libso', and not 'wmake'
|
|
January 18, 2011, 16:04 |
|
#24 | |
Senior Member
Join Date: Oct 2009
Posts: 140
Rep Power: 17 |
Thx. It worked. But still doesn t run.
Quote:
|
||
January 18, 2011, 16:18 |
|
#25 |
Senior Member
Sandeep Menon
Join Date: Mar 2009
Location: Amherst, MA
Posts: 403
Rep Power: 25 |
Sorry about that. I've been running my development version. Comment out this line in constant/dynamicMeshDict:
dynamicFvMeshLibs ("libdynamicTopoFvMesh.so"); This should pick up the library version on 1.6-ext. |
|
January 18, 2011, 16:28 |
|
#26 |
Senior Member
Join Date: Oct 2009
Posts: 140
Rep Power: 17 |
The same error.
|
|
January 18, 2011, 17:13 |
|
#27 |
Senior Member
Sandeep Menon
Join Date: Mar 2009
Location: Amherst, MA
Posts: 403
Rep Power: 25 |
/home/peter/OpenFOAM/peter-1.6-ext/run/simpleEngine
Is this being run from that directory? Or have you extracted the tarball to another location? Please post the output error. This is really not that hard to figure out. |
|
January 18, 2011, 17:24 |
|
#28 |
Senior Member
Join Date: Oct 2009
Posts: 140
Rep Power: 17 |
I shouldn t work so late Stupid mistake
It runs Thank you very much!!!!! |
|
January 19, 2011, 05:15 |
|
#29 |
Senior Member
Karl-Johan Nogenmyr
Join Date: Mar 2009
Location: Linköping
Posts: 279
Rep Power: 21 |
Really cool work, Sandeep! Thanks for sharing
Two questions: Can it run in parallel, and can it handle an opening and closing valve? Regards, Kalle |
|
January 19, 2011, 09:44 |
|
#30 |
Senior Member
Sandeep Menon
Join Date: Mar 2009
Location: Amherst, MA
Posts: 403
Rep Power: 25 |
Kalle,
- Parallel topo-changes: Not yet, but almost there - few bugs to iron out. - Valve opening/closure: I think this one's a little easier to figure out. I like the approach of using a GGI interface for valves, along with a run-time modification of GGI patches to wall to define opening/closure events. This could even be as simple as maintaining the GGI patch as-is, and explicitly over-riding the fixedValue/fixedGradient fields to reflect a wall condition. |
|
January 19, 2011, 10:15 |
|
#31 |
Senior Member
Karl-Johan Nogenmyr
Join Date: Mar 2009
Location: Linköping
Posts: 279
Rep Power: 21 |
Thanks for your reply! Nice to hear that parallelization is under way.
I am having some contact with Martin Beaudoin regarding GGI. As it is now, the GGI cannot handle topological changes on the interfaces (as far as I could figure out). This would also be a problem for this case, except the issue with non-overlapping GGI patches you mentioned. Martin said he will have a look at it. Let's see what he comes up with! Regards, Kalle |
|
January 19, 2011, 17:09 |
|
#32 |
Senior Member
Philippose Rajan
Join Date: Mar 2009
Location: Germany
Posts: 552
Rep Power: 25 |
Hello Sandeep (and everyone else),
A Good Day to you :-)! First and foremost, I must say..... Hats Off to you Sandeep.... this new functionality in OpenFOAM-1.6-ext is really amazing :-)! And its great to see it in action :-)! Thanks a lot for all the effort you have put into it over the last few years! After seeing the test-case which you posted on this thread, I decided that it is finally time for me to try out something which is more relevant to the areas where I would be using these dynamic re-meshing and mesh optimisation features. I used the dynamicMeshDict in your test-case as a base, and built up a very simple Poppet Valve test-case with an initial mesh of around 75000 - 80000 tetrahedral cells. I then prescribed a motion to the poppet using the same special boundary condition which you had included in your test-case. Initially I focused purely on the dynamic-mesh part of it, and got it moving (along with the re-meshing) using moveDynamicMesh. Next I included the Fluid part to the simulation :-)! An inlet and outlet pressure, and used pimpleDyMFoam to simulate the case. And well .... :-)! I was pleasantly surprised to see it work like a charm right on the first try (with the fluid i.e.)..... :-)! Really cool.... I don't know yet if the fluid solution is accurate or not, and I did not pay too much attention to the initial mesh, but I can say.... I have never been able to move that particular simulation case by such a gross displacement without totally destroying the mesh.... Using your solver..... the mesh non-orthogonality never went above 52° :-)! And the simulation is still running as I write this.... As a small demonstration of my test-case, I have put in links to two videos.... one which shows a close-up of the area near the seat of the valve where you can see cells being destroyed and created.... and the second video which actually shows the evolution of the velocity with time... The quality of the animations are not that great, and please let me know if the links do not work as expected :-)! * Video - 1 https://docs.google.com/leaf?id=0B0s...0YWQ1&hl=en_GB * Video - 2 https://docs.google.com/leaf?id=0B0s...xNDUz&hl=en_GB Now.... for two questions: 1. Is there a small document which kind of roughly explains what each of the different options in the mesquiteSolver and dynamicMesh dictionaries do and how they influence the capabilities of the library? 2. What are the particular disadvantages of the current fluid side field mapping algorithms you have implemented, and are you looking at improving them significantly over the next year or so, or are these algorithms already robust and accurate enough for normal use? I wish you a great day ahead :-)! Philippose |
|
January 19, 2011, 17:23 |
|
#33 |
Senior Member
Sandeep Menon
Join Date: Mar 2009
Location: Amherst, MA
Posts: 403
Rep Power: 25 |
Philippose,
Great to see it being put to work... You could also do this in 2D, with a triangle-prism mesh. 1. The circCylinder3d tutorial should provide a rough guide for all available options. If something's not clear enough, post it here, and we can look into it. 2. The remapping in the current version on 1.6-ext is a simple inverse-distance based remap that's fast and reasonably accurate, but not conservative. My development version has an improvement that I'll put in at a later stage. |
|
January 21, 2011, 05:38 |
|
#34 |
Member
Join Date: Nov 2010
Posts: 86
Rep Power: 16 |
@deepster: hey Sandeep, thanks for posting the case, I will have a look into it
@Peter: hi Peter, I ran the dieselFoam case, it crashes almost at the beginning. I guess it has something to do with the thermoPhysical properties, I hope it is nothing serious because I get a similar error when running sonicTurbDyMEngineFoam. I attach the log file here. As for the accordionEngineMesh class, does that mean they just put it in the description but didnt really implemented it? well and now to work on sandeeps test case!! let me know also about the accordionEngineMesh class, I will also try to have a look into it |
|
January 24, 2011, 15:49 |
|
#35 |
Senior Member
Join Date: Oct 2009
Posts: 140
Rep Power: 17 |
I got exactly the same error. I also hope it is nothing serious.
Indeed it is written but not implemented. I am working on it. I think I am close to the solution. i keep you posted. Peter |
|
January 26, 2011, 09:43 |
|
#36 |
Senior Member
Join Date: Oct 2009
Posts: 140
Rep Power: 17 |
I think it is not necessary anymore to implement the piston layers to the accordionEngineMesh class. I think the thobois class is exactly that what I need. Does anyone knows something about it. I think it is the same as the accordionEngineMesh class, except it uses a layering for the piston movemoment.
I am struggling since one several weeks with implementing it into the accordionEngineMesh class. I hope this class can everything what I need |
|
February 3, 2011, 06:48 |
|
#37 |
Member
Join Date: Nov 2010
Posts: 86
Rep Power: 16 |
@Josiah:
Hey Josiah, I am making some modifications to the simpleEngine case, and would like to know how you found out the number (ID) of the detachFaces in the constant/engineGeometry file. Thanks |
|
February 4, 2011, 12:26 |
|
#38 |
New Member
Josiah Xu
Join Date: Jan 2010
Posts: 8
Rep Power: 16 |
Muller,
You can find them in polyMesh/faceZones file in ''constant" easily ( detachFaceZoneV1/V2). You can define them by setting faceSetsDict in "system". Happy chinese new year~ Josiah |
|
February 21, 2011, 08:16 |
engine compressible solver with mesh motion and topo changes
|
#39 |
Member
Join Date: Nov 2010
Posts: 86
Rep Power: 16 |
hi foamers,
is anyone doing or has anyone done any simulations with mesh motion and topological changes for IC engine simulation??? i have done a few runs of the simpleEngine case with an incompressible solver just to observe the cold flow, but the results are still not good. Mesh moves and everything, but velocity field doesnt look very real, even for an incompressible solver. Then I decided to use a compressible one, sonicTurbDyMEgineFoam, which is the one I wanted to use anyway, but I keep getting the following error: From function specieThermo<thermo>::T(scalar f, scalar T0, scalar (specieThermo<thermo>::*F)(const scalar) const, scalar (specieThermo<thermo>::*dFdT)(const scalar) const) const in file /opt/software/openfoam/extend/OpenFOAM-1.6-ext/src/thermophysicalModels/specie/lnInclude/specieThermoI.H at line 73 Maximum number of iterations exceeded. Rescue by HJ Any suggestions??? I have been stuck here for a long while already, any help will be appreciated. |
|
February 21, 2011, 14:57 |
|
#40 |
Senior Member
Join Date: Oct 2009
Posts: 140
Rep Power: 17 |
Hi abminternet
Yes, I succeed in doing an IC engine simulation with engineDyMFoam and the accordionEngineMesh class but wit 1.5-dev. I ve created an IC engine group at http://www.extend-project.de/ in order to discuss and gather all questions related to engines. I would like to have a look on your case. With 1.6-ext I didn t run a case so far. I ve converted my stuff to 1.6-ext and it didn t work. I am working on it. Peter |
|
|
|
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 |