GithubHelp home page GithubHelp logo

brushxue / dynamicrefine2dfvmesh Goto Github PK

View Code? Open in Web Editor NEW

This project forked from krajit/dynamicrefine2dfvmesh

1.0 0.0 0.0 16.43 MB

Adaptive mesh refinement in OpenFoam-v2306 for 2-dimensional problems

License: MIT License

Shell 0.05% C++ 70.30% C 29.65%

dynamicrefine2dfvmesh's Introduction

The original code is ported to OpenFOAM-v2306 with minimum modifications

Adaptive mesh refinement in OpenFOAM-v2306 for 2-dimensional problems

Standard OpenFOAM-v1812 has a module called dynamicRefineFvMesh. This adaptive mesh refinement tool does not seem to be applicable for two dimensional problems. Shonibare and Ahmad Baniabedalruhman recently described how to adapt this adaptive mesh tools for two dimensional problems. However, CFD community struggled to implement their ideas. See this cfd-online forum.

Eventually, Luca Cornolti shared a working for code for adaptive mesh refinement for 2d problems. His initial code were for foam-extend. This repository is simple adaptation Luca's work for OpenFOAM-v1812. The animated screenshot clearly shows that it works.

[Disclaimer: It is to be noted that in the same forum discussion, Luca Cornolti also shared his adaptive mesh refinement for OpenFOAM-v1816. This repository is not a copy of that. Instead, this codes is built on top of Luca's foam-extend codes]

Adaptive mesh refinement in OpenFoam-v1812 Adaptive mesh refinement in OpenFoam-v1812 Adaptive mesh refinement in OpenFoam-v1812

Compilation

Switch to src directory and run

wmake libso

Example

To run the a dam-break example, switch to tutorial/interFoam/dambreak and then run

./Allrun

dynamicrefine2dfvmesh's People

Contributors

brushxue avatar krajit avatar

Stargazers

 avatar

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.