Second Law of Thermodynamics Simulations

Second Law of Thermodynamics Simulations Visually

Master the Second Law of Thermodynamics with interactive visualizations. Understand entropy, heat engines, and the direction of thermodynamic processes through hands-on simulations and real-world examples.

Entropy Heat Engines Irreversible Processes Thermal Efficiency Carnot Cycle Temperature Gradient

Understanding the Second Law

The Second Law of Thermodynamics introduces the concept of entropy and establishes the direction of thermodynamic processes. It states that the entropy of an isolated system never decreases over time, and heat flows naturally from hot to cold objects.

ΔS ≥ Q/T

ΔS

Change in Entropy

Q

Heat Transferred

T

Absolute Temperature

This law explains why perpetual motion machines are impossible and why heat engines have maximum theoretical efficiencies. It also defines the arrow of time in thermodynamic processes.

Concept Explorer

Interactive Heat Engine Simulation

300 K 600 K 1000 K
200 K 300 K 500 K
0 J 1000 J 2000 J
0.5x 1x 3x

Heat Engine Visualization

Adjust parameters to see efficiency changes

Engine Calculations
Hot Reservoir (Tₕ): 600 K
Cold Reservoir (T꜀): 300 K
Heat Input (Qₕ): 1000 J

Carnot Efficiency (η): 50%
Work Output (W): 500 J
Heat Rejected (Q꜀): 500 J
Carnot Efficiency: η = 1 - (T꜀/Tₕ)

Heat Engine Cycles

Carnot Cycle

The most efficient theoretical heat engine cycle consisting of two isothermal and two adiabatic processes:

η = 1 - (Tc/Th)

Most efficient possible engine
Reversible processes only
Otto Cycle

Idealized cycle for spark-ignition internal combustion engines with constant volume heat addition:

η = 1 - (1/rγ-1)

Used in gasoline engines
Four-stroke cycle: intake, compression, power, exhaust
Diesel Cycle

Idealized cycle for compression-ignition engines with constant pressure heat addition:

η = 1 - (1/rγ-1) × [(ργ-1)/(γ(ρ-1))]

Used in diesel engines
Higher compression ratio than Otto cycle
Rankine Cycle

Cycle used in steam power plants with phase change between liquid and vapor:

η = (Wturbine - Wpump)/Qin

Used in thermal power plants
Involves boiler, turbine, condenser, and pump
Thermodynamic Cycle Diagram
1
Compression
2
Heat Addition
3
Expansion
4
Heat Rejection
Example: Heat Engine Cycle

Real-World Applications

Power Plants

Thermal power plants use the Rankine cycle to convert heat from fossil fuels or nuclear reactions into electricity. The Second Law determines their maximum theoretical efficiency.

Rankine Cycle Steam Turbine
Car Engines

Internal combustion engines operate on either Otto or Diesel cycles. Their efficiency is fundamentally limited by the temperature difference between combustion and the environment.

Otto Cycle Diesel Cycle
Refrigerators

Refrigeration systems operate as heat pumps, moving heat from cold to hot environments. The Second Law explains why work input is required for this process.

Vapor Compression Coefficient of Performance

Related Thermodynamics Concepts

First Law

Energy conservation in thermodynamic systems.

Learn More
Zeroth Law

Defines thermal equilibrium and temperature measurement.

Learn More
Third Law

Entropy approaches zero as temperature approaches absolute zero.

Learn More