SlideShare a Scribd company logo
1 of 18
openFoam Visulation
Rendering using Blender
openFoam Brisbane Users' Group
19th June 2014
Objectives
• Learn how to
generate high
resolution render of
openFoam CFD
results using Blender
Thanks
• CAEdevice www.caedevice.net for enabling the use of
his design geometry
• KVRC www.khamsinvirtualracecarchallenge.com and its
partners: Competition Car Engineering and Hibou
Scientific Software
• Matt Cragun, Total Sim USA for his presentation "Data
Visualisation and Rendering with Blender and VTK"
Blender
• A few basics - please
refer to Matt Cragun's
presentation:
http://www.openfoamworkshop.org/6th
_OpenFOAM_Workshop_2011/Progra
m/Training/cragun_slides.pdf
Be prepared, the learning
curve is steep...
Shortcut Action
RMB Select
Shift+MMB Pan
Shift+D Duplicate
G Grab (to move an
object)
R Rotate
(G, R) >> (X, Y, Z) Specify the axis to
be used to
move/rotate object
X Delete
F12 Render
F3 Save image
The Workflow
Rendered image
Blender
X3D 3DS
SketchUp GeometryParaView
VTK
openFoam
Files Provided SketchUp and
3DS files,
including textures
openFoam CFD
results converted
to VTK format.
Download from:
https://s3.amazonaws.com/cfdresultsp
ublic/oF+Rendering+using+Blender.zip
ParaView
• Start ParaView;
• Open files:
– bc_body_480.vtk
– bc_frontwing_480.vtk
– bc_rearwing_480.vtk
– bc_wheelback1_480.vtk
– bc_wheelback2_480.vtk
– bc_wheelfront1_480.vtk
– bc_wheelfront2_480.vtk
ParaView
Let's create streamlines:
• Open file: internalMesh.vtk
• Select the internalMesh.vtk
object;
• Activate the Steam Tracer
filter;
• Change the Steam Tracer
parameters to:
– High Resolution Line
Source
– Point1: (-1.0; -1.2; 0.25)
– Point2: (1.0; -1.2; 0.25)
ParaView
And color them:
• Select the StreamTracer object;
• Select the Tube filter;
– Radius: 0.005
• Change the color variable to "U"
Then do a little bit of house keeping
and export:
• Hide the car geometry;
• Select Edit View Option:
– Turn off Orientation Axes
• Export scene as X3D
Blender
• Start Blender
• Delete the default cube in
the middle
• Import
RenderingRoom.3ds
• Import CAEdevice.3ds
• Rotate (R) and move (G)
the car to align properly:
– R >> Z >> -90
– G >> X >> 1.5
– G >> Y >> 5
Blender
• Import results.x3d saved from
ParaView
• Delete by right-click in the
object view and select Delete:
– TODO to TODO.006
– ViewPoint
• Select the ParaView object
(ShapeIndexedFaceSet);
• Rotate and position:
– R >> X >> 90
– R >> Z >> 90
– G >> X >> 1.5
– G >> Y >> 5
Blender
• Position camera
– G >> X >> -8.5
– G >> Z >> -4
– G >> Y >> 8.5
– R >> Z >> -90
– Rotate so that car is in
the camera view point
using View>Camera
And Render (F12)
Blender
Let's remove the tube
shadows:
• Select
ShapeIndexesFaceSet
• Select Material panel
• Untick Traceable
Blender
Add lighting:
• Select existing
light;
• Copy (Shift+D);
• Move the copied
light (X, Y, Z);
• Repeat above step
twice for key and
fill lights
Fill Key
Blender
• Set the lights as
follows:
– Initial light (lamp):
• R >> Z >> -90
• Sun
• Energy: 1
– Key light:
• Energy: 0.4
– Fill light:
• Energy: 0.1
And Render (F12)
Blender
Modify as desired to
improve camera
position, lighting
position and intensity.
Then:
• Change resolution to
100% (Render panel)
• Render (F12)
• And Save (F3)
Blender
• Repeat with showing
the pressure
distribution on the car.
• Tricks:
– In ParaView:
• Group the various car
parts in one dataset
• Coarsen the mesh
using Quadratic
Clustering filter
Happy Rendering
Thank you for your time and attention...
Please, tweet your rendering pictures to
@HibouSoftware
and
on Fridays use #simulationfriday

More Related Content

What's hot

CR 7 INTERNSHIP PPT.pptx
CR 7 INTERNSHIP PPT.pptxCR 7 INTERNSHIP PPT.pptx
CR 7 INTERNSHIP PPT.pptx
LUCKYRATHOD8
 

What's hot (20)

Ansys Workbench demo
Ansys Workbench demoAnsys Workbench demo
Ansys Workbench demo
 
cad design process VS conventional design process
cad design process VS conventional design processcad design process VS conventional design process
cad design process VS conventional design process
 
Solidworks ppt
Solidworks pptSolidworks ppt
Solidworks ppt
 
CR 7 INTERNSHIP PPT.pptx
CR 7 INTERNSHIP PPT.pptxCR 7 INTERNSHIP PPT.pptx
CR 7 INTERNSHIP PPT.pptx
 
Windowing and clipping final1
Windowing and clipping final1Windowing and clipping final1
Windowing and clipping final1
 
CAD CAM CAE
CAD CAM CAECAD CAM CAE
CAD CAM CAE
 
Ejemplo-Dinámica
Ejemplo-DinámicaEjemplo-Dinámica
Ejemplo-Dinámica
 
ansys presentation
ansys presentationansys presentation
ansys presentation
 
Hair in Tomb Raider
Hair in Tomb RaiderHair in Tomb Raider
Hair in Tomb Raider
 
Cnc drilling
Cnc drillingCnc drilling
Cnc drilling
 
ディープラーニング基礎.pptx
ディープラーニング基礎.pptxディープラーニング基礎.pptx
ディープラーニング基礎.pptx
 
CAD/CAM/CIM
CAD/CAM/CIMCAD/CAM/CIM
CAD/CAM/CIM
 
Matlab ch1 (6)
Matlab ch1 (6)Matlab ch1 (6)
Matlab ch1 (6)
 
Introduction to Computational Fluid Dynamics (CFD)
Introduction to Computational Fluid Dynamics (CFD)Introduction to Computational Fluid Dynamics (CFD)
Introduction to Computational Fluid Dynamics (CFD)
 
An Introduction to Model Order Reduction
An Introduction to Model Order ReductionAn Introduction to Model Order Reduction
An Introduction to Model Order Reduction
 
Me6703 cim systems
Me6703 cim systemsMe6703 cim systems
Me6703 cim systems
 
Components of CIM Systems
Components of CIM SystemsComponents of CIM Systems
Components of CIM Systems
 
Assembly modeling ppt
Assembly modeling pptAssembly modeling ppt
Assembly modeling ppt
 
Reverse engineering
Reverse engineeringReverse engineering
Reverse engineering
 
Nurbs (1)
Nurbs (1)Nurbs (1)
Nurbs (1)
 

Similar to openFoam Visualisation Rendering Using Blender

Similar to openFoam Visualisation Rendering Using Blender (20)

C PPT.pptx
C PPT.pptxC PPT.pptx
C PPT.pptx
 
Introduction to Unity
Introduction to UnityIntroduction to Unity
Introduction to Unity
 
Fikus presentation 2015
Fikus presentation 2015Fikus presentation 2015
Fikus presentation 2015
 
solidworks1-171128203129.pptx
solidworks1-171128203129.pptxsolidworks1-171128203129.pptx
solidworks1-171128203129.pptx
 
3D Programming Basics: WebGL
3D Programming Basics: WebGL3D Programming Basics: WebGL
3D Programming Basics: WebGL
 
enhancements.ppt
enhancements.pptenhancements.ppt
enhancements.ppt
 
CADfix pps helps reducing CAD data size
CADfix pps helps reducing CAD data sizeCADfix pps helps reducing CAD data size
CADfix pps helps reducing CAD data size
 
3D Printing Workshop
3D Printing Workshop3D Printing Workshop
3D Printing Workshop
 
BIM/GIS Integration: A Practical Approach in Real Cases
BIM/GIS Integration: A Practical Approach in Real CasesBIM/GIS Integration: A Practical Approach in Real Cases
BIM/GIS Integration: A Practical Approach in Real Cases
 
Data behind UA
Data behind UA Data behind UA
Data behind UA
 
Subtrative Manufacturing Report
Subtrative Manufacturing ReportSubtrative Manufacturing Report
Subtrative Manufacturing Report
 
PMI 3D Laser Scanning (As Built) Services
PMI 3D Laser Scanning (As Built) ServicesPMI 3D Laser Scanning (As Built) Services
PMI 3D Laser Scanning (As Built) Services
 
User-guide of Solutionix D Series - 3d scanning + post-processing(ENG)
User-guide of Solutionix D Series - 3d scanning + post-processing(ENG)User-guide of Solutionix D Series - 3d scanning + post-processing(ENG)
User-guide of Solutionix D Series - 3d scanning + post-processing(ENG)
 
solidworks1-171128203129.pptx
solidworks1-171128203129.pptxsolidworks1-171128203129.pptx
solidworks1-171128203129.pptx
 
solidworks1-171128203129[1].pptx
solidworks1-171128203129[1].pptxsolidworks1-171128203129[1].pptx
solidworks1-171128203129[1].pptx
 
Angular2 and TypeScript
Angular2 and TypeScriptAngular2 and TypeScript
Angular2 and TypeScript
 
Try to Make Google Glass by Maker Style
Try to Make Google Glass by Maker StyleTry to Make Google Glass by Maker Style
Try to Make Google Glass by Maker Style
 
Top 8 Tips to Take your Design from CAD Drawing to CNC Fabrication
Top 8 Tips to Take your Design from CAD Drawing to CNC FabricationTop 8 Tips to Take your Design from CAD Drawing to CNC Fabrication
Top 8 Tips to Take your Design from CAD Drawing to CNC Fabrication
 
Cad/Cam Development
Cad/Cam DevelopmentCad/Cam Development
Cad/Cam Development
 
User-guide of Solutionix C500 - 3d scanning + post-processing(ENG)
User-guide of Solutionix C500 - 3d scanning + post-processing(ENG)User-guide of Solutionix C500 - 3d scanning + post-processing(ENG)
User-guide of Solutionix C500 - 3d scanning + post-processing(ENG)
 

More from Julien de Charentenay

More from Julien de Charentenay (8)

One-Click CFD Users' Guide
One-Click CFD Users' GuideOne-Click CFD Users' Guide
One-Click CFD Users' Guide
 
ParaViewWeb + Kinect
ParaViewWeb + KinectParaViewWeb + Kinect
ParaViewWeb + Kinect
 
CFD Apps: Presentation of the Urban Wind Study App
CFD Apps: Presentation of the Urban Wind Study AppCFD Apps: Presentation of the Urban Wind Study App
CFD Apps: Presentation of the Urban Wind Study App
 
KVRC 2014 - Submission Portal Presentation
KVRC 2014 - Submission Portal PresentationKVRC 2014 - Submission Portal Presentation
KVRC 2014 - Submission Portal Presentation
 
openFoam Hangout on Air #2 - Cloud Simulation, presentation by SimScale
openFoam Hangout on Air #2 - Cloud Simulation, presentation by SimScaleopenFoam Hangout on Air #2 - Cloud Simulation, presentation by SimScale
openFoam Hangout on Air #2 - Cloud Simulation, presentation by SimScale
 
openFoam Hangout on Air #2 - Cloud Simulation, presentation by Dacolt
openFoam Hangout on Air #2 - Cloud Simulation, presentation by DacoltopenFoam Hangout on Air #2 - Cloud Simulation, presentation by Dacolt
openFoam Hangout on Air #2 - Cloud Simulation, presentation by Dacolt
 
openFoam Hangout on Air Meeting #1 Introduction
openFoam Hangout on Air Meeting #1 IntroductionopenFoam Hangout on Air Meeting #1 Introduction
openFoam Hangout on Air Meeting #1 Introduction
 
Using SketchUp with openFoam
Using SketchUp with openFoamUsing SketchUp with openFoam
Using SketchUp with openFoam
 

Recently uploaded

+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
?#DUbAI#??##{{(☎️+971_581248768%)**%*]'#abortion pills for sale in dubai@
 
Artificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsArtificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and Myths
Joaquim Jorge
 

Recently uploaded (20)

The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024
 
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
 
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
 
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
 
Boost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfBoost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdf
 
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
 
A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)
 
MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024
 
Artificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsArtificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and Myths
 
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
 
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationFrom Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
 
A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?
 
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot TakeoffStrategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
 
Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024
 
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
 
GenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdfGenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdf
 
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
 
presentation ICT roal in 21st century education
presentation ICT roal in 21st century educationpresentation ICT roal in 21st century education
presentation ICT roal in 21st century education
 
Deploy with confidence: VMware Cloud Foundation 5.1 on next gen Dell PowerEdg...
Deploy with confidence: VMware Cloud Foundation 5.1 on next gen Dell PowerEdg...Deploy with confidence: VMware Cloud Foundation 5.1 on next gen Dell PowerEdg...
Deploy with confidence: VMware Cloud Foundation 5.1 on next gen Dell PowerEdg...
 
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
 

openFoam Visualisation Rendering Using Blender

  • 1. openFoam Visulation Rendering using Blender openFoam Brisbane Users' Group 19th June 2014
  • 2. Objectives • Learn how to generate high resolution render of openFoam CFD results using Blender
  • 3. Thanks • CAEdevice www.caedevice.net for enabling the use of his design geometry • KVRC www.khamsinvirtualracecarchallenge.com and its partners: Competition Car Engineering and Hibou Scientific Software • Matt Cragun, Total Sim USA for his presentation "Data Visualisation and Rendering with Blender and VTK"
  • 4. Blender • A few basics - please refer to Matt Cragun's presentation: http://www.openfoamworkshop.org/6th _OpenFOAM_Workshop_2011/Progra m/Training/cragun_slides.pdf Be prepared, the learning curve is steep... Shortcut Action RMB Select Shift+MMB Pan Shift+D Duplicate G Grab (to move an object) R Rotate (G, R) >> (X, Y, Z) Specify the axis to be used to move/rotate object X Delete F12 Render F3 Save image
  • 5. The Workflow Rendered image Blender X3D 3DS SketchUp GeometryParaView VTK openFoam
  • 6. Files Provided SketchUp and 3DS files, including textures openFoam CFD results converted to VTK format. Download from: https://s3.amazonaws.com/cfdresultsp ublic/oF+Rendering+using+Blender.zip
  • 7. ParaView • Start ParaView; • Open files: – bc_body_480.vtk – bc_frontwing_480.vtk – bc_rearwing_480.vtk – bc_wheelback1_480.vtk – bc_wheelback2_480.vtk – bc_wheelfront1_480.vtk – bc_wheelfront2_480.vtk
  • 8. ParaView Let's create streamlines: • Open file: internalMesh.vtk • Select the internalMesh.vtk object; • Activate the Steam Tracer filter; • Change the Steam Tracer parameters to: – High Resolution Line Source – Point1: (-1.0; -1.2; 0.25) – Point2: (1.0; -1.2; 0.25)
  • 9. ParaView And color them: • Select the StreamTracer object; • Select the Tube filter; – Radius: 0.005 • Change the color variable to "U" Then do a little bit of house keeping and export: • Hide the car geometry; • Select Edit View Option: – Turn off Orientation Axes • Export scene as X3D
  • 10. Blender • Start Blender • Delete the default cube in the middle • Import RenderingRoom.3ds • Import CAEdevice.3ds • Rotate (R) and move (G) the car to align properly: – R >> Z >> -90 – G >> X >> 1.5 – G >> Y >> 5
  • 11. Blender • Import results.x3d saved from ParaView • Delete by right-click in the object view and select Delete: – TODO to TODO.006 – ViewPoint • Select the ParaView object (ShapeIndexedFaceSet); • Rotate and position: – R >> X >> 90 – R >> Z >> 90 – G >> X >> 1.5 – G >> Y >> 5
  • 12. Blender • Position camera – G >> X >> -8.5 – G >> Z >> -4 – G >> Y >> 8.5 – R >> Z >> -90 – Rotate so that car is in the camera view point using View>Camera And Render (F12)
  • 13. Blender Let's remove the tube shadows: • Select ShapeIndexesFaceSet • Select Material panel • Untick Traceable
  • 14. Blender Add lighting: • Select existing light; • Copy (Shift+D); • Move the copied light (X, Y, Z); • Repeat above step twice for key and fill lights Fill Key
  • 15. Blender • Set the lights as follows: – Initial light (lamp): • R >> Z >> -90 • Sun • Energy: 1 – Key light: • Energy: 0.4 – Fill light: • Energy: 0.1 And Render (F12)
  • 16. Blender Modify as desired to improve camera position, lighting position and intensity. Then: • Change resolution to 100% (Render panel) • Render (F12) • And Save (F3)
  • 17. Blender • Repeat with showing the pressure distribution on the car. • Tricks: – In ParaView: • Group the various car parts in one dataset • Coarsen the mesh using Quadratic Clustering filter
  • 18. Happy Rendering Thank you for your time and attention... Please, tweet your rendering pictures to @HibouSoftware and on Fridays use #simulationfriday