Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Removed no remelt example problems and subroutines, relabeled remelt #207

Merged
merged 3 commits into from
Jun 15, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion .github/workflows/CI.yml
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,6 @@ jobs:
$HOME/exaca/bin/ExaCA-Kokkos Inp_SmallSpotMelt.json
mpirun -n 2 --oversubscribe $HOME/exaca/bin/ExaCA-Kokkos Inp_SmallDirSolidification.json
mpirun -n 2 --oversubscribe $HOME/exaca/bin/ExaCA-Kokkos Inp_SmallSpotMelt.json
mpirun -n 2 --oversubscribe $HOME/exaca/bin/ExaCA-Kokkos Inp_SmallSpotMelt_RM.json
- name: Test GA
working-directory: analysis/examples
run: |
Expand Down
7 changes: 2 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -134,14 +134,11 @@ framework). Tests are automatically generated for the enabled Kokkos backend.
ExaCA-Kokkos runs using an input file, passed on the command line. Example problems are provided in the `examples/` directory - A separate README file located in the `examples/` directory goes into more detail on the problem types, the optional and required arguments needed for each problem type, and additional files used by ExaCA. The example input files present in this repository are:
* `Inp_DirSolidification.json`: simulates grain growth from a surface with a fixed thermal gradient and cooling rate
* `Inp_SmallDirSolidification.json`: a smaller and simpler version of the previous
* `Inp_SpotMelt.json`: simulates overlapping spot melts with fixed a fixed thermal gradient and cooling rate, where cells are only allowed to undergo solidification one time (i.e., overlap regions only solidify when they've cooled below the liquidus for the final time in the simulation)
* `Inp_SpotMelt.json`: simulates overlapping spot melts with fixed a fixed thermal gradient and cooling rate
* `Inp_SmallSpotMelt.json`: a smaller and simpler version of the previous
* `Inp_SpotMelt_RM.json`: simulates overlapping spot melts with fixed a fixed thermal gradient and cooling rate, where cells in the overlap region are allowed to melt and solidify as many times as needed
* `Inp_SmallSpotMelt_RM.json`: a smaller and simpler version of the previous

Example problems only possible with external data (available via https://github.com/LLNL/ExaCA-Data):
* `Inp_AMBenchMultilayer.json`: simulates 4 layers of a representative even-odd layer alternating scan pattern for AM builds
* `Inp_SimpleRaster.json`: simulates a single layer consisting of four overlapping melt pools
* `Inp_SingleLine.json`: simulates melting and solidification of a single line of melt pool data
* `Inp_TwoLineTwoLayer.json`: simulates two layers consisting of segments of two overlapping melt pools

Run by calling the created executable with an ExaCA input file:
Expand Down
38 changes: 0 additions & 38 deletions examples/Inp_AMBenchMultilayer.json

This file was deleted.

38 changes: 0 additions & 38 deletions examples/Inp_SimpleRaster.json

This file was deleted.

39 changes: 39 additions & 0 deletions examples/Inp_SingleLine.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
{
"SimulationType": "R",
"MaterialFileName": "Inconel625.json",
"GrainOrientationFile": "GrainOrientationVectors.csv",
"RandomSeed": 0.0,
"Domain": {
"CellSize": 2.5,
"TimeStep": 0.0825,
"NumberOfLayers": 1,
"LayerOffset": 8
},
"Nucleation": {
"Density": 100,
"MeanUndercooling": 5,
"StDev": 0.5
},
"TemperatureData": {
"HeatTransferCellSize": 2.5,
"LayerwiseTempRead": false,
"TemperatureFiles": ["examples/Temperatures/Line.txt"]
},
"Substrate": {
"MeanSize": 25,
"PowderDensity": 64000,
"PowderFirstLayer": true
},
"Printing": {
"PathToOutput": "./",
"OutputFile": "TestProblemSingleLine",
"PrintBinary": false,
"PrintExaConstitSize": 0,
"PrintFieldsInit": [],
"PrintFieldsFinal": ["GrainID", "LayerID", "GrainMisorientation"],
"PrintIntermediateOutput": {
"Frequency": 0,
"PrintIdleFrames": false
}
}
}
41 changes: 0 additions & 41 deletions examples/Inp_SmallSpotMelt_RM.json

This file was deleted.

2 changes: 1 addition & 1 deletion examples/Inp_SpotMelt.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
"PathToOutput": "./",
"OutputFile": "TestProblemSpot",
"PrintBinary": false,
"PrintExaConstitSize": 0,
"printExaConstitSize": 0,
"PrintFieldsInit": [],
"PrintFieldsFinal": ["GrainID", "LayerID", "GrainMisorientation"],
"PrintIntermediateOutput": {
Expand Down
41 changes: 0 additions & 41 deletions examples/Inp_SpotMelt_RM.json

This file was deleted.

Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"SimulationType": "RM",
"SimulationType": "R",
"MaterialFileName": "Inconel625.json",
"GrainOrientationFile": "GrainOrientationVectors.csv",
"RandomSeed": 0.0,
Expand All @@ -25,7 +25,7 @@
},
"Printing": {
"PathToOutput": "./",
"OutputFile": "TestProblemTwoLineTwoLayer_RM",
"OutputFile": "TestProblemTwoLineTwoLayer",
"PrintBinary": false,
"PrintExaConstitSize": 0,
"PrintFieldsInit": [],
Expand Down
9 changes: 5 additions & 4 deletions examples/README.md
Original file line number Diff line number Diff line change
@@ -1,15 +1,16 @@
# ExaCA problem types and auxiliary files
ExaCA currently can model three types of problems, two of which have the option of whether or not to include multiple melting and solidification events in cells:
ExaCA currently can model three types of problems:

* Problem type C is a directional solidification problem, with the bottom surface initialized with some fraction of sites home to epitaxial grains and at the liquidus temperature and a positive thermal gradient in the +Z direction. The domain is then cooled at a constant rate.
* Problem type S is an array of hemispherical spots, with the number of spots in X, Y, and the number of layers for which the pattern is repeated (offset by a specified number of cells in the positive Z direction) specified. This problem type also uses fixed thermal gradient magnitude and cooling rate for each spot.
* Problem type R is a custom solidification problem using time-temperature history file(s) (default location is `examples/Temperatures`). The format of these files are as follows:
* Problem type S or SM is an array of hemispherical spots, with the number of spots in X, Y, and the number of layers for which the pattern is repeated (offset by a specified number of cells in the positive Z direction) specified. This problem type also uses fixed thermal gradient magnitude and cooling rate for each spot.
* The M is no longer required in the problem type, as problem type S is now the same as SM (it now includes multiple melting and solidification events per cell)
* Problem type R or RM is a custom solidification problem using time-temperature history file(s) (default location is `examples/Temperatures`). The format of these files are as follows:
* The first line should be the names of the columns: x, y, z, tm, tl, cr
* Each line following the first should have six comma-separated values corresponding to x, y, z, tm, tl, cr. x, y, and z are cell coordinates, in meters, of a given location in the simulation. The spacing between locations should correpond to a Cartesian grid, with a cell size equivalent to that specified in the input file. For each time that an x,y,z coordinate went above and below the liqiuidus temperature of the alloy during a heat transport simulation, a tm (time at which the point went above the liquidus), tl (time at which the point went below the liquidus), and cr (instantaneous cooling rate at the liquidus) should be recorded. As meters and seconds are the units used, and the cell size and time step tend to be on the order of micrometers and microseconds, it is recommended that this data be given as double precision values to avoid truncation of values
* If an x,y,z coordinate melted and solidified multiple times, it should appear in the file multiple times on separate lines. The order of the lines do not matter, except that the header line must be before any data.
* The top surface (the largest Z coordinate in a file) is assumed to be flat. Additionally, if multiple temperature files are being used (for example, a scan pattern consisting of 10 layers of repeating even and odd file data), the Z coordinate corresponding to this flat top surface should be the same for all files.
* Alternatively, if a time-temperature history file has the extension `.catemp`, it will be parsed as a binary string. The binary form for these files does not contain commas, newlines, nor a header, but consists of sequential x,y,z,tm,tl,cr,x,y,z,tm,tl,cr... data as double precision values (little endian). This is often a significantly smaller file size than the standard format, and will be faster to read during initialization.
* Problem types SM and RM modify problem types S and R to include multiple melting and solidification events per cell. For problem types S and R all cells that will eventually undergo melting are initialized as liquid, and only the final time that a given cell goes below the liquidus temperature is considered. To obtain the most accurate results, all melting and solidification events should be considered; however, for some problem geometries, the microstructure resulting from only considering the final solidification event in each cell is a reasonable approximation (and faster)
* The M is no longer required in the problem type, as problem type R is now the same as RM (it now includes multiple melting and solidification events per cell)

All problem types rely on two files in addition to the main input file. First,
a file containing the interfacial response function data governing
Expand Down
Loading