ulrich heck, martin becker castnet: openfoam setup and job control for windows, linux and gomputes...

29
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

Upload: carlos-kirby

Post on 26-Mar-2015

214 views

Category:

Documents


0 download

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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
Page 25: Ulrich Heck, Martin Becker CastNet: OpenFOAM setup and job control for Windows, Linux and Gomputes cluster environment. Introduction CAD model based workflow

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

• 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

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

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

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