Code Monkey home page Code Monkey logo

dex_of's Introduction

dex_of

This is an OpenFOAM automation interface for finding lift/drag forces and coefficients for arbritrary shaped submerged bodies. OpenFOAM's SnappyHexMesh and SimpleFOAM are used for computations. dex_of scripts automate the generation of the computational box, assignment of boundary conditions, meshing, analysis, and post-processing. It produces lift-drag coefficients and forces on the body.

Originally created for the performers in the DARPA/SymCPS program.

Disclaimer: Check the underlying assumptions of the SimpleFOAM solutions. Results may be highly mesh senstitive for some geometries. Be sure to ascertain the the validity of the results.

How to use:

  1. Source files are needed only if you want to change/modify dex_of. Users do not need to download the source.
  2. Install docker desktop on your system
  3. Use the Stevens-built docker image to run dex_of on your system. Note there may be permission issues on Linux to run docker.
  4. on MacOS and Linux hosts, the following commands will work. See the full instructions in the documentation folder
  5. Run the commands below to get an example test case and have the docker image set up. docker run --rm -v ${PWD}:/home/aimed_user/dexof_work kishorestevens/dexof /home/aimed_user/dex_of/setup_dexof.sh cd ./test_casestudy ./run_dexof.sh rough_mesh_8cores.dex seaglider.stl 1
  6. Flow direction is +x of the STL. Length units are meters. Use scalex,scaley, scalez parameters in the dex file to scale your stl.

Building Custom Docker Images.

  1. To rebuild the docker image kishorestevens/dexof:latest, clone or fork this repo, and use build.sh

./build.sh

  1. If you want to call the image something else, edit the label in the build.sh script.

https://prooflab.stevens.edu

dex_of's People

Contributors

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