-
Notifications
You must be signed in to change notification settings - Fork 27
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
This adds in wall functions
- Loading branch information
Showing
53 changed files
with
5,597 additions
and
2,786 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
version: 1.0.{build} | ||
branches: | ||
only: | ||
- master | ||
- develop | ||
image: Visual Studio 2015 | ||
configuration: release | ||
platform: x64 | ||
environment: | ||
PYTHON: C:\Python35-x64 | ||
PATH: C:\Program Files\Project\bin;C:\Program Files\Microsoft MPI\Bin;%PATH% | ||
build_script: | ||
- ps: >- | ||
powershell ci\appveyor\installMPI.ps1 | ||
powershell ci\appveyor\buildAither.ps1 | ||
test_script: | ||
- cmd: >- | ||
cd testCases | ||
%PYTHON%\python.exe regressionTests.py --mpirunPath=mpiexec.exe --aitherPath=aither.exe |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
fixes: | ||
- "/home/travis/build/mnucci32/aither::" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,16 +1,18 @@ | ||
#Ignore temporary copy files | ||
# Ignore temporary copy files | ||
*~ | ||
\#* | ||
|
||
#Ignore results files | ||
# Ignore results files | ||
*.fun | ||
*.res | ||
*.out | ||
*_center.xyz | ||
*.resid | ||
*.p3d | ||
|
||
#Ignore blog files | ||
# Ignore blog files | ||
.sass-cache/ | ||
_site/ | ||
|
||
# Ignore VS Code files | ||
.vscode/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,38 +1,67 @@ | ||
# Accurate Implicit Three-dimensional Efficient RANS (AITHER) | ||
|
||
[![Build Status](https://travis-ci.org/mnucci32/aither.svg?branch=master)](https://travis-ci.org/mnucci32/aither) | ||
| Branch | Linux/macOS Build | Windows Build | Coverage | | ||
|--- |--- |--- |--- | | ||
| Master | [![Build Status](https://travis-ci.org/mnucci32/aither.svg?branch=master)](https://travis-ci.org/mnucci32/aither) | [![Build status](https://ci.appveyor.com/api/projects/status/o7fc231lp9jxlsib/branch/master?svg=true)](https://ci.appveyor.com/project/mnucci32/aither/branch/master) | [![Coverage Status](https://codecov.io/github/mnucci32/aither/coverage.svg?branch=master)](https://codecov.io/github/mnucci32/aither?branch=master) | | ||
| Develop | [![Build Status](https://travis-ci.org/mnucci32/aither.svg?branch=develop)](https://travis-ci.org/mnucci32/aither) | [![Build status](https://ci.appveyor.com/api/projects/status/o7fc231lp9jxlsib/branch/develop?svg=true)](https://ci.appveyor.com/project/mnucci32/aither/branch/develop) | [![Coverage Status](https://codecov.io/github/mnucci32/aither/coverage.svg?branch=develop)](https://codecov.io/github/mnucci32/aither?branch=develop) | | ||
|
||
### About The code | ||
This code is for a 3D Navier-Stokes computational fluid dynamics solver. It is a cell centered, structured solver, using mulit-block structured grids in Plot3D format. It uses explicit and implicit time integration methods. It uses MUSCL extrapolation to reconstruct the primative variables from the cell centers to the cell faces. The code uses the Roe flux difference splitting scheme for the inviscid fluxes, and a central scheme for the viscous fluxes. It is second order accurate in both space and time. | ||
This code is for a 3D Navier-Stokes computational fluid dynamics solver. It is | ||
a cell centered, structured solver, using multi-block structured grids in Plot3D | ||
format. It uses explicit and implicit time integration methods. It uses MUSCL | ||
extrapolation to reconstruct the primative variables from the cell centers to | ||
the cell faces for 2nd order accuracy. Higher order reconstruction is acheived | ||
with a 5th order WENO reconstruction for the inviscid fluxes, and a 4th order | ||
central reconstruction for the viscous fluxes. The code uses the Roe | ||
flux difference splitting scheme for the inviscid fluxes, and a central scheme | ||
for the viscous fluxes. It is second order accurate in both space and time. | ||
|
||
### Current Status | ||
The code is 2nd order accurate in space and time. Available explicit time integration methods are forward euler (1st order) and a minimum storage four stage Runge-Kutta method (2nd order). The implicit solver (LU-SGS, BLU-SGS, DPLUR, BDPLUR) is implemented for implicit time integration. Dual time stepping is implemented for time accuracy in the implicit solver. Available implicit time integrations methods come from the Beam and Warming family of methods and are the implicit euler (1st order), Crank-Nicholson (2nd order), and BDF2 (2nd order) methods. The code has been thoroughly commented. It has been made parallel using MPI. Currently the Wilcox K-Omega 2006 and SST 2003 turbulence models are available. | ||
The code is 2nd order accurate in space and time. Available explicit time | ||
integration methods are forward euler (1st order) and a minimum storage four | ||
stage Runge-Kutta method (2nd order). The implicit solver (LU-SGS, BLU-SGS, | ||
DPLUR, BDPLUR) is implemented for implicit time integration. Dual time stepping | ||
is implemented for time accuracy in the implicit solver. Available implicit | ||
time integrations methods come from the Beam and Warming family of methods and | ||
are the implicit euler (1st order), Crank-Nicholson (2nd order), and BDF2 | ||
(2nd order) methods. The code has been thoroughly commented. It has been made | ||
parallel using MPI. For RANS simulations the Wilcox K-Omega 2006 and SST 2003 | ||
turbulence models are available. Wall functions are supported for both models. | ||
For detatched eddy simulations, the SST-DES turbulence model is available. For | ||
large eddy simulations, the WALE subgrid scale model is available. | ||
|
||
### To Do List | ||
* Add SST-DES turbulence model | ||
* Add WALE and Smagorinsky subgrid scale models for LES | ||
* Add Couette flow regression test for isothermal wall, moving wall, periodic boundary conditions | ||
* Add wall functions for turbulence models | ||
* Add non-reflecting boundary conditions | ||
* Add thermally perfect gases | ||
* Add additional inviscid flux option (AUSM) | ||
* Add multigrid scheme for improved convergence | ||
|
||
### Dependencies | ||
* MPI - OpenMPI and MPICH have both been used in the past. Aither is currently developed with OpenMPI | ||
* MPI - OpenMPI, MPICH, & MS-MPI have been used | ||
* C++ compiler with C++14 support | ||
* Cmake - Cmake only depends on a C++ compiler | ||
|
||
### How To compile | ||
Aither is compiled and installed with the standard cmake process. | ||
|
||
```bash | ||
cmake -DCMAKE_INSTALL_PREFIX=/path/to/installation /path/to/source | ||
cmake -DCMAKE_INSTALL_PREFIX=/path/to/installation -DCMAKE_BUILD_TYPE=release /path/to/source | ||
make | ||
make install | ||
``` | ||
|
||
Cmake will automatically look for an MPI package. To specify a specific installation, set *-DMPI_DIR* to the MPI installation directory. | ||
Cmake will automatically look for an MPI package. To specify a specific | ||
installation, set *-DMPI_DIR* to the MPI installation directory. In addition | ||
to *release*, other supported build types are *debug*, *profile*, | ||
*relwithdebinfo*, and *minsizerel*. | ||
|
||
### How To Run | ||
```bash | ||
mpirun -np 1 aither inputFile.inp <restartFile.rst> >outputFile.out 2>errorFile.err & | ||
mpirun -np 1 aither inputFile.inp [restartFile.rst] > outputFile.out 2> errorFile.err & | ||
``` | ||
The restart file argument is optional. | ||
|
||
### Visualizing Results | ||
Aither writes out Plot3D function files (\*.fun), as well as a Plot3D meta | ||
files (\*.p3d) that can be visualized in [ParaView](www.paraview.org). Versions | ||
5.3 and newer support reading the meta files. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
function BuildAither() { | ||
# Go to build directory and build | ||
# Build Aither with cmake | ||
md build | ||
cd build | ||
cmake -G "Visual Studio 14 2015 Win64" -DMPI_DIR="C:\Program Files (x86)\Microsoft SDKs\MPI" .. | ||
cmake --build . --target INSTALL --config Release | ||
cd .. | ||
} | ||
|
||
function main() { | ||
BuildAither | ||
} | ||
|
||
main |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
function InstallMPI() { | ||
md mpi | ||
cd mpi | ||
# install MPI SDK and Runtime | ||
Write-Host "Installing Microsoft MPI SDK..." | ||
appveyor DownloadFile http://download.microsoft.com/download/B/2/E/B2EB83FE-98C2-4156-834A-E1711E6884FB/msmpisdk.msi | ||
Start-Process -FilePath msiexec.exe -ArgumentList "/quiet /qn /i msmpisdk.msi" -Wait | ||
Write-Host "Microsoft MPI SDK installation complete" | ||
Write-Host "Installing Microsoft MPI Runtime..." | ||
appveyor DownloadFile http://download.microsoft.com/download/B/2/E/B2EB83FE-98C2-4156-834A-E1711E6884FB/MSMpiSetup.exe | ||
Start-Process -FilePath MSMpiSetup.exe -ArgumentList -unattend -Wait | ||
cd .. | ||
} | ||
|
||
function main() { | ||
InstallMPI | ||
} | ||
|
||
main |
File renamed without changes.
Oops, something went wrong.