CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   Main CFD Forum (https://www.cfd-online.com/Forums/main/)
-   -   simulation of piston motion inside a hydraulic cylinder (https://www.cfd-online.com/Forums/main/91314-simulation-piston-motion-inside-hydraulic-cylinder.html)

mosman August 7, 2011 01:40

simulation of piston motion inside a hydraulic cylinder
 
I am a student working on Fluent to simulate motion of a piston inside a cylinder.
The cylinder has two ports, one on the left and the other on the right end. The piston can take any initial position inside the cylinder. There will be three zones: solid zone (the piston) at the center ; two fluid zones, one at each side of the piston.
When pressurized oil inter the cylinder from one side (say left port) the piston will be forced by the oil pressure to move to the other side (right). The piston in turn forces the oil on its right side to flow out the cylinder through the right port.

I need C code from similar example to guide me.
or if any one of you can help me by any sort of guidelines.

My email address: m.osman6m@gmail.com


All times are GMT -4. The time now is 17:30.