Modeling the diffusion of heat(temperature) when heat is input through the bottom of a cuboid. Modeling the wind flow (left to right) around a sphere. Uses Freefem++ modeling language.
Download the software at https://freefem.org/ and run the .edp files to see the animated simulation.
Initial condition: 𝑢=−𝑦(𝑦−5), 𝑣=0 , where Velocity; 𝒖=(𝑢,𝑣), Pressure=p
Boundary conditions:
𝑢_1=0, 𝑢_2=0 on Γ_top
𝑢_1=0, 𝑢_2=0, on Γ_bottom
𝑢_1=−𝑦(𝑦−5), 𝑢_2=0 on Γ_in , meaning wind is the strongest at the center of the left boundary(windspeed follows parabolic curve)
(𝑝𝒏−1/Re(𝛻𝒖^𝐓)𝒏)”=0” on Γ_out
𝑢_1=0, 𝑢_2=0 on Γ_sphere
Velocity increases in the Wind vector field from color Red(Lowest) to color Blue to color Purple/Pink(Highest).
Red is the Highest Temperature, Green the lowest.