SlideShare uma empresa Scribd logo
1 de 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

Mais conteúdo relacionado

Mais procurados

modelling polymers under tension
modelling polymers under tensionmodelling polymers under tension
modelling polymers under tension
Swati Verma
 
Poster conference 2016
Poster conference 2016Poster conference 2016
Poster conference 2016
Cyril Jacques
 

Mais procurados (20)

Gyroscopic coupl&amp,aeroplane effect
Gyroscopic coupl&amp,aeroplane effectGyroscopic coupl&amp,aeroplane effect
Gyroscopic coupl&amp,aeroplane effect
 
Finite element method
Finite element methodFinite element method
Finite element method
 
Free Vibration and Transient analysis of a Camshaft Assembly using ANSYS
Free Vibration and Transient analysis of a Camshaft Assembly using ANSYSFree Vibration and Transient analysis of a Camshaft Assembly using ANSYS
Free Vibration and Transient analysis of a Camshaft Assembly using ANSYS
 
Introduction to Finite Element Method
Introduction to Finite Element Method Introduction to Finite Element Method
Introduction to Finite Element Method
 
I do like cfd vol 1 2ed_v2p2
I do like cfd vol 1 2ed_v2p2I do like cfd vol 1 2ed_v2p2
I do like cfd vol 1 2ed_v2p2
 
modelling polymers under tension
modelling polymers under tensionmodelling polymers under tension
modelling polymers under tension
 
Ch5 epfm
Ch5 epfmCh5 epfm
Ch5 epfm
 
windshield defrost
windshield defrostwindshield defrost
windshield defrost
 
Ansys tutorial
Ansys tutorialAnsys tutorial
Ansys tutorial
 
methods to draw inflection circle
 methods to draw inflection circle methods to draw inflection circle
methods to draw inflection circle
 
FINITE DIFFERENCE MODELLING FOR HEAT TRANSFER PROBLEMS
FINITE DIFFERENCE MODELLING FOR HEAT TRANSFER PROBLEMSFINITE DIFFERENCE MODELLING FOR HEAT TRANSFER PROBLEMS
FINITE DIFFERENCE MODELLING FOR HEAT TRANSFER PROBLEMS
 
Finite Element Analysis - UNIT-4
Finite Element Analysis - UNIT-4Finite Element Analysis - UNIT-4
Finite Element Analysis - UNIT-4
 
SSL7 Energy Analysis of Closed Systems
SSL7 Energy Analysis of Closed SystemsSSL7 Energy Analysis of Closed Systems
SSL7 Energy Analysis of Closed Systems
 
vibration
vibrationvibration
vibration
 
ansys presentation
ansys presentationansys presentation
ansys presentation
 
Unit 5 Mechanism for control
Unit 5 Mechanism for controlUnit 5 Mechanism for control
Unit 5 Mechanism for control
 
Tutorial to set up a case for chtMultiRegionFoam in OpenFOAM 2.0.0
Tutorial to set up a case for chtMultiRegionFoam in OpenFOAM 2.0.0Tutorial to set up a case for chtMultiRegionFoam in OpenFOAM 2.0.0
Tutorial to set up a case for chtMultiRegionFoam in OpenFOAM 2.0.0
 
Poster conference 2016
Poster conference 2016Poster conference 2016
Poster conference 2016
 
Finite Element Analysis - UNIT-1
Finite Element Analysis - UNIT-1Finite Element Analysis - UNIT-1
Finite Element Analysis - UNIT-1
 
Introduction to finite element analysis
Introduction to finite element analysisIntroduction to finite element analysis
Introduction to finite element analysis
 

Semelhante a openFoam Visualisation Rendering Using Blender

Semelhante a 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)
 

Mais de Julien de Charentenay

Mais de 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
 

Último

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
Safe Software
 
Architecting Cloud Native Applications
Architecting Cloud Native ApplicationsArchitecting Cloud Native Applications
Architecting Cloud Native Applications
WSO2
 
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
Safe Software
 
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
panagenda
 
+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@
 

Último (20)

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
 
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
 
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
 
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, ...
 
Architecting Cloud Native Applications
Architecting Cloud Native ApplicationsArchitecting Cloud Native Applications
Architecting Cloud Native Applications
 
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
 
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
 
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
 
Vector Search -An Introduction in Oracle Database 23ai.pptx
Vector Search -An Introduction in Oracle Database 23ai.pptxVector Search -An Introduction in Oracle Database 23ai.pptx
Vector Search -An Introduction in Oracle Database 23ai.pptx
 
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
 
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin WoodPolkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
 
WSO2's API Vision: Unifying Control, Empowering Developers
WSO2's API Vision: Unifying Control, Empowering DevelopersWSO2's API Vision: Unifying Control, Empowering Developers
WSO2's API Vision: Unifying Control, Empowering Developers
 
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...
 
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...
 
Six Myths about Ontologies: The Basics of Formal Ontology
Six Myths about Ontologies: The Basics of Formal OntologySix Myths about Ontologies: The Basics of Formal Ontology
Six Myths about Ontologies: The Basics of Formal Ontology
 
Introduction to Multilingual Retrieval Augmented Generation (RAG)
Introduction to Multilingual Retrieval Augmented Generation (RAG)Introduction to Multilingual Retrieval Augmented Generation (RAG)
Introduction to Multilingual Retrieval Augmented Generation (RAG)
 
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWEREMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
 
+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...
 
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
 
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
 

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