SlideShare a Scribd company logo
1 of 7
Download to read offline
Pg. 1
COMSOL Final Project Report
Garret Senti
Starting the final project started by going into the model wizard and selecting the
following: Laminar Flow, Solid Mechanics, Moving Mesh, Electric Currents, and Heat Transfer
in both Solids and Fluids. All of these physics will be looked at when the model was viewed in a
stationary study. With the picture given in the pdf, the model was created in the geometry using
Rectangles and Polygons that were necessary for meshing and for solving the obstruction. Then
with that right-click on the materials and select add material to add in Water, Fluid and change
the value for the electrical conductivity. Then right-click again on the materials and select black
material, from there add in the values specified for the flexible obstruction. With that, the two
materials of the model were defined. Then right click on the mesh and select mapped, the
mapped was selected three times with each one having different distributions in the regions both
of the obstruction and the obstruction except for the semi-circle. The first mapped mesh on the
left side of the obstruction has the distribution set to a fixed number of elements, which was set
to 36. The mapped mesh for the obstruction has the distribution set to a predefined distribution
type with a number of 10 elements with an element ratio of three with the geometric sequence set
to the symmetric distribution. Lastly, the mapped mesh for the right side of the obstruction has
the distribution set to edges on the top and bottom of the region with the predefined distribution
type with a number of 25 elements with an element ratio of eight with the Arithmetic sequence
set to the reverse direction. With that, right clicking again on the mesh and select Free Triangular
twice. The first Free Triangular has the semi-circular and the top-right region next to the
obstruction selected with the maximum element size set to 0.0067/4. The second Free Triangular
contains the other regions not selected yet with the maximum element size set to 0.0067. After
that right click once more on the mesh and select Boundary Layers. In the settings for the
Boundary Layers, all the edges of the top and bottom of the entire model were selected and have
these settings set: number of boundary layers to four, boundary layer stretching factor to 1.5, and
a thickness adjustments factor of one. Lastly, the Global Size node was selected with the custom
settings selected with the curvature factor changed to 0.3*100. The mesh ended up looking like
this.
After the model was set, the physics needed to be implemented. Starting with Laminar
Fluid Flow add all the regions that relate to the fluid material then right click and add Inlet with
the far left edge of the entire model selected as well as adding Outlet with the far right edge of
the entire model selected. Going into the Inlet setting for velocity, select Normal inflow velocity
Pg. 2
and set to 0.004[m/s]*6*s*(1-s)*vel_param(pseudo_time). The program will note that both
pseudo_time and vel_param has not been established. Then going to global parameter and type
in pseudo_time as a new parameter with the value set to one. Then from there right click on
Global Definitions and select Ramps under the Functions tab, the settings will come up for the
ramp. Change the function name to vel_param so that the program will recognize the name and
have the location set to zero, the slope to one, and the cutoff checked with a value of one set.
Lastly, in the Laminar Flow settings under Advanced Setting the “use pseudo time stepping for
stationary equation form” was checked to help aid in convergences. Next, was changing the
Solid Mechanics and selecting all the regions relating to the obstruction. Then right-click on
Solid Mechanics and select the edge Boundary Load and select all the edges except for the
bottom of the obstruction. Thiswas then set to a pressure of p, which was taken from the Laminar
Flow. Then right-click again on the Solid Mechanics and select Edge Fixed Displacement. The
edges from the bottom of the obstruction were selected for the Fixed Displacement. Next, go to
the Moving Mesh physics and in the settings of the parent node and change the geometry shape
order to 1 and the in the Free Deformation Settings change the mesh smoothing type to
Hyperelastic which will help with the convergences. To allow the moving mesh boundary to
move go to definitions right click and under Component Coupling select Integration. With that,
select the top point of the obstruction to allow movement to be shown in the results. To confirm
if the prescribed displacements were in the right direction, the view node under definitions was
selected and the show edge direction arrows were checked. From there the arrows that were
shown should be in the correct direction then create a free deformation and selecting the four
domains around the obstruction. From there right-click on Moving Mesh and select Prescribed
Mesh Displacement for boundaries. That step was done four times and the edges selected with
the correct values matches that shown in the pdf. Then going into the Electric Currents, right-
click and select Electric Potential for boundaries, the bottom edge of the obstruction was selected
and the Electric Potential was set with the value 3.0[V]*volt_param(pseudo_time). Then right-
click again on the Electric Currents and select ground having that set to the top edge of the flow
channel. To make sure this works, going back into Global Definitions and select ramp under the
Function tab from there the location was set to one, the slope to one, and the cutoff checked with
a value of one set. The last physics to be changed was the Heat Transfer in Solids in which the
entire model was selected. From there right click on the node and add in Heat Transfer in Fluids,
Heat Source, Boundary Temperature, and Boundary Outflow. The Heat Transfer in Fluids has all
the domains except for the domains on the obstruction selected. The Heat Source was applied
only to the domains on the obstruction with the general source set to a Total power dissipation
density (ec). The Boundary Temperature was set to 274[K] with the far left edge of the model
selected and the Boundary Outflow has the far right edge of the model selected. With that, all of
the physics have been defined.
Going to the Study node, five steps were then added into the system, which includes the
following: Laminar Flow Only; Laminar Flow, Solid Mechanics, and Moving Mesh; Electric
Currents Only; Electric Currents and Heat Transfer; and All Physics. All of the physics has its
Pg. 3
own settings that deal with the pseudo_time as well as any Multiphysics that correlate with the
different steps. The Mesh, Physics, and the Study Steps were altered multiple times in order to
have Comsol to compile and get results close to what was expected. Once Comsol did compile,
the following graphs were created from the data gathered.
Velocity of fluid with Mesh
Total Displacement with Velocity Magnitude showing Obstruction Deformation
Pg. 4
Temperature of Fluid with Streamlines
The temperature was not as hot as it should be. The physics from heat source coming off from
the obstruction could be the cause of such a low value that relates to the Electric Potential from
the object, which could be the main issue.
Volumetric Loss Density
Pg. 5
Stress occurring on the Obstruction with velocity flow detailing the temperature of the fluid.
The Temperature of the fluid was low which was more than likely caused by the physics from
heat source coming off from the obstruction could be the cause of such a low value which relates
to the Electric Potential from the object which could be the main problem.
Electric potential through the obstruction with amount of current density through the system
Pg. 6
Pressure on the Surface
Line graph of the Pressure Distribution on the Obstruction at different pseudo times
The pressures should have a lower value than what was shown in the pdf. This could possibly be
the mesh not being refined enough.
Pg. 7
Fluid Velocity occurring between the top of the obstruction and the top of the channel
Three tables were also created to determine the max, min, and average values of velocity and
temperature in the entire x = 0.1 m. All of the graphs that were compiled relied on five data sets.
This done to make what the graphs displayed for the model match what was represented in the
pdf.
In conclusion, there were still some issues with the results as some of the graphs do not
match exactly with what was shown in the pdf. This may be because of a coupling not being set
up correctly for the physics or the steps not set up correctly for the study. Another possibility was
that the mesh was not refined enough which could affect the actual results. However, this
program has pushed the limit what was learned in class and what was expected in the real world.

More Related Content

Similar to COMSOL Final Project Report - Garret Senti

Patchantenna
PatchantennaPatchantenna
Patchantenna
Rahul Vyas
 
A simple finite element solver for thermo-mechanical problems - margonari eng...
A simple finite element solver for thermo-mechanical problems - margonari eng...A simple finite element solver for thermo-mechanical problems - margonari eng...
A simple finite element solver for thermo-mechanical problems - margonari eng...
Scilab
 
Gaussian presentation
Gaussian presentationGaussian presentation
Gaussian presentation
mojdeh y
 
Jamie Fogarty CFD FINAL DRAFT PRINT
Jamie Fogarty CFD FINAL DRAFT PRINTJamie Fogarty CFD FINAL DRAFT PRINT
Jamie Fogarty CFD FINAL DRAFT PRINT
Jamie Fogarty
 

Similar to COMSOL Final Project Report - Garret Senti (20)

Steady state CFD analysis of C-D nozzle
Steady state CFD analysis of C-D nozzle Steady state CFD analysis of C-D nozzle
Steady state CFD analysis of C-D nozzle
 
Patchantenna
PatchantennaPatchantenna
Patchantenna
 
A simple finite element solver for thermo-mechanical problems - margonari eng...
A simple finite element solver for thermo-mechanical problems - margonari eng...A simple finite element solver for thermo-mechanical problems - margonari eng...
A simple finite element solver for thermo-mechanical problems - margonari eng...
 
Numerical study on free-surface flow
Numerical study on free-surface flowNumerical study on free-surface flow
Numerical study on free-surface flow
 
Heat flow through concrete floor
Heat flow through concrete floorHeat flow through concrete floor
Heat flow through concrete floor
 
A Research on Optimal Power Flow Solutions For Variable Loa
A Research on Optimal Power Flow Solutions For Variable LoaA Research on Optimal Power Flow Solutions For Variable Loa
A Research on Optimal Power Flow Solutions For Variable Loa
 
paper123
paper123paper123
paper123
 
Gaussian presentation
Gaussian presentationGaussian presentation
Gaussian presentation
 
Introduction to fem
Introduction to femIntroduction to fem
Introduction to fem
 
Modelling and Analysis Laboratory Manual
Modelling and Analysis Laboratory ManualModelling and Analysis Laboratory Manual
Modelling and Analysis Laboratory Manual
 
An Immersed Boundary Method To Solve Flow And Heat Transfer Problems Involvin...
An Immersed Boundary Method To Solve Flow And Heat Transfer Problems Involvin...An Immersed Boundary Method To Solve Flow And Heat Transfer Problems Involvin...
An Immersed Boundary Method To Solve Flow And Heat Transfer Problems Involvin...
 
Flow over a Flat plate 2-
Flow over a Flat plate 2-Flow over a Flat plate 2-
Flow over a Flat plate 2-
 
Fem
FemFem
Fem
 
Jamie Fogarty CFD FINAL DRAFT PRINT
Jamie Fogarty CFD FINAL DRAFT PRINTJamie Fogarty CFD FINAL DRAFT PRINT
Jamie Fogarty CFD FINAL DRAFT PRINT
 
Tutorial ads
Tutorial adsTutorial ads
Tutorial ads
 
Estimation of Heat Flux on A Launch Vehicle Fin at Hypersonic Mach Numbers --...
Estimation of Heat Flux on A Launch Vehicle Fin at Hypersonic Mach Numbers --...Estimation of Heat Flux on A Launch Vehicle Fin at Hypersonic Mach Numbers --...
Estimation of Heat Flux on A Launch Vehicle Fin at Hypersonic Mach Numbers --...
 
Chapter 5 NUMERICAL METHODS IN HEAT CONDUCTION
Chapter 5NUMERICAL METHODS IN HEAT CONDUCTIONChapter 5NUMERICAL METHODS IN HEAT CONDUCTION
Chapter 5 NUMERICAL METHODS IN HEAT CONDUCTION
 
Energy minimization
Energy minimizationEnergy minimization
Energy minimization
 
Computational Fluid Dynamics (CFD)
Computational Fluid Dynamics (CFD)Computational Fluid Dynamics (CFD)
Computational Fluid Dynamics (CFD)
 
Finite element analysis
Finite element analysisFinite element analysis
Finite element analysis
 

Recently uploaded

ALCOHOL PRODUCTION- Beer Brewing Process.pdf
ALCOHOL PRODUCTION- Beer Brewing Process.pdfALCOHOL PRODUCTION- Beer Brewing Process.pdf
ALCOHOL PRODUCTION- Beer Brewing Process.pdf
Madan Karki
 
21P35A0312 Internship eccccccReport.docx
21P35A0312 Internship eccccccReport.docx21P35A0312 Internship eccccccReport.docx
21P35A0312 Internship eccccccReport.docx
rahulmanepalli02
 
SLIDESHARE PPT-DECISION MAKING METHODS.pptx
SLIDESHARE PPT-DECISION MAKING METHODS.pptxSLIDESHARE PPT-DECISION MAKING METHODS.pptx
SLIDESHARE PPT-DECISION MAKING METHODS.pptx
CHAIRMAN M
 
electrical installation and maintenance.
electrical installation and maintenance.electrical installation and maintenance.
electrical installation and maintenance.
benjamincojr
 
Maher Othman Interior Design Portfolio..
Maher Othman Interior Design Portfolio..Maher Othman Interior Design Portfolio..
Maher Othman Interior Design Portfolio..
MaherOthman7
 

Recently uploaded (20)

NEWLETTER FRANCE HELICES/ SDS SURFACE DRIVES - MAY 2024
NEWLETTER FRANCE HELICES/ SDS SURFACE DRIVES - MAY 2024NEWLETTER FRANCE HELICES/ SDS SURFACE DRIVES - MAY 2024
NEWLETTER FRANCE HELICES/ SDS SURFACE DRIVES - MAY 2024
 
Operating System chapter 9 (Virtual Memory)
Operating System chapter 9 (Virtual Memory)Operating System chapter 9 (Virtual Memory)
Operating System chapter 9 (Virtual Memory)
 
Seismic Hazard Assessment Software in Python by Prof. Dr. Costas Sachpazis
Seismic Hazard Assessment Software in Python by Prof. Dr. Costas SachpazisSeismic Hazard Assessment Software in Python by Prof. Dr. Costas Sachpazis
Seismic Hazard Assessment Software in Python by Prof. Dr. Costas Sachpazis
 
Linux Systems Programming: Semaphores, Shared Memory, and Message Queues
Linux Systems Programming: Semaphores, Shared Memory, and Message QueuesLinux Systems Programming: Semaphores, Shared Memory, and Message Queues
Linux Systems Programming: Semaphores, Shared Memory, and Message Queues
 
Lab Manual Arduino UNO Microcontrollar.docx
Lab Manual Arduino UNO Microcontrollar.docxLab Manual Arduino UNO Microcontrollar.docx
Lab Manual Arduino UNO Microcontrollar.docx
 
CLOUD COMPUTING SERVICES - Cloud Reference Modal
CLOUD COMPUTING SERVICES - Cloud Reference ModalCLOUD COMPUTING SERVICES - Cloud Reference Modal
CLOUD COMPUTING SERVICES - Cloud Reference Modal
 
Geometric constructions Engineering Drawing.pdf
Geometric constructions Engineering Drawing.pdfGeometric constructions Engineering Drawing.pdf
Geometric constructions Engineering Drawing.pdf
 
ALCOHOL PRODUCTION- Beer Brewing Process.pdf
ALCOHOL PRODUCTION- Beer Brewing Process.pdfALCOHOL PRODUCTION- Beer Brewing Process.pdf
ALCOHOL PRODUCTION- Beer Brewing Process.pdf
 
Introduction to Artificial Intelligence and History of AI
Introduction to Artificial Intelligence and History of AIIntroduction to Artificial Intelligence and History of AI
Introduction to Artificial Intelligence and History of AI
 
Instruct Nirmaana 24-Smart and Lean Construction Through Technology.pdf
Instruct Nirmaana 24-Smart and Lean Construction Through Technology.pdfInstruct Nirmaana 24-Smart and Lean Construction Through Technology.pdf
Instruct Nirmaana 24-Smart and Lean Construction Through Technology.pdf
 
21P35A0312 Internship eccccccReport.docx
21P35A0312 Internship eccccccReport.docx21P35A0312 Internship eccccccReport.docx
21P35A0312 Internship eccccccReport.docx
 
SLIDESHARE PPT-DECISION MAKING METHODS.pptx
SLIDESHARE PPT-DECISION MAKING METHODS.pptxSLIDESHARE PPT-DECISION MAKING METHODS.pptx
SLIDESHARE PPT-DECISION MAKING METHODS.pptx
 
electrical installation and maintenance.
electrical installation and maintenance.electrical installation and maintenance.
electrical installation and maintenance.
 
Research Methodolgy & Intellectual Property Rights Series 2
Research Methodolgy & Intellectual Property Rights Series 2Research Methodolgy & Intellectual Property Rights Series 2
Research Methodolgy & Intellectual Property Rights Series 2
 
Passive Air Cooling System and Solar Water Heater.ppt
Passive Air Cooling System and Solar Water Heater.pptPassive Air Cooling System and Solar Water Heater.ppt
Passive Air Cooling System and Solar Water Heater.ppt
 
litvinenko_Henry_Intrusion_Hong-Kong_2024.pdf
litvinenko_Henry_Intrusion_Hong-Kong_2024.pdflitvinenko_Henry_Intrusion_Hong-Kong_2024.pdf
litvinenko_Henry_Intrusion_Hong-Kong_2024.pdf
 
Maher Othman Interior Design Portfolio..
Maher Othman Interior Design Portfolio..Maher Othman Interior Design Portfolio..
Maher Othman Interior Design Portfolio..
 
handbook on reinforce concrete and detailing
handbook on reinforce concrete and detailinghandbook on reinforce concrete and detailing
handbook on reinforce concrete and detailing
 
The Entity-Relationship Model(ER Diagram).pptx
The Entity-Relationship Model(ER Diagram).pptxThe Entity-Relationship Model(ER Diagram).pptx
The Entity-Relationship Model(ER Diagram).pptx
 
Artificial Intelligence in due diligence
Artificial Intelligence in due diligenceArtificial Intelligence in due diligence
Artificial Intelligence in due diligence
 

COMSOL Final Project Report - Garret Senti

  • 1. Pg. 1 COMSOL Final Project Report Garret Senti Starting the final project started by going into the model wizard and selecting the following: Laminar Flow, Solid Mechanics, Moving Mesh, Electric Currents, and Heat Transfer in both Solids and Fluids. All of these physics will be looked at when the model was viewed in a stationary study. With the picture given in the pdf, the model was created in the geometry using Rectangles and Polygons that were necessary for meshing and for solving the obstruction. Then with that right-click on the materials and select add material to add in Water, Fluid and change the value for the electrical conductivity. Then right-click again on the materials and select black material, from there add in the values specified for the flexible obstruction. With that, the two materials of the model were defined. Then right click on the mesh and select mapped, the mapped was selected three times with each one having different distributions in the regions both of the obstruction and the obstruction except for the semi-circle. The first mapped mesh on the left side of the obstruction has the distribution set to a fixed number of elements, which was set to 36. The mapped mesh for the obstruction has the distribution set to a predefined distribution type with a number of 10 elements with an element ratio of three with the geometric sequence set to the symmetric distribution. Lastly, the mapped mesh for the right side of the obstruction has the distribution set to edges on the top and bottom of the region with the predefined distribution type with a number of 25 elements with an element ratio of eight with the Arithmetic sequence set to the reverse direction. With that, right clicking again on the mesh and select Free Triangular twice. The first Free Triangular has the semi-circular and the top-right region next to the obstruction selected with the maximum element size set to 0.0067/4. The second Free Triangular contains the other regions not selected yet with the maximum element size set to 0.0067. After that right click once more on the mesh and select Boundary Layers. In the settings for the Boundary Layers, all the edges of the top and bottom of the entire model were selected and have these settings set: number of boundary layers to four, boundary layer stretching factor to 1.5, and a thickness adjustments factor of one. Lastly, the Global Size node was selected with the custom settings selected with the curvature factor changed to 0.3*100. The mesh ended up looking like this. After the model was set, the physics needed to be implemented. Starting with Laminar Fluid Flow add all the regions that relate to the fluid material then right click and add Inlet with the far left edge of the entire model selected as well as adding Outlet with the far right edge of the entire model selected. Going into the Inlet setting for velocity, select Normal inflow velocity
  • 2. Pg. 2 and set to 0.004[m/s]*6*s*(1-s)*vel_param(pseudo_time). The program will note that both pseudo_time and vel_param has not been established. Then going to global parameter and type in pseudo_time as a new parameter with the value set to one. Then from there right click on Global Definitions and select Ramps under the Functions tab, the settings will come up for the ramp. Change the function name to vel_param so that the program will recognize the name and have the location set to zero, the slope to one, and the cutoff checked with a value of one set. Lastly, in the Laminar Flow settings under Advanced Setting the “use pseudo time stepping for stationary equation form” was checked to help aid in convergences. Next, was changing the Solid Mechanics and selecting all the regions relating to the obstruction. Then right-click on Solid Mechanics and select the edge Boundary Load and select all the edges except for the bottom of the obstruction. Thiswas then set to a pressure of p, which was taken from the Laminar Flow. Then right-click again on the Solid Mechanics and select Edge Fixed Displacement. The edges from the bottom of the obstruction were selected for the Fixed Displacement. Next, go to the Moving Mesh physics and in the settings of the parent node and change the geometry shape order to 1 and the in the Free Deformation Settings change the mesh smoothing type to Hyperelastic which will help with the convergences. To allow the moving mesh boundary to move go to definitions right click and under Component Coupling select Integration. With that, select the top point of the obstruction to allow movement to be shown in the results. To confirm if the prescribed displacements were in the right direction, the view node under definitions was selected and the show edge direction arrows were checked. From there the arrows that were shown should be in the correct direction then create a free deformation and selecting the four domains around the obstruction. From there right-click on Moving Mesh and select Prescribed Mesh Displacement for boundaries. That step was done four times and the edges selected with the correct values matches that shown in the pdf. Then going into the Electric Currents, right- click and select Electric Potential for boundaries, the bottom edge of the obstruction was selected and the Electric Potential was set with the value 3.0[V]*volt_param(pseudo_time). Then right- click again on the Electric Currents and select ground having that set to the top edge of the flow channel. To make sure this works, going back into Global Definitions and select ramp under the Function tab from there the location was set to one, the slope to one, and the cutoff checked with a value of one set. The last physics to be changed was the Heat Transfer in Solids in which the entire model was selected. From there right click on the node and add in Heat Transfer in Fluids, Heat Source, Boundary Temperature, and Boundary Outflow. The Heat Transfer in Fluids has all the domains except for the domains on the obstruction selected. The Heat Source was applied only to the domains on the obstruction with the general source set to a Total power dissipation density (ec). The Boundary Temperature was set to 274[K] with the far left edge of the model selected and the Boundary Outflow has the far right edge of the model selected. With that, all of the physics have been defined. Going to the Study node, five steps were then added into the system, which includes the following: Laminar Flow Only; Laminar Flow, Solid Mechanics, and Moving Mesh; Electric Currents Only; Electric Currents and Heat Transfer; and All Physics. All of the physics has its
  • 3. Pg. 3 own settings that deal with the pseudo_time as well as any Multiphysics that correlate with the different steps. The Mesh, Physics, and the Study Steps were altered multiple times in order to have Comsol to compile and get results close to what was expected. Once Comsol did compile, the following graphs were created from the data gathered. Velocity of fluid with Mesh Total Displacement with Velocity Magnitude showing Obstruction Deformation
  • 4. Pg. 4 Temperature of Fluid with Streamlines The temperature was not as hot as it should be. The physics from heat source coming off from the obstruction could be the cause of such a low value that relates to the Electric Potential from the object, which could be the main issue. Volumetric Loss Density
  • 5. Pg. 5 Stress occurring on the Obstruction with velocity flow detailing the temperature of the fluid. The Temperature of the fluid was low which was more than likely caused by the physics from heat source coming off from the obstruction could be the cause of such a low value which relates to the Electric Potential from the object which could be the main problem. Electric potential through the obstruction with amount of current density through the system
  • 6. Pg. 6 Pressure on the Surface Line graph of the Pressure Distribution on the Obstruction at different pseudo times The pressures should have a lower value than what was shown in the pdf. This could possibly be the mesh not being refined enough.
  • 7. Pg. 7 Fluid Velocity occurring between the top of the obstruction and the top of the channel Three tables were also created to determine the max, min, and average values of velocity and temperature in the entire x = 0.1 m. All of the graphs that were compiled relied on five data sets. This done to make what the graphs displayed for the model match what was represented in the pdf. In conclusion, there were still some issues with the results as some of the graphs do not match exactly with what was shown in the pdf. This may be because of a coupling not being set up correctly for the physics or the steps not set up correctly for the study. Another possibility was that the mesh was not refined enough which could affect the actual results. However, this program has pushed the limit what was learned in class and what was expected in the real world.