mADM1 A MULTIDIMENSIONAL PARALLEL NUMERICAL SOLVER OF ADM1 MODEL - - PowerPoint PPT Presentation

madm1 a multidimensional parallel numerical solver of
SMART_READER_LITE
LIVE PREVIEW

mADM1 A MULTIDIMENSIONAL PARALLEL NUMERICAL SOLVER OF ADM1 MODEL - - PowerPoint PPT Presentation

mADM1 A MULTIDIMENSIONAL PARALLEL NUMERICAL SOLVER OF ADM1 MODEL FOR ANAEROBIC DIGESTERS IN OPENFOAM FRAMEWORK R. NOURI 1 , C. FERNANDES 1 , A. ILANGOVAN 1 , L.P. SOLINO 2 , M. FIGUEROA 2 , I.J. NEIRA 3 , C. COTELO 4 , A. GOMEZ 4 , J.M.


slide-1
SLIDE 1

mADM1 – A MULTIDIMENSIONAL PARALLEL NUMERICAL SOLVER OF ADM1 MODEL FOR ANAEROBIC DIGESTERS IN OPENFOAM FRAMEWORK

28th of May 2018

  • R. NOURI1, C. FERNANDES1, A. ILANGOVAN1, L.P. SOLINO2, M. FIGUEROA2,

I.J. NEIRA3, C. COTELO4, A. GOMEZ4, J.M. NÓBREGA1

1 Institute for Polymers and Composites/i3N, University of Minho, Campus de Azurém, 4800-058

Guimarães, Portugal

2 EnergyLab, Edificio CITEXVI – Local 1, Fonte das Abelleiras, s/n, Campus Universitario de Vigo,E-

36310 Vigo, Spain

3 Norvento Enerxía, Rúa Aller Ulloa, Ramón María Nº23, 27003 Lugo, Spain 4 Galicia Supercomputing Center (CESGA), Santiago de Compostela, Spain.

The Fortissimo 2 project has received funding from the European Union's Horizon 2020 research and innovation programme under grant agreement No 680481.

slide-2
SLIDE 2

2

  • Anaerobic digesters
  • ADM1 (a bulk model)
  • mADM1 – idea
  • mADM1 – implementation in OpenFoam
  • Preliminary Results

Outline

slide-3
SLIDE 3

3

Anaerobic digesters ADM1 mADM1 – idea mADM1 – implementation Preliminary Results

A digester is a huge container where chemical reactions produce methane gas from waste materials. Aerobic digester works in the presence of oxygen (fast but expensive) Anaerobic digester works in the absence of oxygen (slow but cheap)

digester aerobic anaerobic

slide-4
SLIDE 4

4

Anaerobic digesters ADM1 mADM1 – idea mADM1 – implementation Preliminary Results

Types of anaerobic digesters: Psychrophilic (4-15 degree) => not efficient enough Mesophilic (20-40) => the most used type Thermophylic(45-70) => expensive

anaerobic Psychrophilic Mesophilic Thermophylic

slide-5
SLIDE 5

5

Anaerobic digesters ADM1 mADM1 – idea mADM1 – implementation Preliminary Results

Scheme of a digester: Inlet - waste

  • utlet- waste

(Gas holder) Methane impeller

slide-6
SLIDE 6

6

Anaerobic digesters ADM1 mADM1 – idea mADM1 – implementation Preliminary Results

ADM1 (Anaerobic Digester Model No. 1) by D.J. Batstone (2002) ADM1 is quite a complex model: There are 109 coefficient and 36 variables Implementations of ADM1:

ADM1 implementation DE approach DAE approach pH DAE approach pH and h2

slide-7
SLIDE 7

7

Anaerobic digesters ADM1 mADM1 – idea mADM1 – implementation Preliminary Results

  • The idea of multidimensional ADM1 Gaden [2013]
  • Biggest limitation of Gaden implementation Not parallelized
  • ADM1 considers only one single cell, a black box.
  • m-ADM1 is applying ADM1 for each cell, and all the cells have

interactions. Black Box ADM1 M-ADM1

Gaden, D. (2013) Modelling Anaerobic Digesters in Three Dimensions: Integration of Biochemistry with Computational Fluid Dynamics. PhD Thesis, University of Manitoba,Canada

slide-8
SLIDE 8

8

Anaerobic digesters ADM1 mADM1 – idea mADM1 – implementation Preliminary Results

  • Chemical part solving 36 Differential equations
  • Fluid part

solving fluid flow (the impact of advection and diffusion)

  • ADMOneFoam

It is based on pisoFoam (a transient turbulent solver).

m-ADM1 Chemical part Fluid part

slide-9
SLIDE 9

9

Anaerobic digesters ADM1 mADM1 – idea mADM1 – implementation Preliminary Results

Initial condition + reading data from dictionaries Momentum and transport equations ADM1 algebraic routines Considering reactions source terms Gases concentrations in headspace End time?

YES NO Update variables Next time step Finish

Start

slide-10
SLIDE 10

10

Anaerobic digesters ADM1 mADM1 – idea mADM1 – implementation Preliminary Results

Initial condition + reading data from dictionaries Momentum and transport equations ADM1 algebraic routines Considering reactions source terms Gases concentrations in headspace End time?

YES NO Update variables Next time step Finish

Start A Sample dictionary, Stoichiometric coefficients Initial conditions, reading variables

slide-11
SLIDE 11

11

Anaerobic digesters ADM1 mADM1 – idea mADM1 – implementation Preliminary Results

Initial condition + reading data from dictionaries Momentum and transport equations ADM1 algebraic routines Considering reactions source terms Gases concentrations in headspace End time?

YES NO Update variables Next time step Finish

Start A Sample Code,

slide-12
SLIDE 12

12

Anaerobic digesters ADM1 mADM1 – idea mADM1 – implementation Preliminary Results

Initial condition + reading data from dictionaries Momentum and transport equations ADM1 algebraic routines Considering reactions source terms Gases concentrations in headspace End time?

YES NO Update variables Next time step Finish

Start A Sample Code, Using a switch function

slide-13
SLIDE 13

13

Anaerobic digesters ADM1 mADM1 – idea mADM1 – implementation Preliminary Results

Initial condition + reading data from dictionaries Momentum and transport equations ADM1 algebraic routines Considering reactions source terms Gases concentrations in headspace End time?

YES NO Update variables Next time step Finish

Start A Sample Code,

slide-14
SLIDE 14

14

Anaerobic digesters ADM1 mADM1 – idea mADM1 – implementation Preliminary Results

Initial condition + reading data from dictionaries Momentum and transport equations ADM1 algebraic routines Considering reactions source terms Gases concentrations in headspace End time?

YES NO Update variables Next time step Finish

Start A Sample Code, Using FDM

slide-15
SLIDE 15

15

Anaerobic digesters ADM1 mADM1 – idea mADM1 – implementation Preliminary Results

To verify the solver, the averaged concentration of each species is

  • considered. A simple geometry with the following conditions is used
  • No of cells: 16
  • Considering 2D solution
  • No flow (to replicate ADM1 bulk model)
slide-16
SLIDE 16

16

Anaerobic digesters ADM1 mADM1 – idea mADM1 – implementation Preliminary Results

The evolution of two species with different delta t and comparison with Oskar [2014]

slide-17
SLIDE 17

17

Anaerobic digesters ADM1 mADM1 – idea mADM1 – implementation Preliminary Results

Digester geometry with a baffle inside Intermittent velocity Side view Top view

  • No of cells: 5504
  • Zero velocity at the walls
  • Using a velocity table for baffle
slide-18
SLIDE 18

18

Anaerobic digesters ADM1 mADM1 – idea mADM1 – implementation Preliminary Results

Time (s) Velocity (m/s)

slide-19
SLIDE 19

19

  • mADM1 first implementation is done
  • Ongoing Verification and Validation

Conclusion

slide-20
SLIDE 20

Thank you

This work is funded by FORTISSIMO 2 European Project. The FORTISSIMO 2 project has received funding from the European Union's Horizon 2020 research and innovation programme under grant agreement No 680481 The University of Minho authors acknowledge the funding by FEDER funds through the COMPETE 2020 Programme and National Funds through FCT - Portuguese Foundation for Science and Technology under the project UID/CTM/50025/2013