|
[Sponsors] |
April 18, 2011, 07:00 |
|
#81 |
Member
Join Date: Nov 2010
Posts: 86
Rep Power: 15 |
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
|
|
April 18, 2011, 07:50 |
|
#82 |
Member
Join Date: Nov 2010
Posts: 86
Rep Power: 15 |
wait, I modified the solver, I think I answered my own question
|
|
April 18, 2011, 07:59 |
|
#83 |
Member
Join Date: Nov 2010
Posts: 86
Rep Power: 15 |
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
|
|
April 18, 2011, 08:13 |
|
#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. |
|
April 18, 2011, 08:31 |
|
#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.
|
|
April 18, 2011, 08:54 |
|
#86 |
Member
Join Date: Nov 2010
Posts: 86
Rep Power: 15 |
great I have one well I am testing verticalValves now but perhaps you know, it asks for valveHeadPatch, but also for poppetPatch, I thought they were the same, so I know what is the poppetPatch from my simpleEngine test case, but do u know what is the valveHeadPatch?
|
|
April 18, 2011, 09:38 |
|
#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. |
|
April 18, 2011, 09:54 |
|
#88 |
Senior Member
Join Date: Oct 2009
Posts: 140
Rep Power: 17 |
Try for valveHeadPatch -> none;
|
|
April 18, 2011, 11:34 |
|
#89 |
Member
Join Date: Nov 2010
Posts: 86
Rep Power: 15 |
thx for the tutorial so one quick question, what is the difference between valveTopTol and deformationLift? they are from the class verticalValves and engineVerticalValves respectively, but from the definition, it looks like they both do the same thing, disable top layering for the valves when lift < valveTopTol (or deformationLift).
|
|
May 20, 2011, 15:30 |
|
#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? |
|
May 23, 2011, 11:55 |
|
#91 |
Member
Join Date: Nov 2010
Posts: 86
Rep Power: 15 |
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 |
|
May 23, 2011, 15:57 |
|
#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 16:17. |
||
May 24, 2011, 14:41 |
|
#93 |
Member
Join Date: Nov 2010
Posts: 86
Rep Power: 15 |
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 |
|
May 24, 2011, 18:36 |
|
#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 |
|
May 27, 2011, 07:19 |
|
#95 |
Member
Join Date: Nov 2010
Posts: 86
Rep Power: 15 |
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? |
|
May 28, 2011, 06:07 |
|
#96 |
Senior Member
Vangelis Skaperdas
Join Date: Mar 2009
Location: Thessaloniki, Greece
Posts: 287
Rep Power: 21 |
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 |
|
May 30, 2011, 07:46 |
|
#97 |
Member
Join Date: Nov 2010
Posts: 86
Rep Power: 15 |
wow great tipp, thanks a lot
|
|
May 30, 2011, 08:10 |
|
#98 |
Senior Member
Vangelis Skaperdas
Join Date: Mar 2009
Location: Thessaloniki, Greece
Posts: 287
Rep Power: 21 |
Let me know if you need anything about ANSA
|
|
May 31, 2011, 05:47 |
|
#99 |
Member
Join Date: Nov 2010
Posts: 86
Rep Power: 15 |
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 any ideas? Would appreciate it
|
|
May 31, 2011, 06:39 |
|
#100 |
Member
Join Date: Nov 2010
Posts: 86
Rep Power: 15 |
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?
|
|
|
|
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 |