Introduction to Mfix M. Syamlal, Fluent, Inc. National Energy Technology Lab Morgantown, WV 26507-0880.

Slides:



Advertisements
Similar presentations
EASY5® Gas Dynamics Library Preview 1 1.
Advertisements

Fluent Overview Ahmadi/Nazridoust ME 437/537/637.
Outline Overview of Pipe Flow CFD Process ANSYS Workbench
UNICAMP GENERAL PARTICLE TRACKING ALGORITHM Sources of Information : Phoenics Lecture: GENTRAGENTRA Workshop: GENTRAGENTRA GENTRA user guide: (html) or.
Objectives Understand the software development lifecycle Perform calculations Use decision structures Perform data validation Use logical operators Use.
Introduction to the WASP Interface
MTM 144 ASPEN FLUENT Timeschedule ProgramLecturesTeaching assistance Fluent INTRO4h2h GAMBIT4h8h FLUENT6h14h ASPEN6h4h
© Fluent Inc. 5/10/2015N1 Fluids Review TRN Postprocessing and Visualization.
2003 International Congress of Refrigeration, Washington, D.C., August 17-22, 2003 CFD Modeling of Heat and Moisture Transfer on a 2-D Model of a Beef.
Workshop 6 Modeling of Catalytic Convertor
Workshop 5 Centrifugal Pump
Parallel Computation of the 2D Laminar Axisymmetric Coflow Nonpremixed Flames Qingan Andy Zhang PhD Candidate Department of Mechanical and Industrial Engineering.
Introduction to LabVIEW
Starting Out with C++, 3 rd Edition 1 Chapter 1. Introduction to Computers and Programming.
Flow over an Obstruction MECH 523 Applied Computational Fluid Dynamics Presented by Srinivasan C Rasipuram.
Peyman Mostaghimi, Martin Blunt, Branko Bijeljic 11 th January 2010, Pore-scale project meeting Direct Numerical Simulation of Transport Phenomena on Pore-space.
Novae and Mixing John ZuHone ASCI/Alliances Center for Thermonuclear Flashes University of Chicago.
Homework 3: Use the Fixed Grid --Volume of Fluid Method with Structured Cartesian CVFEM mesh To track Filling Front h=1 h = 0 2 r = 1 3 Hand in 1. Code.
CSE351/ IT351 Modeling and Simulation
NETL 2014 Workshop on Multiphase Flow Science August 5-6, 2014, Morgantown, WV Accelerating MFIX-DEM code on the Intel Xeon Phi Dr. Handan Liu Dr. Danesh.
ME 595M J.Murthy1 ME 595M: Computational Methods for Nanoscale Thermal Transport Lecture 9: Boundary Conditions, BTE Code J. Murthy Purdue University.
Workshop 3 Room Temperature Study
Introduction to the WASP Interface. Watershed & Water Quality Modeling Technical Support Center Introduction to WASP Interface Input File Control Run.
Computer Assisted Process Design---HYSYS Bo Hu. Introduction HYSYS is only one process simulation program out of a number. Steady State Processes ASPEN.
Chapter 1 Pseudocode & Flowcharts
Instructor: André Bakker
© Fluent Inc. 9/5/2015L1 Fluids Review TRN Solution Methods.
Lecture Objectives Review SIMPLE CFD Algorithm SIMPLE Semi-Implicit Method for Pressure-Linked Equations Define Residual and Relaxation.
3D multi-fluid model Erika Harnett University of Washington.
Spreadsheet-Based Decision Support Systems Chapter 22:
Modeling the Internal Flow of a Droplet Craig Ferguson.
Numerical and Experimental Study on Bed-to-Wall Heat Transfer in Conical Fluidized Bed Reactor 17 th International Conference on Mechatronics, Electrical.
Introduction to CFD Analysis
© Fluent Inc. 9/20/ Introductory FLUENT Notes FLUENT v6.0 Jan 2002 Fluent User Services Center Solver Basics.
Beta F90 Version Status Nolan Anderson Date: July 26, 2011.
IPE 2003 Tuscaloosa, Alabama1 An Inverse BEM/GA Approach to Determining Heat Transfer Coefficient Distributions Within Film Cooling Holes/Slots Mahmood.
In-term project presentation by Kanish Jindal Modeling of chlorine contact chamber at West Lafayette treatment plant.
TransAT Tutorial Particle Tracking July 2015 ASCOMP
Component-Based Implementation of STOMP Yilin Fang Bruce Palmer Pacific Northwest National Laboratory Silver Spring, July 2007.
© Fluent Inc. 10/26/ Introductory FLUENT Notes FLUENT v6.0 Jan 2002 Fluent User Services Center Solver Settings.
Lecture Objectives: Explicit vs. Implicit Residual, Stability, Relaxation Simple algorithm.
TRANSP users meeting Agenda 1.TRANSP development in 2010/2011, user’s suggestions to facilitate/accelerate TRANSP submissions. 2.TRANSP work:
CFX-10 Introduction Lecture 1.
Using the Segregated and Coupled Solvers
Lecture Objectives Review Define Residual and Relaxation SIMPLE CFD Algorithm SIMPLE Semi-Implicit Method for Pressure-Linked Equations.
WS7-1 ANSYS, Inc. Proprietary © 2009 ANSYS, Inc. All rights reserved. April 28, 2009 Inventory # Introductory FLUENT Training Workshop 7 Tank Flushing.
Liang, Introduction to Java Programming, Seventh Edition, (c) 2009 Pearson Education, Inc. All rights reserved Chapter 41 JavaServer Face.
A Prototype Finite Difference Model Presented by Timothy H. Kaiser, Ph.D. San Diego Supercomputer Center Presented by Timothy H. Kaiser, Ph.D. San Diego.
NCEP ESMF GFS Global Spectral Forecast Model Weiyu Yang, Mike Young and Joe Sela ESMF Community Meeting MIT, Cambridge, MA July 21, 2005.
Darryl Michael/GE CRD Fields and Waves Lesson 3.6 ELECTROSTATICS - Numerical Simulation.
FALL 2015 Esra Sorgüven Öner
Multiple Species Chapter 7. Training Manual May 15, 2001 Inventory # Objectives The FLOTRAN multiple species capabilities. Dilute mixture option.
Conifer Cast 2.5 New Features: Numerical Options GMRES Iteration Option for Pressure- Velocity Coupling Tilt Pour Casting Custom Flow-3D Parameters Three.
An Introduction to Computational Fluids Dynamics Prapared by: Chudasama Gulambhai H ( ) Azhar Damani ( ) Dave Aman ( )
©2004 Joel Jones 1 CS 403: Programming Languages Lecture 3 Fall 2004 Department of Computer Science University of Alabama Joel Jones.
Example application – Finite Volume Discretization Numerical Methods for PDEs Spring 2007 Jim E. Jones.
Workshop 7 Tank Flushing
Workshop 6 Modeling of Catalytic Convertor
Workshop 5 Centrifugal Pump
Conifer Cast 2.5 New Features: Numerical Options
© Fluent Inc. 1/10/2018L1 Fluids Review TRN Solution Methods.
Lecture Objectives Unsteady State Ventilation Modeling of PM.
Fluent Overview Ahmadi/Nazridoust ME 437/537/637.
© Fluent Inc. 8/24/ Introductory FLUENT Notes FLUENT v6.0 Jan 2002 Fluent User Services Center Introduction to CFD Analysis.
Introduction to System Programming
1. Open Visual Studio 2008.
GENERAL VIEW OF KRATOS MULTIPHYSICS
Objective Numerical methods Finite volume.
Introduction to the WASP Interface
Rate of Change The rate of change is the change in y-values over the change in x-values.
Presentation transcript:

Introduction to Mfix M. Syamlal, Fluent, Inc. National Energy Technology Lab Morgantown, WV

Outline Mfix overview Setting up a run Hands on example Numerical technique Mfix code Code modification

Mfix Overview Equations Validation problems Application

Setting up a Run Mfix user interface Input data file: mfix.dat List of keywords Array dimensions: param.inc file Compilation: make_mfix Running Mfix Debugging setup: read.Log and.Out files

Setting up a Run Run time messages Obtaining convergence Output data files:.Res and.Spx Viewing output graphically: animate_mfix Creating data tables: post_mfix Restarting the run

Hands on Example A slurry flows into a 20 cm x 20 cm cavity through a 2 cm slot at the top left hand side and exits through a 2 cm slot on top right hand side. Simulate the cavity using a 20x20 grid. Find the solids build up in the cavity as a function of time for 10 s.

Hands on Example Vel = 100 cm/s  = 0.7 fluid density= 1g/cc fluid viscosity= 0.01 g/(cm  s) solids density = 2 g/cc particle dia.= 0.1 cm e= 0.8   *= 0.4

Numerical Technique Numerical grid Scalar transport equation Iteration procedure Momentum equation discretization Pressure correction equation Underrelaxation

Numerical Technique Solids volume fraction correction Energy and species balance equations Calculating residuals and judging convergence Linear equation solvers

Mfix Code Directory structure Types of files:.f,.inc, default files, machine dependent files Examine make_mfix Naming conventions: coordinates, variables, storage locationNaming conventions: coordinates, variables, storage location List of major Fortran variablesList of major Fortran variables

Mfix Code List of functions: function.incList of functions List of include filesList of include files List of subroutinesList of subroutines Examine.inc file structure Examine.f file structure

Mfix Code walk through a solver thread –mfix  time_march  iterate  solve_velstar  conv_dif_u_g  source_u_g  partial_elim_u  calc_resid_u  under_relax_u  solve_lin_eq  leq_sor reading input data file and error checking initial and boundary condition routines writing.Res and.Spx files

Code Modification An equation for modeling particle attrition tracks the mean particle diameter

Code Modification Create new Fortran symbols and add to common blocks –field variables: d_s, d_s0 (fldvar.inc) –constants: a_1, a_2 (constant.inc) –initial conditions: IC_d_s (ic.inc) –boundary conditions: BC_d_s (bc.inc) –control: Attrition_Eq (run.inc)

Code Modification Add new symbols in namelist –a_1, a_2, Ic_d_s, Bc_d_s, Attrition_eq in namelist.inc –initialize namelist variables in init_namelist.f Check for input errors (a_1  0, Ic_d_s  0, and Bc_d_s  0) Set initial conditions for d_s Set boundary conditions for d_s

Code Modification Modify update_old to include d_s0 Increase the dimensions of variables defining under relaxation factors, number of linear equation iterations, residuals, residual display variables, and N_spx Modify write_out to echo new input data Modify write_res and write_spx files to include d_s

Code Modification Copy the files for a scalar equation (e.g., T_s) and modify to create a solver for the attrition equation Call the new solver from iterate Include the effect of diamter change in drag_gs Modify residual calculation and convergence check

Code Modification use make_make to create a new make file Develop a test case and write mfix.dat and param.inc files Compile and test the code