Skip to content

Commit dbc5a1f

Browse files
authored
Add contributing (#27)
* Add contributing file * fixup: readme links * fixup: readme variables
1 parent f3f6682 commit dbc5a1f

File tree

2 files changed

+21
-6
lines changed

2 files changed

+21
-6
lines changed

CONTRIBUTING.md

+10
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
# Contributing
2+
3+
Contributing to AdditiveFOAM is easy: just open a
4+
[pull request](https://help.github.com/articles/using-pull-requests/).
5+
Make `main` the destination branch on the [AdditiveFOAM
6+
repository](https://github.com/ORNL/AdditiveFOAM) and allow edits from
7+
maintainers.
8+
9+
Your pull request must work with all current AdditiveFOAM tutorial examples
10+
and be reviewed by at least one AdditiveFOAM developer.

README.md

+11-6
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
AdditiveFOAM is a free, open source heat and mass transfer software for simulations of Additive Manufacturing (AM) released by Oak Ridge National Laboratory. It is built upon OpenFOAM, a free, open source computational fluid dynamics (CFD) software package released by the OpenFOAM Foundation.
33

44
## Citing
5-
If you use AdditiveFoam in your work, please cite the [source code](CITATION.bib). Also, please consider citing relevant AdditiveFOAM **Publications** listed below.
5+
If you use AdditiveFoam in your work, please cite the [source code](CITATION.bib). Also, please consider citing relevant AdditiveFOAM [Publications](#Publications).
66

77
## Contributors
88
- [John Coleman](https://www.ornl.gov/staff-profile/john-s-coleman)
@@ -76,7 +76,7 @@ To run an AdditiveFOAM simulation, it is recommended to perform the following st
7676

7777
- `constant/`: Contains configuration and settings that define geometric and material conditions, including:
7878

79-
- `transportProperties`: Sets the transport properties of the material. The thermal conductivity **kappa** and specific heat **Cp** are given as temperature dependent second-order polynomials for each phase in the material.
79+
- `transportProperties`: Sets the transport properties of the material. The thermal conductivity `kappa` and specific heat `Cp` are given as temperature dependent second-order polynomials for each phase in the material.
8080

8181
The available phases are:
8282
- solid
@@ -95,7 +95,7 @@ To run an AdditiveFOAM simulation, it is recommended to perform the following st
9595
- constant
9696
- [Kelly](https://opg.optica.org/ao/fulltext.cfm?uri=ao-5-6-925&id=14272)
9797

98-
Each heat source model has the ability to be update the depth of the heat source for keyhole modeling, by setting the **transient** flag to **True** and defining an **isoValue** to track the depth of an isotherm contained within the heat source radius. An example of this usage is provided in the [multiBeam](tutorials/multiBeam) tutorial.
98+
Each heat source model has the ability to be update the depth of the heat source for keyhole modeling, by setting the `transient` flag to `True` and defining an `isoValue` to track the depth of an isotherm contained within the heat source radius. An example of this usage is provided in the [multiBeam](tutorials/multiBeam) tutorial.
9999

100100
- `0/`: Contains the initial fields. The available fields are provided in the files:
101101
- `T`: temperature
@@ -107,7 +107,7 @@ To run an AdditiveFOAM simulation, it is recommended to perform the following st
107107
- `system/`: Contains simulation configuration files.
108108
- `controlDict`: Set simulation time settings and numerical parameters.
109109
- `fvSchemes`: Set the discretization schemes used to solve the governing equations
110-
- `fvSolution`: Set solution algorithms and convergence criterias. Note: fluid flow can be turned off by setting **nOuterCorrectors** to **0** in the **PIMPLE** dictionary.
110+
- `fvSolution`: Set solution algorithms and convergence criterias. Note: fluid flow can be turned off by setting `nOuterCorrectors` to `0` in the **PIMPLE** dictionary.
111111

112112
3. Run the simulation:
113113
An example run script which creates a mesh, decomposes the mesh across multiple processors, and runs the AdditiveFOAM case in parallel using MPI is provided in tutorial `Allrun` script.
@@ -128,12 +128,17 @@ AdditiveFOAM supports a scan path file format that decomposes the laser path int
128128
| Column 6 | For a line (mode = 0), this is the velocity of the laser in meters/second. <br>For a point (mode = 1), this is the dwell time of the laser in seconds |
129129

130130
### Exporting ExaCA Data
131-
One feature of AdditiveFOAM is its ability to export thermal information to [ExaCA](https://github.com/LLNL/ExaCA), a cellular automata (CA) code for grain growth under additive manufacturing conditions. This feature is enabled using the **execute** flag in the `constant/foamToExaCADict` file. The solidification conditions at the specified **isotherm** is tracked in the represenative volume element defined by **box** and a resolution defined by **dx**. It is recommended to track the liquidus isotherm. Users should be warned that this interpolation may cause a significant load-balancing issues if the resolution of the ExaCA data is much finer than that of the AdditiveFOAM mesh, and therefore, this feature should be used selectively.
131+
One feature of AdditiveFOAM is its ability to export thermal information to [ExaCA](https://github.com/LLNL/ExaCA), a cellular automata (CA) code for grain growth under additive manufacturing conditions. This feature is enabled using the `execute` flag in the `constant/foamToExaCADict` file. The solidification conditions at the specified `isotherm` is tracked in the represenative volume element defined by `box` and a resolution defined by `dx`. It is recommended to track the liquidus isotherm. Users should be warned that this interpolation may cause a significant load-balancing issues if the resolution of the ExaCA data is much finer than that of the AdditiveFOAM mesh, and therefore, this feature should be used selectively.
132132

133133
## License
134134
AdditiveFOAM is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. See the file `LICENSE` in this directory or http://www.gnu.org/licenses/, for a description of the GNU General Public License terms under which you can copy the files.
135135

136136
## Contact
137-
For any questions, issues, or suggestions regarding AdditiveFOAM, you can reach out to the project maintainers through the GitHub repository's issue tracker or by contacting the development team in the **Contributors** links above.
137+
For any questions, issues, or suggestions regarding AdditiveFOAM, you can reach out to the project maintainers through the GitHub repository's issue tracker or by contacting the [development team](#Contributors).
138+
139+
## Contributing
140+
141+
We encourage you to contribute to AdditiveFOAM! Please check the
142+
[guidelines](CONTRIBUTING.md) on how to do so.
138143

139144
We appreciate your interest in AdditiveFOAM and look forward to your contributions!

0 commit comments

Comments
 (0)