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

ピンホールカメラモデル
ピンホールカメラモデルピンホールカメラモデル
ピンホールカメラモデルShohei Mori
 
ECCV読み会 "Materials for Masses: SVBRDF Acquisition with a Single Mobile Phone ...
ECCV読み会 "Materials for Masses: SVBRDF Acquisition with a Single Mobile Phone ...ECCV読み会 "Materials for Masses: SVBRDF Acquisition with a Single Mobile Phone ...
ECCV読み会 "Materials for Masses: SVBRDF Acquisition with a Single Mobile Phone ...Hajime Mihara
 
OpenFOAM を用いた Adjoint 形状最適化事例1
OpenFOAM を用いた Adjoint 形状最適化事例1OpenFOAM を用いた Adjoint 形状最適化事例1
OpenFOAM を用いた Adjoint 形状最適化事例1Fumiya Nozaki
 
平滑化処理の繰り返しによる画像セグメンテーションのためのグラフカット
平滑化処理の繰り返しによる画像セグメンテーションのためのグラフカット平滑化処理の繰り返しによる画像セグメンテーションのためのグラフカット
平滑化処理の繰り返しによる画像セグメンテーションのためのグラフカットMPRG_Chubu_University
 
リアルタイムレイトレーシング時代を生き抜くためのデノイザー開発入門
リアルタイムレイトレーシング時代を生き抜くためのデノイザー開発入門リアルタイムレイトレーシング時代を生き抜くためのデノイザー開発入門
リアルタイムレイトレーシング時代を生き抜くためのデノイザー開発入門Silicon Studio Corporation
 
BRDF レンダリングの方程式
BRDF レンダリングの方程式BRDF レンダリングの方程式
BRDF レンダリングの方程式康弘 等々力
 
CS 354 Transformation, Clipping, and Culling
CS 354 Transformation, Clipping, and CullingCS 354 Transformation, Clipping, and Culling
CS 354 Transformation, Clipping, and CullingMark Kilgard
 
Mixer vessel by cfmesh
Mixer vessel by cfmeshMixer vessel by cfmesh
Mixer vessel by cfmeshEtsuji Nomura
 
Z Buffer Optimizations
Z Buffer OptimizationsZ Buffer Optimizations
Z Buffer Optimizationspjcozzi
 
シリコンスタジオによる HDR出力対応の理論と実践
シリコンスタジオによるHDR出力対応の理論と実践シリコンスタジオによるHDR出力対応の理論と実践
シリコンスタジオによる HDR出力対応の理論と実践Silicon Studio Corporation
 
Dynamic Mesh in OpenFOAM
Dynamic Mesh in OpenFOAMDynamic Mesh in OpenFOAM
Dynamic Mesh in OpenFOAMFumiya Nozaki
 
GDC 2014 - Deformable Snow Rendering in Batman: Arkham Origins
GDC 2014 - Deformable Snow Rendering in Batman: Arkham OriginsGDC 2014 - Deformable Snow Rendering in Batman: Arkham Origins
GDC 2014 - Deformable Snow Rendering in Batman: Arkham OriginsColin Barré-Brisebois
 
オープンソースからの高位合成によるORB-SLAM FPGA実装
オープンソースからの高位合成によるORB-SLAM FPGA実装オープンソースからの高位合成によるORB-SLAM FPGA実装
オープンソースからの高位合成によるORB-SLAM FPGA実装直久 住川
 
【Unity道場】新しいPrefabワークフロー入門
【Unity道場】新しいPrefabワークフロー入門【Unity道場】新しいPrefabワークフロー入門
【Unity道場】新しいPrefabワークフロー入門Unity Technologies Japan K.K.
 
論文解説:スマホカメラを用いたBRDFパラメータ取得技術(非DNN)「Two-Shot SVBRDF Capture for Stationary Mat...
論文解説:スマホカメラを用いたBRDFパラメータ取得技術(非DNN)「Two-Shot SVBRDF Capture for Stationary Mat...論文解説:スマホカメラを用いたBRDFパラメータ取得技術(非DNN)「Two-Shot SVBRDF Capture for Stationary Mat...
論文解説:スマホカメラを用いたBRDFパラメータ取得技術(非DNN)「Two-Shot SVBRDF Capture for Stationary Mat...Teppei Kurita
 
シェーダーを活用した3Dライブ演出のアップデート ~『ラブライブ!スクールアイドルフェスティバル ALL STARS』(スクスタ)の開発事例~​
シェーダーを活用した3Dライブ演出のアップデート ~『ラブライブ!スクールアイドルフェスティバル ALL STARS』(スクスタ)の開発事例~​シェーダーを活用した3Dライブ演出のアップデート ~『ラブライブ!スクールアイドルフェスティバル ALL STARS』(スクスタ)の開発事例~​
シェーダーを活用した3Dライブ演出のアップデート ~『ラブライブ!スクールアイドルフェスティバル ALL STARS』(スクスタ)の開発事例~​KLab Inc. / Tech
 
[DL輪読会]Pyramid Stereo Matching Network
[DL輪読会]Pyramid Stereo Matching Network[DL輪読会]Pyramid Stereo Matching Network
[DL輪読会]Pyramid Stereo Matching NetworkDeep Learning JP
 

What's hot (20)

ピンホールカメラモデル
ピンホールカメラモデルピンホールカメラモデル
ピンホールカメラモデル
 
ECCV読み会 "Materials for Masses: SVBRDF Acquisition with a Single Mobile Phone ...
ECCV読み会 "Materials for Masses: SVBRDF Acquisition with a Single Mobile Phone ...ECCV読み会 "Materials for Masses: SVBRDF Acquisition with a Single Mobile Phone ...
ECCV読み会 "Materials for Masses: SVBRDF Acquisition with a Single Mobile Phone ...
 
OpenFOAM を用いた Adjoint 形状最適化事例1
OpenFOAM を用いた Adjoint 形状最適化事例1OpenFOAM を用いた Adjoint 形状最適化事例1
OpenFOAM を用いた Adjoint 形状最適化事例1
 
平滑化処理の繰り返しによる画像セグメンテーションのためのグラフカット
平滑化処理の繰り返しによる画像セグメンテーションのためのグラフカット平滑化処理の繰り返しによる画像セグメンテーションのためのグラフカット
平滑化処理の繰り返しによる画像セグメンテーションのためのグラフカット
 
リアルタイムレイトレーシング時代を生き抜くためのデノイザー開発入門
リアルタイムレイトレーシング時代を生き抜くためのデノイザー開発入門リアルタイムレイトレーシング時代を生き抜くためのデノイザー開発入門
リアルタイムレイトレーシング時代を生き抜くためのデノイザー開発入門
 
BRDF レンダリングの方程式
BRDF レンダリングの方程式BRDF レンダリングの方程式
BRDF レンダリングの方程式
 
MobileNeRF
MobileNeRFMobileNeRF
MobileNeRF
 
CS 354 Transformation, Clipping, and Culling
CS 354 Transformation, Clipping, and CullingCS 354 Transformation, Clipping, and Culling
CS 354 Transformation, Clipping, and Culling
 
SLAM勉強会(PTAM)
SLAM勉強会(PTAM)SLAM勉強会(PTAM)
SLAM勉強会(PTAM)
 
Mixer vessel by cfmesh
Mixer vessel by cfmeshMixer vessel by cfmesh
Mixer vessel by cfmesh
 
Z Buffer Optimizations
Z Buffer OptimizationsZ Buffer Optimizations
Z Buffer Optimizations
 
シリコンスタジオによる HDR出力対応の理論と実践
シリコンスタジオによるHDR出力対応の理論と実践シリコンスタジオによるHDR出力対応の理論と実践
シリコンスタジオによる HDR出力対応の理論と実践
 
Dynamic Mesh in OpenFOAM
Dynamic Mesh in OpenFOAMDynamic Mesh in OpenFOAM
Dynamic Mesh in OpenFOAM
 
GDC 2014 - Deformable Snow Rendering in Batman: Arkham Origins
GDC 2014 - Deformable Snow Rendering in Batman: Arkham OriginsGDC 2014 - Deformable Snow Rendering in Batman: Arkham Origins
GDC 2014 - Deformable Snow Rendering in Batman: Arkham Origins
 
オープンソースからの高位合成によるORB-SLAM FPGA実装
オープンソースからの高位合成によるORB-SLAM FPGA実装オープンソースからの高位合成によるORB-SLAM FPGA実装
オープンソースからの高位合成によるORB-SLAM FPGA実装
 
【Unity道場】新しいPrefabワークフロー入門
【Unity道場】新しいPrefabワークフロー入門【Unity道場】新しいPrefabワークフロー入門
【Unity道場】新しいPrefabワークフロー入門
 
論文解説:スマホカメラを用いたBRDFパラメータ取得技術(非DNN)「Two-Shot SVBRDF Capture for Stationary Mat...
論文解説:スマホカメラを用いたBRDFパラメータ取得技術(非DNN)「Two-Shot SVBRDF Capture for Stationary Mat...論文解説:スマホカメラを用いたBRDFパラメータ取得技術(非DNN)「Two-Shot SVBRDF Capture for Stationary Mat...
論文解説:スマホカメラを用いたBRDFパラメータ取得技術(非DNN)「Two-Shot SVBRDF Capture for Stationary Mat...
 
シェーダーを活用した3Dライブ演出のアップデート ~『ラブライブ!スクールアイドルフェスティバル ALL STARS』(スクスタ)の開発事例~​
シェーダーを活用した3Dライブ演出のアップデート ~『ラブライブ!スクールアイドルフェスティバル ALL STARS』(スクスタ)の開発事例~​シェーダーを活用した3Dライブ演出のアップデート ~『ラブライブ!スクールアイドルフェスティバル ALL STARS』(スクスタ)の開発事例~​
シェーダーを活用した3Dライブ演出のアップデート ~『ラブライブ!スクールアイドルフェスティバル ALL STARS』(スクスタ)の開発事例~​
 
[DL輪読会]Pyramid Stereo Matching Network
[DL輪読会]Pyramid Stereo Matching Network[DL輪読会]Pyramid Stereo Matching Network
[DL輪読会]Pyramid Stereo Matching Network
 
CuPy解説
CuPy解説CuPy解説
CuPy解説
 

Similar to openFoam Visualisation Rendering Using Blender

solidworks1-171128203129.pptx
solidworks1-171128203129.pptxsolidworks1-171128203129.pptx
solidworks1-171128203129.pptxRajni769849
 
3D Programming Basics: WebGL
3D Programming Basics: WebGL3D Programming Basics: WebGL
3D Programming Basics: WebGLGlobant
 
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 sizeCAD Interop
 
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 CasesSANGHEE SHIN
 
Data behind UA
Data behind UA Data behind UA
Data behind UA GameCamp
 
Subtrative Manufacturing Report
Subtrative Manufacturing ReportSubtrative Manufacturing Report
Subtrative Manufacturing ReportJoseph Legan
 
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) Servicesssoni747
 
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)JongSik (Jason) Park
 
solidworks1-171128203129.pptx
solidworks1-171128203129.pptxsolidworks1-171128203129.pptx
solidworks1-171128203129.pptxRajni769849
 
solidworks1-171128203129[1].pptx
solidworks1-171128203129[1].pptxsolidworks1-171128203129[1].pptx
solidworks1-171128203129[1].pptxRajni769849
 
Angular2 and TypeScript
Angular2 and TypeScriptAngular2 and TypeScript
Angular2 and TypeScriptDavid Giard
 
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 FabricationScan2CAD
 
Cad/Cam Development
Cad/Cam DevelopmentCad/Cam Development
Cad/Cam DevelopmentTahir Tariq
 
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)JongSik (Jason) Park
 

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

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 AppJulien de Charentenay
 
KVRC 2014 - Submission Portal Presentation
KVRC 2014 - Submission Portal PresentationKVRC 2014 - Submission Portal Presentation
KVRC 2014 - Submission Portal PresentationJulien de Charentenay
 
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 SimScaleJulien de Charentenay
 
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 DacoltJulien de Charentenay
 
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 IntroductionJulien 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

Hyperautomation and AI/ML: A Strategy for Digital Transformation Success.pdf
Hyperautomation and AI/ML: A Strategy for Digital Transformation Success.pdfHyperautomation and AI/ML: A Strategy for Digital Transformation Success.pdf
Hyperautomation and AI/ML: A Strategy for Digital Transformation Success.pdfPrecisely
 
Connect Wave/ connectwave Pitch Deck Presentation
Connect Wave/ connectwave Pitch Deck PresentationConnect Wave/ connectwave Pitch Deck Presentation
Connect Wave/ connectwave Pitch Deck PresentationSlibray Presentation
 
Are Multi-Cloud and Serverless Good or Bad?
Are Multi-Cloud and Serverless Good or Bad?Are Multi-Cloud and Serverless Good or Bad?
Are Multi-Cloud and Serverless Good or Bad?Mattias Andersson
 
From Family Reminiscence to Scholarly Archive .
From Family Reminiscence to Scholarly Archive .From Family Reminiscence to Scholarly Archive .
From Family Reminiscence to Scholarly Archive .Alan Dix
 
Gen AI in Business - Global Trends Report 2024.pdf
Gen AI in Business - Global Trends Report 2024.pdfGen AI in Business - Global Trends Report 2024.pdf
Gen AI in Business - Global Trends Report 2024.pdfAddepto
 
H2O.ai CEO/Founder: Sri Ambati Keynote at Wells Fargo Day
H2O.ai CEO/Founder: Sri Ambati Keynote at Wells Fargo DayH2O.ai CEO/Founder: Sri Ambati Keynote at Wells Fargo Day
H2O.ai CEO/Founder: Sri Ambati Keynote at Wells Fargo DaySri Ambati
 
Scanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL CertsScanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL CertsRizwan Syed
 
TrustArc Webinar - How to Build Consumer Trust Through Data Privacy
TrustArc Webinar - How to Build Consumer Trust Through Data PrivacyTrustArc Webinar - How to Build Consumer Trust Through Data Privacy
TrustArc Webinar - How to Build Consumer Trust Through Data PrivacyTrustArc
 
What's New in Teams Calling, Meetings and Devices March 2024
What's New in Teams Calling, Meetings and Devices March 2024What's New in Teams Calling, Meetings and Devices March 2024
What's New in Teams Calling, Meetings and Devices March 2024Stephanie Beckett
 
Vertex AI Gemini Prompt Engineering Tips
Vertex AI Gemini Prompt Engineering TipsVertex AI Gemini Prompt Engineering Tips
Vertex AI Gemini Prompt Engineering TipsMiki Katsuragi
 
Commit 2024 - Secret Management made easy
Commit 2024 - Secret Management made easyCommit 2024 - Secret Management made easy
Commit 2024 - Secret Management made easyAlfredo García Lavilla
 
Artificial intelligence in cctv survelliance.pptx
Artificial intelligence in cctv survelliance.pptxArtificial intelligence in cctv survelliance.pptx
Artificial intelligence in cctv survelliance.pptxhariprasad279825
 
DSPy a system for AI to Write Prompts and Do Fine Tuning
DSPy a system for AI to Write Prompts and Do Fine TuningDSPy a system for AI to Write Prompts and Do Fine Tuning
DSPy a system for AI to Write Prompts and Do Fine TuningLars Bell
 
Unraveling Multimodality with Large Language Models.pdf
Unraveling Multimodality with Large Language Models.pdfUnraveling Multimodality with Large Language Models.pdf
Unraveling Multimodality with Large Language Models.pdfAlex Barbosa Coqueiro
 
"Debugging python applications inside k8s environment", Andrii Soldatenko
"Debugging python applications inside k8s environment", Andrii Soldatenko"Debugging python applications inside k8s environment", Andrii Soldatenko
"Debugging python applications inside k8s environment", Andrii SoldatenkoFwdays
 
Unleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding ClubUnleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding ClubKalema Edgar
 
DevEX - reference for building teams, processes, and platforms
DevEX - reference for building teams, processes, and platformsDevEX - reference for building teams, processes, and platforms
DevEX - reference for building teams, processes, and platformsSergiu Bodiu
 
Story boards and shot lists for my a level piece
Story boards and shot lists for my a level pieceStory boards and shot lists for my a level piece
Story boards and shot lists for my a level piececharlottematthew16
 

Recently uploaded (20)

Hyperautomation and AI/ML: A Strategy for Digital Transformation Success.pdf
Hyperautomation and AI/ML: A Strategy for Digital Transformation Success.pdfHyperautomation and AI/ML: A Strategy for Digital Transformation Success.pdf
Hyperautomation and AI/ML: A Strategy for Digital Transformation Success.pdf
 
Connect Wave/ connectwave Pitch Deck Presentation
Connect Wave/ connectwave Pitch Deck PresentationConnect Wave/ connectwave Pitch Deck Presentation
Connect Wave/ connectwave Pitch Deck Presentation
 
Are Multi-Cloud and Serverless Good or Bad?
Are Multi-Cloud and Serverless Good or Bad?Are Multi-Cloud and Serverless Good or Bad?
Are Multi-Cloud and Serverless Good or Bad?
 
From Family Reminiscence to Scholarly Archive .
From Family Reminiscence to Scholarly Archive .From Family Reminiscence to Scholarly Archive .
From Family Reminiscence to Scholarly Archive .
 
Gen AI in Business - Global Trends Report 2024.pdf
Gen AI in Business - Global Trends Report 2024.pdfGen AI in Business - Global Trends Report 2024.pdf
Gen AI in Business - Global Trends Report 2024.pdf
 
H2O.ai CEO/Founder: Sri Ambati Keynote at Wells Fargo Day
H2O.ai CEO/Founder: Sri Ambati Keynote at Wells Fargo DayH2O.ai CEO/Founder: Sri Ambati Keynote at Wells Fargo Day
H2O.ai CEO/Founder: Sri Ambati Keynote at Wells Fargo Day
 
Scanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL CertsScanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL Certs
 
TrustArc Webinar - How to Build Consumer Trust Through Data Privacy
TrustArc Webinar - How to Build Consumer Trust Through Data PrivacyTrustArc Webinar - How to Build Consumer Trust Through Data Privacy
TrustArc Webinar - How to Build Consumer Trust Through Data Privacy
 
What's New in Teams Calling, Meetings and Devices March 2024
What's New in Teams Calling, Meetings and Devices March 2024What's New in Teams Calling, Meetings and Devices March 2024
What's New in Teams Calling, Meetings and Devices March 2024
 
DMCC Future of Trade Web3 - Special Edition
DMCC Future of Trade Web3 - Special EditionDMCC Future of Trade Web3 - Special Edition
DMCC Future of Trade Web3 - Special Edition
 
Vertex AI Gemini Prompt Engineering Tips
Vertex AI Gemini Prompt Engineering TipsVertex AI Gemini Prompt Engineering Tips
Vertex AI Gemini Prompt Engineering Tips
 
Commit 2024 - Secret Management made easy
Commit 2024 - Secret Management made easyCommit 2024 - Secret Management made easy
Commit 2024 - Secret Management made easy
 
Artificial intelligence in cctv survelliance.pptx
Artificial intelligence in cctv survelliance.pptxArtificial intelligence in cctv survelliance.pptx
Artificial intelligence in cctv survelliance.pptx
 
DSPy a system for AI to Write Prompts and Do Fine Tuning
DSPy a system for AI to Write Prompts and Do Fine TuningDSPy a system for AI to Write Prompts and Do Fine Tuning
DSPy a system for AI to Write Prompts and Do Fine Tuning
 
E-Vehicle_Hacking_by_Parul Sharma_null_owasp.pptx
E-Vehicle_Hacking_by_Parul Sharma_null_owasp.pptxE-Vehicle_Hacking_by_Parul Sharma_null_owasp.pptx
E-Vehicle_Hacking_by_Parul Sharma_null_owasp.pptx
 
Unraveling Multimodality with Large Language Models.pdf
Unraveling Multimodality with Large Language Models.pdfUnraveling Multimodality with Large Language Models.pdf
Unraveling Multimodality with Large Language Models.pdf
 
"Debugging python applications inside k8s environment", Andrii Soldatenko
"Debugging python applications inside k8s environment", Andrii Soldatenko"Debugging python applications inside k8s environment", Andrii Soldatenko
"Debugging python applications inside k8s environment", Andrii Soldatenko
 
Unleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding ClubUnleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding Club
 
DevEX - reference for building teams, processes, and platforms
DevEX - reference for building teams, processes, and platformsDevEX - reference for building teams, processes, and platforms
DevEX - reference for building teams, processes, and platforms
 
Story boards and shot lists for my a level piece
Story boards and shot lists for my a level pieceStory boards and shot lists for my a level piece
Story boards and shot lists for my a level piece
 

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