SPHinXsys  alpha version
complex_solid.h
Go to the documentation of this file.
1 /* -------------------------------------------------------------------------*
2  * SPHinXsys *
3  * --------------------------------------------------------------------------*
4  * SPHinXsys (pronunciation: s'finksis) is an acronym from Smoothed Particle *
5  * Hydrodynamics for industrial compleX systems. It provides C++ APIs for *
6  * physical accurate simulation and aims to model coupled industrial dynamic *
7  * systems including fluid, solid, multi-body dynamics and beyond with SPH *
8  * (smoothed particle hydrodynamics), a meshless computational method using *
9  * particle discretization. *
10  * *
11  * SPHinXsys is partially funded by German Research Foundation *
12  * (Deutsche Forschungsgemeinschaft) DFG HU1527/6-1, HU1527/10-1 *
13  * and HU1527/12-1. *
14  * *
15  * Portions copyright (c) 2017-2020 Technical University of Munich and *
16  * the authors' affiliations. *
17  * *
18  * Licensed under the Apache License, Version 2.0 (the "License"); you may *
19  * not use this file except in compliance with the License. You may obtain a *
20  * copy of the License at http://www.apache.org/licenses/LICENSE-2.0. *
21  * *
22  * --------------------------------------------------------------------------*/
28 #pragma once
29 
30 #include "elastic_solid.h"
31 
32 namespace SPH
33 {
38  template <class MuscleType>
39  class ActiveMuscle : public MuscleType
40  {
41  protected:
45 
46  public:
47  template <typename... ConstructorArgs>
48  explicit ActiveMuscle(ConstructorArgs &&...args);
49  virtual ~ActiveMuscle(){};
50 
51  void assignBaseParticles(BaseParticles *base_particles) override;
53  virtual Matd StressPK2(Matd &deformation, size_t index_i) override;
54  virtual ActiveMuscle<MuscleType> *ThisObjectPtr() override { return this; };
55  };
56 }
Particles with essential (geometric and kinematic) data. There are three types of particles, all par...
Definition: base_particles.h:81
void initializeContractionStress()
Definition: complex_solid.hpp:26
StdLargeVec< Real > active_contraction_stress_
Definition: complex_solid.h:42
virtual Matd StressPK2(Matd &deformation, size_t index_i) override
Definition: complex_solid.hpp:39
Here, the active reponse is considered.
Definition: complex_solid.h:39
These are classes for define properties of elastic solid materials. These classes are based on isotro...
Definition: solid_body_supplementary.cpp:9