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

[GeoMechanicsApplication] Implement well constitutive behaviour for line thermal element #12370

Merged
merged 24 commits into from
May 17, 2024
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
Show all changes
24 commits
Select commit Hold shift + click to select a range
ab61bc8
Merge branch 'master' into geo/12322-implement-well-element
mnabideltares May 7, 2024
ec7889a
Added constutative behaviour
mnabideltares May 9, 2024
f684843
Merge branch 'master' into geo/12322-implement-well-element
mnabideltares May 9, 2024
22bbea7
Added test cases for the filter element
mnabideltares May 10, 2024
12a2a88
A fix in test case
mnabideltares May 10, 2024
888f3af
README.md is added for the test cases
mnabideltares May 10, 2024
507de31
Fix in readme
mnabideltares May 10, 2024
a318f95
modifications based on review
mnabideltares May 11, 2024
33eabb4
Modifications based on review comments
mnabideltares May 13, 2024
9550840
Fix based on review
mnabideltares May 13, 2024
77a23f9
fixes based on review comments
mnabideltares May 13, 2024
765bdbe
fixes based or review
mnabideltares May 13, 2024
d09c3ba
Fix in unit-test for thermal filter constitutive law
mnabideltares May 13, 2024
6be0896
Addressed review comments
mnabideltares May 14, 2024
370b2a4
clang format
mnabideltares May 14, 2024
8a45f84
THERMAL_LAW is added, GeoThermalLaw base class is defined. Dispersion…
mnabideltares May 15, 2024
03b58e8
In the case of missing thermal_law, the dispersion-law is set as default
mnabideltares May 15, 2024
7f2d444
fixed code smells
mnabideltares May 15, 2024
06b93a9
fixes to avoid WError
mnabideltares May 16, 2024
18493b1
Fixes for WError's
mnabideltares May 16, 2024
f5a2a2e
Addressed changes based on review
mnabideltares May 16, 2024
9831df4
Modifications based on review
mnabideltares May 16, 2024
0a76620
minor fixes based on review
mnabideltares May 17, 2024
ff656e0
minor fix for code smell
mnabideltares May 17, 2024
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
Original file line number Diff line number Diff line change
Expand Up @@ -31,18 +31,14 @@ ConstitutiveLaw::Pointer GeoThermalFilterLaw::Clone() const
return Kratos::make_shared<GeoThermalFilterLaw>(*this);
}

SizeType GeoThermalFilterLaw::WorkingSpaceDimension() { return mNumberOfDimensions; }
SizeType GeoThermalFilterLaw::WorkingSpaceDimension() { return 1; }
mnabideltares marked this conversation as resolved.
Show resolved Hide resolved

Matrix GeoThermalFilterLaw::CalculateThermalFilterMatrix(const Properties& rProp,
const ProcessInfo& rProcessInfo) const
Matrix GeoThermalFilterLaw::CalculateThermalFilterMatrix(const Properties& rProp, const ProcessInfo& rProcessInfo) const
{
KRATOS_TRY

Matrix result = ZeroMatrix(mNumberOfDimensions, mNumberOfDimensions);

const auto x = static_cast<int>(indexThermalFlux::X);
result(x, x) = rProp[THERMAL_CONDUCTIVITY_WATER];

Matrix result = ZeroMatrix(1, 1);
result(0, 0) = rProp[THERMAL_CONDUCTIVITY_WATER];
mnabideltares marked this conversation as resolved.
Show resolved Hide resolved
return result;

KRATOS_CATCH("")
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,7 @@
**Source files:** [Thermal filter element with fixed temperature](https://github.com/KratosMultiphysics/Kratos/tree/master/applications/GeoMechanicsApplication/tests/test_thermal_element/test_thermal_filter_element)

## Case Specification
In this thermal test case, a $2 \mathrm{[m]} \times 1 \mathrm{[m]}$ soil block is considered, with everywhere set to 0 $\mathrm{[^\circ C]}$. A well/filter passes vertically through middle of the domain. The temperature along the filter is kept constant at 0 $\mathrm{[^\circ C]}$. A sudden jump at the right and left boundary temperatures are given for the soil. These are both 25 $\mathrm{[^\circ C]}$. The simulation spans 100 days to allow for a transition from the initial to a linear temperature profile between the two sides. This test is conducted for various configurations, including 2D3N and 2D3N soil elements, and corresponding 2D2N and 2D3N filter elements. The temperature distribution is then evaluated with its own result.
The boundary conditions are shown below:
In this thermal test case, a $2 \mathrm{[m]} \times 1 \mathrm{[m]}$ soil block is considered, with everywhere set to 0 $\mathrm{[^\circ C]}$. A well/filter passes vertically through middle of the domain. The temperature along the filter is kept constant at 0 $\mathrm{[^\circ C]}$. A sudden jump at the right and left boundary temperatures are given for the soil. These are both 25 $\mathrm{[^\circ C]}$. The simulation spans 100 days to allow for a transition from the initial to a linear temperature profile between the two sides. This test is conducted for various configurations, including 2D3N and 2D6N soil elements, and corresponding 2D2N and 2D3N filter elements. The temperature distribution is then evaluated with its analytical result. The boundary conditions are shown below:
mnabideltares marked this conversation as resolved.
Show resolved Hide resolved

<img src="../documentation_data/test_thermal_filter_element.svg" alt="Visualization of the Boundary conditions" title="Visualization of the Boundary conditions" width="600">

Expand Down
Loading