PPSL_Unit4_Part 2
PPSL_Unit4_Part 2
1. Compute temperature values for intermediate pressures between 500 kPa and 100 kPa.
2. Assume entropy increases linearly and plot the T-S diagram.
Problem 2: Van der Waals Equation for Real Gas (CO2 ) – P-V
Diagram
For carbon dioxide (CO2 ) at T = 350 K, use the Van der Waals equation:
RT a
P = −
V −b V2
where:
• Gas constant: R = 0.1889 kJ/kg.K
1
Problem 3: Temperature Distribution in a Fin (Heat Transfer
Problem)
A thin metal fin of length L = 10 cm is exposed to air. The governing equation for 1D steady-state
conduction is:
d2 T
− m2 (T − T∞ ) = 0
dx2
where:
• Ambient temperature: T∞ = 300 K
• Base temperature: Tb = 400 K
• Heat transfer coefficient: h = 50 W/m².K
• Thermal conductivity: k = 200 W/m.K
• Cross-sectional area: Ac = 0.0005 m²
• Perimeter: P = 0.05 m
The parameter m is given by:
r
hP
m=
kAc
1. Discretize the equation using the finite difference method (FDM).
2. Solve for temperature distribution along the fin.
3. Plot T (x) along the fin length.
• Diameter: D = 10 cm
• Height: H = 20 cm
• Mold constant: Cm = 0.5 min/cm²
• Exponent: n = 2
2
Problem 5: Forging Force Estimation for Open-Die Forging
A cylindrical workpiece is being hot forged with:
• Final height: hf = 50 mm
• Initial diameter: D = 100 mm
• Yield strength: σY = 200 MPa
1. Compute and plot the forging force vs. height curve as the height decreases from 150 mm to 50
mm.
2. Use a loop to calculate values at intervals of 10 mm.
• Thickness: T = 50 mm
• Thermal conductivity: k = 200 W/m.K
• Density: ρ = 7800 kg/m³
• Specific heat: Cp = 500 J/kg.K
2. Plot the cooling time vs. thickness for thickness values from 20 mm to 100 mm.
3
Problem 7: Projectile Motion with Air Resistance
A ball is launched with an initial velocity of v0 = 50 m/s at an angle of θ = 45◦ . The governing equations
of motion with air resistance are:
dvx
m = −cvx
dt
dvy
m = −mg − cvy
dt
where:
• m = 0.5 kg (mass of the ball)
• g = 9.81 m/s² (acceleration due to gravity)
• c = 0.05 kg/s (drag coefficient)
1. Use Euler’s method to simulate the projectile motion in time steps of 0.01 s.
2. Plot the trajectory of the projectile (y vs. x).
3. Compare the motion with and without air resistance.
d2 x dx
m +c + kx = 0
dt2 dt
where:
• m = 2 kg (mass)
• k = 50 N/m (spring constant)
• c = 5 Ns/m (damping coefficient)
• x0 = 0.1 m (initial displacement)
• v0 = 0 m/s (initial velocity)
1. Use numerical integration to solve for x(t) over time.
2. Plot the displacement vs. time for different damping values (c = 5, 10, 20 Ns/m).
3. Identify critical damping where oscillations cease.
4
Problem 10: Orthographic Projection of a Cylinder
A cylinder of:
• Diameter: 50 mm
• Height: 80 mm
• Axis inclined at: 30◦ to HP
is placed on the HP (Horizontal Plane).
1. Draw the top view and front view using Python.
2. Use loops to create a grid-based representation of the projection.
3. Compute and plot the change in projection as the inclination increases from 30◦ to 60◦ .
Vmax = 2 m/s
The velocity distribution is given by the equation:
r2
V (r) = Vmax 1− 2
R
where R = D/2 is the pipe radius.
1. Compute the velocity at different radial positions.
2. Plot the velocity profile across the pipe cross-section.
3. Use a loop to vary the pipe diameter and analyze its effect on the profile.
5
Problem 14: Pressure Drop in a Pipe using Darcy-Weisbach Equa-
tion
A pipe with:
• Diameter: D = 0.2 m
• Length: L = 50 m
• Flow Rate: Q = 0.05 m³/s
• Friction Factor: f = 0.02
L ρV 2
∆P = f
D 2
Q
where V = A is the velocity of flow.