ulrich heck, martin becker castnet: openfoam setup and job control for windows, linux and gomputes...
TRANSCRIPT
![Page 1: Ulrich Heck, Martin Becker CastNet: OpenFOAM setup and job control for Windows, Linux and Gomputes cluster environment. Introduction CAD model based workflow](https://reader038.vdocuments.mx/reader038/viewer/2022110115/55140fbe550346e7488b4fbb/html5/thumbnails/1.jpg)
Ulrich Heck, Martin Becker
CastNet: OpenFOAM setup and job control for Windows, Linux and Gompute’s cluster
environment.
Introduction
CAD model based workflow
CastNet for the Gompute users
CastNet/OpenFOAM-Example case
Conclusion
![Page 2: Ulrich Heck, Martin Becker CastNet: OpenFOAM setup and job control for Windows, Linux and Gomputes cluster environment. Introduction CAD model based workflow](https://reader038.vdocuments.mx/reader038/viewer/2022110115/55140fbe550346e7488b4fbb/html5/thumbnails/2.jpg)
DHCAE Tools GmbH, Germany
Engineering:
CFD-Services with OpenFOAM
Engineering:
CFD-Services with OpenFOAM
SoftwareStandard/
Customized:
GUIs,Extensions
SoftwareStandard/
Customized:
GUIs,Extensions
User SupportTraining:
OpenFOAM/our
Extensions
User SupportTraining:
OpenFOAM/our
Extensions
CFD-Solutions based on OpenFOAM® -TechnologyCFD-Solutions based on
OpenFOAM® -Technology
This offering is not approved or endorsed by ESI Group, the producer of the OpenFOAM® software and owner of the OPENFOAM® and OpenCFD® trade marks.
![Page 3: Ulrich Heck, Martin Becker CastNet: OpenFOAM setup and job control for Windows, Linux and Gomputes cluster environment. Introduction CAD model based workflow](https://reader038.vdocuments.mx/reader038/viewer/2022110115/55140fbe550346e7488b4fbb/html5/thumbnails/3.jpg)
DHCAE-Tools
Our philosophy: More pragmatic then dogmatic
We have to accept the reality of our customers. Not always but often:• Commercial CAD systems with proprietary kernels • Windows systems (IT says “NO” to Linux)• New software must be productive from the first second• GUI based working is preferred for certain tasks
Can not be covered with OpenFOAM directly
Combine proprietary solutions with OpenSource
Try to share open source part of work (e.g. OpenFOAM-extensions)
Major tools: CastNet: Preprozessor for OpenFOAMRungui for CastNet Job-Control
Major tools: CastNet: Preprozessor for OpenFOAMRungui for CastNet Job-Control
![Page 4: Ulrich Heck, Martin Becker CastNet: OpenFOAM setup and job control for Windows, Linux and Gomputes cluster environment. Introduction CAD model based workflow](https://reader038.vdocuments.mx/reader038/viewer/2022110115/55140fbe550346e7488b4fbb/html5/thumbnails/4.jpg)
CastNet: Pre-Prozessor for OpenFOAM
Major goals for CastNet:
• Providing access to reliable, robust and high quality CFD-meshing based on CAD
geometry (commercial CFD-meshing and CAD import technology)
• Establishing complete GUI based environment: Access to strong OpenFOAM® -
solution capabilities without editing text files or detail knowledge of keyword-
structure (e.g. “turbulentMixingLengthFrequencyInlet” )
• Reducing the time from CAD model to OpenFOAM® run-ready case
Fully compatible: User can switch anytime from GUIs to text-based model setup
User can extend the CastNet model output for specific needs
Helps to learn the usage/keywords of OpenFOAM
![Page 5: Ulrich Heck, Martin Becker CastNet: OpenFOAM setup and job control for Windows, Linux and Gomputes cluster environment. Introduction CAD model based workflow](https://reader038.vdocuments.mx/reader038/viewer/2022110115/55140fbe550346e7488b4fbb/html5/thumbnails/5.jpg)
CastNet’s OpenFOAM® Interface
![Page 6: Ulrich Heck, Martin Becker CastNet: OpenFOAM setup and job control for Windows, Linux and Gomputes cluster environment. Introduction CAD model based workflow](https://reader038.vdocuments.mx/reader038/viewer/2022110115/55140fbe550346e7488b4fbb/html5/thumbnails/6.jpg)
Job Control
![Page 7: Ulrich Heck, Martin Becker CastNet: OpenFOAM setup and job control for Windows, Linux and Gomputes cluster environment. Introduction CAD model based workflow](https://reader038.vdocuments.mx/reader038/viewer/2022110115/55140fbe550346e7488b4fbb/html5/thumbnails/7.jpg)
Workflow
ExchangeCastNet
Local machine/cluster
Direct export: Gompute Cluster on
demand
CastNet: CAD Kernel based geometry import: Models/assemblies Hybrid CFD-meshing or SnappyHexMesh-definition Case setup GUI: More than 30 solvers for 2.0/2.1
Meshing/Case Setup
Windows: BlueCFD OpenFOAM Job control: runGui
Linux: ESI-OpenFOAM 1.5-2.1*Job control: runGui
Solving/Job Control
Paraview, Fieldview, EnSight, Tecplot, (Windows or Linux)
Post-processing
Parasolid:(Nx, Solidworks,
Solidedge,…)
ACIS:(Inventor,
SpaceClaim, TurboCAD,…)
Granite:Pro-ECreo
Discrete(stl, Nastran)
Catia
Translator e.g.
SpaceClaim
GeometryInput
![Page 8: Ulrich Heck, Martin Becker CastNet: OpenFOAM setup and job control for Windows, Linux and Gomputes cluster environment. Introduction CAD model based workflow](https://reader038.vdocuments.mx/reader038/viewer/2022110115/55140fbe550346e7488b4fbb/html5/thumbnails/8.jpg)
Options for the Gompute User
Combined local/Cluster
Pre-Processing: Locally Windows/Linux
Running case:Locally Windows/Linux or move the case to the Gompute Cluster
Combined local/Cluster
Pre-Processing: Locally Windows/Linux
Running case:Locally Windows/Linux or move the case to the Gompute Cluster
Cluster only
Pre-Processing (Coming soon)Using CastNet on cluster (on-demand)
Running case:Gompute Cluster Job control with Rungui
Cluster only
Pre-Processing (Coming soon)Using CastNet on cluster (on-demand)
Running case:Gompute Cluster Job control with Rungui
ExchangeCastNet:
No need to decide at the start
ExchangeCastNet:
No need to decide at the start
![Page 9: Ulrich Heck, Martin Becker CastNet: OpenFOAM setup and job control for Windows, Linux and Gomputes cluster environment. Introduction CAD model based workflow](https://reader038.vdocuments.mx/reader038/viewer/2022110115/55140fbe550346e7488b4fbb/html5/thumbnails/9.jpg)
Setting CastNet:Entry in CastNet for Pre-Run-Post options
Case setup and solver call is done using Gompute Commands
Gompute Setup
![Page 10: Ulrich Heck, Martin Becker CastNet: OpenFOAM setup and job control for Windows, Linux and Gomputes cluster environment. Introduction CAD model based workflow](https://reader038.vdocuments.mx/reader038/viewer/2022110115/55140fbe550346e7488b4fbb/html5/thumbnails/10.jpg)
Runing in Gompute environment
![Page 11: Ulrich Heck, Martin Becker CastNet: OpenFOAM setup and job control for Windows, Linux and Gomputes cluster environment. Introduction CAD model based workflow](https://reader038.vdocuments.mx/reader038/viewer/2022110115/55140fbe550346e7488b4fbb/html5/thumbnails/11.jpg)
Benefit for Gompute users
High flexibility• Windows/Linux-usage with all exchange options to Cluster/local run
Effective resource management• Run cases locally for small/medium sized problems or pre-studies• Switch to Gompute’s HPC environment for higher resources /faster results
(transient, design studies, large models…)• Pre-Processing can be conducted locally e.g. if network-connection is not
fast enough for external GUI access• If memory restrictions occur locally (large mesh cases): Pre-processing
can be conducted on the Gompute cluster
Minimized OpenFOAM-care• No need to keep the Linux OpenFOAM environment up to date (Gompute
will care for git-updates)
Optimal support options• DHCAE Tools can provide support of OpenFOAM usage and CastNet by
screen sharing, conference calls etc.
![Page 12: Ulrich Heck, Martin Becker CastNet: OpenFOAM setup and job control for Windows, Linux and Gomputes cluster environment. Introduction CAD model based workflow](https://reader038.vdocuments.mx/reader038/viewer/2022110115/55140fbe550346e7488b4fbb/html5/thumbnails/12.jpg)
CastNet-Meshing
CastNet / OpenFOAM
-features -example cases-technical field
![Page 13: Ulrich Heck, Martin Becker CastNet: OpenFOAM setup and job control for Windows, Linux and Gomputes cluster environment. Introduction CAD model based workflow](https://reader038.vdocuments.mx/reader038/viewer/2022110115/55140fbe550346e7488b4fbb/html5/thumbnails/13.jpg)
CastNet-Meshing
By courtesy of Whirlpool
Dryer with rotating zones (MRF-Regions)Pro-E assembly
![Page 14: Ulrich Heck, Martin Becker CastNet: OpenFOAM setup and job control for Windows, Linux and Gomputes cluster environment. Introduction CAD model based workflow](https://reader038.vdocuments.mx/reader038/viewer/2022110115/55140fbe550346e7488b4fbb/html5/thumbnails/14.jpg)
CastNet-Meshing
![Page 15: Ulrich Heck, Martin Becker CastNet: OpenFOAM setup and job control for Windows, Linux and Gomputes cluster environment. Introduction CAD model based workflow](https://reader038.vdocuments.mx/reader038/viewer/2022110115/55140fbe550346e7488b4fbb/html5/thumbnails/15.jpg)
Dryer
![Page 16: Ulrich Heck, Martin Becker CastNet: OpenFOAM setup and job control for Windows, Linux and Gomputes cluster environment. Introduction CAD model based workflow](https://reader038.vdocuments.mx/reader038/viewer/2022110115/55140fbe550346e7488b4fbb/html5/thumbnails/16.jpg)
Chemical plant engineeringMeshing setup and OpenFOAM case defintion
Chemical Engineering
![Page 17: Ulrich Heck, Martin Becker CastNet: OpenFOAM setup and job control for Windows, Linux and Gomputes cluster environment. Introduction CAD model based workflow](https://reader038.vdocuments.mx/reader038/viewer/2022110115/55140fbe550346e7488b4fbb/html5/thumbnails/17.jpg)
Roof section
Chemical Engineering
![Page 18: Ulrich Heck, Martin Becker CastNet: OpenFOAM setup and job control for Windows, Linux and Gomputes cluster environment. Introduction CAD model based workflow](https://reader038.vdocuments.mx/reader038/viewer/2022110115/55140fbe550346e7488b4fbb/html5/thumbnails/18.jpg)
Come to results rather in days than weeks
Chemical Engineering
![Page 19: Ulrich Heck, Martin Becker CastNet: OpenFOAM setup and job control for Windows, Linux and Gomputes cluster environment. Introduction CAD model based workflow](https://reader038.vdocuments.mx/reader038/viewer/2022110115/55140fbe550346e7488b4fbb/html5/thumbnails/19.jpg)
Chemical Engineering
Filters
Plates with holes
Chamber separators (internal walls)
![Page 20: Ulrich Heck, Martin Becker CastNet: OpenFOAM setup and job control for Windows, Linux and Gomputes cluster environment. Introduction CAD model based workflow](https://reader038.vdocuments.mx/reader038/viewer/2022110115/55140fbe550346e7488b4fbb/html5/thumbnails/20.jpg)
Chemical Engineering
Rel
Geometry several hundred parts transferred into non-manifold model
Mesh cases 20-30 Mio Cells
![Page 21: Ulrich Heck, Martin Becker CastNet: OpenFOAM setup and job control for Windows, Linux and Gomputes cluster environment. Introduction CAD model based workflow](https://reader038.vdocuments.mx/reader038/viewer/2022110115/55140fbe550346e7488b4fbb/html5/thumbnails/21.jpg)
Chemical Engineering
![Page 22: Ulrich Heck, Martin Becker CastNet: OpenFOAM setup and job control for Windows, Linux and Gomputes cluster environment. Introduction CAD model based workflow](https://reader038.vdocuments.mx/reader038/viewer/2022110115/55140fbe550346e7488b4fbb/html5/thumbnails/22.jpg)
CastNet-Meshing
Based on Parasolid-assembly:• Parts are transferred into regions • conformal mesh transition
Usage of extrude regions to avoid tetrahedral elements
ExampleQuench
![Page 23: Ulrich Heck, Martin Becker CastNet: OpenFOAM setup and job control for Windows, Linux and Gomputes cluster environment. Introduction CAD model based workflow](https://reader038.vdocuments.mx/reader038/viewer/2022110115/55140fbe550346e7488b4fbb/html5/thumbnails/23.jpg)
Boundary Layer from extrude to free mesh regions
CastNet-Meshing
![Page 24: Ulrich Heck, Martin Becker CastNet: OpenFOAM setup and job control for Windows, Linux and Gomputes cluster environment. Introduction CAD model based workflow](https://reader038.vdocuments.mx/reader038/viewer/2022110115/55140fbe550346e7488b4fbb/html5/thumbnails/24.jpg)
![Page 25: Ulrich Heck, Martin Becker CastNet: OpenFOAM setup and job control for Windows, Linux and Gomputes cluster environment. Introduction CAD model based workflow](https://reader038.vdocuments.mx/reader038/viewer/2022110115/55140fbe550346e7488b4fbb/html5/thumbnails/25.jpg)
Temperature distributionOpenFOAM Other CFD-Solver
![Page 26: Ulrich Heck, Martin Becker CastNet: OpenFOAM setup and job control for Windows, Linux and Gomputes cluster environment. Introduction CAD model based workflow](https://reader038.vdocuments.mx/reader038/viewer/2022110115/55140fbe550346e7488b4fbb/html5/thumbnails/26.jpg)
• Region support (e.g. porous or MRF) based on CAD geometry
• AMI support for sliding meshes
• Local initial conditions for CAD regions
• Manual or automated feature edges
• CAD related edge refinement
• CAD model related face refinement
• Volume region refinement with primitive geometry or CAD regions
• Boundary layer meshing…
SnappyHex-Mesh Support
OpenFOAM internal Mesher: Hex-dominated Polyhedral CellsCAD model based SHM setup
![Page 27: Ulrich Heck, Martin Becker CastNet: OpenFOAM setup and job control for Windows, Linux and Gomputes cluster environment. Introduction CAD model based workflow](https://reader038.vdocuments.mx/reader038/viewer/2022110115/55140fbe550346e7488b4fbb/html5/thumbnails/27.jpg)
VOF
![Page 28: Ulrich Heck, Martin Becker CastNet: OpenFOAM setup and job control for Windows, Linux and Gomputes cluster environment. Introduction CAD model based workflow](https://reader038.vdocuments.mx/reader038/viewer/2022110115/55140fbe550346e7488b4fbb/html5/thumbnails/28.jpg)
Transient particle transport in steady flow
![Page 29: Ulrich Heck, Martin Becker CastNet: OpenFOAM setup and job control for Windows, Linux and Gomputes cluster environment. Introduction CAD model based workflow](https://reader038.vdocuments.mx/reader038/viewer/2022110115/55140fbe550346e7488b4fbb/html5/thumbnails/29.jpg)
Conclusion
For complex physics and complex geometry
Demonstratio
n:
Please visit our
booth!
CastNet : Complete GUI based workflow of
OpenFOAM allowing a flexible usage:
• CAD model based case setup
• CFD meshing
• solving
• graphical job control and
• post processing.
In the Gompute environment or stand-alone