This post is about the CFD analysis of a Sydney Standard Aerodynamic Model (SSAM-Gen5) in flight at various angles of attack. The SSAM-Gen5 model is based on the Lockheed Martin F-22 Raptor. The aircraft Geometry is shown in Fig. 1. The aircraft geometry is available here and here. Machine Learning can be read here.
I write about Propulsion, Aerodynamics and Renewable Energy (Wind/Hydro Turbines).
Sunday 22 May 2022
Fifth Generation Fighter Aircraft CFD Simulation (Backed-up by Wind Tunnel Data)
Sunday 24 April 2022
1D Laplace's equation using Finite Difference Method
This post is about FDM for Laplace Equation with various boundary conditions.
MATLAB Code (1D, Dirichlet Boundary Conditions)
%% initialize the workspace, clear the command window
clear; clc
%% finite difference 1D laplace dirichlet boundary conditions %% d2u/dx2 = 0 %% u(o) = 10, u(L) = 4 %% Ax=b%%
N = 4 ; %number of grid points
L = 1; %length of domain
dx = L/(N-1); %element size
%% initialize variables %%
l = linspace(0,L,N); %independent
u=zeros(1,N); %dependent
%% boundary conditions %%
u(1)=10;
u(end)=4;
%% b vector %%
b=zeros(N-2,1);
b(1) = b(1) - u(1);
b(end) = b(end) - u(end);
%% A matrix
A = -2*eye(N-2,N-2);
for i=1:N-2
if i<N-2
A(i,i+1)=1;
end
if i>1
A(i,i-1)=1;
end
end
%% solve for unknowns %%
x = A\b;
%% fill the u vector with unknowns %%
u(2:end-1) = x;
%% plot the results %%
hold on; grid on; box on, grid minor
set(gca,'FontSize',40)
set(gca, 'FontName', 'Times New Roman')
ylabel('u','FontSize',44)
xlabel('l','FontSize',44)
plot(l,u,'-o','color',[0 0 0],'LineWidth',2,'MarkerSize',20)
MATLAB Code (1D, Mixed Boundary Conditions)
Wednesday 18 August 2021
Computational Fluid Dynamics Simulation of a Swimming Fish (Includes UDF)
This post is about the simulation of a swimming fish. The fish body is made of NACA 0020 and 0015 aero-foils (air-foils). The fluke is made of NACA 0025 aero-foil (air-foil), as shown in Fig. 1. the CAD files with computational domain modelled around the fish is available here.
Saturday 15 May 2021
Finner Missile CFD Simulation
This post is about the CFD analysis of a missile in flight at an ambient mach number of 0.5 - 4.5. The missile geometry is shown in Fig. 1. The CAD files for the missile are available to download here.