GithubHelp home page GithubHelp logo

fegomezl / beyond2020 Goto Github PK

View Code? Open in Web Editor NEW
6.0 0.0 1.0 1.36 GB

In this repository you will find a list of simulation regarding the effect of phase change on heat and mass transfer. All of the programs use the Finite Element Method, which is implmented on C++ with the library MFEM.

Makefile 9.31% C++ 75.67% GLSL 10.11% Shell 3.70% TeX 0.17% Python 0.86% Gnuplot 0.19%
simulation seawater heat salinity mfem

beyond2020's Introduction

Heat and Mass Transfer with Phase Change

In this repository you will find a list of simulation regarding the effect of phase change on heat and mass transfer. All of the programs use the Finite Element Method, which is implmented on C++ with the library MFEM.

In each of the simulations, the domain is a cylinder, sometimes hollow, with an axial symmetry. Inside the domain, it is assumed that the material is water, which can be liquid and solid.

Running the programs

  1. Copy the hidden file .template_local_config.txt with the name local_config.mk
  2. Add the MFEM instalation directory.
  3. If you want to move the graphs to other folder after running a program, change the NULL option of the SHARE_DIR variable to the folder directory.
  4. If you want to chage some quantity on a simulation, in each folder the file settings/parameters.txt has all the main parameters of the simulation.
  5. To run a simulation, you only have to write make.

List of programs

  • Time_Independent
    • 3D: Benchmark Poisson equation problem with convergence analysis on a 3D hollow cylinder.
    • 2D: Benchmark Poisson equation problem with convergence analysis on a 2D square which simulates a hollow cylinder on cylindrical coordinates (the rest of the simulations assume this domain representation).
  • Time_Dependent
    • onephase: Benchmark time dependent heat equation with convergence analysis, in which only one phase is present.
    • twophase: Simulation with initial conditions set on different phases.
    • twophase_exact: Stefan problem simulation with comparison according to the exact Stefan solution.
  • Flow
    • vorticity: Quasi-static flow problem with a stream function-vorticity formulation and a frozen region.
    • vorticity_barrier: Quasi-static flow problem with a stream function-vorticity formulation and an obstacle.
    • vorticity_exact: Benchmark quasi-static flow problem with a stream function-vorticity formulation, including a convergence analysis.
  • Coupled
    • heat_flow: Heat diffusion problem with convection effects, where the flow is quasi-static and approched by a stream function-vorticity formulation.
    • double_diffusion: Heat and salinity diffusion problem, where both variables are weakly coplued.
    • diffusion_flow: Heat and salinity diffusion problem, where both variables are weakly coplued, including convection effects with a quasi-static flow and a stream function-vorticity approach.
  • Brinicle
    • Simulation from diffusion_flow applied to form a brinicle, which is an ice channel formed on the artic sea because of icy brine fluxes that enter the ocean from the top layer of ice.

beyond2020's People

Contributors

cdelv avatar fegomezl avatar jujimenezp avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar

Forkers

sureshbg093

beyond2020's Issues

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.