forked from ProgTools2017HeatGroup/2D-Heat-Convection-by-FDM
-
Notifications
You must be signed in to change notification settings - Fork 0
alarshi/2D-Heat-Convection-by-FDM
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
# This file is to introduce some basic ideas of the term project for Programming Tools class # # Project Name: 2D heat convection by FDM # Purpose: using finnite difference method to compute 2D heat convection in a rectangular box from temperature difference # Contributers: Arushi Saxena, (github ID: alarshi) # Hao Lu, (github ID: luh1202) # Jia Zhang, (github ID: jzhang1091) # Collaborators: Ricardo Taborda, (github ID: ricardotaborda) # # Input:1. Parameters of density, rou; # viscosity, vo; # diffusivity, k; # expansion coefficient,a; # 2. Boundary conditions: Pressure distribution, Px; # Temperature distribution, T; # 3. Initial conditions: velocity along x axis: Vx; # velocity along y axis: Vy; # Output: The final temperature distribution T'; # pressure distribution Px'; # 2D velocity field Vx', Vy'; # # The C++ package will contain a main.cpp file, several sub-functions files and input file: parameters.in; # Functions: main.cpp: call all the sub-functions and do the numerical calculation; # readin.cpp: read the input values from parameters.in; # calmesh.cpp: calculate mesh pionts in x and y direction; # calini.cpp: calculate initial filed values using recursion; # caltimstep.cpp: calculate stable time step; # dofdm.cpp: using finite difference method to do the calculation; # output.cpp: write the outcome to output file; # ... other functions to be decided;
About
No description, website, or topics provided.
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published
Languages
- C++ 98.8%
- Makefile 1.2%