parthnan / HeatDiffusion-and-Drag-Modeling

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.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Heat Diffusion and Air Drag Modeling

Download the software at https://freefem.org/ and run the .edp files to see the animated simulation.

  1. About "wind_around_sphere.edp" : Modeling the airflow around a spherical aerofoil. Based on the Non stationary Navier-Stokes equation. Boundary conditions are such that airflow only enters from the left, and exits to the right. Each Simulation frame lasts 0.05 seconds(Δ𝑑=0.05).

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).

alt text

  1. About "heat_inside_cuboid.edp" : Modeling the diffusion of heat(temperature) when heat is input through the bottom of a cuboid full of a material. Based on the Diffusion Equation. Boundary conditions are such that heat only enters from the bottom, and can exit from all other surfaces. Each Simulation frame lasts 0.05 seconds(Δ𝑑=0.05). Press Enter for simulation start.

Red is the Highest Temperature, Green the lowest.

alt text

About

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.