SlideShare una empresa de Scribd logo
1 de 26
Descargar para leer sin conexión
Arvind Deshpande
1.   Take the input from the user :Initial
     temp(Tinitial), Boundary condition information,
     material       properties   density,      thermal
     conductivity, specific heat, length, height, no.
     of interior control volumes control volumes in
     x-direction and no. of control volumes in y-
     direction and time step (based on stability
     criterion).
2.   Calculate x and y coordinates for all points.
3.   Calculate aw, ae, an, as and ap for all cv’s.
     Formula changes for cv’s close to boundary.
4.   Implement all boundary conditions.
5.   Set Told and Toldt= Tinitial for all cv’s and Tnew
     = 0 for all cv’s.
6.   Increase time by time step and calculate
     Tnew at all cv’s using Gauss-Seidal point by
     point or line by line TDMA method.
7.   Check for convergence for iterations within
     time step. Residual = Tnew – Told (max
     residual /average residual/rms residual <ε)
8.   If converged, goto step 9 otherwise assign
     Told = Tnew and go to step 6.
9.    Check for “steady state” Residual = Tnew –
      Toldt (max residual /average residual/rms
      residual <ε)
10.   If converged, stop otherwise assign Toldt =
      Tnew and go to step 6.
1.   Take the input from the user :Inlet temp of
     flow, Boundary condition information, material
     properties    density,   thermal      conductivity,
     specific heat, length, height, no. of interior
     control volumes control volumes in x-direction
     and no. of control volumes in y-direction.
2.   Calculate x and y coordinates for all points.
3.   Calculate velocity u and v using given formula.
4.   Calculate Dw, De, Dn, and Ds for all cv’s. Formula
     changes for cv’s close to boundary.
5.   Based on CDS/UDS/Hybrid calculate aw, ae,
     an, as ap for all cv’s. Formula changes for
     cv’s close to boundary.
6.   Implement all boundary conditions.
7.   Set Told and Tnew = 0 for all cv’s.
8.   Calculate Tnew at all cv’s using Gauss-Seidal
     point by point or line by line TDMA method.
9.   Check for convergence. Residual = Tnew –
     Told (max residual /average residual/rms
     residual <ε)
9.    If converged, goto step 10 otherwise assign
      Told = Tnew and go to step 6.
10.   For each axial location, calculate bulk mean
      temp, heat transfer coefficient and Nusselt
      no.
Solution algorithm – Lid driven cavity (SIMPLE)
1.   Take the input from the user :Lid velocity,
     material properties density, dynamic viscosity,
     length, height, no. of interior control volumes
     control volumes in x-direction (j) and no. of
     control volumes in y-direction (i), under
     relaxation factor for pressure and velocity. (You
     can use recommended under relaxation factors)
2.   Calculate x and y coordinates for all points.
3.   Implement all boundary conditions.
4.   Set uold =unew = vold =vnew =Pold =Pnew = 0 for all
     interior cv’s.
5.   Calculate Dw, De, Dn, and Ds for all cv’s.
6.   Calculate Fw, Fe, Fn, and Fs for all cv’s. You will
     have to use interpolation (average) for velocity.
7.   Based on CDS/UDS/Hybrid calculate aw, ae, an, as
     for all cv’s. Formula changes for cv’s near top and
     bottom boundary.
8.   Calculate ap , source term based on pressure
     gradient and d1 values for all cv’s.
9.   Solve X-momentum equation (modified with
     under-relaxation factors) to get new values of u
     using Gauss-Seidal method.
10.   Calculate Dw, De, Dn, and Ds for all cv’s.
11.   Calculate Fw, Fe, Fn, and Fs for all cv’s. You will
      have to use interpolation (average) for velocity.
12.   Based on CDS/UDS/Hybrid, calculate aw, ae, an, as
      for all cv’s. Formula changes for cv’s near left and
      right boundary.
13.   Calculate ap , source term based on pressure
      gradient and d2 values for all cv’s.
14.   Solve Y-momentum equation (modified with
      under-relaxation factors) to get new values of u
      using Gauss-Seidal method.
15.   Calculate aw, ae, an, as for all cv’s. Formula
      changes for cv’s near boundary.
      (Corresponding coefficient will be zero)
16.   Calculate ap , source term (mass source)
      for all cv’s.
17.   If mass source < ε , solve pressure
      correction to get new values of P’ using
      Gauss-Seidal method.
18.   Pressure correction at boundary points
      can be set based on zero gradient.
19.   Correct pressure using under relaxation
      factor. Correct velocity without under
      relaxation.
20.   If mass source < ε, go to next step. Otherwise go
      to step 5 with uold =unew , vold =vnew , Pold =Pnew
21.    Calculate u-velocity profile at vertical centreline
      and v-velocity profile at horizontal centreline and
      compare with bench mark results.
      (GHIA et al. (1982) JOURNAL OF
      COMPUTATIONAL PHYSICS VOL. 48,
      pp.387-411)
Convergence criteria   No. of iterations
       10-5                  736
       10-6                 1531
       10-7                 3262
       10-8                 5924
No. of Control volumes   No. of iterations
       10 X 10                 202
       20 X 20                 710
       40 X 40                2243
       80 X 80                5924
Solution algorithms for assignment problems
Solution algorithms for assignment problems
Solution algorithms for assignment problems
Solution algorithms for assignment problems
Solution algorithms for assignment problems

Más contenido relacionado

Destacado

Assignments cnc programming
Assignments cnc programmingAssignments cnc programming
Assignments cnc programmingparabajinkya0070
 
Assignment simple algorithm
Assignment simple algorithm Assignment simple algorithm
Assignment simple algorithm parabajinkya0070
 
Fvm for convection diffusion2
Fvm for convection diffusion2Fvm for convection diffusion2
Fvm for convection diffusion2parabajinkya0070
 
Pressure velocity coupling
Pressure velocity couplingPressure velocity coupling
Pressure velocity couplingparabajinkya0070
 
2D CFD Code Based on MATLAB- As Good As FLUENT!
2D CFD Code Based on MATLAB- As Good As FLUENT!2D CFD Code Based on MATLAB- As Good As FLUENT!
2D CFD Code Based on MATLAB- As Good As FLUENT!Jiannan Tan
 
Cnc, dnc & adaptive control
Cnc, dnc & adaptive controlCnc, dnc & adaptive control
Cnc, dnc & adaptive controlparabajinkya0070
 

Destacado (9)

Assignments cnc programming
Assignments cnc programmingAssignments cnc programming
Assignments cnc programming
 
Introduction to cad cam
Introduction to cad camIntroduction to cad cam
Introduction to cad cam
 
Assignment simple algorithm
Assignment simple algorithm Assignment simple algorithm
Assignment simple algorithm
 
Fvm for convection diffusion2
Fvm for convection diffusion2Fvm for convection diffusion2
Fvm for convection diffusion2
 
Cf dfinal1 (may11)
Cf dfinal1 (may11)Cf dfinal1 (may11)
Cf dfinal1 (may11)
 
Rapid prototyping
Rapid prototypingRapid prototyping
Rapid prototyping
 
Pressure velocity coupling
Pressure velocity couplingPressure velocity coupling
Pressure velocity coupling
 
2D CFD Code Based on MATLAB- As Good As FLUENT!
2D CFD Code Based on MATLAB- As Good As FLUENT!2D CFD Code Based on MATLAB- As Good As FLUENT!
2D CFD Code Based on MATLAB- As Good As FLUENT!
 
Cnc, dnc & adaptive control
Cnc, dnc & adaptive controlCnc, dnc & adaptive control
Cnc, dnc & adaptive control
 

Similar a Solution algorithms for assignment problems

Oscilloscope tutorial -phasemeasurement
Oscilloscope tutorial -phasemeasurementOscilloscope tutorial -phasemeasurement
Oscilloscope tutorial -phasemeasurementcyberns_
 
Amvdd Data Converter Fundamentals
Amvdd Data Converter FundamentalsAmvdd Data Converter Fundamentals
Amvdd Data Converter FundamentalsNiket Chandrashekar
 
Experiment reportexample
Experiment reportexampleExperiment reportexample
Experiment reportexampleAnurag Farkya
 
Laminar flow over a backward
Laminar flow over a backwardLaminar flow over a backward
Laminar flow over a backwardabdul mohammad
 
Cardiac Contractility using QA interval
Cardiac Contractility using QA intervalCardiac Contractility using QA interval
Cardiac Contractility using QA intervalFilip Konecny
 
Ch6z5ethermo 110115225500-phpapp02
Ch6z5ethermo 110115225500-phpapp02Ch6z5ethermo 110115225500-phpapp02
Ch6z5ethermo 110115225500-phpapp02Cleophas Rwemera
 
ITS World Congress :: Vienna, Oct 2012
ITS World Congress :: Vienna, Oct 2012ITS World Congress :: Vienna, Oct 2012
ITS World Congress :: Vienna, Oct 2012László Nádai
 
Title of the ReportA. Partner, B. Partner, and C. Partner.docx
Title of the ReportA. Partner, B. Partner, and C. Partner.docxTitle of the ReportA. Partner, B. Partner, and C. Partner.docx
Title of the ReportA. Partner, B. Partner, and C. Partner.docxjuliennehar
 
Heat Transfer Numerical Analysis Jthomas
Heat Transfer Numerical Analysis JthomasHeat Transfer Numerical Analysis Jthomas
Heat Transfer Numerical Analysis JthomasJesse M. Thomas
 
QUALITY ASSURANCE IN LINAC AND CYBERKNIFE.pptx
QUALITY ASSURANCE IN LINAC AND CYBERKNIFE.pptxQUALITY ASSURANCE IN LINAC AND CYBERKNIFE.pptx
QUALITY ASSURANCE IN LINAC AND CYBERKNIFE.pptxSuryaSuganthan2
 
Poster for Bayesian Statistics in the Big Data Era conference
Poster for Bayesian Statistics in the Big Data Era conferencePoster for Bayesian Statistics in the Big Data Era conference
Poster for Bayesian Statistics in the Big Data Era conferenceChristian Robert
 
Diapositivas maqueta en coordenadas normales_y_tangenciales
Diapositivas maqueta en coordenadas normales_y_tangencialesDiapositivas maqueta en coordenadas normales_y_tangenciales
Diapositivas maqueta en coordenadas normales_y_tangencialesARIELMATHEOCHANCUSIG
 
Free Ebooks Download
Free Ebooks Download Free Ebooks Download
Free Ebooks Download Edhole.com
 
Fluent and Gambit Workshop
Fluent and Gambit WorkshopFluent and Gambit Workshop
Fluent and Gambit Workshopkhalid_nitt
 
Mit2 092 f09_lec12
Mit2 092 f09_lec12Mit2 092 f09_lec12
Mit2 092 f09_lec12Rahman Hakim
 

Similar a Solution algorithms for assignment problems (20)

Oscilloscope tutorial -phasemeasurement
Oscilloscope tutorial -phasemeasurementOscilloscope tutorial -phasemeasurement
Oscilloscope tutorial -phasemeasurement
 
Amvdd Data Converter Fundamentals
Amvdd Data Converter FundamentalsAmvdd Data Converter Fundamentals
Amvdd Data Converter Fundamentals
 
Experiment reportexample
Experiment reportexampleExperiment reportexample
Experiment reportexample
 
Laminar flow over a backward
Laminar flow over a backwardLaminar flow over a backward
Laminar flow over a backward
 
ilovepdf_merged
ilovepdf_mergedilovepdf_merged
ilovepdf_merged
 
Tema 3 fem
Tema 3 femTema 3 fem
Tema 3 fem
 
How To Diffuse
How To DiffuseHow To Diffuse
How To Diffuse
 
Cardiac Contractility using QA interval
Cardiac Contractility using QA intervalCardiac Contractility using QA interval
Cardiac Contractility using QA interval
 
Ch6z5ethermo 110115225500-phpapp02
Ch6z5ethermo 110115225500-phpapp02Ch6z5ethermo 110115225500-phpapp02
Ch6z5ethermo 110115225500-phpapp02
 
ITS World Congress :: Vienna, Oct 2012
ITS World Congress :: Vienna, Oct 2012ITS World Congress :: Vienna, Oct 2012
ITS World Congress :: Vienna, Oct 2012
 
Title of the ReportA. Partner, B. Partner, and C. Partner.docx
Title of the ReportA. Partner, B. Partner, and C. Partner.docxTitle of the ReportA. Partner, B. Partner, and C. Partner.docx
Title of the ReportA. Partner, B. Partner, and C. Partner.docx
 
Heat Transfer Numerical Analysis Jthomas
Heat Transfer Numerical Analysis JthomasHeat Transfer Numerical Analysis Jthomas
Heat Transfer Numerical Analysis Jthomas
 
Cfd 0
Cfd 0Cfd 0
Cfd 0
 
QUALITY ASSURANCE IN LINAC AND CYBERKNIFE.pptx
QUALITY ASSURANCE IN LINAC AND CYBERKNIFE.pptxQUALITY ASSURANCE IN LINAC AND CYBERKNIFE.pptx
QUALITY ASSURANCE IN LINAC AND CYBERKNIFE.pptx
 
Poster for Bayesian Statistics in the Big Data Era conference
Poster for Bayesian Statistics in the Big Data Era conferencePoster for Bayesian Statistics in the Big Data Era conference
Poster for Bayesian Statistics in the Big Data Era conference
 
Diapositivas maqueta en coordenadas normales_y_tangenciales
Diapositivas maqueta en coordenadas normales_y_tangencialesDiapositivas maqueta en coordenadas normales_y_tangenciales
Diapositivas maqueta en coordenadas normales_y_tangenciales
 
Free Ebooks Download
Free Ebooks Download Free Ebooks Download
Free Ebooks Download
 
Fluent and Gambit Workshop
Fluent and Gambit WorkshopFluent and Gambit Workshop
Fluent and Gambit Workshop
 
Mit2 092 f09_lec12
Mit2 092 f09_lec12Mit2 092 f09_lec12
Mit2 092 f09_lec12
 
Cfd 0
Cfd 0Cfd 0
Cfd 0
 

Más de parabajinkya0070

Más de parabajinkya0070 (6)

Cnc hardware
Cnc hardwareCnc hardware
Cnc hardware
 
Introduction to nc
Introduction to ncIntroduction to nc
Introduction to nc
 
Graphics standards
Graphics standardsGraphics standards
Graphics standards
 
Introduction to cfd 2
Introduction to cfd 2Introduction to cfd 2
Introduction to cfd 2
 
Introduction to cfd
Introduction to cfdIntroduction to cfd
Introduction to cfd
 
Mathematical behaviour of pde's
Mathematical behaviour of pde'sMathematical behaviour of pde's
Mathematical behaviour of pde's
 

Último

Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...Jeffrey Haguewood
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FMESafe Software
 
Manulife - Insurer Transformation Award 2024
Manulife - Insurer Transformation Award 2024Manulife - Insurer Transformation Award 2024
Manulife - Insurer Transformation Award 2024The Digital Insurer
 
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, AdobeApidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobeapidays
 
Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...
Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...
Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...Zilliz
 
Exploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone ProcessorsExploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone Processorsdebabhi2
 
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...apidays
 
AWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of TerraformAWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of TerraformAndrey Devyatkin
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerThousandEyes
 
"I see eyes in my soup": How Delivery Hero implemented the safety system for ...
"I see eyes in my soup": How Delivery Hero implemented the safety system for ..."I see eyes in my soup": How Delivery Hero implemented the safety system for ...
"I see eyes in my soup": How Delivery Hero implemented the safety system for ...Zilliz
 
Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...
Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...
Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...Orbitshub
 
Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024The Digital Insurer
 
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...apidays
 
Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...
Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...
Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...Angeliki Cooney
 
CNIC Information System with Pakdata Cf In Pakistan
CNIC Information System with Pakdata Cf In PakistanCNIC Information System with Pakdata Cf In Pakistan
CNIC Information System with Pakdata Cf In Pakistandanishmna97
 
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data DiscoveryTrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data DiscoveryTrustArc
 
Rising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdf
Rising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdfRising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdf
Rising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdfOrbitshub
 
Strategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a FresherStrategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a FresherRemote DBA Services
 
Why Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businessWhy Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businesspanagenda
 
ICT role in 21st century education and its challenges
ICT role in 21st century education and its challengesICT role in 21st century education and its challenges
ICT role in 21st century education and its challengesrafiqahmad00786416
 

Último (20)

Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
 
Manulife - Insurer Transformation Award 2024
Manulife - Insurer Transformation Award 2024Manulife - Insurer Transformation Award 2024
Manulife - Insurer Transformation Award 2024
 
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, AdobeApidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
 
Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...
Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...
Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...
 
Exploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone ProcessorsExploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone Processors
 
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
 
AWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of TerraformAWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of Terraform
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
 
"I see eyes in my soup": How Delivery Hero implemented the safety system for ...
"I see eyes in my soup": How Delivery Hero implemented the safety system for ..."I see eyes in my soup": How Delivery Hero implemented the safety system for ...
"I see eyes in my soup": How Delivery Hero implemented the safety system for ...
 
Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...
Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...
Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...
 
Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024
 
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
 
Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...
Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...
Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...
 
CNIC Information System with Pakdata Cf In Pakistan
CNIC Information System with Pakdata Cf In PakistanCNIC Information System with Pakdata Cf In Pakistan
CNIC Information System with Pakdata Cf In Pakistan
 
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data DiscoveryTrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
 
Rising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdf
Rising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdfRising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdf
Rising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdf
 
Strategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a FresherStrategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a Fresher
 
Why Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businessWhy Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire business
 
ICT role in 21st century education and its challenges
ICT role in 21st century education and its challengesICT role in 21st century education and its challenges
ICT role in 21st century education and its challenges
 

Solution algorithms for assignment problems

  • 2. 1. Take the input from the user :Initial temp(Tinitial), Boundary condition information, material properties density, thermal conductivity, specific heat, length, height, no. of interior control volumes control volumes in x-direction and no. of control volumes in y- direction and time step (based on stability criterion). 2. Calculate x and y coordinates for all points. 3. Calculate aw, ae, an, as and ap for all cv’s. Formula changes for cv’s close to boundary. 4. Implement all boundary conditions.
  • 3. 5. Set Told and Toldt= Tinitial for all cv’s and Tnew = 0 for all cv’s. 6. Increase time by time step and calculate Tnew at all cv’s using Gauss-Seidal point by point or line by line TDMA method. 7. Check for convergence for iterations within time step. Residual = Tnew – Told (max residual /average residual/rms residual <ε) 8. If converged, goto step 9 otherwise assign Told = Tnew and go to step 6.
  • 4. 9. Check for “steady state” Residual = Tnew – Toldt (max residual /average residual/rms residual <ε) 10. If converged, stop otherwise assign Toldt = Tnew and go to step 6.
  • 5. 1. Take the input from the user :Inlet temp of flow, Boundary condition information, material properties density, thermal conductivity, specific heat, length, height, no. of interior control volumes control volumes in x-direction and no. of control volumes in y-direction. 2. Calculate x and y coordinates for all points. 3. Calculate velocity u and v using given formula. 4. Calculate Dw, De, Dn, and Ds for all cv’s. Formula changes for cv’s close to boundary.
  • 6. 5. Based on CDS/UDS/Hybrid calculate aw, ae, an, as ap for all cv’s. Formula changes for cv’s close to boundary. 6. Implement all boundary conditions. 7. Set Told and Tnew = 0 for all cv’s. 8. Calculate Tnew at all cv’s using Gauss-Seidal point by point or line by line TDMA method. 9. Check for convergence. Residual = Tnew – Told (max residual /average residual/rms residual <ε)
  • 7. 9. If converged, goto step 10 otherwise assign Told = Tnew and go to step 6. 10. For each axial location, calculate bulk mean temp, heat transfer coefficient and Nusselt no.
  • 8. Solution algorithm – Lid driven cavity (SIMPLE)
  • 9. 1. Take the input from the user :Lid velocity, material properties density, dynamic viscosity, length, height, no. of interior control volumes control volumes in x-direction (j) and no. of control volumes in y-direction (i), under relaxation factor for pressure and velocity. (You can use recommended under relaxation factors) 2. Calculate x and y coordinates for all points. 3. Implement all boundary conditions. 4. Set uold =unew = vold =vnew =Pold =Pnew = 0 for all interior cv’s.
  • 10.
  • 11. 5. Calculate Dw, De, Dn, and Ds for all cv’s. 6. Calculate Fw, Fe, Fn, and Fs for all cv’s. You will have to use interpolation (average) for velocity. 7. Based on CDS/UDS/Hybrid calculate aw, ae, an, as for all cv’s. Formula changes for cv’s near top and bottom boundary. 8. Calculate ap , source term based on pressure gradient and d1 values for all cv’s. 9. Solve X-momentum equation (modified with under-relaxation factors) to get new values of u using Gauss-Seidal method.
  • 12.
  • 13. 10. Calculate Dw, De, Dn, and Ds for all cv’s. 11. Calculate Fw, Fe, Fn, and Fs for all cv’s. You will have to use interpolation (average) for velocity. 12. Based on CDS/UDS/Hybrid, calculate aw, ae, an, as for all cv’s. Formula changes for cv’s near left and right boundary. 13. Calculate ap , source term based on pressure gradient and d2 values for all cv’s. 14. Solve Y-momentum equation (modified with under-relaxation factors) to get new values of u using Gauss-Seidal method.
  • 14.
  • 15. 15. Calculate aw, ae, an, as for all cv’s. Formula changes for cv’s near boundary. (Corresponding coefficient will be zero) 16. Calculate ap , source term (mass source) for all cv’s. 17. If mass source < ε , solve pressure correction to get new values of P’ using Gauss-Seidal method. 18. Pressure correction at boundary points can be set based on zero gradient.
  • 16. 19. Correct pressure using under relaxation factor. Correct velocity without under relaxation. 20. If mass source < ε, go to next step. Otherwise go to step 5 with uold =unew , vold =vnew , Pold =Pnew 21. Calculate u-velocity profile at vertical centreline and v-velocity profile at horizontal centreline and compare with bench mark results. (GHIA et al. (1982) JOURNAL OF COMPUTATIONAL PHYSICS VOL. 48, pp.387-411)
  • 17.
  • 18. Convergence criteria No. of iterations 10-5 736 10-6 1531 10-7 3262 10-8 5924
  • 19.
  • 20.
  • 21. No. of Control volumes No. of iterations 10 X 10 202 20 X 20 710 40 X 40 2243 80 X 80 5924