23
Industrial Opensource CFD at EDF with Code_Saturne M. Sakiz , D. Monfort, A. Douce EDF R&D Fluid Mechanics, Power Generation and Environment Chatou, France [email protected] [email protected] [email protected]

Industrial Opensource CFD at EDF with - National Center … ·  · 2014-06-262 - Industrial Opensource CFD at EDF R&D with Code_Saturne Open Source CFD Int. Conf. 2009 Numerical

Embed Size (px)

Citation preview

Page 1: Industrial Opensource CFD at EDF with - National Center … ·  · 2014-06-262 - Industrial Opensource CFD at EDF R&D with Code_Saturne Open Source CFD Int. Conf. 2009 Numerical

Industrial Opensource CFD at EDF with Code_SaturneM. Sakiz, D. Monfort, A. DouceEDF R&DFluid Mechanics, Power Generation and EnvironmentChatou, France

[email protected]@[email protected]

Page 2: Industrial Opensource CFD at EDF with - National Center … ·  · 2014-06-262 - Industrial Opensource CFD at EDF R&D with Code_Saturne Open Source CFD Int. Conf. 2009 Numerical

2 - Industrial Opensource CFD at EDF R&D with Code_Saturne http://www.code-saturne.org Open Source CFD Int. Conf. 2009

Numerical simulation at EDF R&D

Page 3: Industrial Opensource CFD at EDF with - National Center … ·  · 2014-06-262 - Industrial Opensource CFD at EDF R&D with Code_Saturne Open Source CFD Int. Conf. 2009 Numerical

3 - Industrial Opensource CFD at EDF R&D with Code_Saturne http://www.code-saturne.org Open Source CFD Int. Conf. 2009

Simulate and decide

Power generationImprovement of efficiency and safety of our facilitiesOptimisation of maintenance and life spanNew generations of power plantsInnovation in renewable energies and storageResponse to specific events (flood, heatwave, incidents, ...)

CustomersHome and building: development of technologies and services for energy efficiencyIndustry: development of energy efficiency and new electric uses

Our worldAnticipation of climate constraints on shared ressourcesImprovement the environmental impact of our facilities

Page 4: Industrial Opensource CFD at EDF with - National Center … ·  · 2014-06-262 - Industrial Opensource CFD at EDF R&D with Code_Saturne Open Source CFD Int. Conf. 2009 Numerical

4 - Industrial Opensource CFD at EDF R&D with Code_Saturne http://www.code-saturne.org Open Source CFD Int. Conf. 2009

Code development at EDF R&DCode_Saturne

general usage single phase CFD, plus specific physicsproperty of EDF, open source (GPL)http://www.code-saturne.org

NEPTUNE_CFDmultiphase CFD, esp. water/steamproperty of EDF/CEA/AREVA/IRSN (proprietary)

SYRTHESthermal diffusion in solid and radiative transferproperty of EDF, open source (GPL)http://rd.edf.com/syrthes

Code_Astergeneral usage structure mechanicsproperty of EDF, open source (GPL)http://www.code-aster.org

Page 5: Industrial Opensource CFD at EDF with - National Center … ·  · 2014-06-262 - Industrial Opensource CFD at EDF R&D with Code_Saturne Open Source CFD Int. Conf. 2009 Numerical

5 - Industrial Opensource CFD at EDF R&D with Code_Saturne http://www.code-saturne.org Open Source CFD Int. Conf. 2009

Code development at EDF R&DTELEMAC system

free surface flows

proprietary, commercially distributed

http://www.telemacsystem.com

SALOME platformintegration platform (CAD, meshing, post-processing, code coupling)property of EDF/CEA/OpenCascade, open source (LGPL)http://www.salome-platform.org

Open TURNStool for uncertainty treatment and reliability analysisproperty of EDF/CEA/Phimeca, open source (LGPL)http://trac.openturns.org

and many othersneutronics

electromagnetism

component codes

system codes

.....

Page 6: Industrial Opensource CFD at EDF with - National Center … ·  · 2014-06-262 - Industrial Opensource CFD at EDF R&D with Code_Saturne Open Source CFD Int. Conf. 2009 Numerical

6 - Industrial Opensource CFD at EDF R&D with Code_Saturne http://www.code-saturne.org Open Source CFD Int. Conf. 2009

General elements on Code_Saturne

Page 7: Industrial Opensource CFD at EDF with - National Center … ·  · 2014-06-262 - Industrial Opensource CFD at EDF R&D with Code_Saturne Open Source CFD Int. Conf. 2009 Numerical

7 - Industrial Opensource CFD at EDF R&D with Code_Saturne http://www.code-saturne.org Open Source CFD Int. Conf. 2009

Code_Saturne: main capabilities

Physical modellingSingle-phase laminar and turbulent flows: k-ε, k-ω

SST, v2f, RSM, LESRadiative heat transfer (DOM, P-1)Combustion coal, gas, heavy fuel oil (EBU, pdf, LWP)Electric arc and Joule effectLagrangian module for dispersed particle trackingAtmospheric flows (aka Mercure_Saturne)Specific engineering module for cooling towersALE method for deformable meshesConjugate heat transfer (SYRTHES & 1D)Common structure with NEPTUNE_CFD for eulerian multiphase flows

FlexibilityPortability (UNIX, Linux and MacOS X)Standalone GUI and integrated in SALOME platform Parallel on distributed memory machines Periodic boundaries (parallel, arbitrary interfaces)Wide range of unstructured meshes with arbitrary interfaces

Code coupling capabilities (Code_Saturne/Code_Saturne, Code_Saturne/Code_Aster, ...)

Page 8: Industrial Opensource CFD at EDF with - National Center … ·  · 2014-06-262 - Industrial Opensource CFD at EDF R&D with Code_Saturne Open Source CFD Int. Conf. 2009 Numerical

8 - Industrial Opensource CFD at EDF R&D with Code_Saturne http://www.code-saturne.org Open Source CFD Int. Conf. 2009

Code_Saturne

elements

Graphical User Interfacesetting up of calculation parametersparameter stored in Xml fileinteractive launch of calculationssome specific physics not yet covered by GUIadvanced setting up by FORTRAN user routines

Integration in the SALOME platformextension of GUI capabilitiesmouse selection of boundary zonesadvanced user files managementfrom CAD to post-processing in one tool

Page 9: Industrial Opensource CFD at EDF with - National Center … ·  · 2014-06-262 - Industrial Opensource CFD at EDF R&D with Code_Saturne Open Source CFD Int. Conf. 2009 Numerical

9 - Industrial Opensource CFD at EDF R&D with Code_Saturne http://www.code-saturne.org Open Source CFD Int. Conf. 2009

Supported meshesMesh generators

I-DEAS, SimailGAMBIT, ICEM-CFDIGG-HEXA, STAR-CCM+ SALOMEHarpoon, GMSH, …

FormatsAbove mentioned mesh generators + MED, CGNS, EnSight Gold…

Cells: arbitrary arrangement of polyhedra of any typeFor example: tetrahedra, hexahedra, prisms, pyramids, n-faced polyhedra, ...

Mesh pasting: « any type of mesh / format » + « any type of mesh / format »Meshes may be contained in one single file or in several separate filesOrder of meshes has no influence Arbitrary interfaces can be selected by mesh referencesExpertise may be required if arbitrary interfaces are used:

in critical regions with LESwith very different mesh refinements on curved CAD surfaces

Page 10: Industrial Opensource CFD at EDF with - National Center … ·  · 2014-06-262 - Industrial Opensource CFD at EDF R&D with Code_Saturne Open Source CFD Int. Conf. 2009 Numerical

10 - Industrial Opensource CFD at EDF R&D with Code_Saturne http://www.code-saturne.org Open Source CFD Int. Conf. 2009

Coupling capabilitiesCoupling with SYRTHES for conjugate heat transfer

thermal shocks and wall thermal inertiaexplicit coupling at each time stepparallel/parallel coupling

Coupling with Code_Aster

for fluid/structure interactioncoupling via the SALOME platformstandard implementation in Code_Saturne

under validationto be implemented in the standard version of Code_Aster

Coupling with Code_Saturne

itselfcoupling of different models (RANS/LES)fluid-structure interaction with large displacementrotating machines (pumps)still under development

Page 11: Industrial Opensource CFD at EDF with - National Center … ·  · 2014-06-262 - Industrial Opensource CFD at EDF R&D with Code_Saturne Open Source CFD Int. Conf. 2009 Numerical

11 - Industrial Opensource CFD at EDF R&D with Code_Saturne http://www.code-saturne.org Open Source CFD Int. Conf. 2009

High Performance Computing with Code_SaturneCode_Saturne

used extensively on HPC machines

in-house EDF clusters and BlueGene machinesCode_Saturne

used as reference in PRACE European projectCode_Saturne

awarded “gold medal” in scalability by Daresbury Laboratory (UK, HPCx)

Current frontier calculation with Code_SaturnePWR nuclear reactor mixing grid100 Mcellscalculation run on 4 000 to 8 000 coresmajor lock due to mesh generation

See HPC dedicated presentation by Y. Fournier

Page 12: Industrial Opensource CFD at EDF with - National Center … ·  · 2014-06-262 - Industrial Opensource CFD at EDF R&D with Code_Saturne Open Source CFD Int. Conf. 2009 Numerical

12 - Industrial Opensource CFD at EDF R&D with Code_Saturne http://www.code-saturne.org Open Source CFD Int. Conf. 2009

Code_Saturne

open source practical infoCode_Saturne

practical info

Main website: http://www.code-saturne.orgForum:https://code-saturne.info/products/code-saturne/forumsContact address: [email protected] User meeting in November/DecemberInitial training sessions in March and November

Code_Saturne

widely used at EDF and outside120 EDF users, 250 “users” contacts outside EDFCode_Saturne

used for all general CFD calculations at EDF, especially in calculations for Nuclear Authorities

code developed under Quality Assurance

Validation of Code_Saturnebefore each release is declared “fit for industrial use”around 30 test cases, covering all capabilities of the code

around 8 man.month of work

Page 13: Industrial Opensource CFD at EDF with - National Center … ·  · 2014-06-262 - Industrial Opensource CFD at EDF R&D with Code_Saturne Open Source CFD Int. Conf. 2009 Numerical

13 - Industrial Opensource CFD at EDF R&D with Code_Saturne http://www.code-saturne.org Open Source CFD Int. Conf. 2009

Industrial application example: LES of the flow downstream a mixing grid in a Pressurised Water Nuclear Reactor

Acknowledgements:S. BenhamadoucheC. Le-MaîtreP. FourmentF. JusserandD. LaurenceP. MoussouD. Vezinet.

Page 14: Industrial Opensource CFD at EDF with - National Center … ·  · 2014-06-262 - Industrial Opensource CFD at EDF R&D with Code_Saturne Open Source CFD Int. Conf. 2009 Numerical

14 - Industrial Opensource CFD at EDF R&D with Code_Saturne http://www.code-saturne.org Open Source CFD Int. Conf. 2009

ObjectivesContext

Turbulent-induced vibrations of fuel assemblies in PWR power plants is a potential cause of deformation and of fretting wear damageUnderstanding fluid flow structure in the core region is a key point in order to predict Fluid Structure InteractionIt is observed experimentally that the amplitude of the encountered vibrations are of the order of the micrometer, thus fixed fuel rods are considered

Final long term CFD objectivecomputation a 17x17 whole fuel assembly using an unsteady CFD approach (LES) prediction of pressure loading along the rods and the induced displacements

Intermediate objectivewith available computing power: 5x5 rods with three to four mixing grids

Current computationfour sub-channels with one mixing gridfine geometrical representation (springs and dimples)simple beam modelling for the fuel rod

Page 15: Industrial Opensource CFD at EDF with - National Center … ·  · 2014-06-262 - Industrial Opensource CFD at EDF R&D with Code_Saturne Open Source CFD Int. Conf. 2009 Numerical

15 - Industrial Opensource CFD at EDF R&D with Code_Saturne http://www.code-saturne.org Open Source CFD Int. Conf. 2009

Computation conditions

Main parametersD=9.5 mm, P/D=1.326Dh =11.8 mm, Reh =40 000Ub =3.24 m.s-1

Boundary ConditionsImplicit periodicity in x and y directionsConstant inlet conditionsWall function when neededFree outlet

Particular features for LESSIMPLEC algorithm with Rhie and Chow interpolation2nd order in time (Crank-Nicolson and Adams-Bashforth) 2nd order in space (fully centered and sub-iterations for non-orthogonal faces)Use of fully hexahedral mesh

Inlet

Mixing grid~3Dh

2.2Dh

40Dh

Outlet

Page 16: Industrial Opensource CFD at EDF with - National Center … ·  · 2014-06-262 - Industrial Opensource CFD at EDF R&D with Code_Saturne Open Source CFD Int. Conf. 2009 Numerical

16 - Industrial Opensource CFD at EDF R&D with Code_Saturne http://www.code-saturne.org Open Source CFD Int. Conf. 2009

Computation conditionsSimulation

Fully hexa mesh (ICEM), 8 million cellsCFLmax = 0.8 (dt=5.10-6s)1 million time-steps

• 40 flow passes for establishment• 20 flow passes for averaging (no

homogeneous direction)BlueGene/L system, 1024 processorsaround 50 days of CPU time

Page 17: Industrial Opensource CFD at EDF with - National Center … ·  · 2014-06-262 - Industrial Opensource CFD at EDF R&D with Code_Saturne Open Source CFD Int. Conf. 2009 Numerical

17 - Industrial Opensource CFD at EDF R&D with Code_Saturne http://www.code-saturne.org Open Source CFD Int. Conf. 2009

CFD results x

y

2D Mean velocity

Inst. Velocity magnitude Inst. Non-dimensional SGS-viscosity

Page 18: Industrial Opensource CFD at EDF with - National Center … ·  · 2014-06-262 - Industrial Opensource CFD at EDF R&D with Code_Saturne Open Source CFD Int. Conf. 2009 Numerical

18 - Industrial Opensource CFD at EDF R&D with Code_Saturne http://www.code-saturne.org Open Source CFD Int. Conf. 2009

CFD resultsCFD results

Inst. tangential velocityMean tangential velocity

z=Dhz=3Dh

z=5Dh

Mean stream-wise velocity

x

y

Deficit ofstream-

wise velocity

Page 19: Industrial Opensource CFD at EDF with - National Center … ·  · 2014-06-262 - Industrial Opensource CFD at EDF R&D with Code_Saturne Open Source CFD Int. Conf. 2009 Numerical

19 - Industrial Opensource CFD at EDF R&D with Code_Saturne http://www.code-saturne.org Open Source CFD Int. Conf. 2009

debu

deb U

uI

U

kIwvukuUu ∫∫

==++=+=2

222'

,32

),'''(21 ,'

CFD resultsCFD results

Turbulent kinetic energy decreasesTangential fluctuations decrease Axial fluctuations decrease then increase after around z/Dh=15

Page 20: Industrial Opensource CFD at EDF with - National Center … ·  · 2014-06-262 - Industrial Opensource CFD at EDF R&D with Code_Saturne Open Source CFD Int. Conf. 2009 Numerical

20 - Industrial Opensource CFD at EDF R&D with Code_Saturne http://www.code-saturne.org Open Source CFD Int. Conf. 2009

rings

Evaluation of fluid forcesEvaluation of fluid forces

Pressure force

∫ −=S

ilinpi dldSpndF /,,

Page 21: Industrial Opensource CFD at EDF with - National Center … ·  · 2014-06-262 - Industrial Opensource CFD at EDF R&D with Code_Saturne Open Source CFD Int. Conf. 2009 Numerical

21 - Industrial Opensource CFD at EDF R&D with Code_Saturne http://www.code-saturne.org Open Source CFD Int. Conf. 2009

Dynamic response of the rod

Simplifying assumptionslinear behaviour of the structure modal decomposition of the forces

the supports can be described by simple pinned conditionsthe fluctuating forces along all rod spans are alike and statistically independent

Methodologymodal decomposition of fluid forcesdetermination of the response of one single span beamextrapolation to a multi-supported beam

∫=

spanrod

pressuren dzLzntzptF /sin),()( π

0 1 2 3 4 5 6 0 1 2 3 4 5 6

Page 22: Industrial Opensource CFD at EDF with - National Center … ·  · 2014-06-262 - Industrial Opensource CFD at EDF R&D with Code_Saturne Open Source CFD Int. Conf. 2009 Numerical

22 - Industrial Opensource CFD at EDF R&D with Code_Saturne http://www.code-saturne.org Open Source CFD Int. Conf. 2009

Dynamic response of the rodDynamic response of the rod

Time displacement of the five first modes in the x and y directions

amplitude in accordance with experimental results

Page 23: Industrial Opensource CFD at EDF with - National Center … ·  · 2014-06-262 - Industrial Opensource CFD at EDF R&D with Code_Saturne Open Source CFD Int. Conf. 2009 Numerical

23 - Industrial Opensource CFD at EDF R&D with Code_Saturne http://www.code-saturne.org Open Source CFD Int. Conf. 2009

Conclusions and future work

ConclusionLES computations have been carried out along four sub-channels (representing 4 fuel rods) downstream a mixing gridFlow structure is influenced by the presence of dimple and springsTurbulent kinetic energy and swirl are affected by dimples and springs up to about 10 hydraulic diameters downstream of the mixing grid Displacements reach a few micrometers and are dominated by the first modeValidation of the methodology and applicability of Code_Saturne

to evaluate the

fluid pressure loading

PerspectivesMore investigations on the flow structure are carried outAn experiment facility is needed to validate the present approach A finer LES at the walls will be carried out in a near future5x5 configuration will be also carried out