-
Notifications
You must be signed in to change notification settings - Fork 238
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'trm-C-el-change' into 'master'
TRM: Changed elastic tangent stiffness computations See merge request ogs/ogs!4942
- Loading branch information
Showing
30 changed files
with
183 additions
and
223 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
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
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
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
71 changes: 0 additions & 71 deletions
71
...s/ConstitutiveStressSaturation_StrainPressureTemperature/ElasticTangentStiffnessModel.cpp
This file was deleted.
Oops, something went wrong.
51 changes: 0 additions & 51 deletions
51
...ics/ConstitutiveStressSaturation_StrainPressureTemperature/ElasticTangentStiffnessModel.h
This file was deleted.
Oops, something went wrong.
45 changes: 45 additions & 0 deletions
45
...hanics/ConstitutiveStressSaturation_StrainPressureTemperature/SolidCompressibilityModel.h
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,45 @@ | ||
/** | ||
* \file | ||
* \copyright | ||
* Copyright (c) 2012-2024, OpenGeoSys Community (http://www.opengeosys.org) | ||
* Distributed under a Modified BSD License. | ||
* See accompanying file LICENSE.txt or | ||
* http://www.opengeosys.org/project/license | ||
* | ||
*/ | ||
|
||
#pragma once | ||
|
||
#include "ProcessLib/ThermoRichardsMechanics/ConstitutiveCommon/Biot.h" | ||
#include "ProcessLib/ThermoRichardsMechanics/ConstitutiveCommon/SolidCompressibilityData.h" | ||
#include "ProcessLib/ThermoRichardsMechanics/ConstitutiveCommon/SolidMechanicsDataStateless.h" | ||
|
||
namespace ProcessLib::ThermoRichardsMechanics | ||
{ | ||
namespace ConstitutiveStressSaturation_StrainPressureTemperature | ||
{ | ||
template <int DisplacementDim, typename SolidMaterial> | ||
struct SolidCompressibilityModel | ||
{ | ||
explicit SolidCompressibilityModel(SolidMaterial const& solid_material) | ||
: solid_material_(solid_material) | ||
{ | ||
} | ||
|
||
void eval(SpaceTimeData const& x_t, | ||
BiotData const& biot_data, | ||
SolidMechanicsDataStateless<DisplacementDim> const& | ||
s_mech_data_stateless, | ||
SolidCompressibilityData& out) const | ||
{ | ||
out.beta_SR = | ||
(1 - biot_data()) / | ||
solid_material_.getBulkModulus( | ||
x_t.t, x_t.x, &s_mech_data_stateless.stiffness_tensor); | ||
} | ||
|
||
private: | ||
SolidMaterial const& solid_material_; | ||
}; | ||
} // namespace ConstitutiveStressSaturation_StrainPressureTemperature | ||
} // namespace ProcessLib::ThermoRichardsMechanics |
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
Oops, something went wrong.