Saturday, October 14, 2023

Getting Started with OpenFOAM

15 October 2023

I have spent almost over a week figuring out how to install and run OpenFoam. The getting started phase is now available in this post.

> Setup:  

   OpenFoam version 2306 

   Windows 11 with WSL (Windows Subsystem for Linux)

   ParaView 

> Installation Steps:

# Use Windows Power Shell in Admin Mode to install WSL

wsl --install

# Run wsl and Add the repository

curl https://dl.openfoam.com/add-debian-repo.sh | sudo bash

# Update the repository information

sudo apt-get update

# Install preferred package. Eg,

sudo apt-get install openfoam2306-default

# Install the ParaView 

sudo apt-get install paraview

> Configuration Steps:

# Modify /home/<user>/.bashrc by including the following line at the end

. /usr/lib/openfoam/openfoam2306/etc/bashrc

# Copy tutorials to $FOAM_RUN folder, you need to create the folder first 

/home/<user>/OpenFOAM/<user>-v2306/run

> First Simulation 

. Type wsl and enter in Search

. Change directory to $FOAM_RUN/tutorials/incompressible/icoFoam/cavity

. Execute the command to generate results: ./Allrun 


. Make sure the directory is correct as in the following figure. 
. Execute the openfoam2306 
. Execute the paraview & 


. Open the controlDict from ParaView 


. Select the OpenFOAM Reader from the list and then press OK button
. Press the Apply button from the left pane of the ParaView






Wednesday, September 13, 2023

Arduino RESET Circuit Simulation

Wednesday 13th September 2023

The Arduino Mega RESET circuit simulation was created on Wokwi. It was really fun! Game. 



Tuesday, September 12, 2023

HU FEST FDP Session on Catalyzing Innovation theIEEE Empowerment

Tuesday 12th September 2023

The faculty development session, "Catalyzing Innovation theIEEE Empowerment," was held at the HU FEST Conference Room. Dr. Muhammad Faisal Khan, Associate Professor & Manager FEST ORIC was the resource person. Dr. Maria, Coordinator FDP welcomed the participants. After Tilawat-e-Quran by Engr. Majid, the session formally began with an activity linking problems to solutions. The main point explained by the resource person with the case study and numerous examples was the availability of IEEE funds to address the various challenges faced by society. As I had to attend the Academic Council Meeting at the BAH Board Room, therefore; I left the session a few minutes before the session was completed.   





OLED Display Interfacing with Arduino Mega through I2C

Tuesday 12th September 2023

The connections in the screenshot worked with the OLED display. The simple code setup is provided as well. 






Wednesday, September 6, 2023

HU FEST Organized a Seminar on Environmental Health and Safety

Wednesday 6th September 2023

The seminar on EHS was held in the FEST conference room. Dr. Nabi Baksh, Assistant Professor GSESIT was the resource person. An overview of EHS in the industry was briefly reviewed. The session also includes a questions and answers session. 






HU Organized Lecture on OBE System

Tuesday 5th September 2023

Hamdard University organized a lecture by Prof. Dr. Engr. M. Aamer Saleem, Dean, Faculty of Engineering Sciences & Technology on "OBE System" on Tuesday, September 5, 2023, at Bait al-Hikmah Auditorium. The lecture includes an overview of the outcome-based system implemented in HU FEST engineering sciences and technology programs. 






HU FEST at 8th International Electrical Engineering Conference (IEEC) 2023

25-26 August 2023

The 8th International Electrical Engineering Conference (IEEC) 2023 was held at NED UET Karachi campus in collaboration with Institution of Engineers Pakistan (IEP). Hamdard University is among the conference partners. FEST participants were Prof. Dr. Tariq Javid, Dr. Muhammad Faisal Khan, Dr. Muhammad Faris, and Dr. Khurram Iqbal. I was the session chair for technical session 2.