![Page 1: OpenFOAM, Solidworks Flow Simulation, and COMSOL](https://reader030.vdocuments.site/reader030/viewer/2022012311/5898301b1a28ab24498b4681/html5/thumbnails/1.jpg)
EXAMPLES OF SETUP AND SIMULATION
USING ALTERNATIVE CFD SOLVERS
OpenFOAM
Solidworks Flow Simulation
COMSOL Multiphysics
MAE 494/598 (Fall 2016) : Applied Computational Fluid Dynamics
![Page 2: OpenFOAM, Solidworks Flow Simulation, and COMSOL](https://reader030.vdocuments.site/reader030/viewer/2022012311/5898301b1a28ab24498b4681/html5/thumbnails/2.jpg)
OpenFOAM Example 1 Aditya Vipradas
![Page 3: OpenFOAM, Solidworks Flow Simulation, and COMSOL](https://reader030.vdocuments.site/reader030/viewer/2022012311/5898301b1a28ab24498b4681/html5/thumbnails/3.jpg)
Platform: Linux Model: Transient incompressible laminar flow, Solver: icoFoam Viewer: Paraview
Using OpenFOAM for CFD Aditya Vipradas
Mesh: Generated in Fluent imported (fluentMeshToFoam)
Boundary conditions setting in text editor
Material assignment
Time step definition
![Page 4: OpenFOAM, Solidworks Flow Simulation, and COMSOL](https://reader030.vdocuments.site/reader030/viewer/2022012311/5898301b1a28ab24498b4681/html5/thumbnails/4.jpg)
Comparison of OpenFOAM and ANSYS-Fluent Simulation Results
2D elbow with a fluid (nu = 0.01 m2/s) flowing with velocity of 1m/s in inlet 1 and 3m/s in inlet 2. Transient laminar analysis is performed in OpenFOAM and ANSYS-Fluent using PISO scheme
OpenFOAM velocity plot
at 75s
Fluent velocity plot
at 75s
OpenFOAM pressure plot
at 75s
Fluent pressure plot
at 75s
Inlet 1
Inlet 2
The results
generated by
OpenFOAM and
Fluent are in
good agreement.
![Page 5: OpenFOAM, Solidworks Flow Simulation, and COMSOL](https://reader030.vdocuments.site/reader030/viewer/2022012311/5898301b1a28ab24498b4681/html5/thumbnails/5.jpg)
OpenFOAM Example 2 Girish Nigamanth Raghunathan
![Page 6: OpenFOAM, Solidworks Flow Simulation, and COMSOL](https://reader030.vdocuments.site/reader030/viewer/2022012311/5898301b1a28ab24498b4681/html5/thumbnails/6.jpg)
Openfoam Girish Nigamanth Raghunathan
![Page 7: OpenFOAM, Solidworks Flow Simulation, and COMSOL](https://reader030.vdocuments.site/reader030/viewer/2022012311/5898301b1a28ab24498b4681/html5/thumbnails/7.jpg)
Openfoam: Result of Simulation
![Page 8: OpenFOAM, Solidworks Flow Simulation, and COMSOL](https://reader030.vdocuments.site/reader030/viewer/2022012311/5898301b1a28ab24498b4681/html5/thumbnails/8.jpg)
Solidworks Flow Simulation Example 1 Mohammed Mehdi
![Page 9: OpenFOAM, Solidworks Flow Simulation, and COMSOL](https://reader030.vdocuments.site/reader030/viewer/2022012311/5898301b1a28ab24498b4681/html5/thumbnails/9.jpg)
SOLIDWORKS Flow Simulation: Setup Mohammed Mehdi
• Simply and quick setup: • Solidworks add-ins
• Solidworrks flow simulation
• Wizard
• Only thing that needs to be done in wizard is:
• Choosing fluid
• Choosing model, although default will work for any simulation
• Specify boundary conditions • Do this by right clicking and pressing “add
boundary condition” then selecting surfaces
• Right click on “project” and click “Run…”
• To view results expand the “Results” menu and you will be able to choose from a variety of post-processing tools
• Mesh automatically generated
• Models limited to turbulent or laminar or both
![Page 10: OpenFOAM, Solidworks Flow Simulation, and COMSOL](https://reader030.vdocuments.site/reader030/viewer/2022012311/5898301b1a28ab24498b4681/html5/thumbnails/10.jpg)
SOLIDWORKS Flow Simulation: Results and conclusion
![Page 11: OpenFOAM, Solidworks Flow Simulation, and COMSOL](https://reader030.vdocuments.site/reader030/viewer/2022012311/5898301b1a28ab24498b4681/html5/thumbnails/11.jpg)
COMSOL Multiphysics Example 1 Sujal Tipnis
![Page 12: OpenFOAM, Solidworks Flow Simulation, and COMSOL](https://reader030.vdocuments.site/reader030/viewer/2022012311/5898301b1a28ab24498b4681/html5/thumbnails/12.jpg)
1. Geometry and Boundary Conditions
3D Simulation using COMSOL Multiphysics 5.2
2. Mesh
• Ran the simulation on Microsoft Windows used
• Used primitives to construct geometry
• Two Domains • Free Tetrahedral Mesh • Calibrated for Fluid
Dynamics
• Laminar Incompressible Flow • Bounding Box Walls were set as No Slip • Inlet: Normal Inflow Velocity • Outlet: Pressure Outlet [Backflow supressed]
3. Setup
Pressure Outlet
Inlet[1m/s]
Sphere [Iron]
Bounding Box[Air]
Sujal Tipnis
![Page 13: OpenFOAM, Solidworks Flow Simulation, and COMSOL](https://reader030.vdocuments.site/reader030/viewer/2022012311/5898301b1a28ab24498b4681/html5/thumbnails/13.jpg)
COMSOL Multiphysics 5.2: Simulation Results
• Simulation is similar to the Task 1 of Project 3 [3D Model is used here instead, with varying dimensions]
• Velocity and Pressure Contours suggest that the Reynolds number is very low.
• Setting up the simulation is easier than that in FLUENT, mainly due to all components of simulation being incorporated into one.
![Page 14: OpenFOAM, Solidworks Flow Simulation, and COMSOL](https://reader030.vdocuments.site/reader030/viewer/2022012311/5898301b1a28ab24498b4681/html5/thumbnails/14.jpg)
COMSOL Multiphysics Example 2 Vijay Jangid
![Page 15: OpenFOAM, Solidworks Flow Simulation, and COMSOL](https://reader030.vdocuments.site/reader030/viewer/2022012311/5898301b1a28ab24498b4681/html5/thumbnails/15.jpg)
Procedure followed for analysis:
Select new model
Select type of geometric dimension required
Select if it is steady or Transient
Select type Flow: Laminar, Turbulent etc
Make Geometry
Select Material
Input Boundary Conditions
Type of solution required
Output required
COMSOL Multiphysics Vijay Jangid
![Page 16: OpenFOAM, Solidworks Flow Simulation, and COMSOL](https://reader030.vdocuments.site/reader030/viewer/2022012311/5898301b1a28ab24498b4681/html5/thumbnails/16.jpg)
COMSOL Multiphysics: Simulation Results
Comsol Solution Ansys Solution
Ex: Project 3: Task 1-a
The two solutions look very similar. The maximum velocity reached in the two solutions is also almost same.
Vijay Jangid