-
Notifications
You must be signed in to change notification settings - Fork 85
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Deploying to gh-pages from @ 82d357b 🚀
- Loading branch information
0 parents
commit 107f2a9
Showing
2,412 changed files
with
269,881 additions
and
0 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,4 @@ | ||
# Sphinx build info version 1 | ||
# This file hashes the configuration used when building these files. When it is not found, a full rebuild will be done. | ||
config: 0e5002d759c380050a95d5e0e9b7654f | ||
tags: 645f666f9bcd5a90fca523b33c5a78b7 |
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,88 @@ | ||
name: Nalu-Wind-CI | ||
|
||
on: | ||
push: | ||
branches: [master] | ||
pull_request: | ||
branches: [master] | ||
|
||
jobs: | ||
Formatting: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Clone | ||
uses: actions/checkout@v4 | ||
- name: Check formatting | ||
uses: DoozyX/[email protected] | ||
with: | ||
source: 'nalu.C unit_tests.C ./include ./src ./unit_tests' | ||
extensions: 'H,h,cpp,C' | ||
clangFormatVersion: 18 | ||
CPU-Trilinos: | ||
needs: Formatting | ||
runs-on: ubuntu-latest | ||
container: | ||
image: ecpe4s/exawind-snapshot | ||
env: | ||
EXAWIND_MANAGER: /exawind-manager | ||
E4S_MACHINE: true | ||
steps: | ||
- name: Cancel previous runs | ||
uses: styfle/[email protected] | ||
with: | ||
access_token: ${{github.token}} | ||
- name: Clone | ||
uses: actions/checkout@v3 | ||
with: | ||
submodules: true | ||
- name: Tests | ||
run: | | ||
/bin/bash -c " \ | ||
source ${EXAWIND_MANAGER}/start.sh && \ | ||
mkdir -p ${EXAWIND_MANAGER}/environments/exawind && \ | ||
cd ${EXAWIND_MANAGER}/environments/exawind && \ | ||
ln -s ${GITHUB_WORKSPACE} nalu-wind && \ | ||
spack-start && \ | ||
spack -e e4s-build config add view:true && \ | ||
spack -e e4s-build add cmake && \ | ||
spack -e e4s-build install && \ | ||
quick-create-dev -s nalu-wind@master+tioga+hypre && \ | ||
spack manager external ${EXAWIND_MANAGER}/environments/e4s-build --exclude nalu-wind && \ | ||
spack install && \ | ||
spack cd -b nalu-wind && \ | ||
spack build-env nalu-wind ctest -j $(nproc) -L unit --output-on-failure \ | ||
" | ||
CPU-Hypre-Only: | ||
needs: Formatting | ||
runs-on: ubuntu-latest | ||
container: | ||
image: ecpe4s/exawind-snapshot | ||
env: | ||
EXAWIND_MANAGER: /exawind-manager | ||
E4S_MACHINE: true | ||
steps: | ||
- name: Cancel previous runs | ||
uses: styfle/[email protected] | ||
with: | ||
access_token: ${{github.token}} | ||
- name: Clone | ||
uses: actions/checkout@v3 | ||
with: | ||
submodules: true | ||
- name: Tests | ||
run: | | ||
/bin/bash -c " \ | ||
source ${EXAWIND_MANAGER}/start.sh && \ | ||
mkdir -p ${EXAWIND_MANAGER}/environments/exawind && \ | ||
cd ${EXAWIND_MANAGER}/environments/exawind && \ | ||
ln -s ${GITHUB_WORKSPACE} nalu-wind && \ | ||
spack-start && \ | ||
spack -e e4s-build config add view:true && \ | ||
spack -e e4s-build add cmake && \ | ||
spack -e e4s-build install && \ | ||
quick-create-dev -s nalu-wind@master+tioga+hypre~trilinos-solvers && \ | ||
spack manager external ${EXAWIND_MANAGER}/environments/e4s-build --exclude nalu-wind && \ | ||
spack install && \ | ||
spack cd -b nalu-wind && \ | ||
spack build-env nalu-wind ctest -j $(nproc) -L unit --output-on-failure \ | ||
" |
Empty file.
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,105 @@ | ||
/** @file example.h | ||
* @brief Brief description of a documented file. | ||
* | ||
* Longer description of a documented file. | ||
*/ | ||
|
||
/** Here is a brief description of the example class. | ||
* | ||
* This is a more in-depth description of the class. | ||
* This class is meant as an example. | ||
* It is not useful by itself, rather its usefulness is only a | ||
* function of how much it helps the reader. It is in a sense | ||
* defined by the person who reads it and otherwise does | ||
* not exist in any real form. | ||
* | ||
* @note This is a note. | ||
* | ||
*/ | ||
|
||
#ifndef EXAMPLECLASS_H | ||
#define EXAMPLECLASS_H | ||
|
||
class ExampleClass | ||
{ | ||
|
||
public: | ||
/// Create an ExampleClass. | ||
ExampleClass(); | ||
|
||
/** Create an ExampleClass with lot's of intial values. | ||
* | ||
* @param a This is a description of parameter a. | ||
* @param b This is a description of parameter b. | ||
* | ||
* The distance between \f$(x_1,y_1)\f$ and \f$(x_2,y_2)\f$ is | ||
* \f$\sqrt{(x_2-x_1)^2+(y_2-y_1)^2}\f$. | ||
*/ | ||
ExampleClass(int a, float b); | ||
|
||
/** ExampleClass destructor description. | ||
*/ | ||
~ExampleClass(); | ||
|
||
/// This method does something. | ||
void DoSomething(); | ||
|
||
/** | ||
* This is a method that does so | ||
* much that I must write an epic | ||
* novel just to describe how much | ||
* it truly does. | ||
*/ | ||
void DoNothing(); | ||
|
||
/** Brief description of a useful method. | ||
* @param level An integer setting how useful to be. | ||
* @return Description of the output. | ||
* | ||
* This method does unbelievably useful things. | ||
* And returns exceptionally useful results. | ||
* Use it everyday with good health. | ||
* \f[ | ||
* |I_2|=\left| \int_{0}^T \psi(t) | ||
* \left\{ | ||
* u(a,t)- | ||
* \int_{\gamma(t)}^a | ||
* \frac{d\theta}{k(\theta,t)} | ||
* \int_{a}^\theta c(\xi)u_t(\xi,t)\,d\xi | ||
* \right\} dt | ||
* \right| | ||
* \f] | ||
*/ | ||
void* VeryUsefulMethod(bool level); | ||
|
||
/** Brief description of a useful method. | ||
* @param level An integer setting how useful to be. | ||
* @return Description of the output. | ||
* | ||
* - Item 1 | ||
* | ||
* More text for this item. | ||
* | ||
* - Item 2 | ||
* + nested list item. | ||
* + another nested item. | ||
* - Item 3 | ||
* | ||
* # Markdown Example | ||
* [Here is a link.](http://www.google.com/) | ||
*/ | ||
void* AnotherMethod(bool level); | ||
|
||
protected: | ||
/** The protected methods can be documented and extracted too. | ||
* | ||
*/ | ||
void SomeProtectedMethod(); | ||
|
||
private: | ||
const char* fQuestion; ///< The question | ||
int fAnswer; ///< The answer | ||
|
||
}; // End of class ExampleClass | ||
|
||
#endif // EXAMPLE_H |
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,102 @@ | ||
# -*- mode: yaml -*- | ||
# | ||
# Example Nalu input file for a heat conduction problem | ||
# | ||
|
||
Simulations: | ||
- name: sim1 | ||
time_integrator: ti_1 | ||
optimizer: opt1 | ||
|
||
linear_solvers: | ||
- name: solve_scalar | ||
type: tpetra | ||
method: gmres | ||
preconditioner: sgs | ||
tolerance: 1e-3 | ||
max_iterations: 75 | ||
kspace: 75 | ||
output_level: 0 | ||
|
||
realms: | ||
|
||
- name: realm_1 | ||
mesh: periodic3d.g | ||
use_edges: no | ||
automatic_decomposition_type: rcb | ||
|
||
equation_systems: | ||
name: theEqSys | ||
max_iterations: 2 | ||
|
||
solver_system_specification: | ||
temperature: solve_scalar | ||
|
||
systems: | ||
- HeatConduction: | ||
name: myHC | ||
max_iterations: 1 | ||
convergence_tolerance: 1e-5 | ||
|
||
initial_conditions: | ||
|
||
- constant: ic_1 | ||
target_name: block_1 | ||
value: | ||
temperature: 10.0 | ||
|
||
material_properties: | ||
target_name: block_1 | ||
specifications: | ||
- name: density | ||
type: constant | ||
value: 1.0 | ||
- name: thermal_conductivity | ||
type: constant | ||
value: 1.0 | ||
- name: specific_heat | ||
type: constant | ||
value: 1.0 | ||
|
||
boundary_conditions: | ||
|
||
- wall_boundary_condition: bc_left | ||
target_name: surface_1 | ||
wall_user_data: | ||
temperature: 20.0 | ||
|
||
|
||
- wall_boundary_condition: bc_right | ||
target_name: surface_2 | ||
wall_user_data: | ||
temperature: 40.0 | ||
|
||
solution_options: | ||
name: myOptions | ||
|
||
use_consolidated_solver_algorithm: yes | ||
|
||
options: | ||
- element_source_terms: | ||
temperature: FEM_DIFF | ||
|
||
output: | ||
output_data_base_name: femHC.e | ||
output_frequency: 10 | ||
output_node_set: no | ||
output_variables: | ||
- dual_nodal_volume | ||
- temperature | ||
|
||
Time_Integrators: | ||
- StandardTimeIntegrator: | ||
name: ti_1 | ||
start_time: 0 | ||
termination_step_count: 25 | ||
time_step: 10.0 | ||
time_stepping_type: fixed | ||
time_step_count: 0 | ||
second_order_accuracy: no | ||
|
||
realms: | ||
- realm_1 |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Oops, something went wrong.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Oops, something went wrong.
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,12 @@ | ||
Nalu-Wind Documentation | ||
======================= | ||
.. toctree:: | ||
:maxdepth: 2 | ||
|
||
Nalu-Wind Homepage <https://github.com/Exawind/nalu-wind> | ||
Nalu-Wind Nightly Test Results <http://my.cdash.org/index.php?project=Exawind> | ||
User Manual <source/user/index.rst> | ||
Developer Manual <source/developer/index.rst> | ||
Theory Manual <source/theory/index.rst> | ||
Verification Manual <source/verification/index.rst> | ||
zrefs.rst |
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,7 @@ | ||
Actuator Sources | ||
================ | ||
|
||
The :class:`sierra::nalu::ActuatorLineFAST` class is a child class of the generic :class:`sierra::nalu::Actuator` class that couples Nalu with OpenFAST for actuator line simulations of wind turbines. | ||
|
||
.. doxygenclass:: sierra::nalu::Actuator | ||
.. doxygenclass:: sierra::nalu::ActuatorLineFAST |
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,42 @@ | ||
|
||
Equation Systems | ||
================ | ||
|
||
.. doxygenclass:: sierra::nalu::EquationSystem | ||
:members: | ||
|
||
.. doxygenclass:: sierra::nalu::LowMachEquationSystem | ||
:members: | ||
|
||
.. doxygenclass:: sierra::nalu::EnthalpyEquationSystem | ||
:members: | ||
|
||
.. doxygenclass:: sierra::nalu::TurbKineticEnergyEquationSystem | ||
:members: | ||
|
||
.. doxygenclass:: sierra::nalu::ShearStressTransportEquationSystem | ||
:members: | ||
|
||
.. doxygenclass:: sierra::nalu::HeatCondEquationSystem | ||
:members: | ||
|
||
.. doxygenclass:: sierra::nalu::MassFractionEquationSystem | ||
:members: | ||
|
||
.. doxygenclass:: sierra::nalu::MixtureFractionEquationSystem | ||
:members: | ||
|
||
.. doxygenclass:: sierra::nalu::MomentumEquationSystem | ||
:members: | ||
|
||
.. doxygenclass:: sierra::nalu::ContinuityEquationSystem | ||
:members: | ||
|
||
.. doxygenclass:: sierra::nalu::SpecificDissipationRateEquationSystem | ||
:members: | ||
|
||
.. doxygenclass:: sierra::nalu::ProjectedNodalGradientEquationSystem | ||
:members: | ||
|
||
.. doxygenclass:: sierra::nalu::EquationSystems | ||
:members: |
Oops, something went wrong.