Need help with meshing Diesel IC engine
1 Attachment(s)
I am doing a analysis of a An IC engine with Hydrogen and diesel pilot injection.
When I try to do the mesh motion in fluent I am getting negative volume error. I am getting results when using a normal flat piston but my work is of a piston with a hemisphere in center. Can someone do a mesh file and gambit file for me? (2D). I think the error is due to problems in meshing and I tried various types of meshing but its not working out. I am using Gambit 2.2.30, Fluent 6.2.16 Engine Specs: Stroke 110 mm Bore 80 mm Clearance volume: 2mm gap and a semi circle with 25 mm radius in center Origin (0,0) At top of cylinder in center, No need of valves, need a diesel injector at center. Thank you. |
You are talking about moving stuff, so I suppose you are working with moving Mesh.
Can you post a sketch to see how you set up your geometry/mesh for moving mesh and what kind of moving option you are working with (remeshing-smoothing or layering). |
Quote:
I tried many options in meshing, I had tried different meshes(tri, quad) with varying interval sizes. I also tried splitting the volumes (stroke volume and clearance volume) as 2 and making the wall between them as 'interface.' Still getting negative volume error at some point. It worked well with a normal flat piston. I am getting trouble when having the hemispherical piston. I have attached the geometry as a .jpeg file in the first post. |
Check if your mesh at t=0s (no motion), has negative volume.
|
Quote:
|
then you mesh is ok.
Problem should be on your moving mesh control parameters. Try to display your mesh when error occures, to see where are negative cells |
Quote:
How can I separate the 2 parts into 2 meshes and then have a deforming mesh to the stroke volume. What changes should i make from a normal procedure? |
you can use split tool for separating your domain.
But I don't understand why layering is not recommended. I think, that layering is more easy to use in IC (my opinion) |
Quote:
Constant Height or Const ratio? Split Factor and Collapse Factor.?? We Copy it frm Mesh info iin remeshing rite?? Anything similar for Layering? Any files on how to use the split tool? Do i need an edge between the 2 meshes? (one mesh is deforming another one is just moving. |
|
Quote:
Thank You.. I will try some and get back soon.. |
3 Attachment(s)
I tried some and is not getting results :-)
I couldn't mesh the geometry with quads... So I had to use Tri mesh.. 3 Files are attached.. original mesh, Mesh when i got error by using layering, Mesh when using layering and remeshing. When using both remeshing and layering, I got the negetive volume at a later stage. (about 1/2 of the compression cycle). |
1 Attachment(s)
Why can't you use quad mesh?
You can split the geometry into 2 faces, a rectangle and a semicircle, mesh the rectangle with quad map and the circle with quad pave for example, or you can split your geometri into 5 faces, and mesh all with quad map, as in the picture. But I don't know which is better for layering and remeshing since I've never use it.. Daniele |
2 Attachment(s)
I attach also a couple of qualitative pictures taken from gambit: you can see also a boundary layer.
Daniele |
Quote:
Should we define 2 points with same (x,Y) and make 2 edges? So that we can have a edge interface in fluent. |
Quote:
In dynamic mesh I think you have a mesh which is moving, so I think you have to define 2 zones in gambit: one for the moving mesh and one for the static one (if you have a static zone), so you will set in fluent parameters for the moving mesh zone. Do you want to move mesh at the bottom of the rectangle (the 2 mm gap) and in the semicircle? If so, all you have to do is to create an horizontal line at the bottom of your rectangle and define two zones in gambit (one which includes the faces of the semicircle and the face of the smaller rectangle at the bottom of the big ractangle and one for the big rectangle less the smaller one). No need to create interfaces (I think..)..Fluent will treat internal edges as continuum. If you wand you can upload somewere your dbs file with tri mesh and I will transform that "working" mesh in quad mesh ("working" means that that mesh has defined boudaries and zones). However you should wait for max reply, he is absolutely more expert than me.. OT: Thank you max for your posts I learnt a lot from you. Daniele |
My problem is simple. I have a Diesel IC engine. I want to study the combustion in it.
The geometry is as given above. Engine Specs: Stroke 110 mm Bore 80 mm Clearance volume: 2mm gap and a semi circle with 25 mm radius in center Origin (0,0) At top of cylinder in center, No need of valves, need a diesel injector at center. Problem is I cannot complete the mesh motion( I am getting negative volume after some time steps). Its due to the geometry, because I got it working in a normal flat piston. How should I change the meshing so as to get it working. I am getting the negative volumes inside that semi circle part, or at its edges. |
I got it working at last. I meshed it with tri mesh, as a single face, put the maximum skewness as 1. That got it running.
Max,Ghost Thank you very much. Plz tell me what's the difference between layering and remeshing? I read the articles max posted but they say when a given condition is violated, a cell is added or subtracted. So what's the difference? |
Remeshing means you have a mesh, and the solver will remesh your moving domain.
Layering means you will add (or suppress) cell layers in your moving domain >> on the the BC where you decided to add/suppress cells, first cell layer will be stretched (or compressed) untill a criterion will be satisfied. Then the solver will split (or collapse) the cell layer. Remeshing is only available for tri (2d) or tetrad(3d) Layering is only available for quad (2d) or hexa/wedge (3d) |
Quote:
If I convert the face into 2 faces or 5 faces as you told, how do I do the dynamic meshing part in fluent? In a single face case, I put the top end stationary, Sides as deforming and bottom part(piston head) as rigid body. Here should I define all the face boundaries as rigid bodies? What type of boundary should be those? interface? |
Wall edges should be already set as wall, then define the edges which are in your domain as interior.
Then set up wall edges and interior edges as rigid body |
Getting error when doing it as five parts..
'Error: replace_c_in_f_layering: cell of wrong type or NULL cell detected at layering zone. Error Object: ()' @max, @Ghost I can't attach the file here due to the 97kb file size limit.. I can mail them to you ides If I get the ids |
don't have Fluent anymore, I am basing on my memory... ;)
If you are adding or deleting layers with your interior edges, take care to really set the right "side" of your edges. Thus interior means you have 2 adjacent cells. If you are adding or deleting layers on the upper side, then you need to set height of cells for those adjacent cells in the meshing-options panel |
2 Attachment(s)
Quote:
For 1,2,3 interiors I can put he adjacent cell size as 1 (sqr mesh of size 1 mm) What will I put for the other value? 0? Should I put cell height for edges that are not in contact with deforming part? |
1 Attachment(s)
No it is ok, if you regrouped all interior edges together.
Attachment 11033 Basically you need to set edge C as stationnary. Edges A,B,1,2 & 3 as rigid body. That's it. AS you can see edges 1,2 and 3 have 2 adjacent regions (yellow and white) For edges 1,2 and 3 specify the cells height for the right adjacent cells. (you have to understand here if edge side belong to the yellow domain, or the white one). If you specify 0, then you don't have add/suppress layering (this value should be set for the non-adjacent region) |
Quote:
4,5,6 are also rigid bodies rite and the semicircle part of piston should be rigid body rite. |
no edges 4,5 and 6 belong to another domain which has to be define as rigid body (I forgot sorry)
So in Gambit define the semi-disk as fluid domain (call it moving or whatever), and in Fluent define this region as rigid body. |
Quote:
I think I grouped all of them as 1 single edge when meshing so I think I will go back and start from the mesh again. Will get back soon with new queries |
Meshing finished
This basically finished the meshing part of the project. I will continue the topic as another thread on model selection.
The topic is continued here. |
All times are GMT -4. The time now is 22:50. |