Skip to content
Snippets Groups Projects
Commit 3deedd12 authored by Christoph Lehmann's avatar Christoph Lehmann Committed by Dmitri Naumov
Browse files

[PL] Added constitutive model/data: Biot

parent 46501869
No related branches found
No related tags found
No related merge requests found
/**
* \file
* \copyright
* Copyright (c) 2012-2022, OpenGeoSys Community (http://www.opengeosys.org)
* Distributed under a Modified BSD License.
* See accompanying file LICENSE.txt or
* http://www.opengeosys.org/project/license
*
*/
#include "Biot.h"
#include "MaterialLib/MPL/Utils/FormEigenTensor.h"
namespace ProcessLib::ThermoRichardsMechanics
{
void BiotModel::eval(SpaceTimeData const& x_t, MediaData const& media_data,
BiotData& out) const
{
namespace MPL = MaterialPropertyLib;
MPL::VariableArray variables;
out.alpha = media_data.medium.property(MPL::PropertyType::biot_coefficient)
.template value<double>(variables, x_t.x, x_t.t, x_t.dt);
}
} // namespace ProcessLib::ThermoRichardsMechanics
/**
* \file
* \copyright
* Copyright (c) 2012-2022, 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"
namespace ProcessLib::ThermoRichardsMechanics
{
struct BiotData
{
double alpha;
};
struct BiotModel
{
void eval(SpaceTimeData const& x_t, MediaData const& media_data,
BiotData& out) const;
};
} // namespace ProcessLib::ThermoRichardsMechanics
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment