-
Notifications
You must be signed in to change notification settings - Fork 17
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
17 changed files
with
21,882 additions
and
21,427 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,37 @@ | ||
name: Ubuntu Build EVPFFT | ||
|
||
# Controls when the workflow will run. Currently manually ran | ||
on: | ||
workflow_dispatch: | ||
|
||
jobs: | ||
build: | ||
|
||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- uses: actions/checkout@v4 | ||
with: | ||
submodules: recursive | ||
- name: update the package list | ||
run: | ||
sudo apt-get update | ||
shell: bash | ||
- name: Install build tools | ||
run: | ||
sudo apt-get install build-essential | ||
shell: bash | ||
- name: Install MPI | ||
run: | | ||
sudo apt-get install libopenmpi-dev openmpi-bin | ||
echo "MPI_OPTS=--oversubscribe" >> $GITHUB_ENV | ||
- name: Install cmake | ||
run: | ||
sudo apt-get -y install cmake | ||
shell: bash | ||
- name: Run build script | ||
run: | | ||
chmod +x ./scripts/build-scripts/build_evpfft.sh # Make sure permission is correct | ||
./scripts/build-scripts/build_evpfft.sh --heffte_build_type=fftw --build_fftw --build_hdf5 --kokkos_build_type=openmp --machine=linux --num_jobs=4 | ||
working-directory: ./src/EVPFFT | ||
shell: bash |
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,72 @@ | ||
<ParameterList name="MueLu"> | ||
|
||
<!-- | ||
For 3D elasticity, these are the recommended settings for MueLu. | ||
--> | ||
|
||
<!-- =========== GENERAL ================ --> | ||
<Parameter name="problem: type" type="string" value="Poisson-3D"/> | ||
|
||
<Parameter name="verbosity" type="string" value="none"/> | ||
|
||
<Parameter name="coarse: max size" type="int" value="2000"/> | ||
|
||
<Parameter name="multigrid algorithm" type="string" value="sa"/> | ||
|
||
<Parameter name="coarse: type" type="string" value="Klu2"/> | ||
|
||
<!-- reduces setup cost for symmetric problems --> | ||
<Parameter name="transpose: use implicit" type="bool" value="true"/> | ||
|
||
<!-- start of default values for general options (can be omitted) --> | ||
<Parameter name="max levels" type="int" value="10"/> | ||
<Parameter name="number of equations" type="int" value="1"/> | ||
<Parameter name="sa: use filtered matrix" type="bool" value="true"/> | ||
<!-- end of default values --> | ||
|
||
<!-- =========== AGGREGATION =========== --> | ||
<Parameter name="aggregation: type" type="string" value="uncoupled"/> | ||
<Parameter name="aggregation: drop scheme" type="string" value="classical"/> | ||
|
||
<!-- =========== REUSE =========== --> | ||
<Parameter name="reuse: type" type="string" value="S"/> | ||
<!-- Uncomment the next line to enable dropping of weak connections, which can help AMG convergence | ||
for anisotropic problems. The exact value is problem dependent. --> | ||
<!-- <Parameter name="aggregation: drop tol" type="double" value="0.02"/> --> | ||
|
||
<!-- =========== SMOOTHING ===========--> | ||
<Parameter name="smoother: type" type="string" value="CHEBYSHEV"/> | ||
<ParameterList name="smoother: params"> | ||
<Parameter name="chebyshev: degree" type="int" value="2"/>> | ||
<Parameter name="chebyshev: ratio eigenvalue" type="double" value="7"/> | ||
<Parameter name="chebyshev: min eigenvalue" type="double" value="1"/> | ||
<Parameter name="chebyshev: zero starting solution" type="bool" value="true"/> | ||
<Parameter name="chebyshev: eigenvalue max iterations" type="int" value="100"/> | ||
</ParameterList> | ||
<!-- =========== SMOOTHING =========== | ||
<Parameter name="smoother: type" type="string" value="RELAXATION"/> | ||
<ParameterList name="smoother: params"> | ||
<Parameter name="relaxation: type" type="string" value="Jacobi"/> | ||
<Parameter name="relaxation: sweeps" type="int" value="1"/> | ||
<Parameter name="relaxation: damping factor" type="double" value="0.3"/> | ||
</ParameterList> | ||
--> | ||
|
||
<!-- =========== REPARTITIONING =========== --> | ||
<Parameter name="repartition: enable" type="bool" value="true"/> | ||
<Parameter name="repartition: partitioner" type="string" value="zoltan2"/> | ||
<Parameter name="repartition: start level" type="int" value="2"/> | ||
<Parameter name="repartition: min rows per proc" type="int" value="1000"/> | ||
<Parameter name="repartition: max imbalance" type="double" value="1.10"/> | ||
<!-- start of default values for repartitioning (can be omitted) --> | ||
<Parameter name="repartition: remap parts" type="bool" value="true"/> | ||
<Parameter name="repartition: rebalance P and R" type="bool" value="true"/> | ||
<ParameterList name="repartition: params"> | ||
<Parameter name="algorithm" type="string" value="multijagged"/> | ||
<Parameter name="mj_premigration_option" type="int" value="1"/> | ||
</ParameterList> | ||
<!-- end of default values --> | ||
|
||
<!-- for runs on with OpenMP or Cuda backend, enable --> | ||
<Parameter name="use kokkos refactor" type="bool" value="false"/> | ||
</ParameterList> |
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
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
98 changes: 98 additions & 0 deletions
98
integrated-tests/Test-scripts/Solver-Inputs/fierro-parallel-implicit/Beam.yaml
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,98 @@ | ||
# input file | ||
num_dims: 3 | ||
|
||
mesh_generation_options: | ||
type: Box | ||
origin: [0, 0, 0] | ||
length: [10, 10, 100] | ||
num_elems: [10, 10, 100] | ||
|
||
output_options: | ||
timer_output_level: thorough | ||
output_file_format: vtk | ||
write_initial: false | ||
write_final: true | ||
|
||
materials: | ||
- id: 0 | ||
elastic_modulus: 20000000 | ||
poisson_ratio: 0.3 | ||
density: 7850 | ||
thermal_conductivity: 10 | ||
specific_internal_energy_rate: 1.0 | ||
initial_temperature: 293 | ||
|
||
fea_module_parameters: | ||
- type: Inertial | ||
material_id: 0 | ||
inertia_center_x: 0 | ||
inertia_center_y: 0 | ||
inertia_center_z: 0 | ||
|
||
- type: Elasticity | ||
material_id: 0 | ||
# Dirichlet conditions | ||
boundary_conditions: | ||
- surface: | ||
type: z_plane | ||
plane_position: 0.0 | ||
type: displacement | ||
value: 0.0 | ||
|
||
# # Loading/Neumann Conditions | ||
# loading_conditions: | ||
# - surface: | ||
# type: z_plane | ||
# plane_position: 100.0 | ||
# type: surface_traction | ||
# component_x: 0.0 | ||
# component_y: -5000.0 | ||
# component_z: 0.0 | ||
|
||
- type: Heat_Conduction | ||
material_id: 0 | ||
# Dirichlet conditions | ||
boundary_conditions: | ||
- surface: | ||
type: z_plane | ||
plane_position: 0.0 | ||
type: temperature | ||
value: 293.0 | ||
|
||
# Loading/Neumann Conditions | ||
loading_conditions: | ||
- surface: | ||
type: z_plane | ||
plane_position: 100.0 | ||
type: surface_heat_flux | ||
#can be normal (q dot n) or coordinated (vector q) for curved surfaces | ||
specification: normal | ||
flux_value: 1.0 | ||
|
||
# optimization_options: | ||
# optimization_process: topology_optimization | ||
# method_of_moving_asymptotes: false | ||
# density_epsilon: 0.00001 | ||
# simp_penalty_power: 4 | ||
# optimization_objective: multi_objective | ||
# #Weight coefficients should add up to 1 | ||
# multi_objective_structure: linear | ||
# multi_objective_modules: | ||
# - type: minimize_thermal_resistance | ||
# weight_coefficient: 0.25 | ||
# - type: minimize_compliance | ||
# weight_coefficient: 0.75 | ||
|
||
# constraints: | ||
# - type: mass | ||
# relation: equality | ||
# value: 0.25 | ||
# - type: moment_of_inertia | ||
# relation: equality | ||
# component: yy | ||
# value: 0.35 | ||
# - type: moment_of_inertia | ||
# relation: equality | ||
# component: xy | ||
# value: 0.0 | ||
|
51 changes: 51 additions & 0 deletions
51
integrated-tests/Test-scripts/Solver-Inputs/fierro-parallel-implicit/Beam_Cantilever.yaml
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,51 @@ | ||
# input file | ||
num_dims: 3 | ||
|
||
mesh_generation_options: | ||
type: Box | ||
origin: [0, 0, 0] | ||
length: [10, 10, 100] | ||
num_elems: [10, 10, 100] | ||
|
||
output_options: | ||
timer_output_level: thorough | ||
output_file_format: vtk | ||
write_initial: false | ||
write_final: true | ||
|
||
materials: | ||
- id: 0 | ||
elastic_modulus: 20000000 | ||
poisson_ratio: 0.3 | ||
density: 7850 | ||
thermal_conductivity: 10 | ||
specific_internal_energy_rate: 1.0 | ||
initial_temperature: 293 | ||
|
||
fea_module_parameters: | ||
- type: Inertial | ||
material_id: 0 | ||
inertia_center_x: 0 | ||
inertia_center_y: 0 | ||
inertia_center_z: 0 | ||
|
||
- type: Elasticity | ||
material_id: 0 | ||
# Dirichlet conditions | ||
boundary_conditions: | ||
- surface: | ||
type: z_plane | ||
plane_position: 0.0 | ||
type: displacement | ||
value: 0.0 | ||
|
||
# Loading/Neumann Conditions | ||
loading_conditions: | ||
- surface: | ||
type: z_plane | ||
plane_position: 100.0 | ||
type: surface_traction | ||
component_x: 0.0 | ||
component_y: -5000.0 | ||
component_z: 0.0 | ||
|
Oops, something went wrong.