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

Add thermal deformation example #93

Merged
merged 11 commits into from
Jun 12, 2024
Merged

Add thermal deformation example #93

merged 11 commits into from
Jun 12, 2024

Conversation

streeve
Copy link
Collaborator

@streeve streeve commented May 8, 2024

Adds temperature dependent stretch with new example and general way to include thermal physics

Initially only implemented for PMB and without fracture

  • Temperature communication
  • Thermal strain energy

Blocked by #89

@streeve streeve requested a review from pabloseleson May 8, 2024 15:29
src/CabanaPD_Solver.hpp Outdated Show resolved Hide resolved
src/force/CabanaPD_ForceModels_PMB.hpp Show resolved Hide resolved
src/force/CabanaPD_Force_PMB.hpp Show resolved Hide resolved
src/force/CabanaPD_Force_PMB.hpp Show resolved Hide resolved
src/force/CabanaPD_Force_PMB.hpp Show resolved Hide resolved
@pabloseleson
Copy link
Collaborator

@streeve : Put examples inside folders:
mechanics
thermo-mechanics

README.md Outdated Show resolved Hide resolved
@streeve streeve self-assigned this May 23, 2024
@streeve streeve added enhancement New feature or request example New example problem labels May 23, 2024
@streeve streeve mentioned this pull request May 23, 2024
@streeve
Copy link
Collaborator Author

streeve commented May 24, 2024

@pabloseleson I've fixed the communication issue I was seeing and rearranged the examples as you suggested. Please give a final review after checking that it runs ok on your end

@pabloseleson
Copy link
Collaborator

There is an issue when temp0 is not 0.

@pabloseleson
Copy link
Collaborator

pabloseleson commented May 28, 2024

I tried adding the following to thermal_deformation.cpp. Files were created but with no content:

// ====================================================
//                      Outputs
// ====================================================
// Output displacement along the x-axis
createDisplacementProfile( MPI_COMM_WORLD, num_cells[0], 0,
                           "xdisplacement_profile.txt", *particles );

// Output displacement along the y-axis
createDisplacementProfile( MPI_COMM_WORLD, num_cells[0], 1,
                           "ydisplacement_profile.txt", *particles );

@streeve streeve mentioned this pull request May 30, 2024
Copy link
Collaborator Author

@streeve streeve left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@pabloseleson ready for final review

src/CabanaPD_ForceModels.hpp Show resolved Hide resolved
src/CabanaPD_Particles.hpp Show resolved Hide resolved
src/force/CabanaPD_ForceModels_PMB.hpp Outdated Show resolved Hide resolved
src/CabanaPD_Solver.hpp Outdated Show resolved Hide resolved
@streeve streeve merged commit 907463d into ORNL:main Jun 12, 2024
14 checks passed
@streeve streeve deleted the thermal_models branch June 12, 2024 14:28
@streeve streeve mentioned this pull request Jul 8, 2024
4 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request example New example problem
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants