Adige-Calculations / OpenFOAM-handbook

This handbook is intended to support a medium/advanced OpenFoam® user during the usage of the software. It provides commands, explanations, and extension that we find useful during our CFD workflow, and it is designed to be used by searching for keywords of an action you wish to perform within the OpenFoam® framework. This allows you to enrich or resolve the setting of a problem in the shortest possible time.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Adige OF book logo

This book describes the usual practices a medium/advanced OpenFoam® user takes during CFD smulations workflows.

Explore open-source simualtions with us! 🌊 🌫 ♨️

About

This repo contains documentation on using OpenFoam®, common workflows, how to get started and more as you dive deeper. It acts as a guide for doing some really neat things with OpenFoam®. However, keep in mind it should be seen as a co-pilot for your CFD workflow, instead of a place to study on.

Open issues for improving the OpenFOAM® hand-book.

Building the Book

The book is made using mdbook. To install it you'll need cargo installed. If you don't have any Rust tooling installed, you'll need to install rustup first. Follow the instructions on the site in order to get setup.

Once you have that done then just do the following:

$ cargo install mdbook

Make sure the cargo install directory is in your $PATH so that you can run the binary.

Now just run this command from this directory:

$ mdbook build

This will build the book and output files into a directory called book. From there you can navigate to the index.html file to view it in your browser. You could also run the following command to automatically generate changes if you want to look at changes you might be making to it:

$ mdbook serve

This will automatically generate the files as you make changes and serves them locally so you can view them easily without having to call build every time.

The files are all written in Markdown so if you don't want to generate the book to read them then you can read them from the src directory.

About

This handbook is intended to support a medium/advanced OpenFoam® user during the usage of the software. It provides commands, explanations, and extension that we find useful during our CFD workflow, and it is designed to be used by searching for keywords of an action you wish to perform within the OpenFoam® framework. This allows you to enrich or resolve the setting of a problem in the shortest possible time.

License:GNU General Public License v3.0


Languages

Language:HTML 74.1%Language:TeX 14.6%Language:Shell 9.8%Language:Python 1.5%