seminar_kwenc2015 First Talks for introducing OpenSource OpenFOAM 호서대 OF 미팅 05. 26, 2015 김군홍 경원이앤씨
Copyright OpenFOAM Foundation OPENFOAM and OpenCFD are registered trademarks of OpenCFD Ltd. OpenFOAM = OpenSource Field of Operation And Manipulation
Contents 1. OpenFOAM 소개와생각 2. OpenFOAM 적용프로세스 3. KWEnC 활용사례 ( 연소분야 ) 4. GUI 개발방향소개
About OpenFOAM OpenFOAM is a free, open source CFD software package, licensed and distributed by the OpenFOAM Foundation. www.openfoam.org A large user base: most areas of engineering and science, from both commercial and academic organisations. An extensive range of features to solve anything from complex fluid flows.
Features of OpenFOAM By being open, OpenFOAM offers users complete freedom to customise and extend its existing functionality. A highly modular code design Solver Capabilities Incompressible flows Multiphase flows Combustion Buoyancy-driven flows Conjugate heat transfer Compressible flows Particle methods (DEM, DSMC, MD) Other (Solid dynamics, electromagnetics) Code Customisation Creating solvers in OpenFOAM Extending library functionality Meshing Tools Mesh generation in OpenFOAM Converting meshes into OpenFOAM format Tools to manipulate meshes Library Functionality Turbulence models Transport/rheology models Thermophysical models Lagrangian particle tracking Reaction kinetics / chemistry Post-processing ParaView and VTK post-processing Run-time post-processing Third-party post-processing Core Technology Numerical method Linear system solvers ODE system solvers Parallel computing Dynamic mesh
The OpenFOAM Foundation The OpenFOAM Foundation is a not-for-profit organisation, founded in 2011, that manages the development of OpenFOAM and distribution to the public under the GPL. a Board of Directors including; Henry Weller (creator and architect of OpenFOAM) Chris Greenshields, CFD Direct Cristel de Rouvray, ESI Group. a Governance Structure; Financial Membership for organisations that pay a fee to fund the Foundation and participate in the evolution of the software. Contributing Membership for individuals that make a significant personal contribution to OpenFOAM, for the public good. Technical Committees, that participate in software management, such as model implementation, testing and validation.
OpenSource OpenFOAM As the copyright holder, the Foundation licenses OpenFOAM free and open source only, under the GNU general public licence(gpl). The GPL gives users the freedom to modify and redistribute the software and a guarantee of continued free use as long as the terms of the GPL are adhered to. In particular, there are terms to the GPL that provide protection against exploitation by companies including OpenFOAM within non-free and/or closed source software products. First, when any modified version of the software is redistributed, the source code must also be made available by the distributor. Secondly, any modified version can only legally be distributed open source under the GPL, without limiting the rights on further redistribution. Software that links intimately enough to OpenFOAM has to be distributed under the GPL as well. Copyright statements on the software must remain intact.
The OpenFOAM Extend Project Community-driven Releases of OpenFOAM The goal of the Extend-Project is to open the OpenFOAM CFD toolbox to community contributed extensions in the spirit of the OpenSource development model. www.extend-project.de The Extend Project covers The primary technical mechanisms made available under OpenFOAM extensions at SourceForge.net for facilitating the worldwide collaborative collaboration are Subversion and GIT Repositories for user developments related to OpenFOAM: http://sourceforge.net/ projects/openfoamextend The Wiki collects information about the OpenSource CFD toolbox OpenFOAM and provides a platform for joint collaborations. http://openfoamwiki.net The Extend Test Harness is based on CDash, an open source, web-based software testing server. It is useful for keeping your installation of OpenFOAM-ext up-todate with the latest source code release, and to run it automatically against a suite of predefined test cases. http://openfoamextend.sourceforge.net/c Dash/index.php Extend Bug Tracker based upon MantisBT and provided by SourceForge.Net. It is designed to help quality assurance and intended to provide precise information to the developers on how to reproduce the bug exactly in the underlying system and program version. http://sourceforge.net/app s/mantisbt/openfoamextend/main_page.php 8
OpenFOAM 진화론 OpenFOAM 은 CAE 소프트웨어와오픈소스분야에큰이슈로지속적변화를주도하고있다. 오픈소스의선택자유증가하는사용자다양한적용분야확대논문수증가관련업체수증가 유전자다양성유전자부동유전자이동돌연변이자연선택 적응공진화공생종분화절멸
Disruptive Innovation 와해성혁신이가져올 미래준비됐나요 새로운기술은기존시장을위태롭게만들기도한다. 한국은이런혁신을가로막는제도가많다. 선진국에뒤떨어지고있다는 뜻이다. 시사 IN 제 345 호, 2014 년 4/26
새로운기술은새로운시장과직장을만들어내지만반대로기존체계, 즉기존시장과직업을위태롭게만든다. 더불어새로운현상을만들어내기때문에새로운제도와사회적합의가필요해진다. 이런현상을일컬어 와해성혁신 (distruptive innovation) 이라고말한다.
1999 12/2004 3/2005 8/2005 1/2006 3/2006 4/2007 6/2007 11/2007 6/2008 7/2008 12/200 8 6/2009 7/2009 11/2009 2/2010 3/2010 KyungWon Brief history 90 s: FOAM developed at Imperial college by H.G. Weller, H. Jasak and others Nablar Ltd developing and supporting commercial FOAM OpenCFD Ltd releases OpenFOAM-1.0 under GPL v1.1 v1.2 First OpenFOAM workshop in Zagreb v1.3 v1.4 Second OpenFOAM workshop in Zagreb Third OpenFOAM workshop in Milan v1.5 Fourth OpenFOAM workshop in Montreal v1.6 International OpenFOAM Conference in London Open Source CFD International Conference in Berlin KWEnC established Open Source CFD International Conference in Barcelona KWEnC starts services for OpenFOAM
5/2010 6/2010 6/2010 11/2010 5/2011 6/2011 6/2011 6/2011 8/2011 11/2011 12/2011 4/2012 6/2012 9/2012 10/2012 3/2013 4/2013 4/2013 6/2013 10/2013 2/2014 6/2014 KyungWon Brief history Fifth OpenFOAM workshop in Gothenburg v1.7 V2.0 Sixth OpenFOAM workshop in PennState SGI acquires OpenCFD Ltd V2.1 Seventh OpenFOAM workshop in Darmstadt ESI acquires OpenCFD Ltd V2.2 OpenFOAM User Conference in Frankfurt Eighth OpenFOAM workshop in Jeju V2.3 Ninth OpenFOAM workshop in Zagreb OpenCFD training course (1) KWEnC User Meeting in Yong-In Open Source CFD International Conference in Munich ICON programing training course (1) Open Source CFD International Conference in Paris KWEnC User Meeting in Won-Ju Open Source CFD International Conference in London KWEnC User Meeting in Yong-In Open Source CFD International Conference in Hamburg
MESH-UTILITY OpenFOAM- APPLICATION DATA-UTILITY KyungWon Working processes of OpenFOAM CAD MESH SIMULATION DATA-MANIPULATION SALOME OPENFOAM-Framework PARAVIEW FreeCAD GNUPLOT Helyx-OS
What can u do? OpenFOAM 소스체계에서무엇을할수있을까? 어떻케하면 What to do 를달성할수있나? My ever Best Way is to it.
GUI is getting popular! OpenFOAM 의핵심가치는아니지만, 다양한 GUI 사업화가활발하게진행되고있다. DICE (SSP, http://dicehub.net/): Dynamic Interface for Computation and Evaluation Discretizer (Bjorn Bergqvist, http://www.discretizer.org/) engrid (engits, engits.eu) Helyx-OS (engys, http://engys.com/) pyfoam (https://openfoamwiki.net/index.php/contrib/pyfoam) ----------------------------------------------------------- simflow (simflow CFD software, https://sim-flow.com/) OpenFlow (Symscape, http://www.symscape.com) DHCAE Tools (DHCAE Tools GmbH, http://www.dhcae-tools.com/) iconcfd (icon, www.iconcfd.com) bluecfd-air (bluecape, http://joomla.bluecape.com.pt/) CFD support products (http://www.cfdsupport.com/) cfsuite (Creative Fields, http://www.c-fields.com/) Visual-CFD (ESI, http://www.esi-group.com)
KWEnC 연소모델링소개 1. Detailed Combustion Modeling 2. Lab-Scale Combustor 3. Real-Scale Combustion System
Combustion: Laminar flames Diluted Hydrogen Jet Flame Temperature OH mole fraction 50 50 40 40 30 30 20 20 10 10 0 [mm] 0 [mm]
Combustion: Laminar flames Three diffusion models show no clear differences due to diluted fuel(50%n 2 /50%H 2 ) chemistry. Axial OH mole fraction
Combustion: Laminar flames Axial Temperature & major species
Combustion: Laminar flames Radial Temperature & species
Lab-Scale Combustor: Oxy-NG Flame Experiment of IFRF 0.8MW Oxy-NG flame furnace: The high-momentum jet flame is issued from the burner into the refractorylined furnace. Oxygen annulus D i = 28mm D o = 36mm Geometry & Mesh Quarter volume = 218,013 cells Chimney D out = 500mm NG central tube D g = 16mm 740mm 1050mm 3440mm 1050mm 22
- Burner inlet condition Boundary Lab-Scale Combustor: Condition Pressure Mass Flow rate Mean Axial Velocity Temperature Pa [kg/h] [kg/s] [m/s] [K] Fuel inlet 101325 63 0.0175 114.19 298.15 Oxy inlet 101325 224.5 0.062361 118.53 298.15 - Burner inlet chemical composition Boundary Fuel inlet Species Molecular weight Formation enthalpy Molar fraction Mass fraction Perfect Mixing Mass fraction (2) [-] [kg/kmol] [J/kmol] [%] [-] [-] C 1.122 H 4.244 (1) 17.75434-7.663413e+07 93.99 0.8940 0.195903 CO 2 44.00995-3.935324e+08 1.79 0.0422 0.009247 N 2 28.01340 0 4.01 0.0602 0.013192 O 2 31.99880 0 0.21 0.0036 Air inlet O 2 31.99880 0 1.0 1.0 (1)Numerical model natural gas 조성 : CH 4 (86%vol), C 2 H 6 (5.6%vol), C 3 H 8 (1.87%vol),C 4 H 10 (0.58%vol), C 5 H 12 (0.14%vol), CO 2 (1.79%vol),N 2 (4.01%vol),O 2 (0.21%vol) (2) Perfect mixing mass fraction at Outlet - Turbulence model : compressible k ω SST model - Reaction mechanism : modified Jones-Lindstedt 4-step Mechanism - Radiation model : P1 model with greymeanabsorptionemission model 0.781658 - Furnace wall Temperature condition T x = 1700.598 + 212.5872x 46.66929x 2 where, x= axial distance from burner-tip 23
Lab-Scale Combustor: Flame Field With strong entrainment of hot gas, jet-like flame is detached from tip of burner and maintains stable reaction. U OXY = 118.53m/s U FUEL = 114.19m/s Lift-off 24
Distance [m] from burner-tip KyungWon Lab-Scale Combustor: Validation Compared to measurements and others simulations, the code shows sufficient predictability for steady combustion. Radial distance [m] from center-axis 25
Industrial Combustor: Reheating Furnace Thermal condition of slabs is the very important point in simulating slabreheating furnace. Actually heat capacity of slabs has a large portion of heat balance in RHF => How to calculate temperatures of slabs? Slabs in RHF Discharge Door Charging slab Cold slab Hot slab http://www.fivesgroup.com/ 26
Code Development of Reheating Furnace Two different simulations are applied cyclically in order to calculate more realistic thermal values in slab-array. Flame Code Weakly-Coupled Heat Code FURNACE ASSEMBLY Furnace Chamber Flow Species Chemistry Energy Radiation Slab Array(static) Conduction Flame Fields Simulation Cycle FURNACE ASSEMBLY Furnace Chamber Flow Species Chemistry Energy Radiation Slab Array(dynamic) Conduction Furnace Walls Fixed Temperatures Slab Temperatures Furnace Walls Fixed Temperatures 27
Simulation Processes of Reheating Furnace MESH Processes of RHF-simulation SIMULATION DATA ANALYSIS BURNER UNIT-BURNER MESH Quality FLAME Conditions SINGLE CHAMBER Mesh refinement topology Stich burners on furnace DIVIDED FURNACE REFINED FURNACE Operating conditions Divided topology of furnace COARSE FURNACE FURNACE ASSEMBLY Reacting flows Reheating Performance Emissions etc SLAB ARRAY Estimation of Initial temperatures based on given data 28
Slab-reheating furnace Burner system: total 56 number Regenerative burners: total 48 number Air-staged burners: total 8 number -Combustion-mode: 24 -Exhaust-mode: 24 Chemistry Chemistry -Fuel: COG+BFG (27 ) -Fuel: COG+BFG (27 ) -Oxidizer: heated air (990 ) -Oxidizer: heated air (500 ) Chimney Slab-Array: total 19 number (weight: ~24.7 Ton/#) Heating time: 212 min Charging temperature (30 ), Discharging temperature (1197 ) Discharge Door-Side Charge Door-Side 4.76 m 29
Multiple Flames in RHF With frozen temperatures of slab-array, steady flame calculation is done to simulate reacting flows in furnace. Complex flows improve homogeneity of gas temperatures around slabs 4.76 m 30
Convection Zone KyungWon Slab-Heating Performance History of slab-temperature shows a reasonable result to evaluate the heating performance of RHF. Initial assumption Pre-Heating Zone(I) Pre-Heating Zone(II) Heating Zone Soaking Zone 31
OpenFOAM 활동 : 연소 ( 화학반응 ) [1/4] 사업화기간 : 2010년 ~ 현재 분야 : - 프로그램개발 / 해석용역 : OpenFOAM, python, salome etc ( 오픈소스 SW) - 교육 : OpenFOAM Basic/Advanced 연소해석전문가 : 3인 (1) 김군홍수석 : 지도교수 ( 한양대기계공학과김용모교수 ) 박사학위 : Conditional Moment Closure and Transient Flamelet Modeling for Detailed Structure and NOx Formation Characteristics of Turbulent Nonpremixed Flames(2006) 심사위원 : Robert W. Bilger(Univ. of Sydey), 허강렬교수 ( 포항공대 ), 김세원박사 ( 한국생산기술연구원 ), 이창식교수, 김용모교수 ( 한양대 ) 석사학위 : 층류비예혼합화염장의온도및농도계측에대한연구 (1998) (2) 김창환선임 : 지도교수 ( 한양대기계공학과김용모교수 ) 석사학위 : 네트워크화학반응모델을이용한가스터빈연소기의연소과정및공해배출특성해석 (2009) (3) 오경택주임 : 지도교수 ( 한양대기계공학과김용모교수 ) 석사학위 : 난류선회등온및연소유동장불안정성의수치해석 (2012) 32
OpenFOAM 활동 : 연소 ( 화학반응 ) [2/4] 학술활동 : 2010 년 ~ 현재 Gun-Hong Kim, Kyung-Taek Oh, Chang-Hwan Kim, Deok-Hong Kang, Application of OpenFOAM to simulate steady combusting flow in industrial furnaces, 9 th OpenFOAM Workshop, 23-26 June 2014 in Zagreb, Croatia (2014) 김군홍, 오경택, 김창환, 강덕홍, 오픈소스 OpenFOAM을이용한철강산업가열로내부화염장과슬라브온도의해석적연구, 제 48회 KOSCO SYMPOSIUM 2014년도춘계학술대회 (2014) 오경택, 김군홍, 오픈소스 OpenFOAM을이용한실제금속폼의유동및열전달특성, 한국전산유체공학회추계학술대회 (2014) 오경택, 김군홍, 오픈소스 OpenFOAM을이용한정상상태난류연소장에대한해석적연구, 제 47 회 KOSCO SYMPOSIUM 2013년도추계학술대회 (2013) 김군홍, 오경택, 오픈소스 OpenFOAM을이용한 3차원공간내의수소화염가속화에대한해석적연구, 한국전산유체공학회추계학술대회 (2013) Ki-Young Jung, Yongmo Kim, Gunhong Kim, Implementation of RIF Model into OpenFOAM, 8 th OpenFOAM Workshop, Jeju Korea, 11-14 June, (2013) Gunhong Kim, Sangtae Jeon, Jeongwon Lee, Yongmo Kim, DQMOM-based PDF Transport Modeling for Turbulent Lifted Flame with Autoignition, 8 th OpenFOAM Workshop, Jeju Korea, 11-14 June (2013) Kyung-Taek Oh, Gun-Hong Kim, LES-based Flamelet Modeling for Instabilities of Turbulent Swirling isothermal and Reacting flows, 8 th OpenFOAM Workshop, Jeju Korea, 11-14 June (2013) Jongtae Kim, Sang-Baik Kim, Seong-Wan Hong, Gun-Hong Kim, Use of OpenFOAM for Evaluation of Hydrogen Safety in a Nuclear Power Plant, 8 th OpenFOAM Workshop, Jeju Korea, 11-14 June (2013) GunHong Kim, KiYoung Jung, Yongmo Kim, Implementation of the detailed chemistry and variable transport properties for simulating laminar chemically reacting flows, 8 th OpenFOAM Workshop, Jeju Korea, 11-14 June (2013) 33
OpenFOAM 활동 : 연소 ( 화학반응 ) [3/4] 김군홍, 김상택, 홍성완, 오픈소스 OpenFOAM을이용한원자력격납건물용피동형촉매재결합기수치해석모델개발, 한국전산유체공학회추계학술대회, 부산대학교, 11월 23일 (2012) 김군홍 오픈소스 OpenFOAM을이용한층류수소제트화염장내의다종확산수치해석모델개발, 45th KOSCO SYMPOSIUM, 추계 (2012) Mino Woo, Changhwan Kim, Gunhong Kim, Consideration on heat and reaction in metal foam, 7 th OpenFOAM Workshop, Darmstadt, Germany, 25-28 June (2012) GunHong Kim, Mino Woo, Jongtae Kim, Sang-Baik Kim, Simulation of Hydrogen Flame Acceleration by using XiFoam, 6 th OpenFOAM Workshop, PenState University, USA, 13-16 June (2011) 김종태, 김상백, 김군홍, 밀폐된격실에서의수소화염가속에대한수치해석, 한국전산유체공학회춘계학술대회 (2011) 김종태, 김상백, 김군홍, 원자력발전소격실에서의수소화염가속에대한수치해석연구, 한국전산유체공학회, Vol. 15, No. 4, pp. 67-75 (2010) 34
Mesh Utility KyungWon GUI 개발방향 Customized Interfacing GUI OpenFOAM 에전용화된사용자환경을구축할수있는 GUI 플랫폼개발 Salome(CAD/Mesh) InterFACE to OpenFOAM Paraview Import CAD Import Mesh Gnuplot Other Commercial CAD/Mesh SWs Case Setup Execution Post-view?
EOD www.kwenc.kr