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: email@example.com
|All times are GMT -4. The time now is 08:37.|