Coder Social home page Coder Social logo

ataengineering / cellqualityremediation Goto Github PK

View Code? Open in Web Editor NEW
1.0 3.0 0.0 6 KB

A Loci/CHEM module to improve robustness on poor quality meshes

License: GNU Lesser General Public License v3.0

Makefile 27.71% C++ 72.29%
loci loci-chem cell-quality order-reconstruction computational-fluid-dynamics

cellqualityremediation's Introduction

Cell Quality Remediation Module

This module was developed by ATA Engineering as an add-on to the Loci/CHEM computational fluid dynamics (CFD) solver. The module is useful for obtaining a solution on poor quality meshes.

As part of the flux calculation for each cell face in the mesh, solution values at cell faces must be reconstructed from solution values at cell centers (since Loci/CHEM is a cell centered finite volume code). To achieve second order spatial accuracy a first order reconstruction is used. However, Loci/CHEM will by default use a more robust, but less accurate, zeroth order reconstruction in regions of poor cell quality. This zeroth order reconstruction results in locally first order spatial accuracy. Loci/CHEM determines that cells with a volume ratio greater than 50, or a maximum included angle of greater than 150 degrees constitute poor quality regions. If the region of poor cell quality is small, this local change can have a negligible effect on solution accuracy, while greatly helping robustness.

This module extends the functionality in Loci/CHEM by allowing the user to decrease the volume ratio and maximum included angle thresholds from their default values. It also allows the user to include of all cells adjacent to those flagged by the volume ratio and maximum angle thresholds in the poor quality cell region.

Dependencies

This module depends on both Loci and CHEM being installed. Loci is an open source framework developed at Mississippi State University (MSU) by Dr. Ed Luke. The framework provides a rule-based programming model and can take advantage of massively parallel high performance computing systems. CHEM is a full featured open source CFD code with finite-rate chemistry built on the Loci framework. CHEM is export controlled under the International Traffic In Arms Regulations (ITAR). Both Loci and CHEM can be obtained from the SimSys Software Forum hosted by MSU.

Installation Instructions

First Loci and CHEM should be installed. The LOCI_BASE environment variable should be set to point to the Loci installation directory. The CHEM_BASE environment variable should be set to point to the CHEM installation directory. The installation process follows the standard make, make install procedure.

make
make install

Usage

First the module must be loaded at the top of the vars file. The user can then specify lower threshold values for volume ratio and maximum included angle. The user can also set cqrIncludeAdjacentCells to 1 to include all cells neighboring those flagged by the thresholds in the locally first order accurate group.

loadModule: cellQualityRemediation

cqrVolumeRatioThreshold: 50
cqrMaxAngleThreshold: 150
cqrIncludeAdjacentCells: 1

cellqualityremediation's People

Stargazers

 avatar

Watchers

 avatar  avatar  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.