Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F93401011
coupler_solid_contact_internodes.cc
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Subscribers
None
File Metadata
Details
File Info
Storage
Attached
Created
Thu, Nov 28, 12:00
Size
1 KB
Mime Type
text/x-c
Expires
Sat, Nov 30, 12:00 (1 d, 21 h)
Engine
blob
Format
Raw Data
Handle
22628092
Attached To
rAKA akantu
coupler_solid_contact_internodes.cc
View Options
#include "coupler_solid_contact_internodes.hh"
namespace akantu {
template <>
CouplerSolidContactInternodesTemplate<SolidMechanicsModel>::CouplerSolidContactInternodesTemplate(
Mesh & mesh, UInt dim, const ID & id,
std::shared_ptr<DOFManager> dof_manager)
: AbstractCouplerSolidContactTemplate<SolidMechanicsModel,
ContactMechanicsInternodesModel>(
mesh, ModelType::_coupler_solid_contact, dim, id, dof_manager) {
this->mesh.registerDumper<DumperParaview>("coupler_solid_contact", id, true);
this->mesh.addDumpMeshToDumper("coupler_solid_contact", mesh,
Model::spatial_dimension, _not_ghost,
_ek_regular);
this->registerDataAccessor(*this);
solid = std::make_unique<SolidMechanicsModel>(mesh, Model::spatial_dimension,
"solid_mechanics_model",
this->dof_manager);
contact = std::make_unique<ContactMechanicsInternodesModel>(
mesh, Model::spatial_dimension, "contact_mechanics_internodes_model",
this->dof_manager);
}
/* -------------------------------------------------------------------------- */
template <>
void AbstractCouplerSolidContactTemplate<SolidMechanicsModel, ContactMechanicsInternodesModel>
::initFullImpl(const ModelOptions & options) {
Model::initFullImpl(options);
solid->initFull(_analysis_method = this->method);
contact->initFull(_analysis_method = this->method);
contact->setYoungsModulus(solid->getMaterial(0).get("E"));
}
} // namespace akantu
Event Timeline
Log In to Comment