Contrib/perturbU

From OpenFOAMWiki
< Contrib
Revision as of 18:15, 21 March 2015 by Wyldckat (Talk | contribs)

1 Introduction

Source code repository
perturbU at GitHub
Description
These utilities were created by Eugene de Villiers and are related to his PhD Thesis "The Potential of Large Eddy Simulation for the Modeling of Wall Bounded Flows", available here: FOAM CFD: PhD Students, Theses and Research at FOAMCFD.org
The repository perturbU at GitHub has been created by Bruno Santos (wyldckat) to assist in maintaining an easier way to keep updating the code to be usable with the latest OpenFOAM versions.
Original sources for these utilities:
Support pages

2 Installation

Valid versions: OF version 17.png OF Version 20.png OF Version 21.png OF Version 22.png OF Version 23.png

The installation depends on the way you download the source code:

2.1 Using Git

  1. Go to your user folder:
    mkdir -p $FOAM_RUN
    cd $FOAM_RUN/..
  2. Clone the repository and go into the cloned repository:
    git clone https://github.com/wyldckat/perturbU.git
    cd perturbU
  3. Checkout the repository respective to the version of OpenFOAM you are using:
    • OpenFOAM 2.0 and newer:
    git checkout OF20x
    • OpenFOAM 1.7 and older:
    git checkout master
  4. Build perturbU* utilities by running:
    wmake all


2.2 Using Zip

  1. Go to your user folder:
    mkdir -p $FOAM_RUN
    cd $FOAM_RUN/..
  2. Get the Zip file for the repository respective to the version of OpenFOAM you are using:
    • OpenFOAM 2.0 and newer:
    wget https://github.com/wyldckat/perturbU/archive/OF20x.zip -O perturbU.zip
    • OpenFOAM 1.7 and older:
    wget https://github.com/wyldckat/perturbU/archive/master.zip -O perturbU.zip
  3. Unzip the respective file and go into the respective folder, for example:
    unzip perturbU.zip
    cd perturbU-OF20x
  4. Build perturbU* utilities by running:
    wmake all


3 Usage

TODO


3.1 Threads on how to use or refer perturbU