-
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 'Th2m-CR-FinishMPL_NaN_CleanupIPData' into 'master'
TH2M; Finalize extraction of MPL evaluations into constitutive relation models See merge request ogs/ogs!4976
- Loading branch information
Showing
35 changed files
with
755 additions
and
717 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
/** | ||
* \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 "Base.h" | ||
#include "ProcessLib/Reflection/ReflectionData.h" | ||
|
||
namespace ProcessLib::TH2M | ||
{ | ||
namespace ConstitutiveRelations | ||
{ | ||
template <int DisplacementDim> | ||
struct DarcyVelocityData | ||
{ | ||
GlobalDimVector<DisplacementDim> w_GS; | ||
GlobalDimVector<DisplacementDim> w_LS; | ||
|
||
static auto reflect() | ||
{ | ||
using Self = DarcyVelocityData<DisplacementDim>; | ||
namespace R = ProcessLib::Reflection; | ||
|
||
return std::tuple{ | ||
R::makeReflectionData("velocity_gas", &Self::w_GS), | ||
R::makeReflectionData("velocity_liquid", &Self::w_LS)}; | ||
} | ||
}; | ||
} // namespace ConstitutiveRelations | ||
} // namespace ProcessLib::TH2M |
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,42 @@ | ||
/** | ||
* \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 "Base.h" | ||
#include "ProcessLib/Reflection/ReflectionData.h" | ||
|
||
namespace ProcessLib::TH2M | ||
{ | ||
namespace ConstitutiveRelations | ||
{ | ||
template <int DisplacementDim> | ||
struct DiffusionVelocityData | ||
{ | ||
GlobalDimVector<DisplacementDim> d_CG; | ||
GlobalDimVector<DisplacementDim> d_WG; | ||
GlobalDimVector<DisplacementDim> d_CL; | ||
GlobalDimVector<DisplacementDim> d_WL; | ||
|
||
static auto reflect() | ||
{ | ||
using Self = DiffusionVelocityData<DisplacementDim>; | ||
namespace R = ProcessLib::Reflection; | ||
|
||
return std::tuple{ | ||
R::makeReflectionData("diffusion_velocity_gas_gas", &Self::d_CG), | ||
R::makeReflectionData("diffusion_velocity_vapour_gas", &Self::d_WG), | ||
R::makeReflectionData("diffusion_velocity_solute_liquid", | ||
&Self::d_CL), | ||
R::makeReflectionData("diffusion_velocity_liquid_liquid", | ||
&Self::d_WL)}; | ||
} | ||
}; | ||
} // namespace ConstitutiveRelations | ||
} // namespace ProcessLib::TH2M |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
/** | ||
* \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 "Base.h" | ||
#include "BaseLib/StrongType.h" | ||
|
||
namespace ProcessLib::TH2M | ||
{ | ||
namespace ConstitutiveRelations | ||
{ | ||
using InternalEnergyData = | ||
BaseLib::StrongType<double, struct InternalEnergyTag>; | ||
|
||
struct EffectiveVolumetricInternalEnergyDerivatives | ||
{ | ||
double drho_u_eff_dT = nan; | ||
double drho_u_eff_dp_GR = nan; | ||
double drho_u_eff_dp_cap = nan; | ||
}; | ||
} // namespace ConstitutiveRelations | ||
} // namespace ProcessLib::TH2M |
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.