ParisSimulator Project

ParisSimulator Project
Slide Note
Embed
Share

"This manual outlines guidelines for RJ mentions, content roadblocks, contests, and more at Radio City. Learn about sponsorship rules, notations for RJ mentions, and requirements for contests and interactions. Get insights into scheduling, branding, and client integration to enhance the audience experience."

  • Radio City
  • CI Policy
  • RJ Mentions
  • Contests
  • Guidelines

Uploaded on Feb 22, 2025 | 0 Views


Download Presentation

Please find below an Image/Link to download the presentation.

The content on the website is provided AS IS for your information and personal use only. It may not be sold, licensed, or shared on other websites without obtaining consent from the author.If you encounter any issues during the download, it is possible that the publisher has removed the file from their server.

You are allowed to download the files provided on this website for personal or commercial use, subject to the condition that they are used lawfully. All files are the property of their respective owners.

The content on the website is provided AS IS for your information and personal use only. It may not be sold, licensed, or shared on other websites without obtaining consent from the author.

E N D

Presentation Transcript


  1. ParisSimulator Project 11 december 2013

  2. Project participants - Prof. Gretar Tryggvason , University of Notre Dame - Dr Sadegh Dabiri, , University of Notre Dame - St phane Zaleski, Alembert - Ruben Scardovelli, Univ of Bologna, Italy - Phil Yecko, Montclair, NJ, USA

  3. ParisSimulator: Paralllel Robust Interface Simulator Aims: 1) To have a relatively simple code on which to test ideas about VOF, parallelisation, Front Tracking, Lagrangian Particles. Use relatively simple algorithms and programming techniques. 2) To perform certain types of large scale computations relatively fast thanks to a simple mesh structure. 3) To serve as a backup to Gerris in case unsolvable bugs are encountered in certain applications. Released as a free code under GPL. 80% based on FTC3D2011, a code by Gretar Tryggvason and Sadegh Dabiri, 20% on Surfer, by Stephane Zaleski, Ruben Scardovelli, Jie Li and Gianluigi Zanetti.

  4. Numerical Methodology - Finite Volume/ Finite Difference on a Cartesian Grid with streched x, y, z coordinates. (stretched coordinates will not be available immediately for VOF) - MAC grid. - Time schemes : 1) first order Euler 2) second order Runge-Kutta for NS part - Advection terms by QUICK - explicit or implicit viscous terms. - VOF - PLIC CIAM for interface reconstruction and advection (in the first version we just use the relatively simple VOF methods in Surfer) - Surface tension by height functions.

  5. Numerical Methodology (continued) - solids by blocking solid sites. Solid sites can be blocked at each step of time-marching and pressure correction (Poisson solve), so they are always and exactly zero. - MPI with two ghost layers. - Various boundary types: solid wall,inflow, outflow or periodic. Input and output - Input of parameters by FORTRAN namelist. - Input of solid objects by bitmap voxel data. - Output format: vtk and visit or tecplot (tecplot should be added for VOF)

  6. Code style, writing and management - Code entirely in Fortran90 except for some test scripts outside of the main code. - All of FTC3D2011 (base version without front tracking) is contained in two f90 files ! Choice made to keep the number of files low. - no configure, only a short Makefile. But C users beware, f90 compilation involves a different dependency structure.

  7. Makefile #--------- paris-ParisSimulator main Makefile -------------------------- FC = mpif90 # select option for hypre # default hypre installation without root privileges: # HYPRE_DIR = $(HOME)/hypre-2.8.0b/src # Macport installation in /opt HYPRE_DIR = /opt/hypre # babbage # HYPRE_DIR = /share/apps/hypre #------------------------No changes needed beyond this line -------------------------------------- HYPRE_LIBS = -L$(HYPRE_DIR)/lib -lHYPRE

  8. Makefile - continued OBJ = paris.o solids.o modules.o vofmodules.o front.o SRC = $(wildcard *.h *.c *.f90) INC = $(wildcard *.h) install: $(OBJ) @echo compiler is FC = $(FC), mpi override is OMPI_FC = $(OMPI_FC) $(FC) -o paris $(FOPTS) $(OBJ) $(HYPRE_LIBS) mv paris ~/bin/paris all: tags install clean: @rm -fR *.o *.mod paris stats *~ track out* errftc tmp* *.tmp fort.* *.visit core.* statsbub @cd Tests; sh ./clean.sh; cd .. @cd Documentation; make clean; cd .. test: install compare @echo "This test takes approximately 1 minute on a 4-core intel i7 MacBookPro" @cd Tests; chmod +x ./runtests.sh; ./runtests.sh

  9. Makefile - end tags: $(SRC) # @SZ Create a tags file named TAGS for use by emacs @etags $(SRC) # @SZ Create a tags file named tags for use by vi or textwrangler # @SZ On MacOS tags and TAGS are identical ! # @SZ ctags paris.f90 paris.o: paris.f90 solids.o modules.o $(FC) -c $< solids.o: solids.f90 modules.o $(FC) -c $< %.o : %.f90 $(FC) -c $< .c.o: $< $(INC) $(CC) -c $(CFLAGS) $<

  10. - paris-stable has now 5335 lines in four source files (April 9, 2013). - darcs archive (available at http://www.ida.upmc.fr/~zaleski/darcs/paris- stable ) - no documentation

  11. HYPRE Poisson solver: PFMG solver ( a geometric solver usable on structured grids, unlike Boomer AMG used in Gerris and on unstructured grids. )

  12. Scaling tests: weak scaling in CUPS per core, babbage cluster (AMD, dAlembert) 1e+06 babbage2 weak scaling x**(-0.1) cell updates per second and per core (Z/np) 100000 10000 16 64 256 number of cores

  13. 1e+09 AMD 8378 32-core 'cooley' UPMC AMD 6136 16-core 'celsius' UPMC matous cluster Univ Notre Dame babbage2 cluster UPMC Scaling in CUPS, all machines Intel i7 on Mac Intel X5650 12-core 'renoir' babbage2 weak scaling Gretar's cluster 1e+08 linear cell updates per second 1e+07 1e+06 100000 1 4 16 64 256 number of cores/processes

Related


More Related Content