SlideShare une entreprise Scribd logo
1  sur  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

Contenu connexe

Tendances

Frostbite Rendering Architecture and Real-time Procedural Shading & Texturing...
Frostbite Rendering Architecture and Real-time Procedural Shading & Texturing...Frostbite Rendering Architecture and Real-time Procedural Shading & Texturing...
Frostbite Rendering Architecture and Real-time Procedural Shading & Texturing...
Johan Andersson
 
A Bizarre Way to do Real-Time Lighting
A Bizarre Way to do Real-Time LightingA Bizarre Way to do Real-Time Lighting
A Bizarre Way to do Real-Time Lighting
Steven Tovey
 
The Intersection of Game Engines & GPUs: Current & Future (Graphics Hardware ...
The Intersection of Game Engines & GPUs: Current & Future (Graphics Hardware ...The Intersection of Game Engines & GPUs: Current & Future (Graphics Hardware ...
The Intersection of Game Engines & GPUs: Current & Future (Graphics Hardware ...
Johan Andersson
 
2015年度先端GPGPUシミュレーション工学特論 第10回 Poisson方程式の求解 (線形連立一次方程式)
2015年度先端GPGPUシミュレーション工学特論 第10回 Poisson方程式の求解(線形連立一次方程式)2015年度先端GPGPUシミュレーション工学特論 第10回 Poisson方程式の求解(線形連立一次方程式)
2015年度先端GPGPUシミュレーション工学特論 第10回 Poisson方程式の求解 (線形連立一次方程式)
智啓 出川
 
A Bit More Deferred Cry Engine3
A Bit More Deferred   Cry Engine3A Bit More Deferred   Cry Engine3
A Bit More Deferred Cry Engine3
guest11b095
 
ALD for semiconductor applications_Workshop2010
ALD for semiconductor applications_Workshop2010ALD for semiconductor applications_Workshop2010
ALD for semiconductor applications_Workshop2010
Gabriela Dilliway
 
2015年度GPGPU実践基礎工学 第9回 GPUのアーキテクチャ
2015年度GPGPU実践基礎工学 第9回 GPUのアーキテクチャ2015年度GPGPU実践基礎工学 第9回 GPUのアーキテクチャ
2015年度GPGPU実践基礎工学 第9回 GPUのアーキテクチャ
智啓 出川
 
glass substrates for semiconductor manufacturing 2013 Report by Yole Developp...
glass substrates for semiconductor manufacturing 2013 Report by Yole Developp...glass substrates for semiconductor manufacturing 2013 Report by Yole Developp...
glass substrates for semiconductor manufacturing 2013 Report by Yole Developp...
Yole Developpement
 
CFD for Rotating Machinery using OpenFOAM
CFD for Rotating Machinery using OpenFOAMCFD for Rotating Machinery using OpenFOAM
CFD for Rotating Machinery using OpenFOAM
Fumiya Nozaki
 

Tendances (20)

Frostbite Rendering Architecture and Real-time Procedural Shading & Texturing...
Frostbite Rendering Architecture and Real-time Procedural Shading & Texturing...Frostbite Rendering Architecture and Real-time Procedural Shading & Texturing...
Frostbite Rendering Architecture and Real-time Procedural Shading & Texturing...
 
Progressive Lightmapper: An Introduction to Lightmapping in Unity
Progressive Lightmapper: An Introduction to Lightmapping in UnityProgressive Lightmapper: An Introduction to Lightmapping in Unity
Progressive Lightmapper: An Introduction to Lightmapping in Unity
 
A Bizarre Way to do Real-Time Lighting
A Bizarre Way to do Real-Time LightingA Bizarre Way to do Real-Time Lighting
A Bizarre Way to do Real-Time Lighting
 
Introduction to Monte Carlo Ray Tracing, OpenCL Implementation (CEDEC 2014)
Introduction to Monte Carlo Ray Tracing, OpenCL Implementation (CEDEC 2014)Introduction to Monte Carlo Ray Tracing, OpenCL Implementation (CEDEC 2014)
Introduction to Monte Carlo Ray Tracing, OpenCL Implementation (CEDEC 2014)
 
The Intersection of Game Engines & GPUs: Current & Future (Graphics Hardware ...
The Intersection of Game Engines & GPUs: Current & Future (Graphics Hardware ...The Intersection of Game Engines & GPUs: Current & Future (Graphics Hardware ...
The Intersection of Game Engines & GPUs: Current & Future (Graphics Hardware ...
 
The metal-insulator transition of VO2 revisited
The metal-insulator transition of VO2revisitedThe metal-insulator transition of VO2revisited
The metal-insulator transition of VO2 revisited
 
Five Rendering Ideas from Battlefield 3 & Need For Speed: The Run
Five Rendering Ideas from Battlefield 3 & Need For Speed: The RunFive Rendering Ideas from Battlefield 3 & Need For Speed: The Run
Five Rendering Ideas from Battlefield 3 & Need For Speed: The Run
 
2015年度先端GPGPUシミュレーション工学特論 第10回 Poisson方程式の求解 (線形連立一次方程式)
2015年度先端GPGPUシミュレーション工学特論 第10回 Poisson方程式の求解(線形連立一次方程式)2015年度先端GPGPUシミュレーション工学特論 第10回 Poisson方程式の求解(線形連立一次方程式)
2015年度先端GPGPUシミュレーション工学特論 第10回 Poisson方程式の求解 (線形連立一次方程式)
 
An introduction to Realistic Ocean Rendering through FFT - Fabio Suriano - Co...
An introduction to Realistic Ocean Rendering through FFT - Fabio Suriano - Co...An introduction to Realistic Ocean Rendering through FFT - Fabio Suriano - Co...
An introduction to Realistic Ocean Rendering through FFT - Fabio Suriano - Co...
 
Intro to DFT+U
Intro to DFT+U Intro to DFT+U
Intro to DFT+U
 
Graphics Gems from CryENGINE 3 (Siggraph 2013)
Graphics Gems from CryENGINE 3 (Siggraph 2013)Graphics Gems from CryENGINE 3 (Siggraph 2013)
Graphics Gems from CryENGINE 3 (Siggraph 2013)
 
Decima Engine: Visibility in Horizon Zero Dawn
Decima Engine: Visibility in Horizon Zero DawnDecima Engine: Visibility in Horizon Zero Dawn
Decima Engine: Visibility in Horizon Zero Dawn
 
A Bit More Deferred Cry Engine3
A Bit More Deferred   Cry Engine3A Bit More Deferred   Cry Engine3
A Bit More Deferred Cry Engine3
 
ALD for semiconductor applications_Workshop2010
ALD for semiconductor applications_Workshop2010ALD for semiconductor applications_Workshop2010
ALD for semiconductor applications_Workshop2010
 
ゲート方式量子コンピュータの概要
ゲート方式量子コンピュータの概要ゲート方式量子コンピュータの概要
ゲート方式量子コンピュータの概要
 
Approximations in DFT
Approximations in DFTApproximations in DFT
Approximations in DFT
 
ALD/CVD applications, equipment and precursors in high volume manufacturing
ALD/CVD applications, equipment and precursors in high volume manufacturingALD/CVD applications, equipment and precursors in high volume manufacturing
ALD/CVD applications, equipment and precursors in high volume manufacturing
 
2015年度GPGPU実践基礎工学 第9回 GPUのアーキテクチャ
2015年度GPGPU実践基礎工学 第9回 GPUのアーキテクチャ2015年度GPGPU実践基礎工学 第9回 GPUのアーキテクチャ
2015年度GPGPU実践基礎工学 第9回 GPUのアーキテクチャ
 
glass substrates for semiconductor manufacturing 2013 Report by Yole Developp...
glass substrates for semiconductor manufacturing 2013 Report by Yole Developp...glass substrates for semiconductor manufacturing 2013 Report by Yole Developp...
glass substrates for semiconductor manufacturing 2013 Report by Yole Developp...
 
CFD for Rotating Machinery using OpenFOAM
CFD for Rotating Machinery using OpenFOAMCFD for Rotating Machinery using OpenFOAM
CFD for Rotating Machinery using OpenFOAM
 

Similaire à openFoam Visualisation Rendering Using Blender

Similaire à 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)
 

Plus de Julien de Charentenay

Plus 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
 

Dernier

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
 
Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Finding Java's Hidden Performance Traps @ DevoxxUK 2024Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Victor Rentea
 

Dernier (20)

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
 
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...
 
MS Copilot expands with MS Graph connectors
MS Copilot expands with MS Graph connectorsMS Copilot expands with MS Graph connectors
MS Copilot expands with MS Graph connectors
 
Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...
Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...
Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...
 
Understanding the FAA Part 107 License ..
Understanding the FAA Part 107 License ..Understanding the FAA Part 107 License ..
Understanding the FAA Part 107 License ..
 
Platformless Horizons for Digital Adaptability
Platformless Horizons for Digital AdaptabilityPlatformless Horizons for Digital Adaptability
Platformless Horizons for Digital Adaptability
 
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
 
Elevate Developer Efficiency & build GenAI Application with Amazon Q​
Elevate Developer Efficiency & build GenAI Application with Amazon Q​Elevate Developer Efficiency & build GenAI Application with Amazon Q​
Elevate Developer Efficiency & build GenAI Application with Amazon Q​
 
MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024
 
Architecting Cloud Native Applications
Architecting Cloud Native ApplicationsArchitecting Cloud Native Applications
Architecting Cloud Native Applications
 
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
 
Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Finding Java's Hidden Performance Traps @ DevoxxUK 2024Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Finding Java's Hidden Performance Traps @ DevoxxUK 2024
 
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
 
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
 
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, ...
 
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
 
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
 
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
 
Mcleodganj Call Girls 🥰 8617370543 Service Offer VIP Hot Model
Mcleodganj Call Girls 🥰 8617370543 Service Offer VIP Hot ModelMcleodganj Call Girls 🥰 8617370543 Service Offer VIP Hot Model
Mcleodganj Call Girls 🥰 8617370543 Service Offer VIP Hot Model
 
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
 

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