|
[Sponsors] |
April 27, 2010, 10:35 |
Moving piston
|
#1 |
New Member
Hans-Petter
Join Date: Apr 2010
Posts: 6
Rep Power: 16 |
Hi All,
I am trying to simulate a piston moving upwards in a closed cylinder. I want to use a table for the displacement versus time. It is running when I have specified a constant displacement, but as soon as a table is loaded I get a negative volume error. Also, I have specified a relatively small displacement for now (25mm of 54 mm total length), later I want to compress the fluid more (like in an Internal Combustion engine). Which method should I use to delete the meshes which are too deformed? Does anyone have an example or a tutorial of a simpel piston moving in a cylinder? Appreciate any help Hans-Petter MSc student |
|
April 27, 2010, 20:06 |
|
#2 |
Member
Vinicius Girardi
Join Date: Mar 2009
Location: Sao Paulo, Brazil
Posts: 80
Rep Power: 17 |
Hi Hans
Unfortunatelly, STAR-CCM+ still doesn't have the complete morphing technology from CD-adapco. For large deformations and cases where cells must be added or removed, you have to use STAR-CD. Vinicius |
|
April 29, 2010, 01:35 |
|
#3 |
Senior Member
Join Date: Mar 2009
Posts: 260
Rep Power: 18 |
That's not correct! Our support-guy has shown us a CCM simulation of a simple piston compressor. But he wouldn't show us his macro
|
|
April 29, 2010, 09:03 |
|
#4 |
Member
Vinicius Girardi
Join Date: Mar 2009
Location: Sao Paulo, Brazil
Posts: 80
Rep Power: 17 |
I´ve heard about that, but does it have cells that are added and removed?
|
|
April 29, 2010, 11:52 |
|
#5 |
Senior Member
Join Date: Mar 2009
Posts: 260
Rep Power: 18 |
As far as I understand it this sample changed the cell size of some cells, after some steps the will removed and then the macro makes a remesh.
|
|
April 29, 2010, 12:49 |
|
#6 |
Senior Member
Pauli
Join Date: Mar 2009
Posts: 189
Rep Power: 17 |
Sounds like the bleeding edge of technology.
|
|
April 30, 2010, 08:35 |
|
#7 |
New Member
Hans-Petter
Join Date: Apr 2010
Posts: 6
Rep Power: 16 |
I have got the mesh to move with a table, the file needs to be .csv, the headings needs to be X, Y, Z and time. The time is absolute and the displacement is incremental and in metres. I have even got the mesh to compress a lot without a negative volume error.
I am not deleting/remeshing, but I would like to know how that can be done. The mesh is polyhedral around the chamber and a mesh is extruded from there with an increasing length. The domain is not cylindrical at this point, it just has a thickness in the plane of the screen. Here is a picture of the compressed mesh: Solving it is giving a floating point exception error tough. My CFD lecturer is going to contact CD-adapco to get help for this problem. I will post again if I get it to work. In the meantime any help is appreciated. Hans-Petter |
|
May 1, 2010, 03:30 |
|
#8 |
Senior Member
Join Date: Mar 2009
Posts: 260
Rep Power: 18 |
I dont think that it will work with that type of moving mesh.
|
|
May 26, 2010, 09:16 |
|
#9 |
New Member
Johannes
Join Date: May 2009
Posts: 16
Rep Power: 17 |
||
June 1, 2010, 06:10 |
|
#10 |
Senior Member
Join Date: Mar 2009
Posts: 260
Rep Power: 18 |
No sorry, but I think the problem you have is that you move cells to other positions. I think you must work with 2 regions.
one region for the "top" which don't moves and the other region is the region which moves/size changes. But I'm not sure, I didn't had time to try it... |
|
June 10, 2010, 00:42 |
|
#11 |
New Member
Jiashing Liu
Join Date: Mar 2009
Posts: 11
Rep Power: 17 |
Hi,
You can apply the morpher function to finish the motion behavior of the piston. You can find the tutorial of the morpher motion in the user guide. |
|
July 6, 2010, 13:20 |
|
#12 |
Senior Member
Join Date: Oct 2009
Location: Germany
Posts: 636
Rep Power: 22 |
I haven't tried it on my own, but i talked to people who did it before. One region should be enough, you have to use the morpher and a macro. The displacement is read from the table. The morpher will only move vertices regarding to the values from the table, which deforms the cells.
Monitor the mesh quality, and after some time steps, when the mesh qualitiy becomes worse, the macro should stop the solution. Then the surface will be exported as a *.dbs, imported again, the new surface replaces the old one and you can remesh the "new" geometry. The old solution will be mapped on the new mesh and solution can start again from this mapped solution. It might be annoying to have to export, import and remesh again, but it seems to be the best possibility how to get a new surface definition for the remeshing. And remeshing is necessary to ensure an appropriate mesh quality if the displacement is too big to do it in one single step. Best regards |
|
July 11, 2011, 12:51 |
Disguising
|
#13 |
New Member
Anonimo
Join Date: Jul 2011
Posts: 2
Rep Power: 0 |
Hello, I found the same problem. I want to move the valve, but in the start position, tha valve is too close to the wall and if it starts to move this volume would be too much long...
I found a way to trick CCM. I did several meshes in diferent instants and import into my simulation. (I turned off the "physics" te way that this new regions do not run together). I chose this instants to simulation stop, and I go to REPLACE MESH. Star CCM saves the fields, but replace the old mesh for the new one. I remember that you must calculate the meshes to its boundarys match exactly in the instant "x" (or some parts of the field will disappear) I'm sorry my english, I wrote it very fast. Last edited by FalcãoC; July 11, 2011 at 17:26. |
|
July 11, 2011, 14:40 |
|
#14 |
New Member
Anonimo
Join Date: Jul 2011
Posts: 2
Rep Power: 0 |
My mistake, it's better to import the new mesh after stop the simulation.
att Last edited by FalcãoC; July 11, 2011 at 17:27. |
|
Tags |
morpher, moving mesh, moving piston |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
gap between the wall and moving piston | Nan | CFX | 11 | September 9, 2019 18:39 |
significant gap between the wall and moving piston | Sha | FLUENT | 4 | September 20, 2006 12:15 |
3.24 Problem with moving piston | jojo | Siemens | 1 | January 8, 2006 12:27 |
Mean temperature with moving piston | O.Kaario | Siemens | 16 | August 23, 2000 12:48 |
Number of layers for moving piston | Hassaneen | Siemens | 1 | August 17, 2000 05:43 |