|
[Sponsors] |
engine simulation with mesh motion and topological changes |
![]() |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
![]() |
![]() |
#81 |
Member
Join Date: Nov 2010
Posts: 86
Rep Power: 16 ![]() |
ok I must be missing something, I keep getting the same error, do I need the dynamicFvMeshDict? it seems like perhaps I need to remove '# include "dynamicFvMesh.H" ' from my solver, but then that brings other errors, like, createDynamicFvMesh.H does not work any more :S
|
|
![]() |
![]() |
![]() |
![]() |
#82 |
Member
Join Date: Nov 2010
Posts: 86
Rep Power: 16 ![]() |
wait, I modified the solver, I think I answered my own question
![]() |
|
![]() |
![]() |
![]() |
![]() |
#83 |
Member
Join Date: Nov 2010
Posts: 86
Rep Power: 16 ![]() |
hey Peter, so I modified the solver to be able to use engineTopoChangerMesh, and seems to compile alright, do you maybe have a test case I could run? there are many keywords I need to add and I'm not familiar with :S Would appreciate it
![]() |
|
![]() |
![]() |
![]() |
![]() |
#84 |
Senior Member
Join Date: Oct 2009
Posts: 140
Rep Power: 17 ![]() |
Try to replace # include "createDynamicFvMesh.H" with
# include "createEngineDynamicMesh.H" in the sonicTurbDyMEngineFoam. C file and recompile. |
|
![]() |
![]() |
![]() |
![]() |
#85 |
Senior Member
Join Date: Oct 2009
Posts: 140
Rep Power: 17 ![]() |
I don t have a test case. But feel free to post any question you have. We may debug it together here.
|
|
![]() |
![]() |
![]() |
![]() |
#86 |
Member
Join Date: Nov 2010
Posts: 86
Rep Power: 16 ![]() |
great
![]() ![]() |
|
![]() |
![]() |
![]() |
![]() |
#87 |
Senior Member
Join Date: Oct 2009
Posts: 140
Rep Power: 17 ![]() |
http://powerlab.fsb.hr/ped/kturbo/Op...Zagreb2007.pdf
Maybe this can be useful for you. |
|
![]() |
![]() |
![]() |
![]() |
#88 |
Senior Member
Join Date: Oct 2009
Posts: 140
Rep Power: 17 ![]() |
Try for valveHeadPatch -> none;
|
|
![]() |
![]() |
![]() |
![]() |
#89 |
Member
Join Date: Nov 2010
Posts: 86
Rep Power: 16 ![]() |
thx for the tutorial
![]() |
|
![]() |
![]() |
![]() |
![]() |
#90 |
New Member
Dalibor
Join Date: Aug 2010
Posts: 6
Rep Power: 16 ![]() |
Hi guys,
I have started the tutorial "simpleEngineStem" posted by abm, but after only several time steps following error occurs: "Floating point exception" I am using 1.6-ext and "sonicTurbDyMEngineFoam". Do you have any idea why I can not successfully run this tutorial? |
|
![]() |
![]() |
![]() |
![]() |
#91 |
Member
Join Date: Nov 2010
Posts: 86
Rep Power: 16 ![]() |
hi Peter,
could you send me the engineGeometry file you used for your accordionEngineMesh class and for the verticalValves too? I would really appreciate it ![]() |
|
![]() |
![]() |
![]() |
![]() |
#92 | |
Senior Member
Join Date: Oct 2009
Posts: 140
Rep Power: 17 ![]() |
Hi,
no problem. Here is my engineGeometry file for the accordionEngineMesh class. U will find a lot of things which are not used by the class, but the class requires an entry for it in the script. I didn t check which entry is really needed, thus I used it always like that. I will highlight the parts which are important for you. I don t have a file for the verticalValves class. Peter Quote:
Last edited by Peter_600; May 23, 2011 at 15:17. |
||
![]() |
![]() |
![]() |
![]() |
#93 |
Member
Join Date: Nov 2010
Posts: 86
Rep Power: 16 ![]() |
Hi Peter, thanks a lot!! it is very helpful. I've got a couple of questions though:
When you set a variable to off, does that actually turn it off in the motion solver, so that it won't use it? Also, what is the difference between the movingPoints and movingInternalPoints for the valve? and the pistonCellset, pointSet and faceSet, what should they contain? the cells in the piston bowl but not the cylinder maybe? thanks a lot for your help ![]() |
|
![]() |
![]() |
![]() |
![]() |
#94 |
Senior Member
Join Date: Oct 2009
Posts: 140
Rep Power: 17 ![]() |
Hi
First of all, do you have a mesh which has a similar designed like this? http://www.engines.polimi.it/images/...eMotionGDI.gif Which tools did you use to create the mesh? It is crucial to have a folder (named sets) in the polyMesh folder which conists all the different regions. For instance, I create the meshes in Gambit and name the boundaries directly there. Than I use Code:
FluentMeshToFoam -writeSets Peter |
|
![]() |
![]() |
![]() |
![]() |
#95 |
Member
Join Date: Nov 2010
Posts: 86
Rep Power: 16 ![]() |
Hi Peter,
I am following a similar approach, but I am using Ansa for meshing. The thing is, I haven't really done it before and am not sure if I can write out the sets from ansa. So the moving points would be the points moving together with the valve, and the movingInternal points would be the ones were layering is being done on the picture? Is there some kind of documentation on this? |
|
![]() |
![]() |
![]() |
![]() |
#96 |
Senior Member
Vangelis Skaperdas
Join Date: Mar 2009
Location: Thessaloniki, Greece
Posts: 287
Rep Power: 22 ![]() |
Hi there,
I would like to help on the ANSA part of the issue. I assume you are using ANSA v13.1.3 and that you are starting in CFD mode. If you want to create SETs of nodes or elements in ANSA for OpenFOAM you should do the following. Activate the SET button at the top main toolbar Press NEW The selection mode window opens you can mark if you want to select Nodes or Elements or Properties Select from the screen the entities you want to load in the SET and confirm with middle mouse button. The SETs card opens Type in the name of the SET and press OK The SET is created and displayed in the list Now you can output in OpenFOAM format In the output options window activate the Output Sets flag. ANSA will create the sets folder inside polymesh as needed Hope this helps Vangelis |
|
![]() |
![]() |
![]() |
![]() |
#97 |
Member
Join Date: Nov 2010
Posts: 86
Rep Power: 16 ![]() |
wow great tipp, thanks a lot
![]() |
|
![]() |
![]() |
![]() |
![]() |
#98 |
Senior Member
Vangelis Skaperdas
Join Date: Mar 2009
Location: Thessaloniki, Greece
Posts: 287
Rep Power: 22 ![]() |
Let me know if you need anything about ANSA
|
|
![]() |
![]() |
![]() |
![]() |
#99 |
Member
Join Date: Nov 2010
Posts: 86
Rep Power: 16 ![]() |
Thanks Vangelis, I do have a question, how do I create facesets in ansa? I need a set of internal faces, and I tried with the volToshell function to transform them to a shell and then selecting them in the sets option, but when I tried to write the mesh out, I didnt see the "write sets" option, and indeed the set was not written
![]() ![]() |
|
![]() |
![]() |
![]() |
![]() |
#100 |
Member
Join Date: Nov 2010
Posts: 86
Rep Power: 16 ![]() |
Hi Peter, I've also got a question for you, hope I'm not causing too much problem. Which faces would you set as the attach/detach faces? I mean, in the test case I did, the faces were at the very entrance of the port, but this faces were not moving. So, is it possible to select faces which are in the valve curtain for example? or faces in the layering zone, etc? Say in the picture you posted, which ones would be the attach/detach faces?
|
|
![]() |
![]() |
![]() |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() 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 11:36 |
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Dynamic moving mesh | Pei-Ying Hsieh (Hsieh) | OpenFOAM Running, Solving & CFD | 64 | June 7, 2012 10:04 |
engine simulation with mesh motion and topological changes | abminternet | OpenFOAM | 0 | December 16, 2010 11:47 |
[Commercial meshers] Good mesh for pistoncylinder application | Serkan Cetin | OpenFOAM Meshing & Mesh Conversion | 4 | November 3, 2010 07:36 |
Radiation and miscellaneous enhancements | vtk_fan | OpenFOAM Running, Solving & CFD | 6 | February 17, 2008 23:49 |
Valve action | Hrvoje Jasak (Hjasak) | OpenFOAM Running, Solving & CFD | 0 | January 13, 2005 13:23 |